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.668bd83e.async.js

762 lines
3.6 MiB

This file contains invisible Unicode characters!

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

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

(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(D,_,e){"use strict";var g=e("wx14"),f=e("Ff2n"),A=e("rePB"),m=e("1OyB"),v=e("vuIU"),h=e("Ji7U"),c=e("md7G"),o=e("foSv"),i=e("q1tI"),n=e.n(i),a=e("TSYQ"),u=e.n(a);function r(p,b){var w=Object.keys(p);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(p);b&&(E=E.filter(function(S){return Object.getOwnPropertyDescriptor(p,S).enumerable})),w.push.apply(w,E)}return w}function l(p){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?r(Object(w),!0).forEach(function(E){Object(A.a)(p,E,w[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(w)):r(Object(w)).forEach(function(E){Object.defineProperty(p,E,Object.getOwnPropertyDescriptor(w,E))})}return p}function t(p){var b=s();return function(){var E=Object(o.a)(p),S;if(b){var x=Object(o.a)(this).constructor;S=Reflect.construct(E,arguments,x)}else S=E.apply(this,arguments);return Object(c.a)(this,S)}}function s(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(p){return!1}}var d=function(p){Object(h.a)(w,p);var b=t(w);function w(E){var S;Object(m.a)(this,w),S=b.call(this,E),S.handleChange=function(T){var L=S.props,y=L.disabled,C=L.onChange;if(y)return;"checked"in S.props||S.setState({checked:T.target.checked}),C&&C({target:l(l({},S.props),{},{checked:T.target.checked}),stopPropagation:function(){T.stopPropagation()},preventDefault:function(){T.preventDefault()},nativeEvent:T.nativeEvent})},S.saveInput=function(T){S.input=T};var x="checked"in E?E.checked:E.defaultChecked;return S.state={checked:x},S}return Object(v.a)(w,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var S,x=this.props,T=x.prefixCls,L=x.className,y=x.style,C=x.name,O=x.id,N=x.type,k=x.disabled,F=x.readOnly,B=x.tabIndex,H=x.onClick,W=x.onFocus,R=x.onBlur,U=x.autoFocus,j=x.value,P=x.required,K=Object(f.a)(x,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value","required"]),V=Object.keys(K).reduce(function(G,le){return(le.substr(0,5)==="aria-"||le.substr(0,5)==="data-"||le==="role")&&(G[le]=K[le]),G},{}),z=this.state.checked,X=u()(T,L,(S={},Object(A.a)(S,"".concat(T,"-checked"),z),Object(A.a)(S,"".concat(T,"-disabled"),k),S));return n.a.createElement("span",{className:X,style:y},n.a.createElement("input",Object(g.a)({name:C,id:O,type:N,required:P,readOnly:F,disabled:k,tabIndex:B,className:"".concat(T,"-input"),checked:!!z,onClick:H,onFocus:W,onBlur:R,onChange:this.handleChange,autoFocus:U,ref:this.saveInput,value:j},V)),n.a.createElement("span",{className:"".concat(T,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(S,x){return"checked"in S?l(l({},x),{},{checked:S.checked}):null}}]),w}(i.Component);d.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},_.a=d},"+6XX":function(D,_,e){var g=e("y1pI");function f(A){return g(this.__data__,A)>-1}D.exports=f},"+BJd":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("6MrE"),m=e.n(A)},"+QRC":function(D,_,e){"use strict";var g=e("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},A="Copy to clipboard: #{key}, Enter";function m(h){var c=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,c)}function v(h,c){var o,i,n,a,u,r,l=!1;c||(c={}),o=c.debug||!1;try{n=g(),a=document.createRange(),u=document.getSelection(),r=document.createElement("span"),r.textContent=h,r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(s){if(s.stopPropagation(),c.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=f[c.format]||f.default;window.clipboardData.setData(d,h)}else s.clipboardData.clearData(),s.clipboardData.setData(c.format,h);c.onCopy&&(s.preventDefault(),c.onCopy(s.clipboardData))}),document.body.appendChild(r),a.selectNodeContents(r),u.addRange(a);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");l=!0}catch(s){o&&console.error("unable to copy using execCommand: ",s),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(c.format||"text",h),c.onCopy&&c.onCopy(window.clipboardData),l=!0}catch(d){o&&console.error("unable to copy using clipboardData: ",d),o&&console.error("falling back to prompt"),i=m("message"in c?c.message:A),window.prompt(i,h)}}finally{u&&(typeof u.removeRange=="function"?u.removeRange(a):u.removeAllRanges()),r&&document.body.removeChild(r),n()}return l}D.exports=v},"+TT/":function(D,_,e){var g=e("bYtY"),f=e("mFDi"),A=e("OELB"),m=A.parsePercent,v=e("7aKB"),h=g.each,c=["left","right","top","bottom","width","height"],o=[["width","left","right"],["height","top","bottom"]];function i(w,E,S,x,T){var L=0,y=0;x==null&&(x=Infinity),T==null&&(T=Infinity);var C=0;E.eachChild(function(O,N){var k=O.position,F=O.getBoundingRect(),B=E.childAt(N+1),H=B&&B.getBoundingRect(),W,R;if(w==="horizontal"){var U=F.width+(H?-H.x+F.x:0);W=L+U,W>x||O.newline?(L=0,W=U,y+=C+S,C=F.height):C=Math.max(C,F.height)}else{var j=F.height+(H?-H.y+F.y:0);R=y+j,R>T||O.newline?(L+=C+S,y=0,R=j,C=F.width):C=Math.max(C,F.width)}if(O.newline)return;k[0]=L,k[1]=y,w==="horizontal"?L=W+S:y=R+S})}var n=i,a=g.curry(i,"vertical"),u=g.curry(i,"horizontal");function r(w,E,S){var x=E.width,T=E.height,L=m(w.x,x),y=m(w.y,T),C=m(w.x2,x),O=m(w.y2,T);return(isNaN(L)||isNaN(parseFloat(w.x)))&&(L=0),(isNaN(C)||isNaN(parseFloat(w.x2)))&&(C=x),(isNaN(y)||isNaN(parseFloat(w.y)))&&(y=0),(isNaN(O)||isNaN(parseFloat(w.y2)))&&(O=T),S=v.normalizeCssArray(S||0),{width:Math.max(C-L-S[1]-S[3],0),height:Math.max(O-y-S[0]-S[2],0)}}function l(w,E,S){S=v.normalizeCssArray(S||0);var x=E.width,T=E.height,L=m(w.left,x),y=m(w.top,T),C=m(w.right,x),O=m(w.bottom,T),N=m(w.width,x),k=m(w.height,T),F=S[2]+S[0],B=S[1]+S[3],H=w.aspect;isNaN(N)&&(N=x-C-B-L),isNaN(k)&&(k=T-O-F-y),H!=null&&(isNaN(N)&&isNaN(k)&&(H>x/T?N=x*.8:k=T*.8),isNaN(N)&&(N=H*k),isNaN(k)&&(k=N/H)),isNaN(L)&&(L=x-C-N-B),isNaN(y)&&(y=T-O-k-F);switch(w.left||w.right){case"center":L=x/2-N/2-S[3];break;case"right":L=x-N-B;break}switch(w.top||w.bottom){case"middle":case"center":y=T/2-k/2-S[0];break;case"bottom":y=T-k-F;break}L=L||0,y=y||0,isNaN(N)&&(N=x-B-L-(C||0)),isNaN(k)&&(k=T-F-y-(O||0));var W=new f(L+S[3],y+S[0],N,k);return W.margin=S,W}function t(w,E,S,x,T){var L=!T||!T.hv||T.hv[0],y=!T||!T.hv||T.hv[1],C=T&&T.boundingMode||"all";if(!L&&!y)return;var O;if(C==="raw")O=w.type==="group"?new f(0,0,+E.width||0,+E.height||0):w.getBoundingRect();else if(O=w.getBoundingRect(),w.needLocalTransform()){var N=w.getLocalTransform();O=O.clone(),O.applyTransform(N)}E=l(g.defaults({width:O.width,height:O.height},E),S,x);var k=w.position,F=L?E.x-O.x:0,B=y?E.y-O.y:0;w.attr("position",C==="raw"?[F,B]:[k[0]+F,k[1]+B])}function s(w,E){return w[o[E][0]]!=null||w[o[E][1]]!=null&&w[o[E][2]]!=null}function d(w,E,S){!g.isObject(S)&&(S={});var x=S.ignoreSize;!g.isArray(x)&&(x=[x,x]);var T=y(o[0],0),L=y(o[1],1);N(o[0],w,T),N(o[1],w,L);function y(k,F){var B={},H=0,W={},R=0,U=2;if(h(k,function(K){W[K]=w[K]}),h(k,function(K){C(E,K)&&(B[K]=W[K]=E[K]),O(B,K)&&H++,O(W,K)&&R++}),x[F])return O(E,k[1])?W[k[2]]=null:O(E,k[2])&&(W[k[1]]=null),W;if(R===U||!H)return W;if(H>=U)return B;for(var j=0;j<k.length;j++){var P=k[j];if(!C(B,P)&&C(w,P)){B[P]=w[P];break}}return B}function C(k,F){return k.hasOwnProperty(F)}function O(k,F){return k[F]!=null&&k[F]!=="auto"}function N(k,F,B){h(k,function(H){F[H]=B[H]})}}function p(w){return b({},w)}function b(w,E){return E&&w&&h(c,function(S){E.hasOwnProperty(S)&&(w[S]=E[S])}),w}_.LOCATION_PARAMS=c,_.HV_NAMES=o,_.box=n,_.vbox=a,_.hbox=u,_.getAvailableSize=r,_.getLayoutRect=l,_.positionElement=t,_.sizeCalculable=s,_.mergeLayoutParam=d,_.getLayoutParams=p,_.copyLayoutParams=b},"+Zaj":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("ugBc")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="CalendarOutlined";var c=A.forwardRef(h);_.default=c},"+d4F":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("y3Yb"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"+eQT":function(D,_,e){"use strict";var g=e("wd/R"),f=e.n(g),A=e("Kwbf"),m={getNow:function(){return f()()},getWeekDay:function(jt){var Jt=jt.clone().locale("en_US");return Jt.weekday()+Jt.localeData().firstDayOfWeek()},getYear:function(jt){return jt.year()},getMonth:function(jt){return jt.month()},getDate:function(jt){return jt.date()},getHour:function(jt){return jt.hour()},getMinute:function(jt){return jt.minute()},getSecond:function(jt){return jt.second()},addYear:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"year")},addMonth:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"month")},addDate:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"day")},setYear:function(jt,Jt){var nr=jt.clone();return nr.year(Jt)},setMonth:function(jt,Jt){var nr=jt.clone();return nr.month(Jt)},setDate:function(jt,Jt){var nr=jt.clone();return nr.date(Jt)},setHour:function(jt,Jt){var nr=jt.clone();return nr.hour(Jt)},setMinute:function(jt,Jt){var nr=jt.clone();return nr.minute(Jt)},setSecond:function(jt,Jt){var nr=jt.clone();return nr.second(Jt)},isAfter:function(jt,Jt){return jt.isAfter(Jt)},isValidate:function(jt){return jt.isValid()},locale:{getWeekFirstDay:function(jt){var Jt=f()().locale(jt);return Jt.localeData().firstDayOfWeek()},getWeek:function(jt,Jt){var nr=Jt.clone(),Or=nr.locale(jt);return Or.week()},getShortWeekDays:function(jt){var Jt=f()().locale(jt);return Jt.localeData().weekdaysMin()},getShortMonths:function(jt){var Jt=f()().locale(jt);return Jt.localeData().monthsShort()},format:function(jt,Jt,nr){var Or=Jt.clone(),wr=Or.locale(jt);return wr.format(nr)},parse:function(jt,Jt,nr){for(var Or=[],wr=0;wr<nr.length;wr+=1){var Er=nr[wr],zr=Jt;if(Er.includes("wo")||Er.includes("Wo")){Er=Er.replace(/wo/g,"w").replace(/Wo/g,"W");var Jr=Er.match(/[-YyMmDdHhSsWwGg]+/g),Zr=zr.match(/[-\d]+/g);Jr&&Zr?(Er=Jr.join(""),zr=Zr.join("")):Or.push(Er.replace(/o/g,""))}var an=f()(zr,Er,jt,!0);if(an.isValid())return an}for(var St=0;St<Or.length;St+=1){var Vt=f()(Jt,Or[St],jt,!1);if(Vt.isValid())return Object(A.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Vt}return null}}},v=m,h=e("pVnL"),c=e.n(h),o=e("q1tI"),i=e("2/Rp");function n(tt){return o.createElement(i.a,c()({size:"small",type:"primary"},tt))}var a=e("mr32");function u(tt){return o.createElement(a.a,c()({color:"blue"},tt))}var r=e("lSNA"),l=e.n(r),t=e("lwsE"),s=e.n(t),d=e("W8MJ"),p=e.n(d),b=e("7W2i"),w=e.n(b),E=e("LQ03"),S=e.n(E),x=e("TSYQ"),T=e.n(x),L=e("r/2G"),y=e.n(L),C=e("XzQk"),O=e.n(C),N=e("kbBi"),k=e.n(N),F=e("1OyB"),B=e("vuIU"),H=e("Ji7U"),W=e("LK+K"),R=e("rePB"),U=e("VTBJ"),j=e("ODXe"),P=e("6cGi"),K=e("U8pU"),V=e("4IlW"),z=o.createContext({}),X=z,G={visibility:"hidden"};function le(tt){var jt=tt.prefixCls,Jt=tt.prevIcon,nr=Jt===void 0?"\u2039":Jt,Or=tt.nextIcon,wr=Or===void 0?"\u203A":Or,Er=tt.superPrevIcon,zr=Er===void 0?"\xAB":Er,Jr=tt.superNextIcon,Zr=Jr===void 0?"\xBB":Jr,an=tt.onSuperPrev,St=tt.onSuperNext,Vt=tt.onPrev,sr=tt.onNext,br=tt.children,Mr=o.useContext(X),Dr=Mr.hideNextBtn,rn=Mr.hidePrevBtn;return o.createElement("div",{className:jt},an&&o.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(jt,"-super-prev-btn"),style:rn?G:{}},zr),Vt&&o.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(jt,"-prev-btn"),style:rn?G:{}},nr),o.createElement("div",{className:"".concat(jt,"-view")},br),sr&&o.createElement("button",{type:"button",onClick:sr,tabIndex:-1,className:"".concat(jt,"-next-btn"),style:Dr?G:{}},wr),St&&o.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(jt,"-super-next-btn"),style:Dr?G:{}},Zr))}var Y=le;function me(tt){var jt=o.useContext(X),Jt=jt.hideHeader;if(Jt)return null;var nr=tt.prefixCls,Or=tt.generateConfig,wr=tt.locale,Er=tt.value,zr=tt.format,Jr="".concat(nr,"-header");return o.createElement(Y,{prefixCls:Jr},Er?Or.locale.format(wr.locale,Er,zr):"\xA0")}var we=me,pe=e("YrtM"),Fe=e("KQm4"),Xe=new Map;function dt(tt,jt,Jt){if(Xe.get(tt)&&cancelAnimationFrame(Xe.get(tt)),Jt<=0){Xe.set(tt,requestAnimationFrame(function(){tt.scrollTop=jt}));return}var nr=jt-tt.scrollTop,Or=nr/Jt*10;Xe.set(tt,requestAnimationFrame(function(){tt.scrollTop+=Or,tt.scrollTop!==jt&&dt(tt,jt,Jt-10)}))}function Ee(tt,jt){var Jt=jt.onLeftRight,nr=jt.onCtrlLeftRight,Or=jt.onUpDown,wr=jt.onPageUpDown,Er=jt.onEnter,zr=tt.which,Jr=tt.ctrlKey,Zr=tt.metaKey;switch(zr){case V.a.LEFT:if(Jr||Zr){if(nr)return nr(-1),!0}else if(Jt)return Jt(-1),!0;break;case V.a.RIGHT:if(Jr||Zr){if(nr)return nr(1),!0}else if(Jt)return Jt(1),!0;break;case V.a.UP:if(Or)return Or(-1),!0;break;case V.a.DOWN:if(Or)return Or(1),!0;break;case V.a.PAGE_UP:if(wr)return wr(-1),!0;break;case V.a.PAGE_DOWN:if(wr)return wr(1),!0;break;case V.a.ENTER:if(Er)return Er(),!0;break}return!1}function Se(tt,jt,Jt,nr){var Or=tt;if(!Or)switch(jt){case"time":Or=nr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Or="gggg-wo";break;case"month":Or="YYYY-MM";break;case"quarter":Or="YYYY-[Q]Q";break;case"year":Or="YYYY";break;default:Or=Jt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Or}function at(tt,jt){var Jt=tt==="time"?8:10;return Math.max(Jt,jt.length)+2}var _e=null,ce=new Set;function ee(tt){return!_e&&typeof window!="undefined"&&window.addEventListener&&(_e=function(Jt){Object(Fe.a)(ce).forEach(function(nr){nr(Jt)})},window.addEventListener("mousedown",_e)),ce.add(tt),function(){ce.delete(tt),ce.size===0&&(window.removeEventListener("mousedown",_e),_e=null)}}var se=function(jt){return jt==="month"||jt==="date"?"year":jt},ke=function(jt){return jt==="date"?"month":jt},Ce=function(jt){return jt==="month"||jt==="date"?"quarter":jt},ze=function(jt){return jt==="date"?"week":jt},Oe={year:se,month:ke,quarter:Ce,week:ze,time:null,date:null};function ae(tt,jt){return tt.some(function(Jt){return Jt&&Jt.contains(jt)})}function ge(tt){var jt=tt.prefixCls,Jt=tt.units,nr=tt.onSelect,Or=tt.value,wr=tt.active,Er=tt.hideDisabledOptions,zr="".concat(jt,"-cell"),Jr=o.useContext(X),Zr=Jr.open,an=o.useRef(null),St=o.useRef(new Map);return o.useLayoutEffect(function(){var Vt=St.current.get(Or);Vt&&Zr!==!1&&dt(an.current,Vt.offsetTop,120)},[Or]),o.useLayoutEffect(function(){if(Zr){var Vt=St.current.get(Or);Vt&&dt(an.current,Vt.offsetTop,0)}},[Zr]),o.createElement("ul",{className:T()("".concat(jt,"-column"),Object(R.a)({},"".concat(jt,"-column-active"),wr)),ref:an,style:{position:"relative"}},Jt.map(function(Vt){var sr;return Er&&Vt.disabled?null:o.createElement("li",{key:Vt.value,ref:function(Mr){St.current.set(Vt.value,Mr)},className:T()(zr,(sr={},Object(R.a)(sr,"".concat(zr,"-disabled"),Vt.disabled),Object(R.a)(sr,"".concat(zr,"-selected"),Or===Vt.value),sr)),onClick:function(){if(Vt.disabled)return;nr(Vt.value)}},o.createElement("div",{className:"".concat(zr,"-inner")},Vt.label))}))}var Le=ge;function Ze(tt,jt){for(var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",nr=String(tt);nr.length<jt;)nr="".concat(Jt).concat(tt);return nr}var vt=function(){for(var jt=arguments.length,Jt=new Array(jt),nr=0;nr<jt;nr++)Jt[nr]=arguments[nr];return Jt};function Ct(tt){return tt==null?[]:Array.isArray(tt)?tt:[tt]}function Be(tt){var jt={};return Object.keys(tt).forEach(function(Jt){(Jt.substr(0,5)==="data-"||Jt.substr(0,5)==="aria-"||Jt==="role"||Jt==="name")&&Jt.substr(0,7)!=="data-__"&&(jt[Jt]=tt[Jt])}),jt}function Rt(tt,jt){return tt?tt[jt]:null}function He(tt,jt,Jt){var nr=[Rt(tt,0),Rt(tt,1)];return nr[Jt]=typeof jt=="function"?jt(nr[Jt]):jt,!nr[0]&&!nr[1]?null:nr}function wt(tt,jt,Jt,nr,Or){var wr=tt.setHour(jt,Jt);return wr=tt.setMinute(wr,nr),wr=tt.setSecond(wr,Or),wr}function Ge(tt,jt,Jt,nr,Or,wr){var Er=Math.floor(tt/nr)*nr;if(Er<tt)return[Er,60-Or,60-wr];var zr=Math.floor(jt/Or)*Or;if(zr<jt)return[Er,zr,60-wr];var Jr=Math.floor(Jt/wr)*wr;return[Er,zr,Jr]}function et(tt,jt){if(tt.length!==jt.length)return!0;for(var Jt=0;Jt<tt.length;Jt+=1)if(tt[Jt].disabled!==jt[Jt].disabled)return!0;return!1}function rt(tt,jt,Jt,nr){for(var Or=[],wr=tt;wr<=jt;wr+=Jt)Or.push({label:Ze(wr,2),value:wr,disabled:(nr||[]).includes(wr)});return Or}function lt(tt){var jt=tt.generateConfig,Jt=tt.prefixCls,nr=tt.operationRef,Or=tt.activeColumnIndex,wr=tt.value,Er=tt.showHour,zr=tt.showMinute,Jr=tt.showSecond,Zr=tt.use12Hours,an=tt.hourStep,St=an===void 0?1:an,Vt=tt.minuteStep,sr=Vt===void 0?1:Vt,br=tt.secondStep,Mr=br===void 0?1:br,Dr=tt.disabledHours,rn=tt.disabledMinutes,fn=tt.disabledSeconds,wn=tt.hideDisabledOptions,Hn=tt.onSelect,Sn=[],bn="".concat(Jt,"-content"),Mn="".concat(Jt,"-time-panel"),vn,Rn=wr?jt.getHour(wr):-1,En=wr?jt.getMinute(wr):-1,_n=wr?jt.getSecond(wr):-1,Xn=function(hi,qi,va,Ea){var ya=wr||jt.getNow(),oa=Math.max(0,qi),sa=Math.max(0,va),Ni=Math.max(0,Ea);return ya=wt(jt,ya,!Zr||!hi?oa:oa+12,sa,Ni),ya},ai=rt(0,23,St,Dr&&Dr()),ri=Object(pe.a)(function(){return ai},ai,et);Zr&&(vn=Rn>=12,Rn%=12);var Di=o.useMemo(function(){if(!Zr)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var qi=hi.disabled,va=hi.value;if(qi)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[Zr,ri]),yi=Object(j.a)(Di,2),xi=yi[0],Li=yi[1],Un=o.useMemo(function(){return Zr?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,qi=hi===0?"12":Ze(hi,2);return Object(U.a)(Object(U.a)({},mi),{},{label:qi,value:hi})}):ri},[Zr,ri]),Ri=rt(0,59,sr,rn&&rn(Rn)),fa=rt(0,59,Mr,fn&&fn(Rn,En));nr.current={onUpDown:function(hi){var qi=Sn[Or];if(qi)for(var va=qi.units.findIndex(function(sa){return sa.value===qi.value}),Ea=qi.units.length,ya=1;ya<Ea;ya+=1){var oa=qi.units[(va+hi*ya+Ea)%Ea];if(oa.disabled!==!0){qi.onSelect(oa.value);break}}}};function Ui(mi,hi,qi,va,Ea){mi!==!1&&Sn.push({node:o.cloneElement(hi,{prefixCls:Mn,value:qi,active:Or===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:qi,units:va})}Ui(Er,o.createElement(Le,{key:"hour"}),Rn,Un,function(mi){Hn(Xn(vn,mi,En,_n),"mouse")}),Ui(zr,o.createElement(Le,{key:"minute"}),En,Ri,function(mi){Hn(Xn(vn,Rn,mi,_n),"mouse")}),Ui(Jr,o.createElement(Le,{key:"second"}),_n,fa,function(mi){Hn(Xn(vn,Rn,En,mi),"mouse")});var Mi=-1;return typeof vn=="boolean"&&(Mi=vn?1:0),Ui(Zr===!0,o.createElement(Le,{key:"12hours"}),Mi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Li}],function(mi){Hn(Xn(!!mi,Rn,En,_n),"mouse")}),o.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var Ve=lt,ie=function(jt){return jt.filter(function(Jt){return Jt!==!1}).length};function $(tt){var jt=tt.generateConfig,Jt=tt.format,nr=Jt===void 0?"HH:mm:ss":Jt,Or=tt.prefixCls,wr=tt.active,Er=tt.operationRef,zr=tt.showHour,Jr=tt.showMinute,Zr=tt.showSecond,an=tt.use12Hours,St=an===void 0?!1:an,Vt=tt.onSelect,sr=tt.value,br="".concat(Or,"-time-panel"),Mr=o.useRef(),Dr=o.useState(-1),rn=Object(j.a)(Dr,2),fn=rn[0],wn=rn[1],Hn=ie([zr,Jr,Zr,St]);return Er.current={onKeyDown:function(bn){return Ee(bn,{onLeftRight:function(vn){wn((fn+vn+Hn)%Hn)},onUpDown:function(vn){fn===-1?wn(0):Mr.current&&Mr.current.onUpDown(vn)},onEnter:function(){Vt(sr||jt.getNow(),"key"),wn(-1)}})},onBlur:function(){wn(-1)}},o.createElement("div",{className:T()(br,Object(R.a)({},"".concat(br,"-active"),wr))},o.createElement(we,Object.assign({},tt,{format:nr,prefixCls:Or})),o.createElement(Ve,Object.assign({},tt,{prefixCls:Or,activeColumnIndex:fn,operationRef:Mr})))}var it=$,Qe=7;function ye(tt,jt){return!tt&&!jt?!0:!tt||!jt?!1:void 0}function Zt(tt,jt,Jt){var nr=ye(jt,Jt);if(typeof nr=="boolean")return nr;var Or=Math.floor(tt.getYear(jt)/10),wr=Math.floor(tt.getYear(Jt)/10);return Or===wr}function ht(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:tt.getYear(jt)===tt.getYear(Jt)}function ct(tt,jt){var Jt=Math.floor(tt.getMonth(jt)/3);return Jt+1}function yt(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:ht(tt,jt,Jt)&&ct(tt,jt)===ct(tt,Jt)}function It(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:ht(tt,jt,Jt)&&tt.getMonth(jt)===tt.getMonth(Jt)}function or(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:tt.getYear(jt)===tt.getYear(Jt)&&tt.getMonth(jt)===tt.getMonth(Jt)&&tt.getDate(jt)===tt.getDate(Jt)}function Bt(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:tt.getHour(jt)===tt.getHour(Jt)&&tt.getMinute(jt)===tt.getMinute(Jt)&&tt.getSecond(jt)===tt.getSecond(Jt)}function Ae(tt,jt,Jt,nr){var Or=ye(Jt,nr);return typeof Or=="boolean"?Or:tt.locale.getWeek(jt,Jt)===tt.locale.getWeek(jt,nr)}function ve(tt,jt,Jt){return or(tt,jt,Jt)&&Bt(tt,jt,Jt)}function fe(tt,jt,Jt,nr){return!jt||!Jt||!nr?!1:!or(tt,jt,nr)&&!or(tt,Jt,nr)&&tt.isAfter(nr,jt)&&tt.isAfter(Jt,nr)}function ue(tt,jt,Jt){var nr=jt.locale.getWeekFirstDay(tt),Or=jt.setDate(Jt,1),wr=jt.getWeekDay(Or),Er=jt.addDate(Or,nr-wr);return jt.getMonth(Er)===jt.getMonth(Jt)&&jt.getDate(Er)>1&&(Er=jt.addDate(Er,-7)),Er}function Ne(tt,jt,Jt){var nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(jt){case"year":return Jt.addYear(tt,nr*10);case"quarter":case"month":return Jt.addYear(tt,nr);default:return Jt.addMonth(tt,nr)}}var je=o.createContext({}),Ke=je;function Ye(tt){var jt=tt.cellPrefixCls,Jt=tt.generateConfig,nr=tt.rangedValue,Or=tt.hoverRangedValue,wr=tt.isInView,Er=tt.isSameCell,zr=tt.offsetCell,Jr=tt.today,Zr=tt.value;function an(St){var Vt,sr=zr(St,-1),br=zr(St,1),Mr=Rt(nr,0),Dr=Rt(nr,1),rn=Rt(Or,0),fn=Rt(Or,1),wn=fe(Jt,rn,fn,St);function Hn(En){return Er(Mr,En)}function Sn(En){return Er(Dr,En)}var bn=Er(rn,St),Mn=Er(fn,St),vn=(wn||Mn)&&(!wr(sr)||Sn(sr)),Rn=(wn||bn)&&(!wr(br)||Hn(br));return Vt={},Object(R.a)(Vt,"".concat(jt,"-in-view"),wr(St)),Object(R.a)(Vt,"".concat(jt,"-in-range"),fe(Jt,Mr,Dr,St)),Object(R.a)(Vt,"".concat(jt,"-range-start"),Hn(St)),Object(R.a)(Vt,"".concat(jt,"-range-end"),Sn(St)),Object(R.a)(Vt,"".concat(jt,"-range-start-single"),Hn(St)&&!Dr),Object(R.a)(Vt,"".concat(jt,"-range-end-single"),Sn(St)&&!Mr),Object(R.a)(Vt,"".concat(jt,"-range-start-near-hover"),Hn(St)&&(Er(sr,rn)||fe(Jt,rn,fn,sr))),Object(R.a)(Vt,"".concat(jt,"-range-end-near-hover"),Sn(St)&&(Er(br,fn)||fe(Jt,rn,fn,br))),Object(R.a)(Vt,"".concat(jt,"-range-hover"),wn),Object(R.a)(Vt,"".concat(jt,"-range-hover-start"),bn),Object(R.a)(Vt,"".concat(jt,"-range-hover-end"),Mn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start"),vn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end"),Rn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start-near-range"),vn&&Er(sr,Dr)),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end-near-range"),Rn&&Er(br,Mr)),Object(R.a)(Vt,"".concat(jt,"-today"),Er(Jr,St)),Object(R.a)(Vt,"".concat(jt,"-selected"),Er(Zr,St)),Vt}return an}function Pe(tt){for(var jt=tt.prefixCls,Jt=tt.disabledDate,nr=tt.onSelect,Or=tt.rowNum,wr=tt.colNum,Er=tt.prefixColumn,zr=tt.rowClassName,Jr=tt.baseDate,Zr=tt.getCellClassName,an=tt.getCellText,St=tt.getCellNode,Vt=tt.getCellDate,sr=tt.titleCell,br=tt.headerCells,Mr=o.useContext(X),Dr=Mr.onDateMouseEnter,rn=Mr.onDateMouseLeave,fn="".concat(jt,"-cell"),wn=[],Hn=0;Hn<Or;Hn+=1){for(var Sn=[],bn=void 0,Mn=function(En){var _n=Hn*wr+En,Xn=Vt(Jr,_n),ai=Jt&&Jt(Xn);En===0&&(bn=Xn,Er&&Sn.push(Er(bn))),Sn.push(o.createElement("td",{key:En,title:sr&&sr(Xn),className:T()(fn,Object(U.a)(Object(R.a)({},"".concat(fn,"-disabled"),ai),Zr(Xn))),onClick:function(){ai||nr(Xn)},onMouseEnter:function(){!ai&&Dr&&Dr(Xn)},onMouseLeave:function(){!ai&&rn&&rn(Xn)}},St?St(Xn):o.createElement("div",{className:"".concat(fn,"-inner")},an(Xn))))},vn=0;vn<wr;vn+=1)Mn(vn);wn.push(o.createElement("tr",{key:Hn,className:zr&&zr(bn)},Sn))}return o.createElement("div",{className:"".concat(jt,"-body")},o.createElement("table",{className:"".concat(jt,"-content")},br&&o.createElement("thead",null,o.createElement("tr",null,br)),o.createElement("tbody",null,wn)))}function nt(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.prefixColumn,Or=tt.locale,wr=tt.rowCount,Er=tt.viewDate,zr=tt.value,Jr=tt.dateRender,Zr=o.useContext(Ke),an=Zr.rangedValue,St=Zr.hoverRangedValue,Vt=ue(Or.locale,Jt,Er),sr="".concat(jt,"-cell"),br=Jt.locale.getWeekFirstDay(Or.locale),Mr=Jt.getNow(),Dr=[],rn=Or.shortWeekDays||(Jt.locale.getShortWeekDays?Jt.locale.getShortWeekDays(Or.locale):[]);nr&&Dr.push(o.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<Qe;fn+=1)Dr.push(o.createElement("th",{key:fn},rn[(fn+br)%Qe]));var wn=Ye({cellPrefixCls:sr,today:Mr,value:zr,generateConfig:Jt,rangedValue:nr?null:an,hoverRangedValue:nr?null:St,isSameCell:function(bn,Mn){return or(Jt,bn,Mn)},isInView:function(bn){return It(Jt,bn,Er)},offsetCell:function(bn,Mn){return Jt.addDate(bn,Mn)}}),Hn=Jr?function(Sn){return Jr(Sn,Mr)}:void 0;return o.createElement(Pe,Object.assign({},tt,{rowNum:wr,colNum:Qe,baseDate:Vt,getCellNode:Hn,getCellText:Jt.getDate,getCellClassName:wn,getCellDate:Jt.addDate,titleCell:function(bn){return Jt.locale.format(Or.locale,bn,"YYYY-MM-DD")},headerCells:Dr}))}var At=nt;function Ot(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Or=tt.viewDate,wr=tt.onNextMonth,Er=tt.onPrevMonth,zr=tt.onNextYear,Jr=tt.onPrevYear,Zr=tt.onYearClick,an=tt.onMonthClick,St=o.useContext(X),Vt=St.hideHeader;if(Vt)return null;var sr="".concat(jt,"-header"),br=nr.shortMonths||(Jt.locale.getShortMonths?Jt.locale.getShortMonths(nr.locale):[]),Mr=Jt.getMonth(Or),Dr=o.createElement("button",{type:"button",key:"year",onClick:Zr,tabIndex:-1,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Or,nr.yearFormat)),rn=o.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(jt,"-month-btn")},nr.monthFormat?Jt.locale.format(nr.locale,Or,nr.monthFormat):br[Mr]),fn=nr.monthBeforeYear?[rn,Dr]:[Dr,rn];return o.createElement(Y,Object.assign({},tt,{prefixCls:sr,onSuperPrev:Jr,onPrev:Er,onNext:wr,onSuperNext:zr}),fn)}var ne=Ot,he=6;function Q(tt){var jt=tt.prefixCls,Jt=tt.panelName,nr=Jt===void 0?"date":Jt,Or=tt.keyboardConfig,wr=tt.active,Er=tt.operationRef,zr=tt.generateConfig,Jr=tt.value,Zr=tt.viewDate,an=tt.onViewDateChange,St=tt.onPanelChange,Vt=tt.onSelect,sr="".concat(jt,"-").concat(nr,"-panel");Er.current={onKeyDown:function(rn){return Ee(rn,Object(U.a)({onLeftRight:function(wn){Vt(zr.addDate(Jr||Zr,wn),"key")},onCtrlLeftRight:function(wn){Vt(zr.addYear(Jr||Zr,wn),"key")},onUpDown:function(wn){Vt(zr.addDate(Jr||Zr,wn*Qe),"key")},onPageUpDown:function(wn){Vt(zr.addMonth(Jr||Zr,wn),"key")}},Or))}};var br=function(rn){var fn=zr.addYear(Zr,rn);an(fn),St(null,fn)},Mr=function(rn){var fn=zr.addMonth(Zr,rn);an(fn),St(null,fn)};return o.createElement("div",{className:T()(sr,Object(R.a)({},"".concat(sr,"-active"),wr))},o.createElement(ne,Object.assign({},tt,{prefixCls:jt,value:Jr,viewDate:Zr,onPrevYear:function(){br(-1)},onNextYear:function(){br(1)},onPrevMonth:function(){Mr(-1)},onNextMonth:function(){Mr(1)},onMonthClick:function(){St("month",Zr)},onYearClick:function(){St("year",Zr)}})),o.createElement(At,Object.assign({},tt,{onSelect:function(rn){return Vt(rn,"mouse")},prefixCls:jt,value:Jr,viewDate:Zr,rowCount:he})))}var te=Q;function be(tt,jt,Jt){if(!Jt)return jt;var nr=jt;return nr=tt.setHour(nr,tt.getHour(Jt)),nr=tt.setMinute(nr,tt.getMinute(Jt)),nr=tt.setSecond(nr,tt.getSecond(Jt)),nr}var Ie=vt("date","time");function Re(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.generateConfig,Or=tt.value,wr=tt.defaultValue,Er=tt.disabledTime,zr=tt.showTime,Jr=tt.onSelect,Zr="".concat(jt,"-datetime-panel"),an=o.useState(null),St=Object(j.a)(an,2),Vt=St[0],sr=St[1],br=o.useRef({}),Mr=o.useRef({}),Dr=Object(K.a)(zr)==="object"?Object(U.a)({},zr):{};function rn(Sn){var bn=Ie.indexOf(Vt)+Sn,Mn=Ie[bn]||null;return Mn}var fn=function(bn){Mr.current.onBlur&&Mr.current.onBlur(bn),sr(null)};Jt.current={onKeyDown:function(bn){if(bn.which===V.a.TAB){var Mn=rn(bn.shiftKey?-1:1);return sr(Mn),Mn&&bn.preventDefault(),!0}if(Vt){var vn=Vt==="date"?br:Mr;return vn.current&&vn.current.onKeyDown&&vn.current.onKeyDown(bn),!0}return[V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN].includes(bn.which)?(sr("date"),!0):!1},onBlur:fn,onClose:fn};var wn=function(bn,Mn){var vn=bn;Mn==="date"&&!Or&&Dr.defaultValue?(vn=nr.setHour(vn,nr.getHour(Dr.defaultValue)),vn=nr.setMinute(vn,nr.getMinute(Dr.defaultValue)),vn=nr.setSecond(vn,nr.getSecond(Dr.defaultValue))):Mn==="time"&&!Or&&wr&&(vn=nr.setYear(vn,nr.getYear(wr)),vn=nr.setMonth(vn,nr.getMonth(wr)),vn=nr.setDate(vn,nr.getDate(wr))),Jr&&Jr(vn,"mouse")},Hn=Er?Er(Or||null):{};return o.createElement("div",{className:T()(Zr,Object(R.a)({},"".concat(Zr,"-active"),Vt))},o.createElement(te,Object.assign({},tt,{operationRef:br,active:Vt==="date",onSelect:function(bn){wn(be(nr,bn,zr&&Object(K.a)(zr)==="object"?zr.defaultValue:null),"date")}})),o.createElement(it,Object.assign({},tt,{format:void 0},Dr,Hn,{defaultValue:void 0,operationRef:Mr,active:Vt==="time",onSelect:function(bn){wn(bn,"time")}})))}var $e=Re;function gt(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Or=tt.value,wr="".concat(jt,"-cell"),Er=function(an){return o.createElement("td",{key:"week",className:T()(wr,"".concat(wr,"-week"))},Jt.locale.getWeek(nr.locale,an))},zr="".concat(jt,"-week-panel-row"),Jr=function(an){return T()(zr,Object(R.a)({},"".concat(zr,"-selected"),Ae(Jt,nr.locale,Or,an)))};return o.createElement(te,Object.assign({},tt,{panelName:"week",prefixColumn:Er,rowClassName:Jr,keyboardConfig:{onLeftRight:null}}))}var Wt=gt;function $t(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Or=tt.viewDate,wr=tt.onNextYear,Er=tt.onPrevYear,zr=tt.onYearClick,Jr=o.useContext(X),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return o.createElement(Y,Object.assign({},tt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),o.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Or,nr.yearFormat)))}var Dt=$t,Kt=3,Gt=4;function Qt(tt){var jt=tt.prefixCls,Jt=tt.locale,nr=tt.value,Or=tt.viewDate,wr=tt.generateConfig,Er=tt.monthCellRender,zr=o.useContext(Ke),Jr=zr.rangedValue,Zr=zr.hoverRangedValue,an="".concat(jt,"-cell"),St=Ye({cellPrefixCls:an,value:nr,generateConfig:wr,rangedValue:Jr,hoverRangedValue:Zr,isSameCell:function(Dr,rn){return It(wr,Dr,rn)},isInView:function(){return!0},offsetCell:function(Dr,rn){return wr.addMonth(Dr,rn)}}),Vt=Jt.shortMonths||(wr.locale.getShortMonths?wr.locale.getShortMonths(Jt.locale):[]),sr=wr.setMonth(Or,0),br=Er?function(Mr){return Er(Mr,Jt)}:void 0;return o.createElement(Pe,Object.assign({},tt,{rowNum:Gt,colNum:Kt,baseDate:sr,getCellNode:br,getCellText:function(Dr){return Jt.monthFormat?wr.locale.format(Jt.locale,Dr,Jt.monthFormat):Vt[wr.getMonth(Dr)]},getCellClassName:St,getCellDate:wr.addMonth,titleCell:function(Dr){return wr.locale.format(Jt.locale,Dr,"YYYY-MM")}}))}var Mt=Qt;function dr(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,Or=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.onPanelChange,Jr=tt.onSelect,Zr="".concat(jt,"-month-panel");Jt.current={onKeyDown:function(Vt){return Ee(Vt,{onLeftRight:function(br){Jr(Or.addMonth(wr||Er,br),"key")},onCtrlLeftRight:function(br){Jr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(Or.addMonth(wr||Er,br*Kt),"key")},onEnter:function(){zr("date",wr||Er)}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),zr(null,sr)};return o.createElement("div",{className:Zr},o.createElement(Dt,Object.assign({},tt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),o.createElement(Mt,Object.assign({},tt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse"),zr("date",Vt)}})))}var er=dr;function st(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Or=tt.viewDate,wr=tt.onNextYear,Er=tt.onPrevYear,zr=tt.onYearClick,Jr=o.useContext(X),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return o.createElement(Y,Object.assign({},tt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),o.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Or,nr.yearFormat)))}var xt=st,ut=4,pt=1;function _t(tt){var jt=tt.prefixCls,Jt=tt.locale,nr=tt.value,Or=tt.viewDate,wr=tt.generateConfig,Er=o.useContext(Ke),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=Ye({cellPrefixCls:Zr,value:nr,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(sr,br){return yt(wr,sr,br)},isInView:function(){return!0},offsetCell:function(sr,br){return wr.addMonth(sr,br*3)}}),St=wr.setDate(wr.setMonth(Or,0),1);return o.createElement(Pe,Object.assign({},tt,{rowNum:pt,colNum:ut,baseDate:St,getCellText:function(sr){return wr.locale.format(Jt.locale,sr,Jt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(sr,br){return wr.addMonth(sr,br*3)},titleCell:function(sr){return wr.locale.format(Jt.locale,sr,"YYYY-[Q]Q")}}))}var Tt=_t;function ft(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,Or=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.onPanelChange,Jr=tt.onSelect,Zr="".concat(jt,"-quarter-panel");Jt.current={onKeyDown:function(Vt){return Ee(Vt,{onLeftRight:function(br){Jr(Or.addMonth(wr||Er,br*3),"key")},onCtrlLeftRight:function(br){Jr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(Or.addYear(wr||Er,br),"key")}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),zr(null,sr)};return o.createElement("div",{className:Zr},o.createElement(xt,Object.assign({},tt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),o.createElement(Tt,Object.assign({},tt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse")}})))}var Ht=ft;function kt(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.viewDate,Or=tt.onPrevDecade,wr=tt.onNextDecade,Er=tt.onDecadeClick,zr=o.useContext(X),Jr=zr.hideHeader;if(Jr)return null;var Zr="".concat(jt,"-header"),an=Jt.getYear(nr),St=Math.floor(an/kr)*kr,Vt=St+kr-1;return o.createElement(Y,Object.assign({},tt,{prefixCls:Zr,onSuperPrev:Or,onSuperNext:wr}),o.createElement("button",{type:"button",onClick:Er,className:"".concat(jt,"-decade-btn")},St,"-",Vt))}var ir=kt,Xt=3,mr=4;function Ar(tt){var jt=tt.prefixCls,Jt=tt.value,nr=tt.viewDate,Or=tt.locale,wr=tt.generateConfig,Er=o.useContext(Ke),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=wr.getYear(nr),St=Math.floor(an/kr)*kr,Vt=St+kr-1,sr=wr.setYear(nr,St-Math.ceil((Xt*mr-kr)/2)),br=function(rn){var fn=wr.getYear(rn);return St<=fn&&fn<=Vt},Mr=Ye({cellPrefixCls:Zr,value:Jt,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(rn,fn){return ht(wr,rn,fn)},isInView:br,offsetCell:function(rn,fn){return wr.addYear(rn,fn)}});return o.createElement(Pe,Object.assign({},tt,{rowNum:mr,colNum:Xt,baseDate:sr,getCellText:wr.getYear,getCellClassName:Mr,getCellDate:wr.addYear,titleCell:function(rn){return wr.locale.format(Or.locale,rn,"YYYY")}}))}var Nr=Ar,kr=10;function tn(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,Or=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.sourceMode,Jr=tt.onSelect,Zr=tt.onPanelChange,an="".concat(jt,"-year-panel");Jt.current={onKeyDown:function(sr){return Ee(sr,{onLeftRight:function(Mr){Jr(Or.addYear(wr||Er,Mr),"key")},onCtrlLeftRight:function(Mr){Jr(Or.addYear(wr||Er,Mr*kr),"key")},onUpDown:function(Mr){Jr(Or.addYear(wr||Er,Mr*Xt),"key")},onEnter:function(){Zr(zr==="date"?"date":"month",wr||Er)}})}};var St=function(sr){var br=Or.addYear(Er,sr*10);nr(br),Zr(null,br)};return o.createElement("div",{className:an},o.createElement(ir,Object.assign({},tt,{prefixCls:jt,onPrevDecade:function(){St(-1)},onNextDecade:function(){St(1)},onDecadeClick:function(){Zr("decade",Er)}})),o.createElement(Nr,Object.assign({},tt,{prefixCls:jt,onSelect:function(sr){Zr(zr==="date"?"date":"month",sr),Jr(sr,"mouse")}})))}var qr=tn;function Lr(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.viewDate,Or=tt.onPrevDecades,wr=tt.onNextDecades,Er=o.useContext(X),zr=Er.hideHeader;if(zr)return null;var Jr="".concat(jt,"-header"),Zr=Jt.getYear(nr),an=Math.floor(Zr/xr)*xr,St=an+xr-1;return o.createElement(Y,Object.assign({},tt,{prefixCls:Jr,onSuperPrev:Or,onSuperNext:wr}),an,"-",St)}var Qr=Lr,Ir=3,ur=4;function pr(tt){var jt=fr-1,Jt=tt.prefixCls,nr=tt.viewDate,Or=tt.generateConfig,wr=tt.disabledDate,Er="".concat(Jt,"-cell"),zr=Or.getYear(nr),Jr=Math.floor(zr/fr)*fr,Zr=Math.floor(zr/xr)*xr,an=Zr+xr-1,St=Or.setYear(nr,Zr-Math.ceil((Ir*ur*fr-xr)/2)),Vt=function(br){var Mr,Dr=wr&&wr(br),rn=Or.getYear(br),fn=rn+jt;return Mr={},Object(R.a)(Mr,"".concat(Er,"-disabled"),Dr),Object(R.a)(Mr,"".concat(Er,"-in-view"),Zr<=rn&&fn<=an),Object(R.a)(Mr,"".concat(Er,"-selected"),rn===Jr),Mr};return o.createElement(Pe,Object.assign({},tt,{rowNum:ur,colNum:Ir,baseDate:St,getCellText:function(br){var Mr=Or.getYear(br);return"".concat(Mr,"-").concat(Mr+jt)},getCellClassName:Vt,getCellDate:function(br,Mr){return Or.addYear(br,Mr*fr)}}))}var cr=pr,fr=10,xr=fr*10;function Yr(tt){var jt=tt.prefixCls,Jt=tt.onViewDateChange,nr=tt.generateConfig,Or=tt.viewDate,wr=tt.operationRef,Er=tt.onSelect,zr=tt.onPanelChange,Jr="".concat(jt,"-decade-panel");wr.current={onKeyDown:function(Vt){return Ee(Vt,{onLeftRight:function(br){Er(nr.addYear(Or,br*fr),"key")},onCtrlLeftRight:function(br){Er(nr.addYear(Or,br*xr),"key")},onUpDown:function(br){Er(nr.addYear(Or,br*fr*Ir),"key")},onEnter:function(){zr("year",Or)}})}};var Zr=function(Vt){var sr=nr.addYear(Or,Vt*xr);Jt(sr),zr(null,sr)},an=function(Vt){Er(Vt,"mouse"),zr("year",Vt)};return o.createElement("div",{className:Jr},o.createElement(Qr,Object.assign({},tt,{prefixCls:jt,onPrevDecades:function(){Zr(-1)},onNextDecades:function(){Zr(1)}})),o.createElement(cr,Object.assign({},tt,{prefixCls:jt,onSelect:an})))}var un=Yr;function Nn(tt,jt,Jt){return Jt?o.createElement("div",{className:"".concat(tt,"-footer-extra")},Jt(jt)):null}function jr(tt){var jt=tt.prefixCls,Jt=tt.rangeList,nr=Jt===void 0?[]:Jt,Or=tt.components,wr=Or===void 0?{}:Or,Er=tt.needConfirmButton,zr=tt.onNow,Jr=tt.onOk,Zr=tt.okDisabled,an=tt.showNow,St=tt.locale,Vt,sr;if(nr.length){var br=wr.rangeItem||"span";Vt=o.createElement(o.Fragment,null,nr.map(function(Dr){var rn=Dr.label,fn=Dr.onClick,wn=Dr.onMouseEnter,Hn=Dr.onMouseLeave;return o.createElement("li",{key:rn,className:"".concat(jt,"-preset")},o.createElement(br,{onClick:fn,onMouseEnter:wn,onMouseLeave:Hn},rn))}))}if(Er){var Mr=wr.button||"button";zr&&!Vt&&an!==!1&&(Vt=o.createElement("li",{className:"".concat(jt,"-now")},o.createElement("a",{className:"".concat(jt,"-now-btn"),onClick:zr},St.now))),sr=Er&&o.createElement("li",{className:"".concat(jt,"-ok")},o.createElement(Mr,{disabled:Zr,onClick:Jr},St.ok))}return!Vt&&!sr?null:o.createElement("ul",{className:"".concat(jt,"-ranges")},Vt,sr)}function Tn(tt){var jt,Jt=tt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,Or=tt.className,wr=tt.style,Er=tt.locale,zr=tt.generateConfig,Jr=tt.value,Zr=tt.defaultValue,an=tt.pickerValue,St=tt.defaultPickerValue,Vt=tt.disabledDate,sr=tt.mode,br=tt.picker,Mr=br===void 0?"date":br,Dr=tt.tabIndex,rn=Dr===void 0?0:Dr,fn=tt.showNow,wn=tt.showTime,Hn=tt.showToday,Sn=tt.renderExtraFooter,bn=tt.hideHeader,Mn=tt.onSelect,vn=tt.onChange,Rn=tt.onPanelChange,En=tt.onMouseDown,_n=tt.onPickerValueChange,Xn=tt.onOk,ai=tt.components,ri=tt.direction,Di=tt.hourStep,yi=Di===void 0?1:Di,xi=tt.minuteStep,Li=xi===void 0?1:xi,Un=tt.secondStep,Ri=Un===void 0?1:Un,fa=Mr==="date"&&!!wn||Mr==="time",Ui=24%yi===0,Mi=60%Li===0,mi=60%Ri===0,hi=o.useContext(X),qi=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,ya=hi.hideRanges,oa=hi.defaultOpenValue,sa=o.useContext(Ke),Ni=sa.inRange,$n=sa.panelPosition,Ai=sa.rangedValue,_i=sa.hoverRangedValue,Vi=o.useRef({}),Xi=o.useRef(!0),bi=Object(P.a)(null,{value:Jr,defaultValue:Zr,postState:function(pi){return!pi&&oa&&Mr==="time"?oa:pi}}),Aa=Object(j.a)(bi,2),ca=Aa[0],la=Aa[1],gi=Object(P.a)(null,{value:an,defaultValue:St||ca,postState:function(pi){return pi||zr.getNow()}}),Pa=Object(j.a)(gi,2),Ma=Pa[0],ra=Pa[1],Yi=function(pi){ra(pi),_n&&_n(pi)},Xa=function(pi){var Gi=Oe[Mr];return Gi?Gi(pi):pi},Ki=Object(P.a)(function(){return Mr==="time"?"time":Xa("date")},{value:sr}),zi=Object(j.a)(Ki,2),ba=zi[0],Ua=zi[1];o.useEffect(function(){Ua(Mr)},[Mr]);var wa=o.useState(function(){return ba}),vi=Object(j.a)(wa,2),Ya=vi[0],Ka=vi[1],pa=function(pi,Gi){var oo=Xa(pi||ba);Ka(ba),Ua(oo),Rn&&(ba!==oo||ve(zr,Ma,Ma))&&Rn(Gi,oo)},Oi=function(pi,Gi){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Mr||oo)&&(la(pi),Mn&&Mn(pi),Ea&&Ea(pi,Gi),vn&&!ve(zr,pi,ca)&&vn(pi))},So=function(pi){return Vi.current&&Vi.current.onKeyDown?([V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN,V.a.PAGE_UP,V.a.PAGE_DOWN,V.a.ENTER].includes(pi.which)&&pi.preventDefault(),Vi.current.onKeyDown(pi)):(Object(A.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},za=function(pi){Vi.current&&Vi.current.onBlur&&Vi.current.onBlur(pi)};qi&&$n!=="right"&&(qi.current={onKeyDown:So,onClose:function(){Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),o.useEffect(function(){Jr&&!Xi.current&&ra(Jr)},[Jr]),o.useEffect(function(){Xi.current=!1},[]);var ja,qa=Object(U.a)(Object(U.a)({},tt),{},{operationRef:Vi,prefixCls:nr,viewDate:Ma,value:ca,onViewDateChange:Yi,sourceMode:Ya,onPanelChange:pa,disabledDate:ba!=="decade"?Vt:void 0});delete qa.onChange,delete qa.onSelect;switch(ba){case"decade":ja=o.createElement(un,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"year":ja=o.createElement(qr,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"month":ja=o.createElement(er,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"quarter":ja=o.createElement(Ht,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"week":ja=o.createElement(Wt,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"time":delete qa.showTime,ja=o.createElement(it,Object.assign({},qa,Object(K.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;default:wn?ja=o.createElement($e,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}})):ja=o.createElement(te,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}))}var ho,Ca,to=function(){var pi=zr.getNow(),Gi=Ge(zr.getHour(pi),zr.getMinute(pi),zr.getSecond(pi),Ui?yi:1,Mi?Li:1,mi?Ri:1),oo=wt(zr,pi,Gi[0],Gi[1],Gi[2]);Oi(oo,"submit")};ya||(ho=Nn(nr,ba,Sn),Ca=jr({prefixCls:nr,components:ai,needConfirmButton:fa,okDisabled:!ca||Vt&&Vt(ca),locale:Er,showNow:fn,onNow:fa&&to,onOk:function(){ca&&(Oi(ca,"submit",!0),Xn&&Xn(ca))}}));var Lo;if(Hn&&ba==="date"&&Mr==="date"&&!wn){var _a=zr.getNow(),ki="".concat(nr,"-today-btn"),Ja=Vt&&Vt(_a);Lo=o.createElement("a",{className:T()(ki,Ja&&"".concat(ki,"-disabled")),"aria-disabled":Ja,onClick:function(){Ja||Oi(_a,"mouse",!0)}},Er.today)}return o.createElement(X.Provider,{value:Object(U.a)(Object(U.a)({},hi),{},{hideHeader:"hideHeader"in tt?bn:hi.hideHeader,hidePrevBtn:Ni&&$n==="right",hideNextBtn:Ni&&$n==="left"})},o.createElement("div",{tabIndex:rn,className:T()("".concat(nr,"-panel"),Or,(jt={},Object(R.a)(jt,"".concat(nr,"-panel-has-range"),Ai&&Ai[0]&&Ai[1]),Object(R.a)(jt,"".concat(nr,"-panel-has-range-hover"),_i&&_i[0]&&_i[1]),Object(R.a)(jt,"".concat(nr,"-panel-rtl"),ri==="rtl"),jt)),style:wr,onKeyDown:So,onBlur:za,onMouseDown:En,ref:va},ja,ho||Ca||Lo?o.createElement("div",{className:"".concat(nr,"-footer")},ho,Ca,Lo):null))}var gn=Tn,Pn=e("uciX"),zn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function qn(tt){var jt,Jt=tt.prefixCls,nr=tt.popupElement,Or=tt.popupStyle,wr=tt.visible,Er=tt.dropdownClassName,zr=tt.dropdownAlign,Jr=tt.transitionName,Zr=tt.getPopupContainer,an=tt.children,St=tt.range,Vt=tt.popupPlacement,sr=tt.direction,br="".concat(Jt,"-dropdown"),Mr=function(){return Vt!==void 0?Vt:sr==="rtl"?"bottomRight":"bottomLeft"};return o.createElement(Pn.a,{showAction:[],hideAction:[],popupPlacement:Mr(),builtinPlacements:zn,prefixCls:br,popupTransitionName:Jr,popup:nr,popupAlign:zr,popupVisible:wr,popupClassName:T()(Er,(jt={},Object(R.a)(jt,"".concat(br,"-range"),St),Object(R.a)(jt,"".concat(br,"-rtl"),sr==="rtl"),jt)),popupStyle:Or,getPopupContainer:Zr},an)}var Yn=qn;function Vn(tt){var jt=tt.open,Jt=tt.value,nr=tt.isClickOutside,Or=tt.triggerOpen,wr=tt.forwardKeyDown,Er=tt.blurToCancel,zr=tt.onSubmit,Jr=tt.onCancel,Zr=tt.onFocus,an=tt.onBlur,St=Object(o.useState)(!1),Vt=Object(j.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(o.useState)(!1),Dr=Object(j.a)(Mr,2),rn=Dr[0],fn=Dr[1],wn=Object(o.useRef)(!1),Hn=Object(o.useRef)(!1),Sn={onMouseDown:function(){br(!0),Or(!0)},onKeyDown:function(Mn){switch(Mn.which){case V.a.ENTER:{jt?zr()!==!1&&br(!0):Or(!0),Mn.preventDefault();return}case V.a.TAB:{sr&&jt&&!Mn.shiftKey?(br(!1),Mn.preventDefault()):!sr&&jt&&(!wr(Mn)&&Mn.shiftKey&&(br(!0),Mn.preventDefault()));return}case V.a.ESC:{br(!0),Jr();return}}!jt&&![V.a.SHIFT].includes(Mn.which)?Or(!0):sr||wr(Mn)},onFocus:function(Mn){br(!0),fn(!0),Zr&&Zr(Mn)},onBlur:function(Mn){if(wn.current||!nr(document.activeElement)){wn.current=!1;return}Er?setTimeout(function(){nr(document.activeElement)&&Jr()},0):jt&&(Or(!1),Hn.current&&zr()),fn(!1),an&&an(Mn)}};return Object(o.useEffect)(function(){Hn.current=!1},[jt]),Object(o.useEffect)(function(){Hn.current=!0},[Jt]),Object(o.useEffect)(function(){return ee(function(bn){var Mn=bn.target;jt&&(nr(Mn)?rn||Or(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:sr}]}function An(tt){var jt=tt.valueTexts,Jt=tt.onTextChange,nr=o.useState(""),Or=Object(j.a)(nr,2),wr=Or[0],Er=Or[1],zr=o.useRef([]);zr.current=jt;function Jr(an){Er(an),Jt(an)}function Zr(){Er(zr.current[0])}return o.useEffect(function(){jt.every(function(an){return an!==wr})&&Zr()},[jt.join("||")]),[wr,Jr,Zr]}var on=e("Gytx"),ia=e.n(on);function xa(tt,jt){var Jt=jt.formatList,nr=jt.generateConfig,Or=jt.locale;return Object(pe.a)(function(){if(!tt)return[[""],""];for(var wr="",Er=[],zr=0;zr<Jt.length;zr+=1){var Jr=Jt[zr],Zr=nr.locale.format(Or.locale,tt,Jr);Er.push(Zr),zr===0&&(wr=Zr)}return[Er,wr]},[tt,Jt],function(wr,Er){return wr[0]!==Er[0]||!ia()(wr[1],Er[1])})}function ta(tt,jt){var Jt=jt.formatList,nr=jt.generateConfig,Or=jt.locale,wr=Object(o.useState)(null),Er=Object(j.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=xa(zr,{formatList:Jt,generateConfig:nr,locale:Or}),an=Object(j.a)(Zr,2),St=an[1];function Vt(br){Jr(br)}function sr(){Jr(null)}return Object(o.useEffect)(function(){sr()},[tt]),[St,Vt,sr]}function Ii(tt){var jt,Jt=tt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,Or=tt.id,wr=tt.tabIndex,Er=tt.style,zr=tt.className,Jr=tt.dropdownClassName,Zr=tt.dropdownAlign,an=tt.popupStyle,St=tt.transitionName,Vt=tt.generateConfig,sr=tt.locale,br=tt.inputReadOnly,Mr=tt.allowClear,Dr=tt.autoFocus,rn=tt.showTime,fn=tt.picker,wn=fn===void 0?"date":fn,Hn=tt.format,Sn=tt.use12Hours,bn=tt.value,Mn=tt.defaultValue,vn=tt.open,Rn=tt.defaultOpen,En=tt.defaultOpenValue,_n=tt.suffixIcon,Xn=tt.clearIcon,ai=tt.disabled,ri=tt.disabledDate,Di=tt.placeholder,yi=tt.getPopupContainer,xi=tt.pickerRef,Li=tt.panelRender,Un=tt.onChange,Ri=tt.onOpenChange,fa=tt.onFocus,Ui=tt.onBlur,Mi=tt.onMouseDown,mi=tt.onMouseUp,hi=tt.onMouseEnter,qi=tt.onMouseLeave,va=tt.onContextMenu,Ea=tt.onClick,ya=tt.direction,oa=tt.autoComplete,sa=oa===void 0?"off":oa,Ni=o.useRef(null),$n=wn==="date"&&!!rn||wn==="time",Ai=Ct(Se(Hn,wn,rn,Sn)),_i=o.useRef(null),Vi=o.useRef(null),Xi=Object(P.a)(null,{value:bn,defaultValue:Mn}),bi=Object(j.a)(Xi,2),Aa=bi[0],ca=bi[1],la=o.useState(Aa),gi=Object(j.a)(la,2),Pa=gi[0],Ma=gi[1],ra=o.useRef(null),Yi=Object(P.a)(!1,{value:vn,defaultValue:Rn,postState:function(Zi){return ai?!1:Zi},onChange:function(Zi){Ri&&Ri(Zi),!Zi&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Xa=Object(j.a)(Yi,2),Ki=Xa[0],zi=Xa[1],ba=xa(Pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ua=Object(j.a)(ba,2),wa=Ua[0],vi=Ua[1],Ya=An({valueTexts:wa,onTextChange:function(Zi){var xo=Vt.locale.parse(sr.locale,Zi,Ai);xo&&(!ri||!ri(xo))&&Ma(xo)}}),Ka=Object(j.a)(Ya,3),pa=Ka[0],Oi=Ka[1],So=Ka[2],za=function(Zi){Ma(Zi),ca(Zi),Un&&!ve(Vt,Aa,Zi)&&Un(Zi,Zi?Vt.locale.format(sr.locale,Zi,Ai[0]):"")},ja=function(Zi){if(ai&&Zi)return;zi(Zi)},qa=function(Zi){return Ki&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown(Zi):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho=function(){mi&&mi.apply(void 0,arguments),Ni.current&&(Ni.current.focus(),ja(!0))},Ca=Vn({blurToCancel:$n,open:Ki,value:pa,triggerOpen:ja,forwardKeyDown:qa,isClickOutside:function(Zi){return!ae([_i.current,Vi.current],Zi)},onSubmit:function(){return ri&&ri(Pa)?!1:(za(Pa),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ma(Aa),So()},onFocus:fa,onBlur:Ui}),to=Object(j.a)(Ca,2),Lo=to[0],_a=to[1],ki=_a.focused,Ja=_a.typing;o.useEffect(function(){Ki||(Ma(Aa),!wa.length||wa[0]===""?Oi(""):vi!==pa&&So())},[Ki,wa]),o.useEffect(function(){Ki||So()},[wn]),o.useEffect(function(){Ma(Aa)},[Aa]),xi&&(xi.current={focus:function(){Ni.current&&Ni.current.focus()},blur:function(){Ni.current&&Ni.current.blur()}});var Da=Object(U.a)(Object(U.a)({},tt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=o.createElement(gn,Object.assign({},Da,{generateConfig:Vt,className:T()(Object(R.a)({},"".concat(nr,"-panel-focused"),!Ja)),value:Pa,locale:sr,tabIndex:-1,onChange:Ma,direction:ya}));Li&&(pi=Li(pi));var Gi=o.createElement("div",{className:"".concat(nr,"-panel-container"),onMouseDown:function(Zi){Zi.preventDefault()}},pi),oo;_n&&(oo=o.createElement("span",{className:"".concat(nr,"-suffix")},_n));var go;Mr&&Aa&&!ai&&(go=o.createElement("span",{onMouseDown:function(Zi){Zi.preventDefault(),Zi.stopPropagation()},onMouseUp:function(Zi){Zi.preventDefault(),Zi.stopPropagation(),za(null),ja(!1)},className:"".concat(nr,"-clear")},Xn||o.createElement("span",{className:"".concat(nr,"-clear-btn")})));var fo=function(Zi,xo){(xo==="submit"||xo!=="key"&&!$n)&&(za(Zi),ja(!1))},Ta=ya==="rtl"?"bottomRight":"bottomLeft",Fi=ta(pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ra=Object(j.a)(Fi,3),Vo=Ra[0],ro=Ra[1],vo=Ra[2];return o.createElement(X.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:_i,onSelect:fo,open:Ki,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},o.createElement(Yn,{visible:Ki,popupElement:Gi,popupStyle:an,prefixCls:nr,dropdownClassName:Jr,dropdownAlign:Zr,getPopupContainer:yi,transitionName:St,popupPlacement:Ta,direction:ya},o.createElement("div",{className:T()(nr,zr,(jt={},Object(R.a)(jt,"".concat(nr,"-disabled"),ai),Object(R.a)(jt,"".concat(nr,"-focused"),ki),Object(R.a)(jt,"".concat(nr,"-rtl"),ya==="rtl"),jt)),style:Er,onMouseDown:Mi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:qi,onContextMenu:va,onClick:Ea},o.createElement("div",{className:T()("".concat(nr,"-input"),Object(R.a)({},"".concat(nr,"-input-placeholder"),!!Vo)),ref:Vi},o.createElement("input",Object.assign({id:Or,tabIndex:wr,disabled:ai,readOnly:br||!Ja,value:Vo||pa,onChange:function(Zi){Oi(Zi.target.value)},autoFocus:Dr,placeholder:Di,ref:Ni,title:pa},Lo,{size:at(wn,Ai[0])},Be(tt),{autoComplete:sa})),oo,go))))}var Ci=function(tt){Object(H.a)(Jt,tt);var jt=Object(W.a)(Jt);function Jt(){var nr;return Object(F.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=o.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(B.a)(Jt,[{key:"render",value:function(){return o.createElement(Ii,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(o.Component),Gn=Ci;function Oa(tt,jt,Jt){var nr=tt.picker,Or=tt.locale,wr=tt.selectedValue,Er=tt.disabledDate,zr=tt.disabled,Jr=tt.generateConfig,Zr=Rt(wr,0),an=Rt(wr,1);function St(Dr){var rn=Jr.getYear(Dr),fn=Jr.locale.getWeek(Or.locale,Dr);return rn*100+fn}function Vt(Dr){var rn=Jr.getYear(Dr),fn=Jr.getMonth(Dr);return rn*100+fn}function sr(Dr){var rn=Jr.getYear(Dr),fn=ct(Jr,Dr);return rn*10+fn}var br=o.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[1]&&an)return!or(Jr,Dr,an)&&Jr.isAfter(Dr,an);if(jt&&an)switch(nr){case"quarter":return sr(Dr)>sr(an);case"month":return Vt(Dr)>Vt(an);case"week":return St(Dr)>St(an);default:return!or(Jr,Dr,an)&&Jr.isAfter(Dr,an)}return!1},[Er,zr[1],an,jt]),Mr=o.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[0]&&Zr)return!or(Jr,Dr,an)&&Jr.isAfter(Zr,Dr);if(Jt&&Zr)switch(nr){case"quarter":return sr(Dr)<sr(Zr);case"month":return Vt(Dr)<Vt(Zr);case"week":return St(Dr)<St(Zr);default:return!or(Jr,Dr,Zr)&&Jr.isAfter(Zr,Dr)}return!1},[Er,zr[0],Zr,Jt]);return[br,Mr]}function mn(tt,jt,Jt,nr){var Or=Ne(tt,Jt,nr,1);function wr(Er){return Er(tt,jt)?"same":Er(Or,jt)?"closing":"far"}switch(Jt){case"year":return wr(function(Er,zr){return Zt(nr,Er,zr)});case"quarter":case"month":return wr(function(Er,zr){return ht(nr,Er,zr)});default:return wr(function(Er,zr){return It(nr,Er,zr)})}}function On(tt,jt,Jt,nr){var Or=Rt(tt,0),wr=Rt(tt,1);if(jt===0)return Or;if(Or&&wr){var Er=mn(Or,wr,Jt,nr);switch(Er){case"same":return Or;case"closing":return Or;default:return Ne(wr,Jt,nr,-1)}}return Or}function Ln(tt){var jt=tt.values,Jt=tt.picker,nr=tt.defaultDates,Or=tt.generateConfig,wr=o.useState(function(){return[Rt(nr,0),Rt(nr,1)]}),Er=Object(j.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=o.useState(null),an=Object(j.a)(Zr,2),St=an[0],Vt=an[1],sr=Rt(jt,0),br=Rt(jt,1);function Mr(rn){return zr[rn]?zr[rn]:Rt(St,rn)||On(jt,rn,Jt,Or)||sr||br||Or.getNow()}function Dr(rn,fn){if(rn){var wn=He(St,rn,fn);Jr(He(zr,null,fn)||[null,null]);var Hn=(fn+1)%2;Rt(jt,Hn)||(wn=He(wn,rn,Hn)),Vt(wn)}else(sr||br)&&Vt(null)}return[Mr,Dr]}function In(tt,jt){return tt&&tt[0]&&tt[1]&&jt.isAfter(tt[0],tt[1])?[tt[1],tt[0]]:tt}function jn(tt,jt,Jt,nr){return tt||nr&&nr[jt]?!0:!!Jt[(jt+1)%2]}function ni(tt){var jt,Jt,nr,Or=tt.prefixCls,wr=Or===void 0?"rc-picker":Or,Er=tt.id,zr=tt.style,Jr=tt.className,Zr=tt.popupStyle,an=tt.dropdownClassName,St=tt.transitionName,Vt=tt.dropdownAlign,sr=tt.getPopupContainer,br=tt.generateConfig,Mr=tt.locale,Dr=tt.placeholder,rn=tt.autoFocus,fn=tt.disabled,wn=tt.format,Hn=tt.picker,Sn=Hn===void 0?"date":Hn,bn=tt.showTime,Mn=tt.use12Hours,vn=tt.separator,Rn=vn===void 0?"~":vn,En=tt.value,_n=tt.defaultValue,Xn=tt.defaultPickerValue,ai=tt.open,ri=tt.defaultOpen,Di=tt.disabledDate,yi=tt.disabledTime,xi=tt.dateRender,Li=tt.panelRender,Un=tt.ranges,Ri=tt.allowEmpty,fa=tt.allowClear,Ui=tt.suffixIcon,Mi=tt.clearIcon,mi=tt.pickerRef,hi=tt.inputReadOnly,qi=tt.mode,va=tt.renderExtraFooter,Ea=tt.onChange,ya=tt.onOpenChange,oa=tt.onPanelChange,sa=tt.onCalendarChange,Ni=tt.onFocus,$n=tt.onBlur,Ai=tt.onOk,_i=tt.components,Vi=tt.order,Xi=tt.direction,bi=tt.activePickerIndex,Aa=tt.autoComplete,ca=Aa===void 0?"off":Aa,la=Sn==="date"&&!!bn||Sn==="time",gi=Object(o.useRef)({}),Pa=Object(o.useRef)(null),Ma=Object(o.useRef)(null),ra=Object(o.useRef)(null),Yi=Object(o.useRef)(null),Xa=Object(o.useRef)(null),Ki=Object(o.useRef)(null),zi=Object(o.useRef)(null),ba=Ct(Se(wn,Sn,bn,Mn)),Ua=Object(P.a)(0,{value:bi}),wa=Object(j.a)(Ua,2),vi=wa[0],Ya=wa[1],Ka=Object(o.useRef)(null),pa=o.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),Oi=Object(P.a)(null,{value:En,defaultValue:_n,postState:function(ui){return Sn==="time"&&!Vi?ui:In(ui,br)}}),So=Object(j.a)(Oi,2),za=So[0],ja=So[1],qa=Ln({values:za,picker:Sn,defaultDates:Xn,generateConfig:br}),ho=Object(j.a)(qa,2),Ca=ho[0],to=ho[1],Lo=Object(P.a)(za,{postState:function(ui){var Bi=ui;if(pa[0]&&pa[1])return Bi;for(var Wn=0;Wn<2;Wn+=1)pa[Wn]&&!Rt(Bi,Wn)&&!Rt(Ri,Wn)&&(Bi=He(Bi,br.getNow(),Wn));return Bi}}),_a=Object(j.a)(Lo,2),ki=_a[0],Ja=_a[1],Da=Object(P.a)([Sn,Sn],{value:qi}),pi=Object(j.a)(Da,2),Gi=pi[0],oo=pi[1];Object(o.useEffect)(function(){oo([Sn,Sn])},[Sn]);var go=function(ui,Bi){oo(ui),oa&&oa(Bi,ui)},fo=Oa({picker:Sn,selectedValue:ki,locale:Mr,disabled:pa,disabledDate:Di,generateConfig:br},gi.current[1],gi.current[0]),Ta=Object(j.a)(fo,2),Fi=Ta[0],Ra=Ta[1],Vo=Object(P.a)(!1,{value:ai,defaultValue:ri,postState:function(ui){return pa[vi]?!1:ui},onChange:function(ui){ya&&ya(ui),!ui&&Ka.current&&Ka.current.onClose&&Ka.current.onClose()}}),ro=Object(j.a)(Vo,2),vo=ro[0],po=ro[1],Zi=vo&&vi===0,xo=vo&&vi===1,is=Object(o.useState)(0),Jo=Object(j.a)(is,2),Is=Jo[0],Cs=Jo[1];Object(o.useEffect)(function(){!vo&&Pa.current&&Cs(Pa.current.offsetWidth)},[vo]);var Ts=o.useRef();function Go(ua,ui){if(ua)clearTimeout(Ts.current),gi.current[ui]=!0,Ya(ui),po(ua),vo||to(null,ui);else if(vi===ui){po(ua);var Bi=gi.current;Ts.current=setTimeout(function(){Bi===gi.current&&(gi.current={})})}}function bo(ua){Go(!0,ua),setTimeout(function(){var ui=[Ki,zi][ua];ui.current&&ui.current.focus()},0)}function Za(ua,ui){var Bi=ua,Wn=Rt(Bi,0),io=Rt(Bi,1);Wn&&io&&br.isAfter(Wn,io)&&(Sn==="week"&&!Ae(br,Mr.locale,Wn,io)||Sn==="quarter"&&!yt(br,Wn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!or(br,Wn,io)?(ui===0?(Bi=[Wn,null],io=null):(Wn=null,Bi=[null,io]),gi.current=Object(R.a)({},ui,!0)):(Sn!=="time"||Vi!==!1)&&(Bi=In(Bi,br))),Ja(Bi);var qo=Bi&&Bi[0]?br.locale.format(Mr.locale,Bi[0],ba[0]):"",gs=Bi&&Bi[1]?br.locale.format(Mr.locale,Bi[1],ba[0]):"";if(sa){var os={range:ui===0?"start":"end"};sa(Bi,[qo,gs],os)}var Zo=jn(Wn,0,pa,Ri),$o=jn(io,1,pa,Ri),ws=Bi===null||Zo&&$o;ws&&(ja(Bi),Ea&&(!ve(br,Rt(za,0),Wn)||!ve(br,Rt(za,1),io))&&Ea(Bi,[qo,gs]));var Ho=null;ui===0&&!pa[1]?Ho=1:ui===1&&!pa[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!gi.current[Ho]||!Rt(Bi,Ho))&&Rt(Bi,ui)?bo(Ho):Go(!1,ui)}var Ga=function(ui){return vo&&Ka.current&&Ka.current.onKeyDown?Ka.current.onKeyDown(ui):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},so={formatList:ba,generateConfig:br,locale:Mr},ps=xa(Rt(ki,0),so),Sr=Object(j.a)(ps,2),Xo=Sr[0],ss=Sr[1],Ls=xa(Rt(ki,1),so),ka=Object(j.a)(Ls,2),La=ka[0],Oo=ka[1],_o=function(ui,Bi){var Wn=br.locale.parse(Mr.locale,ui,ba),io=Bi===0?Fi:Ra;Wn&&!io(Wn)&&(Ja(He(ki,Wn,Bi)),to(Wn,Bi))},ts=An({valueTexts:Xo,onTextChange:function(ui){return _o(ui,0)}}),Bo=Object(j.a)(ts,3),rs=Bo[0],ms=Bo[1],ls=Bo[2],Ns=An({valueTexts:La,onTextChange:function(ui){return _o(ui,1)}}),Ds=Object(j.a)(Ns,3),as=Ds[0],$s=Ds[1],cs=Ds[2],Mo=Object(o.useState)(null),Dn=Object(j.a)(Mo,2),Vs=Dn[0],Os=Dn[1],Pt=Object(o.useState)(null),oe=Object(j.a)(Pt,2),xe=oe[0],Te=oe[1],We=ta(rs,{formatList:ba,generateConfig:br,locale:Mr}),Et=Object(j.a)(We,3),Ut=Et[0],hr=Et[1],gr=Et[2],Rr=ta(as,{formatList:ba,generateConfig:br,locale:Mr}),$r=Object(j.a)(Rr,3),ln=$r[0],yn=$r[1],Cn=$r[2],Qn=function(ui){Te(He(ki,ui,vi)),vi===0?hr(ui):yn(ui)},ti=function(){Te(He(ki,null,vi)),vi===0?gr(null):Cn(null)},wi=function(ui,Bi){return{blurToCancel:la,forwardKeyDown:Ga,onBlur:$n,isClickOutside:function(io){return!ae([Ma.current,ra.current,Yi.current],io)},onFocus:function(io){Ya(ui),Ni&&Ni(io)},triggerOpen:function(io){Go(io,ui)},onSubmit:function(){Za(ki,ui),Bi()},onCancel:function(){Go(!1,ui),Ja(za),Bi()}}},ea=Vn(Object(U.a)(Object(U.a)({},wi(0,ls)),{},{open:Zi,value:rs})),ji=Object(j.a)(ea,2),Sa=ji[0],lo=ji[1],Wa=lo.focused,yo=lo.typing,Ao=Vn(Object(U.a)(Object(U.a)({},wi(1,cs)),{},{open:xo,value:as})),$a=Object(j.a)(Ao,2),ko=$a[0],No=$a[1],Ha=No.focused,jo=No.typing,Fo=function(ui){!vo&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Qo=function(ui){vo&&(Wa||Ha)&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&ui.preventDefault()},wo=za&&za[0]?br.locale.format(Mr.locale,za[0],"YYYYMMDDHHmmss"):"",us=za&&za[1]?br.locale.format(Mr.locale,za[1],"YYYYMMDDHHmmss"):"";Object(o.useEffect)(function(){vo||(Ja(za),!Xo.length||Xo[0]===""?ms(""):ss!==rs&&ls(),!La.length||La[0]===""?$s(""):Oo!==as&&cs())},[vo,Xo,La]),Object(o.useEffect)(function(){Ja(za)},[wo,us]),mi&&(mi.current={focus:function(){Ki.current&&Ki.current.focus()},blur:function(){Ki.current&&Ki.current.blur(),zi.current&&zi.current.blur()}});var ns=Object.keys(Un||{}),Xs=ns.map(function(ua){var ui=Un[ua],Bi=typeof ui=="function"?ui():ui;return{label:ua,onClick:function(){Za(Bi,null),Go(!1,vi)},onMouseEnter:function(){Os(Bi)},onMouseLeave:function(){Os(null)}}});function Ys(){var ua=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ui=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bi=null;vo&&xe&&xe[0]&&xe[1]&&br.isAfter(xe[1],xe[0])&&(Bi=xe);var Wn=bn;if(bn&&Object(K.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Wn=Object(U.a)(Object(U.a)({},bn),{},{defaultValue:Rt(io,vi)||void 0})}var qo=null;return xi&&(qo=function(os,Zo){return xi(os,Zo,{range:vi?"end":"start"})}),o.createElement(Ke.Provider,{value:{inRange:!0,panelPosition:ua,rangedValue:Vs||ki,hoverRangedValue:Bi}},o.createElement(gn,Object.assign({},tt,ui,{dateRender:qo,showTime:Wn,mode:Gi[vi],generateConfig:br,style:void 0,direction:Xi,disabledDate:vi===0?Fi:Ra,disabledTime:function(os){return yi?yi(os,vi===0?"start":"end"):!1},className:T()(Object(R.a)({},"".concat(wr,"-panel-focused"),vi===0?!yo:!jo)),value:Rt(ki,vi),locale:Mr,tabIndex:-1,onPanelChange:function(os,Zo){go(He(Gi,Zo,vi),He(ki,os,vi));var $o=os;ua==="right"&&Gi[vi]===Zo&&($o=Ne($o,Zo,br,-1)),to($o,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Yo=0,Eo=0;vi&&ra.current&&Xa.current&&Ma.current&&(Yo=ra.current.offsetWidth+Xa.current.offsetWidth,Ma.current.offsetWidth&&Yo>Ma.current.offsetWidth&&(Eo=Yo));var ds=Xi==="rtl"?{right:Yo}:{left:Yo};function hs(){var ua,ui=Nn(wr,Gi[vi],va),Bi=jr({prefixCls:wr,components:_i,needConfirmButton:la,okDisabled:!Rt(ki,vi)||Di&&Di(ki[vi]),locale:Mr,rangeList:Xs,onOk:function(){Rt(ki,vi)&&(Za(ki,vi),Ai&&Ai(ki))}});if(Sn!=="time"&&!bn){var Wn=Ca(vi),io=Ne(Wn,Sn,br),qo=Gi[vi],gs=qo===Sn,os=Ys(gs?"left":!1,{pickerValue:Wn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Zo=Ys("right",{pickerValue:io,onPickerValueChange:function(Ho){to(Ne(Ho,Sn,br,-1),vi)}});Xi==="rtl"?ua=o.createElement(o.Fragment,null,Zo,gs&&os):ua=o.createElement(o.Fragment,null,os,gs&&Zo)}else ua=Ys();var $o=o.createElement(o.Fragment,null,o.createElement("div",{className:"".concat(wr,"-panels")},ua),(ui||Bi)&&o.createElement("div",{className:"".concat(wr,"-footer")},ui,Bi));return Li&&($o=Li($o)),o.createElement("div",{className:"".concat(wr,"-panel-container"),style:{marginLeft:Eo},ref:Ma,onMouseDown:function(Ho){Ho.preventDefault()}},$o)}var Rs=o.createElement("div",{className:T()("".concat(wr,"-range-wrapper"),"".concat(wr,"-").concat(Sn,"-range-wrapper")),style:{minWidth:Is}},o.createElement("div",{className:"".concat(wr,"-range-arrow"),style:ds}),hs()),Do;Ui&&(Do=o.createElement("span",{className:"".concat(wr,"-suffix")},Ui));var ys;fa&&(Rt(za,0)&&!pa[0]||Rt(za,1)&&!pa[1])&&(ys=o.createElement("span",{onMouseDown:function(ui){ui.preventDefault(),ui.stopPropagation()},onMouseUp:function(ui){ui.preventDefault(),ui.stopPropagation();var Bi=za;pa[0]||(Bi=He(Bi,null,0)),pa[1]||(Bi=He(Bi,null,1)),Za(Bi,null),Go(!1,vi)},className:"".concat(wr,"-clear")},Mi||o.createElement("span",{className:"".concat(wr,"-clear-btn")})));var Ms={size:at(Sn,ba[0])},As=0,ks=0;ra.current&&Yi.current&&Xa.current&&(vi===0?ks=ra.current.offsetWidth:(As=Yo,ks=Yi.current.offsetWidth));var Hs=Xi==="rtl"?{right:As}:{left:As},bs=function(ui,Bi){var Wn=He(ki,ui,vi);Bi==="submit"||Bi!=="key"&&!la?Za(Wn,vi):Ja(Wn)};return o.createElement(X.Provider,{value:{operationRef:Ka,hideHeader:Sn==="time",onDateMouseEnter:Qn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},o.createElement(Yn,{visible:vo,popupElement:Rs,popupStyle:Zr,prefixCls:wr,dropdownClassName:an,dropdownAlign:Vt,getPopupContainer:sr,transitionName:St,range:!0,direction:Xi},o.createElement("div",Object.assign({ref:Pa,className:T()(wr,"".concat(wr,"-range"),Jr,(jt={},Object(R.a)(jt,"".concat(wr,"-disabled"),pa[0]&&pa[1]),Object(R.a)(jt,"".concat(wr,"-focused"),vi===0?Wa:Ha),Object(R.a)(jt,"".concat(wr,"-rtl"),Xi==="rtl"),jt)),style:zr,onClick:Fo,onMouseDown:Qo},Be(tt)),o.createElement("div",{className:T()("".concat(wr,"-input"),(Jt={},Object(R.a)(Jt,"".concat(wr,"-input-active"),vi===0),Object(R.a)(Jt,"".concat(wr,"-input-placeholder"),!!Ut),Jt)),ref:ra},o.createElement("input",Object.assign({id:Er,disabled:pa[0],readOnly:hi||!yo,value:Ut||rs,onChange:function(ui){ms(ui.target.value)},autoFocus:rn,placeholder:Rt(Dr,0)||"",ref:Ki},Sa,Ms,{autoComplete:ca}))),o.createElement("div",{className:"".concat(wr,"-range-separator"),ref:Xa},Rn),o.createElement("div",{className:T()("".concat(wr,"-input"),(nr={},Object(R.a)(nr,"".concat(wr,"-input-active"),vi===1),Object(R.a)(nr,"".concat(wr,"-input-placeholder"),!!ln),nr)),ref:Yi},o.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ui){$s(ui.target.value)},placeholder:Rt(Dr,1)||"",ref:zi},ko,Ms,{autoComplete:ca}))),o.createElement("div",{className:"".concat(wr,"-active-bar"),style:Object(U.a)(Object(U.a)({},Hs),{},{width:ks,position:"absolute"})}),Do,ys)))}var di=function(tt){Object(H.a)(Jt,tt);var jt=Object(W.a)(Jt);function Jt(){var nr;return Object(F.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=o.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(B.a)(Jt,[{key:"render",value:function(){return o.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(o.Component),Na=di,Qi=Gn,ma=e("61s2");function Ba(tt,jt,Jt){return Jt!==void 0?Jt:tt==="year"&&jt.lang.yearPlaceholder?jt.lang.yearPlaceholder:tt==="quarter"&&jt.lang.quarterPlaceholder?jt.lang.quarterPlaceholder:tt==="month"&&jt.lang.monthPlaceholder?jt.lang.monthPlaceholder:tt==="week"&&jt.lang.weekPlaceholder?jt.lang.weekPlaceholder:tt==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.placeholder:jt.lang.placeholder}function Qa(tt,jt,Jt){return Jt!==void 0?Jt:tt==="year"&&jt.lang.yearPlaceholder?jt.lang.rangeYearPlaceholder:tt==="month"&&jt.lang.monthPlaceholder?jt.lang.rangeMonthPlaceholder:tt==="week"&&jt.lang.weekPlaceholder?jt.lang.rangeWeekPlaceholder:tt==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.rangePlaceholder:jt.lang.rangePlaceholder}var Wi=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(tt,jt){var Jt={};for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=tt[nr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(tt);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(tt,nr[Or])&&(Jt[nr[Or]]=tt[nr[Or]]);return Jt};function ha(tt){function jt(Jr,Zr){var an=function(St){w()(sr,St);var Vt=S()(sr);function sr(br){var Mr;return s()(this,sr),Mr=Vt.call(this,br),Mr.pickerRef=o.createRef(),Mr.focus=function(){Mr.pickerRef.current&&Mr.pickerRef.current.focus()},Mr.blur=function(){Mr.pickerRef.current&&Mr.pickerRef.current.blur()},Mr.getDefaultLocale=function(){var Dr=Mr.props.locale,rn=c()(c()({},ma.a),Dr);return rn.lang=c()(c()({},rn.lang),(Dr||{}).lang),rn},Mr.renderPicker=function(Dr){var rn=Mr.context,fn=rn.getPrefixCls,wn=rn.direction,Hn=rn.getPopupContainer,Sn=Mr.props,bn=Sn.prefixCls,Mn=Sn.getPopupContainer,vn=Sn.className,Rn=Sn.size,En=Sn.bordered,_n=En===void 0?!0:En,Xn=Sn.placeholder,ai=ga(Sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ri=Mr.props,Di=ri.format,yi=ri.showTime,xi=fn("picker",bn),Li={showToday:!0},Un={};Jr&&(Un.picker=Jr);var Ri=Jr||Mr.props.picker;return Un=c()(c()(c()({},Un),yi?rr(c()({format:Di,picker:Ri},yi)):{}),Ri==="time"?rr(c()(c()({format:Di},Mr.props),{picker:Ri})):{}),o.createElement(Hi.b.Consumer,null,function(fa){var Ui,Mi=Rn||fa;return o.createElement(Qi,c()({ref:Mr.pickerRef,placeholder:Ba(Ri,Dr,Xn),suffixIcon:Ri==="time"?o.createElement(O.a,null):o.createElement(y.a,null),clearIcon:o.createElement(k.a,null),allowClear:!0,transitionName:"slide-up"},Li,ai,Un,{locale:Dr.lang,className:T()(vn,(Ui={},l()(Ui,"".concat(xi,"-").concat(Mi),Mi),l()(Ui,"".concat(xi,"-borderless"),!_n),Ui)),prefixCls:xi,getPopupContainer:Mn||Hn,generateConfig:tt,prevIcon:o.createElement("span",{className:"".concat(xi,"-prev-icon")}),nextIcon:o.createElement("span",{className:"".concat(xi,"-next-icon")}),superPrevIcon:o.createElement("span",{className:"".concat(xi,"-super-prev-icon")}),superNextIcon:o.createElement("span",{className:"".concat(xi,"-super-next-icon")}),components:To,direction:wn}))})},Object(Wi.a)(Jr!=="quarter",Zr,"DatePicker.".concat(Zr," is legacy usage. Please use DatePicker[picker='").concat(Jr,"'] directly.")),Mr}return p()(sr,[{key:"render",value:function(){return o.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),sr}(o.Component);return an.contextType=Co.b,Zr&&(an.displayName=Zr),an}var Jt=jt(),nr=jt("week","WeekPicker"),Or=jt("month","MonthPicker"),wr=jt("year","YearPicker"),Er=jt("time","TimePicker"),zr=jt("quarter","QuarterPicker");return{DatePicker:Jt,WeekPicker:nr,MonthPicker:Or,YearPicker:wr,TimePicker:Er,QuarterPicker:zr}}var mo=e("8ISB"),Fn=e.n(mo),$i=function(tt,jt){var Jt={};for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=tt[nr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(tt);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(tt,nr[Or])&&(Jt[nr[Or]]=tt[nr[Or]]);return Jt};function eo(tt){var jt=function(Jt){w()(Or,Jt);var nr=S()(Or);function Or(){var wr;return s()(this,Or),wr=nr.apply(this,arguments),wr.pickerRef=o.createRef(),wr.focus=function(){wr.pickerRef.current&&wr.pickerRef.current.focus()},wr.blur=function(){wr.pickerRef.current&&wr.pickerRef.current.blur()},wr.getDefaultLocale=function(){var Er=wr.props.locale,zr=c()(c()({},ma.a),Er);return zr.lang=c()(c()({},zr.lang),(Er||{}).lang),zr},wr.renderPicker=function(Er){var zr=wr.context,Jr=zr.getPrefixCls,Zr=zr.direction,an=zr.getPopupContainer,St=wr.props,Vt=St.prefixCls,sr=St.getPopupContainer,br=St.className,Mr=St.size,Dr=St.bordered,rn=Dr===void 0?!0:Dr,fn=St.placeholder,wn=$i(St,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=wr.props,Sn=Hn.format,bn=Hn.showTime,Mn=Hn.picker,vn=Jr("picker",Vt),Rn={};return Rn=c()(c()(c()({},Rn),bn?rr(c()({format:Sn,picker:Mn},bn)):{}),Mn==="time"?rr(c()(c()({format:Sn},wr.props),{picker:Mn})):{}),o.createElement(Hi.b.Consumer,null,function(En){var _n,Xn=Mr||En;return o.createElement(Na,c()({separator:o.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},o.createElement(Fn.a,null)),ref:wr.pickerRef,placeholder:Qa(Mn,Er,fn),suffixIcon:Mn==="time"?o.createElement(O.a,null):o.createElement(y.a,null),clearIcon:o.createElement(k.a,null),allowClear:!0,transitionName:"slide-up"},wn,Rn,{className:T()(br,(_n={},l()(_n,"".concat(vn,"-").concat(Xn),Xn),l()(_n,"".concat(vn,"-borderless"),!rn),_n)),locale:Er.lang,prefixCls:vn,getPopupContainer:sr||an,generateConfig:tt,prevIcon:o.createElement("span",{className:"".concat(vn,"-prev-icon")}),nextIcon:o.createElement("span",{className:"".concat(vn,"-next-icon")}),superPrevIcon:o.createElement("span",{className:"".concat(vn,"-super-prev-icon")}),superNextIcon:o.createElement("span",{className:"".concat(vn,"-super-next-icon")}),components:To,direction:Zr}))})},wr}return p()(Or,[{key:"render",value:function(){return o.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Or}(o.Component);return jt.contextType=Co.b,jt}var To={button:n,rangeItem:u};function uo(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function rr(tt){var jt=tt.format,Jt=tt.picker,nr=tt.showHour,Or=tt.showMinute,wr=tt.showSecond,Er=tt.use12Hours,zr=uo(jt)[0],Jr=c()({},tt);return zr&&(!zr.includes("s")&&wr===void 0&&(Jr.showSecond=!1),!zr.includes("m")&&Or===void 0&&(Jr.showMinute=!1),!zr.includes("H")&&!zr.includes("h")&&nr===void 0&&(Jr.showHour=!1),(zr.includes("a")||zr.includes("A"))&&Er===void 0&&(Jr.use12Hours=!0)),Jt==="time"?Jr:{showTime:Jr}}function Tr(tt){var jt=ha(tt),Jt=jt.DatePicker,nr=jt.WeekPicker,Or=jt.MonthPicker,wr=jt.YearPicker,Er=jt.TimePicker,zr=jt.QuarterPicker,Jr=eo(tt),Zr=Jt;return Zr.WeekPicker=nr,Zr.MonthPicker=Or,Zr.YearPicker=wr,Zr.RangePicker=Jr,Zr.TimePicker=Er,Zr.QuarterPicker=zr,Zr}var Pr=Tr,Wr=Pr(v),hn=_.a=Wr},"+lIL":function(D,_,e){var g=e("ProS");e("/ry/"),e("3OrL");var f=e("L5E0"),A=e("7Phj");g.registerVisual(f),g.registerLayout(A)},"+nKL":function(D,_,e){"use strict";var g=e("q1tI"),f=e("TSYQ"),A=e.n(f),m=e("t23M");function v(Ge,et){var rt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Ge);et&&(lt=lt.filter(function(Ve){return Object.getOwnPropertyDescriptor(Ge,Ve).enumerable})),rt.push.apply(rt,lt)}return rt}function h(Ge){for(var et=1;et<arguments.length;et++){var rt=arguments[et]!=null?arguments[et]:{};et%2?v(Object(rt),!0).forEach(function(lt){c(Ge,lt,rt[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(rt)):v(Object(rt)).forEach(function(lt){Object.defineProperty(Ge,lt,Object.getOwnPropertyDescriptor(rt,lt))})}return Ge}function c(Ge,et,rt){return et in Ge?Object.defineProperty(Ge,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ge[et]=rt,Ge}var o=function(et){var rt=et.height,lt=et.offset,Ve=et.children,ie=et.prefixCls,$=et.onInnerResize,it={},Qe={display:"flex",flexDirection:"column"};return lt!==void 0&&(it={height:rt,position:"relative",overflow:"hidden"},Qe=h(h({},Qe),{},{transform:"translateY(".concat(lt,"px)"),position:"absolute",left:0,right:0,top:0})),g.createElement("div",{style:it},g.createElement(m.a,{onResize:function(Zt){var ht=Zt.offsetHeight;ht&&$()}},g.createElement("div",{style:Qe,className:A()(c({},"".concat(ie,"-holder-inner"),ie))},Ve)))},i=o,n=e("wgJM");function a(Ge){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(rt){return typeof rt}:a=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},a(Ge)}function u(Ge,et,rt){return et in Ge?Object.defineProperty(Ge,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ge[et]=rt,Ge}function r(Ge,et){if(!(Ge instanceof et))throw new TypeError("Cannot call a class as a function")}function l(Ge,et){for(var rt=0;rt<et.length;rt++){var lt=et[rt];lt.enumerable=lt.enumerable||!1,lt.configurable=!0,"value"in lt&&(lt.writable=!0),Object.defineProperty(Ge,lt.key,lt)}}function t(Ge,et,rt){return et&&l(Ge.prototype,et),rt&&l(Ge,rt),Ge}function s(Ge,et){if(typeof et!="function"&&et!==null)throw new TypeError("Super expression must either be null or a function");Ge.prototype=Object.create(et&&et.prototype,{constructor:{value:Ge,writable:!0,configurable:!0}}),et&&d(Ge,et)}function d(Ge,et){return d=Object.setPrototypeOf||function(lt,Ve){return lt.__proto__=Ve,lt},d(Ge,et)}function p(Ge){var et=E();return function(){var lt=S(Ge),Ve;if(et){var ie=S(this).constructor;Ve=Reflect.construct(lt,arguments,ie)}else Ve=lt.apply(this,arguments);return b(this,Ve)}}function b(Ge,et){return et&&(a(et)==="object"||typeof et=="function")?et:w(Ge)}function w(Ge){if(Ge===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ge}function E(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ge){return!1}}function S(Ge){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},S(Ge)}var x=20,T=function(Ge){s(rt,Ge);var et=p(rt);function rt(){var lt;return r(this,rt),lt=et.apply(this,arguments),lt.moveRaf=null,lt.visibleTimeout=null,lt.state={dragging:!1,pageY:null,startTop:null,visible:!1},lt.delayHidden=function(){clearTimeout(lt.visibleTimeout),lt.setState({visible:!0}),lt.visibleTimeout=setTimeout(function(){lt.setState({visible:!1})},2e3)},lt.patchEvents=function(){window.addEventListener("mousemove",lt.onMouseMove),window.addEventListener("mouseup",lt.onMouseUp)},lt.removeEvents=function(){window.removeEventListener("mousemove",lt.onMouseMove),window.removeEventListener("mouseup",lt.onMouseUp),n.a.cancel(lt.moveRaf)},lt.onContainerMouseDown=function(Ve){Ve.stopPropagation(),Ve.preventDefault()},lt.onMouseDown=function(Ve){var ie=lt.props.onStartMove;lt.setState({dragging:!0,pageY:Ve.pageY,startTop:lt.getTop()}),ie(),lt.patchEvents(),Ve.stopPropagation(),Ve.preventDefault()},lt.onMouseMove=function(Ve){var ie=lt.state,$=ie.dragging,it=ie.pageY,Qe=ie.startTop,ye=lt.props.onScroll;if(n.a.cancel(lt.moveRaf),$){var Zt=Ve.pageY-it,ht=Qe+Zt,ct=lt.getEnableScrollRange(),yt=lt.getEnableHeightRange(),It=ht/yt,or=Math.ceil(It*ct);lt.moveRaf=Object(n.a)(function(){ye(or)})}},lt.onMouseUp=function(){var Ve=lt.props.onStopMove;lt.setState({dragging:!1}),Ve(),lt.removeEvents()},lt.getSpinHeight=function(){var Ve=lt.props,ie=Ve.height,$=Ve.count,it=ie/$*10;return it=Math.max(it,x),it=Math.min(it,ie/2),Math.floor(it)},lt.getEnableScrollRange=function(){var Ve=lt.props,ie=Ve.scrollHeight,$=Ve.height;return ie-$},lt.getEnableHeightRange=function(){var Ve=lt.props.height,ie=lt.getSpinHeight();return Ve-ie},lt.getTop=function(){var Ve=lt.props.scrollTop,ie=lt.getEnableScrollRange(),$=lt.getEnableHeightRange(),it=Ve/ie;return it*$},lt}return t(rt,[{key:"componentDidUpdate",value:function(Ve){Ve.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ve=this.state,ie=Ve.visible,$=Ve.dragging,it=this.props.prefixCls,Qe=this.getSpinHeight(),ye=this.getTop();return g.createElement("div",{className:"".concat(it,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:ie?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},g.createElement("div",{className:A()("".concat(it,"-scrollbar-thumb"),u({},"".concat(it,"-scrollbar-thumb-moving"),$)),style:{width:"100%",height:Qe,top:ye,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),rt}(g.Component);function L(Ge){var et=Ge.children,rt=Ge.setRef,lt=g.useCallback(function(Ve){rt(Ve)},[]);return g.cloneElement(et,{ref:lt})}function y(Ge,et,rt,lt,Ve,ie){var $=ie.getKey;return Ge.slice(et,rt+1).map(function(it,Qe){var ye=et+Qe,Zt=Ve(it,ye,{}),ht=$(it);return g.createElement(L,{key:ht,setRef:function(yt){return lt(it,yt)}},Zt)})}var C=e("m+aA");function O(Ge,et){if(!(Ge instanceof et))throw new TypeError("Cannot call a class as a function")}function N(Ge,et){for(var rt=0;rt<et.length;rt++){var lt=et[rt];lt.enumerable=lt.enumerable||!1,lt.configurable=!0,"value"in lt&&(lt.writable=!0),Object.defineProperty(Ge,lt.key,lt)}}function k(Ge,et,rt){return et&&N(Ge.prototype,et),rt&&N(Ge,rt),Ge}var F=function(){function Ge(){O(this,Ge),this.maps={},this.maps.prototype=null}return k(Ge,[{key:"set",value:function(rt,lt){this.maps[rt]=lt}},{key:"get",value:function(rt){return this.maps[rt]}}]),Ge}(),B=F;function H(Ge,et){return P(Ge)||j(Ge,et)||R(Ge,et)||W()}function W(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R(Ge,et){if(!Ge)return;if(typeof Ge=="string")return U(Ge,et);var rt=Object.prototype.toString.call(Ge).slice(8,-1);if(rt==="Object"&&Ge.constructor&&(rt=Ge.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ge);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return U(Ge,et)}function U(Ge,et){(et==null||et>Ge.length)&&(et=Ge.length);for(var rt=0,lt=new Array(et);rt<et;rt++)lt[rt]=Ge[rt];return lt}function j(Ge,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ge)))return;var rt=[],lt=!0,Ve=!1,ie=void 0;try{for(var $=Ge[Symbol.iterator](),it;!(lt=(it=$.next()).done)&&!(rt.push(it.value),et&&rt.length===et);lt=!0);}catch(Qe){Ve=!0,ie=Qe}finally{try{!lt&&$.return!=null&&$.return()}finally{if(Ve)throw ie}}return rt}function P(Ge){if(Array.isArray(Ge))return Ge}function K(Ge,et,rt){var lt=g.useState(0),Ve=H(lt,2),ie=Ve[0],$=Ve[1],it=Object(g.useRef)(new Map),Qe=Object(g.useRef)(new B);function ye(ht,ct){var yt=Ge(ht),It=it.current.get(yt);ct?it.current.set(yt,ct):it.current.delete(yt),!It!==!ct&&(ct?et==null||et(ht):rt==null||rt(ht))}function Zt(){var ht=!1;it.current.forEach(function(ct,yt){if(ct&&ct.offsetParent){var It=Object(C.a)(ct),or=It.offsetHeight;Qe.current.get(yt)!==or&&(ht=!0,Qe.current.set(yt,It.offsetHeight))}}),ht&&$(function(ct){return ct+1})}return[ye,Zt,Qe.current,ie]}function V(Ge,et){var rt=Object(g.useRef)(),lt=Object(g.useRef)();return rt.current=Ge,lt.current=et,function(Ve){var ie=Math.max(Ve,0),$=rt.current-lt.current;return Number.isNaN($)||(ie=Math.min(ie,$)),ie}}function z(Ge){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(rt){return typeof rt}:z=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},z(Ge)}function X(Ge,et,rt,lt,Ve,ie,$){var it=g.useRef();return function(Qe){if(n.a.cancel(it.current),typeof Qe=="number")$(Qe);else if(Qe&&z(Qe)==="object"){var ye,Zt=Qe.align;"index"in Qe?ye=Qe.index:ye=et.findIndex(function(ct){return Ve(ct)===Qe.key});var ht=function ct(yt,It){if(yt<0||!Ge.current)return;var or=Ge.current.clientHeight,Bt=!1,Ae=It;if(or){for(var ve=It||Zt,fe=0,ue=0,Ne=0,je=0;je<=ye;je+=1){var Ke=Ve(et[je]);ue=fe;var Ye=rt.get(Ke);Ne=ue+(Ye===void 0?lt:Ye),fe=Ne,je===ye&&Ye===void 0&&(Bt=!0)}var Pe=null;switch(ve){case"top":Pe=ue;break;case"bottom":Pe=Ne-or;break;default:{var nt=Ge.current.scrollTop,At=nt+or;ue<nt?Ae="top":Ne>At&&(Ae="bottom")}}Pe!==null&&Pe!==Ge.current.scrollTop&&$(Pe)}it.current=Object(n.a)(function(){Bt&&ie(),ct(yt-1,Ae)})};ht(3)}}}function G(Ge,et,rt,lt){var Ve=rt-Ge,ie=et-rt,$=Math.min(Ve,ie)*2;if(lt<=$){var it=Math.floor(lt/2);return lt%2?rt+it+1:rt-it}return Ve>ie?rt-(lt-ie):rt+(lt-Ve)}function le(Ge,et,rt){var lt=Ge.length,Ve=et.length,ie,$;if(lt===0&&Ve===0)return null;lt<Ve?(ie=Ge,$=et):(ie=et,$=Ge);var it={__EMPTY_ITEM__:!0};function Qe(It){return It!==void 0?rt(It):it}for(var ye=null,Zt=Math.abs(lt-Ve)!==1,ht=0;ht<$.length;ht+=1){var ct=Qe(ie[ht]),yt=Qe($[ht]);if(ct!==yt){ye=ht,Zt=Zt||ct!==Qe($[ht+1]);break}}return ye===null?null:{index:ye,multiple:Zt}}function Y(Ge,et){return Xe(Ge)||Fe(Ge,et)||we(Ge,et)||me()}function me(){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 we(Ge,et){if(!Ge)return;if(typeof Ge=="string")return pe(Ge,et);var rt=Object.prototype.toString.call(Ge).slice(8,-1);if(rt==="Object"&&Ge.constructor&&(rt=Ge.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ge);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return pe(Ge,et)}function pe(Ge,et){(et==null||et>Ge.length)&&(et=Ge.length);for(var rt=0,lt=new Array(et);rt<et;rt++)lt[rt]=Ge[rt];return lt}function Fe(Ge,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ge)))return;var rt=[],lt=!0,Ve=!1,ie=void 0;try{for(var $=Ge[Symbol.iterator](),it;!(lt=(it=$.next()).done)&&!(rt.push(it.value),et&&rt.length===et);lt=!0);}catch(Qe){Ve=!0,ie=Qe}finally{try{!lt&&$.return!=null&&$.return()}finally{if(Ve)throw ie}}return rt}function Xe(Ge){if(Array.isArray(Ge))return Ge}function dt(Ge,et,rt){var lt=g.useState(Ge),Ve=Y(lt,2),ie=Ve[0],$=Ve[1],it=g.useState(null),Qe=Y(it,2),ye=Qe[0],Zt=Qe[1];return g.useEffect(function(){var ht=le(ie||[],Ge||[],et);(ht==null?void 0:ht.index)!==void 0&&(rt==null||rt(ht.index),Zt(Ge[ht.index])),$(Ge)},[Ge]),[ye]}function Ee(Ge){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ee=function(rt){return typeof rt}:Ee=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},Ee(Ge)}var Se=(typeof navigator=="undefined"?"undefined":Ee(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),at=Se;function _e(Ge,et){var rt=Object(g.useRef)(0),lt=Object(g.useRef)(null),Ve=Object(g.useRef)(null),ie=Object(g.useRef)(!1);function $(Qe){if(!Ge)return;at||Qe.preventDefault(),n.a.cancel(lt.current),rt.current+=Qe.deltaY,Ve.current=Qe.deltaY,lt.current=Object(n.a)(function(){var ye=ie.current?10:1;et(rt.current*ye),rt.current=0})}function it(Qe){if(!Ge)return;Qe.preventDefault(),ie.current=Qe.detail===Ve.current}return[$,it]}function ce(Ge,et){var rt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Ge);et&&(lt=lt.filter(function(Ve){return Object.getOwnPropertyDescriptor(Ge,Ve).enumerable})),rt.push.apply(rt,lt)}return rt}function ee(Ge){for(var et=1;et<arguments.length;et++){var rt=arguments[et]!=null?arguments[et]:{};et%2?ce(Object(rt),!0).forEach(function(lt){se(Ge,lt,rt[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(rt)):ce(Object(rt)).forEach(function(lt){Object.defineProperty(Ge,lt,Object.getOwnPropertyDescriptor(rt,lt))})}return Ge}function se(Ge,et,rt){return et in Ge?Object.defineProperty(Ge,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ge[et]=rt,Ge}function ke(Ge,et){return ge(Ge)||ae(Ge,et)||ze(Ge,et)||Ce()}function Ce(){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 ze(Ge,et){if(!Ge)return;if(typeof Ge=="string")return Oe(Ge,et);var rt=Object.prototype.toString.call(Ge).slice(8,-1);if(rt==="Object"&&Ge.constructor&&(rt=Ge.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ge);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return Oe(Ge,et)}function Oe(Ge,et){(et==null||et>Ge.length)&&(et=Ge.length);for(var rt=0,lt=new Array(et);rt<et;rt++)lt[rt]=Ge[rt];return lt}function ae(Ge,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ge)))return;var rt=[],lt=!0,Ve=!1,ie=void 0;try{for(var $=Ge[Symbol.iterator](),it;!(lt=(it=$.next()).done)&&!(rt.push(it.value),et&&rt.length===et);lt=!0);}catch(Qe){Ve=!0,ie=Qe}finally{try{!lt&&$.return!=null&&$.return()}finally{if(Ve)throw ie}}return rt}function ge(Ge){if(Array.isArray(Ge))return Ge}function Le(Ge,et){if(Ge==null)return{};var rt=Ze(Ge,et),lt,Ve;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(Ge);for(Ve=0;Ve<ie.length;Ve++){if(lt=ie[Ve],et.indexOf(lt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ge,lt))continue;rt[lt]=Ge[lt]}}return rt}function Ze(Ge,et){if(Ge==null)return{};var rt={},lt=Object.keys(Ge),Ve,ie;for(ie=0;ie<lt.length;ie++){if(Ve=lt[ie],et.indexOf(Ve)>=0)continue;rt[Ve]=Ge[Ve]}return rt}var vt=[],Ct={overflowY:"auto",overflowAnchor:"none"};function Be(Ge,et){var rt=Ge.prefixCls,lt=rt===void 0?"rc-virtual-list":rt,Ve=Ge.className,ie=Ge.height,$=Ge.itemHeight,it=Ge.fullHeight,Qe=it===void 0?!0:it,ye=Ge.style,Zt=Ge.data,ht=Ge.children,ct=Ge.itemKey,yt=Ge.virtual,It=Ge.component,or=It===void 0?"div":It,Bt=Ge.onScroll,Ae=Le(Ge,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),ve=yt!==!1&&ie&&$&&Zt&&$*Zt.length>ie,fe=g.useState(0),ue=ke(fe,2),Ne=ue[0],je=ue[1],Ke=g.useState(!1),Ye=ke(Ke,2),Pe=Ye[0],nt=Ye[1],At=A()(lt,Ve),Ot=Zt||vt,ne=Object(g.useRef)(),he=g.useCallback(function(Ar){return typeof ct=="function"?ct(Ar):Ar[ct]},[ct]),Q={getKey:he};function te(Ar){je(function(Nr){var kr;return typeof Ar=="function"?kr=Ar(Nr):kr=Ar,ne.current.scrollTop=kr,kr})}var be=Object(g.useRef)({start:0,end:Ot.length}),Ie=Object(g.useRef)(),Re=dt(Ot,he),$e=ke(Re,1),gt=$e[0];Ie.current=gt;var Wt=K(he,null,null),$t=ke(Wt,4),Dt=$t[0],Kt=$t[1],Gt=$t[2],Qt=$t[3],Mt=g.useMemo(function(){if(!ve)return{scrollHeight:void 0,start:0,end:Ot.length-1,offset:void 0};for(var Ar=0,Nr,kr,tn,qr=Ot.length,Lr=0;Lr<qr;Lr+=1){var Qr=Ot[Lr],Ir=he(Qr),ur=Gt.get(Ir),pr=Ar+(ur===void 0?$:ur);pr>=Ne&&Nr===void 0&&(Nr=Lr,kr=Ar),pr>Ne+ie&&tn===void 0&&(tn=Lr),Ar=pr}return Nr===void 0&&(Nr=0,kr=0),tn===void 0&&(tn=Ot.length-1),tn=Math.min(tn+1,Ot.length),{scrollHeight:Ar,start:Nr,end:tn,offset:kr}},[ve,Ne,Ot,Qt,ie]),dr=Mt.scrollHeight,er=Mt.start,st=Mt.end,xt=Mt.offset;be.current.start=er,be.current.end=st;var ut=V(dr,ie);function pt(Ar){var Nr=ut(Ar);Nr!==Ne&&te(Nr)}function _t(Ar){var Nr=Ar.currentTarget.scrollTop;Nr!==Ne&&te(Nr),Bt==null||Bt(Ar)}var Tt=_e(ve,function(Ar){te(function(Nr){var kr=ut(Nr+Ar);return kr})}),ft=ke(Tt,2),Ht=ft[0],kt=ft[1];g.useEffect(function(){return ne.current.addEventListener("wheel",Ht),ne.current.addEventListener("DOMMouseScroll",kt),function(){ne.current.removeEventListener("wheel",Ht),ne.current.removeEventListener("DOMMouseScroll",kt)}},[ve]);var ir=X(ne,Ot,Gt,$,he,Kt,te);g.useImperativeHandle(et,function(){return{scrollTo:ir}});var Xt=y(Ot,er,st,Dt,ht,Q),mr=null;return ie&&(mr=ee(se({},Qe?"height":"maxHeight",ie),Ct),ve&&(mr.overflowY="hidden",Pe&&(mr.pointerEvents="none"))),g.createElement("div",Object.assign({style:ee(ee({},ye),{},{position:"relative"}),className:At},Ae),g.createElement(or,{className:"".concat(lt,"-holder"),style:mr,ref:ne,onScroll:_t},g.createElement(i,{prefixCls:lt,height:dr,offset:xt,onInnerResize:Kt},Xt)),ve&&g.createElement(T,{prefixCls:lt,scrollTop:Ne,height:ie,scrollHeight:dr,count:Ot.length,onScroll:pt,onStartMove:function(){nt(!0)},onStopMove:function(){nt(!1)}}))}var Rt=g.forwardRef(Be);Rt.displayName="List";var He=Rt,wt=_.a=He},"+rIm":function(D,_,e){var g=e("bYtY"),f=g.retrieve,A=g.defaults,m=g.extend,v=g.each,h=e("7aKB"),c=e("IwbS"),o=e("Qxkt"),i=e("OELB"),n=i.isRadianAroundZero,a=i.remRadian,u=e("oVpE"),r=u.createSymbol,l=e("Fofx"),t=e("QBsz"),s=t.applyTransform,d=e("aX7z"),p=d.shouldShowAllLabels,b=Math.PI,w=function(R,U){this.opt=U,this.axisModel=R,A(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var j=new c.Group({position:U.position.slice(),rotation:U.rotation});j.updateTransform(),this._transform=j.transform,this._dumbGroup=j};w.prototype={constructor:w,hasBuilder:function(R){return!!E[R]},add:function(R){E[R].call(this)},getGroup:function(){return this.group}};var E={axisLine:function(){var R=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var j=this.axisModel.axis.getExtent(),P=this._transform,K=[j[0],0],V=[j[1],0];P&&(s(K,K,P),s(V,V,P));var z=m({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:K[0],y1:K[1],x2:V[0],y2:V[1]},style:z,strokeContainThreshold:R.strokeContainThreshold||5,silent:!0,z2:1}));var X=U.get("axisLine.symbol"),G=U.get("axisLine.symbolSize"),le=U.get("axisLine.symbolOffset")||0;if(typeof le=="number"&&(le=[le,le]),X!=null){typeof X=="string"&&(X=[X,X]),(typeof G=="string"||typeof G=="number")&&(G=[G,G]);var Y=G[0],me=G[1];v([{rotate:R.rotation+Math.PI/2,offset:le[0],r:0},{rotate:R.rotation-Math.PI/2,offset:le[1],r:Math.sqrt((K[0]-V[0])*(K[0]-V[0])+(K[1]-V[1])*(K[1]-V[1]))}],function(we,pe){if(X[pe]!=="none"&&X[pe]!=null){var Fe=r(X[pe],-Y/2,-me/2,Y,me,z.stroke,!0),Xe=we.r+we.offset,dt=[K[0]+Xe*Math.cos(R.rotation),K[1]-Xe*Math.sin(R.rotation)];Fe.attr({rotation:we.rotate,position:dt,silent:!0,z2:11}),this.group.add(Fe)}},this)}},axisTickLabel:function(){var R=this.axisModel,U=this.opt,j=F(this,R,U),P=H(this,R,U);y(R,P,j),B(this,R,U)},axisName:function(){var R=this.opt,U=this.axisModel,j=f(R.axisName,U.get("name"));if(!j)return;var P=U.get("nameLocation"),K=R.nameDirection,V=U.getModel("nameTextStyle"),z=U.get("nameGap")||0,X=this.axisModel.axis.getExtent(),G=X[0]>X[1]?-1:1,le=[P==="start"?X[0]-G*z:P==="end"?X[1]+G*z:(X[0]+X[1])/2,N(P)?R.labelOffset+K*z:0],Y,me=U.get("nameRotate");me!=null&&(me=me*b/180);var we;N(P)?Y=x(R.rotation,me!=null?me:R.rotation,K):(Y=T(R,P,me||0,X),we=R.axisNameAvailableWidth,we!=null&&(we=Math.abs(we/Math.sin(Y.rotation)),!isFinite(we)&&(we=null)));var pe=V.getFont(),Fe=U.get("nameTruncate",!0)||{},Xe=Fe.ellipsis,dt=f(R.nameTruncateMaxWidth,Fe.maxWidth,we),Ee=Xe!=null&&dt!=null?h.truncateText(j,dt,pe,Xe,{minChar:2,placeholder:Fe.placeholder}):j,Se=U.get("tooltip",!0),at=U.mainType,_e={componentType:at,name:j,$vars:["name"]};_e[at+"Index"]=U.componentIndex;var ce=new c.Text({anid:"name",__fullText:j,__truncatedText:Ee,position:le,rotation:Y.rotation,silent:L(U),z2:1,tooltip:Se&&Se.show?m({content:j,formatter:function(){return j},formatterParams:_e},Se):null});c.setTextStyle(ce.style,V,{text:Ee,textFont:pe,textFill:V.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:V.get("align")||Y.textAlign,textVerticalAlign:V.get("verticalAlign")||Y.textVerticalAlign}),U.get("triggerEvent")&&(ce.eventData=S(U),ce.eventData.targetType="axisName",ce.eventData.name=j),this._dumbGroup.add(ce),ce.updateTransform(),this.group.add(ce),ce.decomposeTransform()}},S=w.makeAxisEventDataBase=function(R){var U={componentType:R.mainType,componentIndex:R.componentIndex};return U[R.mainType+"Index"]=R.componentIndex,U},x=w.innerTextLayout=function(R,U,j){var P=a(U-R),K,V;return n(P)?(V=j>0?"top":"bottom",K="center"):n(P-b)?(V=j>0?"bottom":"top",K="center"):(V="middle",P>0&&P<b?K=j>0?"right":"left":K=j>0?"left":"right"),{rotation:P,textAlign:K,textVerticalAlign:V}};function T(R,U,j,P){var K=a(j-R.rotation),V,z,X=P[0]>P[1],G=U==="start"&&!X||U!=="start"&&X;return n(K-b/2)?(z=G?"bottom":"top",V="center"):n(K-b*1.5)?(z=G?"top":"bottom",V="center"):(z="middle",K<b*1.5&&K>b/2?V=G?"left":"right":V=G?"right":"left"),{rotation:K,textAlign:V,textVerticalAlign:z}}var L=w.isLabelSilent=function(R){var U=R.get("tooltip");return R.get("silent")||!(R.get("triggerEvent")||U&&U.show)};function y(R,U,j){if(p(R.axis))return;var P=R.get("axisLabel.showMinLabel"),K=R.get("axisLabel.showMaxLabel");U=U||[],j=j||[];var V=U[0],z=U[1],X=U[U.length-1],G=U[U.length-2],le=j[0],Y=j[1],me=j[j.length-1],we=j[j.length-2];P===!1?(C(V),C(le)):O(V,z)&&(P?(C(z),C(Y)):(C(V),C(le))),K===!1?(C(X),C(me)):O(G,X)&&(K?(C(G),C(we)):(C(X),C(me)))}function C(R){R&&(R.ignore=!0)}function O(R,U,j){var P=R&&R.getBoundingRect().clone(),K=U&&U.getBoundingRect().clone();if(!P||!K)return;var V=l.identity([]);return l.rotate(V,V,-R.rotation),P.applyTransform(l.mul([],V,R.getLocalTransform())),K.applyTransform(l.mul([],V,U.getLocalTransform())),P.intersect(K)}function N(R){return R==="middle"||R==="center"}function k(R,U,j,P,K){for(var V=[],z=[],X=[],G=0;G<R.length;G++){var le=R[G].coord;z[0]=le,z[1]=0,X[0]=le,X[1]=j,U&&(s(z,z,U),s(X,X,U));var Y=new c.Line({anid:K+"_"+R[G].tickValue,subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:X[0],y2:X[1]},style:P,z2:2,silent:!0});V.push(Y)}return V}function F(R,U,j){var P=U.axis,K=U.getModel("axisTick");if(!K.get("show")||P.scale.isBlank())return;for(var V=K.getModel("lineStyle"),z=j.tickDirection*K.get("length"),X=P.getTicksCoords(),G=k(X,R._transform,z,A(V.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),le=0;le<G.length;le++)R.group.add(G[le]);return G}function B(R,U,j){var P=U.axis,K=U.getModel("minorTick");if(!K.get("show")||P.scale.isBlank())return;var V=P.getMinorTicksCoords();if(!V.length)return;for(var z=K.getModel("lineStyle"),X=j.tickDirection*K.get("length"),G=A(z.getLineStyle(),A(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),le=0;le<V.length;le++)for(var Y=k(V[le],R._transform,X,G,"minorticks_"+le),me=0;me<Y.length;me++)R.group.add(Y[me])}function H(R,U,j){var P=U.axis,K=f(j.axisLabelShow,U.get("axisLabel.show"));if(!K||P.scale.isBlank())return;var V=U.getModel("axisLabel"),z=V.get("margin"),X=P.getViewLabels(),G=(f(j.labelRotate,V.get("rotate"))||0)*b/180,le=x(j.rotation,G,j.labelDirection),Y=U.getCategories&&U.getCategories(!0),me=[],we=L(U),pe=U.get("triggerEvent");return v(X,function(Fe,Xe){var dt=Fe.tickValue,Ee=Fe.formattedLabel,Se=Fe.rawLabel,at=V;Y&&Y[dt]&&Y[dt].textStyle&&(at=new o(Y[dt].textStyle,V,U.ecModel));var _e=at.getTextColor()||U.get("axisLine.lineStyle.color"),ce=P.dataToCoord(dt),ee=[ce,j.labelOffset+j.labelDirection*z],se=new c.Text({anid:"label_"+dt,position:ee,rotation:le.rotation,silent:we,z2:10});c.setTextStyle(se.style,at,{text:Ee,textAlign:at.getShallow("align",!0)||le.textAlign,textVerticalAlign:at.getShallow("verticalAlign",!0)||at.getShallow("baseline",!0)||le.textVerticalAlign,textFill:typeof _e=="function"?_e(P.type==="category"?Se:P.type==="value"?dt+"":dt,Xe):_e}),pe&&(se.eventData=S(U),se.eventData.targetType="axisLabel",se.eventData.value=Se),R._dumbGroup.add(se),se.updateTransform(),me.push(se),R.group.add(se),se.decomposeTransform()}),me}var W=w;D.exports=W},"+uyH":function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.Track=void 0;var f=g(e("pVnL")),A=g(e("lwsE")),m=g(e("W8MJ")),v=g(e("PJYZ")),h=g(e("7W2i")),c=g(e("LQ03")),o=g(e("lSNA")),i=g(e("3tO9")),n=g(e("q1tI")),a=g(e("TSYQ")),u=e("3K4p"),r=function(b){var w,E,S,x,T;b.rtl?T=b.slideCount-1-b.index:T=b.index,S=T<0||T>=b.slideCount,b.centerMode?(x=Math.floor(b.slidesToShow/2),E=(T-b.currentSlide)%b.slideCount===0,T>b.currentSlide-x-1&&T<=b.currentSlide+x&&(w=!0)):w=b.currentSlide<=T&&T<b.currentSlide+b.slidesToShow;var L;b.targetSlide<0?L=b.targetSlide+b.slideCount:b.targetSlide>=b.slideCount?L=b.targetSlide-b.slideCount:L=b.targetSlide;var y=T===L;return{"slick-slide":!0,"slick-active":w,"slick-center":E,"slick-cloned":S,"slick-current":y}},l=function(b){var w={};return(b.variableWidth===void 0||b.variableWidth===!1)&&(w.width=b.slideWidth),b.fade&&(w.position="relative",b.vertical?w.top=-b.index*parseInt(b.slideHeight):w.left=-b.index*parseInt(b.slideWidth),w.opacity=b.currentSlide===b.index?1:0,b.useCSS&&(w.transition="opacity "+b.speed+"ms "+b.cssEase+", visibility "+b.speed+"ms "+b.cssEase)),w},t=function(b,w){return b.key+"-"+w},s=function(b){var w,E=[],S=[],x=[],T=n.default.Children.count(b.children),L=(0,u.lazyStartIndex)(b),y=(0,u.lazyEndIndex)(b);return n.default.Children.forEach(b.children,function(C,O){var N,k={message:"children",index:O,slidesToScroll:b.slidesToScroll,currentSlide:b.currentSlide};!b.lazyLoad||b.lazyLoad&&b.lazyLoadedList.indexOf(O)>=0?N=C:N=n.default.createElement("div",null);var F=l((0,i.default)((0,i.default)({},b),{},{index:O})),B=N.props.className||"",H=r((0,i.default)((0,i.default)({},b),{},{index:O}));if(E.push(n.default.cloneElement(N,{key:"original"+t(N,O),"data-index":O,className:(0,a.default)(H,B),tabIndex:"-1","aria-hidden":!H["slick-active"],style:(0,i.default)((0,i.default)({outline:"none"},N.props.style||{}),F),onClick:function(U){N.props&&N.props.onClick&&N.props.onClick(U),b.focusOnSelect&&b.focusOnSelect(k)}})),b.infinite&&b.fade===!1){var W=T-O;W<=(0,u.getPreClones)(b)&&T!==b.slidesToShow&&(w=-W,w>=L&&(N=C),H=r((0,i.default)((0,i.default)({},b),{},{index:w})),S.push(n.default.cloneElement(N,{key:"precloned"+t(N,w),"data-index":w,tabIndex:"-1",className:(0,a.default)(H,B),"aria-hidden":!H["slick-active"],style:(0,i.default)((0,i.default)({},N.props.style||{}),F),onClick:function(U){N.props&&N.props.onClick&&N.props.onClick(U),b.focusOnSelect&&b.focusOnSelect(k)}}))),T!==b.slidesToShow&&(w=T+O,w<y&&(N=C),H=r((0,i.default)((0,i.default)({},b),{},{index:w})),x.push(n.default.cloneElement(N,{key:"postcloned"+t(N,w),"data-index":w,tabIndex:"-1",className:(0,a.default)(H,B),"aria-hidden":!H["slick-active"],style:(0,i.default)((0,i.default)({},N.props.style||{}),F),onClick:function(U){N.props&&N.props.onClick&&N.props.onClick(U),b.focusOnSelect&&b.focusOnSelect(k)}})))}}),b.rtl?S.concat(E,x).reverse():S.concat(E,x)},d=function(p){(0,h.default)(w,p);var b=(0,c.default)(w);function w(){var E;(0,A.default)(this,w);for(var S=arguments.length,x=new Array(S),T=0;T<S;T++)x[T]=arguments[T];return E=b.call.apply(b,[this].concat(x)),(0,o.default)((0,v.default)(E),"node",null),(0,o.default)((0,v.default)(E),"handleRef",function(L){E.node=L}),E}return(0,m.default)(w,[{key:"render",value:function(){var S=s(this.props),x=this.props,T=x.onMouseEnter,L=x.onMouseOver,y=x.onMouseLeave,C={onMouseEnter:T,onMouseOver:L,onMouseLeave:y};return n.default.createElement("div",(0,f.default)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},C),S)}}]),w}(n.default.PureComponent);_.Track=d},"+wW9":function(D,_,e){var g=e("bYtY"),f=g.each,A=g.isArray,m=g.isObject,v=e("JuEJ"),h=e("4NO4"),c=h.normalizeToArray;function o(l,t){t=t.split(",");for(var s=l,d=0;d<t.length&&!(s=s&&s[t[d]],s==null);d++);return s}function i(l,t,s,d){t=t.split(",");for(var p=l,b,w=0;w<t.length-1;w++)b=t[w],p[b]==null&&(p[b]={}),p=p[b];(d||p[t[w]]==null)&&(p[t[w]]=s)}function n(l){f(a,function(t){t[0]in l&&!(t[1]in l)&&(l[t[1]]=l[t[0]])})}var a=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],u=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function r(l,t){v(l,t),l.series=c(l.series),f(l.series,function(s){if(!m(s))return;var d=s.type;if(d==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(d==="pie"||d==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(d==="gauge"){var p=o(s,"pointer.color");p!=null&&i(s,"itemStyle.color",p)}n(s)}),l.dataRange&&(l.visualMap=l.dataRange),f(u,function(s){var d=l[s];d&&(A(d)||(d=[d]),f(d,function(p){n(p)}))})}D.exports=r},"/IIm":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("H6uX"),v=e("IwbS"),h=e("pP6R"),c=e("gPAo"),o=A.curry,i=A.each,n=A.map,a=Math.min,u=Math.max,r=Math.pow,l=1e4,t=6,s=6,d="globalPan",p={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},b={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},w={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},E=0;function S(ae){m.call(this),this._zr=ae,this.group=new v.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+E++,this._handlers={},i(ee,function(ge,Le){this._handlers[Le]=A.bind(ge,this)},this)}S.prototype={constructor:S,enableBrush:function(ae){return this._brushType&&T(this),ae.brushType&&x(this,ae),this},setPanels:function(ae){if(ae&&ae.length){var ge=this._panels={};A.each(ae,function(Le){ge[Le.panelId]=A.clone(Le)})}else this._panels=null;return this},mount:function(ae){ae=ae||{},this._enableGlobalPan=ae.enableGlobalPan;var ge=this.group;return this._zr.add(ge),ge.attr({position:ae.position||[0,0],rotation:ae.rotation||0,scale:ae.scale||[1,1]}),this._transform=ge.getLocalTransform(),this},eachCover:function(ae,ge){i(this._covers,ae,ge)},updateCovers:function(ae){ae=A.map(ae,function(Ge){return A.merge(A.clone(w),Ge,!0)});var ge="\0-brush-index-",Le=this._covers,Ze=this._covers=[],vt=this,Ct=this._creatingCover;return new c(Le,ae,Rt,Be).add(He).update(He).remove(wt).execute(),this;function Be(Ge,et){return(Ge.id!=null?Ge.id:ge+et)+"-"+Ge.brushType}function Rt(Ge,et){return Be(Ge.__brushOption,et)}function He(Ge,et){var rt=ae[Ge];if(et!=null&&Le[et]===Ct)Ze[Ge]=Le[et];else{var lt=Ze[Ge]=et!=null?(Le[et].__brushOption=rt,Le[et]):O(vt,C(vt,rt));F(vt,lt)}}function wt(Ge){Le[Ge]!==Ct&&vt.group.remove(Le[Ge])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},A.mixin(S,m);function x(ae,ge){var Le=ae._zr;ae._enableGlobalPan||h.take(Le,d,ae._uid),L(Le,ae._handlers),ae._brushType=ge.brushType,ae._brushOption=A.merge(A.clone(w),ge,!0)}function T(ae){var ge=ae._zr;h.release(ge,d,ae._uid),y(ge,ae._handlers),ae._brushType=ae._brushOption=null}function L(ae,ge){i(ge,function(Le,Ze){ae.on(Ze,Le)})}function y(ae,ge){i(ge,function(Le,Ze){ae.off(Ze,Le)})}function C(ae,ge){var Le=Ce[ge.brushType].createCover(ae,ge);return Le.__brushOption=ge,k(Le,ge),ae.group.add(Le),Le}function O(ae,ge){var Le=B(ge);return Le.endCreating&&(Le.endCreating(ae,ge),k(ge,ge.__brushOption)),ge}function N(ae,ge){var Le=ge.__brushOption;B(ge).updateCoverShape(ae,ge,Le.range,Le)}function k(ae,ge){var Le=ge.z;Le==null&&(Le=l),ae.traverse(function(Ze){Ze.z=Le,Ze.z2=Le})}function F(ae,ge){B(ge).updateCommon(ae,ge),N(ae,ge)}function B(ae){return Ce[ae.__brushOption.brushType]}function H(ae,ge,Le){var Ze=ae._panels;if(!Ze)return!0;var vt,Ct=ae._transform;return i(Ze,function(Be){Be.isTargetByCursor(ge,Le,Ct)&&(vt=Be)}),vt}function W(ae,ge){var Le=ae._panels;if(!Le)return!0;var Ze=ge.__brushOption.panelId;return Ze!=null?Le[Ze]:!0}function R(ae){var ge=ae._covers,Le=ge.length;return i(ge,function(Ze){ae.group.remove(Ze)},ae),ge.length=0,!!Le}function U(ae,ge){var Le=n(ae._covers,function(Ze){var vt=Ze.__brushOption,Ct=A.clone(vt.range);return{brushType:vt.brushType,panelId:vt.panelId,range:Ct}});ae.trigger("brush",Le,{isEnd:!!ge.isEnd,removeOnClick:!!ge.removeOnClick})}function j(ae){var ge=ae._track;if(!ge.length)return!1;var Le=ge[ge.length-1],Ze=ge[0],vt=Le[0]-Ze[0],Ct=Le[1]-Ze[1],Be=r(vt*vt+Ct*Ct,.5);return Be>t}function P(ae){var ge=ae.length-1;return ge<0&&(ge=0),[ae[0],ae[ge]]}function K(ae,ge,Le,Ze){var vt=new v.Group;return vt.add(new v.Rect({name:"main",style:G(Le),silent:!0,draggable:!0,cursor:"move",drift:o(ae,ge,vt,"nswe"),ondragend:o(U,ge,{isEnd:!0})})),i(Ze,function(Ct){vt.add(new v.Rect({name:Ct,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(ae,ge,vt,Ct),ondragend:o(U,ge,{isEnd:!0})}))}),vt}function V(ae,ge,Le,Ze){var vt=Ze.brushStyle.lineWidth||0,Ct=u(vt,s),Be=Le[0][0],Rt=Le[1][0],He=Be-vt/2,wt=Rt-vt/2,Ge=Le[0][1],et=Le[1][1],rt=Ge-Ct+vt/2,lt=et-Ct+vt/2,Ve=Ge-Be,ie=et-Rt,$=Ve+vt,it=ie+vt;X(ae,ge,"main",Be,Rt,Ve,ie),Ze.transformable&&(X(ae,ge,"w",He,wt,Ct,it),X(ae,ge,"e",rt,wt,Ct,it),X(ae,ge,"n",He,wt,$,Ct),X(ae,ge,"s",He,lt,$,Ct),X(ae,ge,"nw",He,wt,Ct,Ct),X(ae,ge,"ne",rt,wt,Ct,Ct),X(ae,ge,"sw",He,lt,Ct,Ct),X(ae,ge,"se",rt,lt,Ct,Ct))}function z(ae,ge){var Le=ge.__brushOption,Ze=Le.transformable,vt=ge.childAt(0);vt.useStyle(G(Le)),vt.attr({silent:!Ze,cursor:Ze?"move":"default"}),i(["w","e","n","s","se","sw","ne","nw"],function(Ct){var Be=ge.childOfName(Ct),Rt=me(ae,Ct);Be&&Be.attr({silent:!Ze,invisible:!Ze,cursor:Ze?b[Rt]+"-resize":null})})}function X(ae,ge,Le,Ze,vt,Ct,Be){var Rt=ge.childOfName(Le);Rt&&Rt.setShape(dt(Xe(ae,ge,[[Ze,vt],[Ze+Ct,vt+Be]])))}function G(ae){return A.defaults({strokeNoScale:!0},ae.brushStyle)}function le(ae,ge,Le,Ze){var vt=[a(ae,Le),a(ge,Ze)],Ct=[u(ae,Le),u(ge,Ze)];return[[vt[0],Ct[0]],[vt[1],Ct[1]]]}function Y(ae){return v.getTransform(ae.group)}function me(ae,ge){if(ge.length>1){ge=ge.split("");var Le=[me(ae,ge[0]),me(ae,ge[1])];return(Le[0]==="e"||Le[0]==="w")&&Le.reverse(),Le.join("")}else{var Ze={w:"left",e:"right",n:"top",s:"bottom"},vt={left:"w",right:"e",top:"n",bottom:"s"},Le=v.transformDirection(Ze[ge],Y(ae));return vt[Le]}}function we(ae,ge,Le,Ze,vt,Ct,Be,Rt){var He=Ze.__brushOption,wt=ae(He.range),Ge=Fe(Le,Ct,Be);i(vt.split(""),function(et){var rt=p[et];wt[rt[0]][rt[1]]+=Ge[rt[0]]}),He.range=ge(le(wt[0][0],wt[1][0],wt[0][1],wt[1][1])),F(Le,Ze),U(Le,{isEnd:!1})}function pe(ae,ge,Le,Ze,vt){var Ct=ge.__brushOption.range,Be=Fe(ae,Le,Ze);i(Ct,function(Rt){Rt[0]+=Be[0],Rt[1]+=Be[1]}),F(ae,ge),U(ae,{isEnd:!1})}function Fe(ae,ge,Le){var Ze=ae.group,vt=Ze.transformCoordToLocal(ge,Le),Ct=Ze.transformCoordToLocal(0,0);return[vt[0]-Ct[0],vt[1]-Ct[1]]}function Xe(ae,ge,Le){var Ze=W(ae,ge);return Ze&&Ze!==!0?Ze.clipPath(Le,ae._transform):A.clone(Le)}function dt(ae){var ge=a(ae[0][0],ae[1][0]),Le=a(ae[0][1],ae[1][1]),Ze=u(ae[0][0],ae[1][0]),vt=u(ae[0][1],ae[1][1]);return{x:ge,y:Le,width:Ze-ge,height:vt-Le}}function Ee(ae,ge,Le){if(!ae._brushType||ke(ae,ge))return;var Ze=ae._zr,vt=ae._covers,Ct=H(ae,ge,Le);if(!ae._dragging)for(var Be=0;Be<vt.length;Be++){var Rt=vt[Be].__brushOption;if(Ct&&(Ct===!0||Rt.panelId===Ct.panelId)&&Ce[Rt.brushType].contain(vt[Be],Le[0],Le[1]))return}Ct&&Ze.setCursorStyle("crosshair")}function Se(ae){var ge=ae.event;ge.preventDefault&&ge.preventDefault()}function at(ae,ge,Le){return ae.childOfName("main").contain(ge,Le)}function _e(ae,ge,Le,Ze){var vt=ae._creatingCover,Ct=ae._creatingPanel,Be=ae._brushOption,Rt;if(ae._track.push(Le.slice()),j(ae)||vt){if(Ct&&!vt){Be.brushMode==="single"&&R(ae);var He=A.clone(Be);He.brushType=ce(He.brushType,Ct),He.panelId=Ct===!0?null:Ct.panelId,vt=ae._creatingCover=C(ae,He),ae._covers.push(vt)}if(vt){var wt=Ce[ce(ae._brushType,Ct)],Ge=vt.__brushOption;Ge.range=wt.getCreatingRange(Xe(ae,vt,ae._track)),Ze&&(O(ae,vt),wt.updateCommon(ae,vt)),N(ae,vt),Rt={isEnd:Ze}}}else Ze&&Be.brushMode==="single"&&Be.removeOnClick&&(H(ae,ge,Le)&&R(ae)&&(Rt={isEnd:Ze,removeOnClick:!0}));return Rt}function ce(ae,ge){return ae==="auto"?ge.defaultBrushType:ae}var ee={mousedown:function(ae){if(this._dragging)se(this,ae);else if(!ae.target||!ae.target.draggable){Se(ae);var ge=this.group.transformCoordToLocal(ae.offsetX,ae.offsetY);this._creatingCover=null;var Le=this._creatingPanel=H(this,ae,ge);Le&&(this._dragging=!0,this._track=[ge.slice()])}},mousemove:function(ae){var ge=ae.offsetX,Le=ae.offsetY,Ze=this.group.transformCoordToLocal(ge,Le);if(Ee(this,ae,Ze),this._dragging){Se(ae);var vt=_e(this,ae,Ze,!1);vt&&U(this,vt)}},mouseup:function(ae){se(this,ae)}};function se(ae,ge){if(ae._dragging){Se(ge);var Le=ge.offsetX,Ze=ge.offsetY,vt=ae.group.transformCoordToLocal(Le,Ze),Ct=_e(ae,ge,vt,!0);ae._dragging=!1,ae._track=[],ae._creatingCover=null,Ct&&U(ae,Ct)}}function ke(ae,ge,Le){var Ze=ae._zr;return ge<0||ge>Ze.getWidth()||Le<0||Le>Ze.getHeight()}var Ce={lineX:ze(0),lineY:ze(1),rect:{createCover:function(ae,ge){return K(o(we,function(Le){return Le},function(Le){return Le}),ae,ge,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(ae){var ge=P(ae);return le(ge[1][0],ge[1][1],ge[0][0],ge[0][1])},updateCoverShape:function(ae,ge,Le,Ze){V(ae,ge,Le,Ze)},updateCommon:z,contain:at},polygon:{createCover:function(ae,ge){var Le=new v.Group;return Le.add(new v.Polyline({name:"main",style:G(ge),silent:!0})),Le},getCreatingRange:function(ae){return ae},endCreating:function(ae,ge){ge.remove(ge.childAt(0)),ge.add(new v.Polygon({name:"main",draggable:!0,drift:o(pe,ae,ge),ondragend:o(U,ae,{isEnd:!0})}))},updateCoverShape:function(ae,ge,Le,Ze){ge.childAt(0).setShape({points:Xe(ae,ge,Le)})},updateCommon:z,contain:at}};function ze(ae){return{createCover:function(ge,Le){return K(o(we,function(Ze){var vt=[Ze,[0,100]];return ae&&vt.reverse(),vt},function(Ze){return Ze[ae]}),ge,Le,[["w","e"],["n","s"]][ae])},getCreatingRange:function(ge){var Le=P(ge),Ze=a(Le[0][ae],Le[1][ae]),vt=u(Le[0][ae],Le[1][ae]);return[Ze,vt]},updateCoverShape:function(ge,Le,Ze,vt){var Ct,Be=W(ge,Le);if(Be!==!0&&Be.getLinearBrushOtherExtent)Ct=Be.getLinearBrushOtherExtent(ae,ge._transform);else{var Rt=ge._zr;Ct=[0,[Rt.getWidth(),Rt.getHeight()][1-ae]]}var He=[Ze,Ct];ae&&He.reverse(),V(ge,Le,He,vt)},updateCommon:z,contain:at}}var Oe=S;D.exports=Oe},"/MfK":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="DeleteOutlined";var h=_.a=g.forwardRef(v)},"/POA":function(D,_,e){!function(g,f){if(!0)D.exports=f();else var A,m}(window,function(){return function(g){var f={};function A(m){if(f[m])return f[m].exports;var v=f[m]={i:m,l:!1,exports:{}};return g[m].call(v.exports,v,v.exports,A),v.l=!0,v.exports}return A.m=g,A.c=f,A.d=function(m,v,h){A.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},A.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},A.t=function(m,v){if(1&v&&(m=A(m)),8&v)return m;if(4&v&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(A.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),2&v&&typeof m!="string")for(var c in m)A.d(h,c,function(o){return m[o]}.bind(null,c));return h},A.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return A.d(v,"a",v),v},A.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},A.p="",A(A.s=34)}([function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forwardEvent=f.EventEmitter=void 0;var m=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var c=this;return this._event||(this._event=function(o){return c._listeners.push(o),{dispose:function(){if(!c._disposed){for(var n=0;n<c._listeners.length;n++)if(c._listeners[n]===o)return void c._listeners.splice(n,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(h,c){for(var o=[],i=0;i<this._listeners.length;i++)o.push(this._listeners[i]);for(i=0;i<o.length;i++)o[i].call(void 0,h,c)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();f.EventEmitter=m,f.forwardEvent=function(v,h){return v(function(c){return h.fire(c)})}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.IUnicodeService=f.IOptionsService=f.ILogService=f.IInstantiationService=f.IDirtyRowService=f.ICharsetService=f.ICoreService=f.ICoreMouseService=f.IBufferService=void 0;var m=A(14);f.IBufferService=m.createDecorator("BufferService"),f.ICoreMouseService=m.createDecorator("CoreMouseService"),f.ICoreService=m.createDecorator("CoreService"),f.ICharsetService=m.createDecorator("CharsetService"),f.IDirtyRowService=m.createDecorator("DirtyRowService"),f.IInstantiationService=m.createDecorator("InstantiationService"),f.ILogService=m.createDecorator("LogService"),f.IOptionsService=m.createDecorator("OptionsService"),f.IUnicodeService=m.createDecorator("UnicodeService")},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getDisposeArrayDisposable=f.disposeArray=f.Disposable=void 0;var m=function(){function h(){this._disposables=[],this._isDisposed=!1}return h.prototype.dispose=function(){this._isDisposed=!0;for(var c=0,o=this._disposables;c<o.length;c++)o[c].dispose();this._disposables.length=0},h.prototype.register=function(c){return this._disposables.push(c),c},h.prototype.unregister=function(c){var o=this._disposables.indexOf(c);o!==-1&&this._disposables.splice(o,1)},h}();function v(h){for(var c=0,o=h;c<o.length;c++)o[c].dispose();h.length=0}f.Disposable=m,f.disposeArray=v,f.getDisposeArrayDisposable=function(h){return{dispose:function(){return v(h)}}}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WHITESPACE_CELL_CODE=f.WHITESPACE_CELL_WIDTH=f.WHITESPACE_CELL_CHAR=f.NULL_CELL_CODE=f.NULL_CELL_WIDTH=f.NULL_CELL_CHAR=f.CHAR_DATA_CODE_INDEX=f.CHAR_DATA_WIDTH_INDEX=f.CHAR_DATA_CHAR_INDEX=f.CHAR_DATA_ATTR_INDEX=f.DEFAULT_ATTR=f.DEFAULT_COLOR=void 0,f.DEFAULT_COLOR=256,f.DEFAULT_ATTR=256|f.DEFAULT_COLOR<<9,f.CHAR_DATA_ATTR_INDEX=0,f.CHAR_DATA_CHAR_INDEX=1,f.CHAR_DATA_WIDTH_INDEX=2,f.CHAR_DATA_CODE_INDEX=3,f.NULL_CELL_CHAR="",f.NULL_CELL_WIDTH=1,f.NULL_CELL_CODE=0,f.WHITESPACE_CELL_CHAR=" ",f.WHITESPACE_CELL_WIDTH=1,f.WHITESPACE_CELL_CODE=32},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(a,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var t in l)l.hasOwnProperty(t)&&(r[t]=l[t])})(a,u)},function(n,a){function u(){this.constructor=n}m(n,a),n.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)});Object.defineProperty(f,"__esModule",{value:!0}),f.CellData=void 0;var h=A(8),c=A(3),o=A(6),i=function(n){function a(){var u=n!==null&&n.apply(this,arguments)||this;return u.content=0,u.fg=0,u.bg=0,u.extended=new o.ExtendedAttrs,u.combinedData="",u}return v(a,n),a.fromCharData=function(u){var r=new a;return r.setFromCharData(u),r},a.prototype.isCombined=function(){return 2097152&this.content},a.prototype.getWidth=function(){return this.content>>22},a.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?h.stringFromCodePoint(2097151&this.content):""},a.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},a.prototype.setFromCharData=function(u){this.fg=u[c.CHAR_DATA_ATTR_INDEX],this.bg=0;var r=!1;if(u[c.CHAR_DATA_CHAR_INDEX].length>2)r=!0;else if(u[c.CHAR_DATA_CHAR_INDEX].length===2){var l=u[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var t=u[c.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(l-55296)+t-56320+65536|u[c.CHAR_DATA_WIDTH_INDEX]<<22:r=!0}else r=!0}else this.content=u[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|u[c.CHAR_DATA_WIDTH_INDEX]<<22;r&&(this.combinedData=u[c.CHAR_DATA_CHAR_INDEX],this.content=2097152|u[c.CHAR_DATA_WIDTH_INDEX]<<22)},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(o.AttributeData);f.CellData=i},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var m=A(14);f.ICharSizeService=m.createDecorator("CharSizeService"),f.ICoreBrowserService=m.createDecorator("CoreBrowserService"),f.IMouseService=m.createDecorator("MouseService"),f.IRenderService=m.createDecorator("RenderService"),f.ISelectionService=m.createDecorator("SelectionService"),f.ISoundService=m.createDecorator("SoundService")},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ExtendedAttrs=f.AttributeData=void 0;var m=function(){function h(){this.fg=0,this.bg=0,this.extended=new v}return h.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},h.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},h.prototype.clone=function(){var c=new h;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},h.prototype.isInverse=function(){return 67108864&this.fg},h.prototype.isBold=function(){return 134217728&this.fg},h.prototype.isUnderline=function(){return 268435456&this.fg},h.prototype.isBlink=function(){return 536870912&this.fg},h.prototype.isInvisible=function(){return 1073741824&this.fg},h.prototype.isItalic=function(){return 67108864&this.bg},h.prototype.isDim=function(){return 134217728&this.bg},h.prototype.getFgColorMode=function(){return 50331648&this.fg},h.prototype.getBgColorMode=function(){return 50331648&this.bg},h.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},h.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},h.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},h.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},h.prototype.isFgDefault=function(){return(50331648&this.fg)==0},h.prototype.isBgDefault=function(){return(50331648&this.bg)==0},h.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},h.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},h.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},h.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},h.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},h.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},h.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},h.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},h.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},h.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},h.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},h}();f.AttributeData=m;var v=function(){function h(c,o){c===void 0&&(c=0),o===void 0&&(o=-1),this.underlineStyle=c,this.underlineColor=o}return h.prototype.clone=function(){return new h(this.underlineStyle,this.underlineColor)},h.prototype.isEmpty=function(){return this.underlineStyle===0},h}();f.ExtendedAttrs=v},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addDisposableDomListener=void 0,f.addDisposableDomListener=function(m,v,h,c){m.addEventListener(v,h,c);var o=!1;return{dispose:function(){o||(o=!0,m.removeEventListener(v,h,c))}}}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Utf8ToUtf32=f.StringToUtf32=f.utf32ToString=f.stringFromCodePoint=void 0,f.stringFromCodePoint=function(h){return h>65535?(h-=65536,String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):String.fromCharCode(h)},f.utf32ToString=function(h,c,o){c===void 0&&(c=0),o===void 0&&(o=h.length);for(var i="",n=c;n<o;++n){var a=h[n];a>65535?(a-=65536,i+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):i+=String.fromCharCode(a)}return i};var m=function(){function h(){this._interim=0}return h.prototype.clear=function(){this._interim=0},h.prototype.decode=function(c,o){var i=c.length;if(!i)return 0;var n=0,a=0;this._interim&&(56320<=(l=c.charCodeAt(a++))&&l<=57343?o[n++]=1024*(this._interim-55296)+l-56320+65536:(o[n++]=this._interim,o[n++]=l),this._interim=0);for(var u=a;u<i;++u){var r=c.charCodeAt(u);if(55296<=r&&r<=56319){if(++u>=i)return this._interim=r,n;var l;56320<=(l=c.charCodeAt(u))&&l<=57343?o[n++]=1024*(r-55296)+l-56320+65536:(o[n++]=r,o[n++]=l)}else o[n++]=r}return n},h}();f.StringToUtf32=m;var v=function(){function h(){this.interim=new Uint8Array(3)}return h.prototype.clear=function(){this.interim.fill(0)},h.prototype.decode=function(c,o){var i=c.length;if(!i)return 0;var n,a,u,r,l=0,t=0,s=0;if(this.interim[0]){var d=!1,p=this.interim[0];p&=(224&p)==192?31:(240&p)==224?15:7;for(var b=0,w=void 0;(w=63&this.interim[++b])&&b<4;)p<<=6,p|=w;for(var E=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,S=E-b;s<S;){if(s>=i)return 0;if((192&(w=c[s++]))!=128){s--,d=!0;break}this.interim[b++]=w,p<<=6,p|=63&w}d||(E===2?p<128?s--:o[l++]=p:E===3?p<2048||p>=55296&&p<=57343||(o[l++]=p):p<65536||p>1114111||(o[l++]=p)),this.interim.fill(0)}for(var x=i-4,T=s;T<i;){for(;!(!(T<x)||128&(n=c[T])||128&(a=c[T+1])||128&(u=c[T+2])||128&(r=c[T+3]));)o[l++]=n,o[l++]=a,o[l++]=u,o[l++]=r,T+=4;if((n=c[T++])<128)o[l++]=n;else if((224&n)==192){if(T>=i)return this.interim[0]=n,l;if((192&(a=c[T++]))!=128){T--;continue}if((t=(31&n)<<6|63&a)<128){T--;continue}o[l++]=t}else if((240&n)==224){if(T>=i)return this.interim[0]=n,l;if((192&(a=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=n,this.interim[1]=a,l;if((192&(u=c[T++]))!=128){T--;continue}if((t=(15&n)<<12|(63&a)<<6|63&u)<2048||t>=55296&&t<=57343)continue;o[l++]=t}else if((248&n)==240){if(T>=i)return this.interim[0]=n,l;if((192&(a=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=n,this.interim[1]=a,l;if((192&(u=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=n,this.interim[1]=a,this.interim[2]=u,l;if((192&(r=c[T++]))!=128){T--;continue}if((t=(7&n)<<18|(63&a)<<12|(63&u)<<6|63&r)<65536||t>1114111)continue;o[l++]=t}}return l},h}();f.Utf8ToUtf32=v},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CHAR_ATLAS_CELL_SPACING=f.DIM_OPACITY=f.INVERTED_DEFAULT_COLOR=void 0,f.INVERTED_DEFAULT_COLOR=257,f.DIM_OPACITY=.5,f.CHAR_ATLAS_CELL_SPACING=1},function(g,f,A){"use strict";var m,v,h,c;function o(n){var a=n.toString(16);return a.length<2?"0"+a:a}function i(n,a){return n<a?(a+.05)/(n+.05):(n+.05)/(a+.05)}Object.defineProperty(f,"__esModule",{value:!0}),f.contrastRatio=f.toPaddedHex=f.rgba=f.rgb=f.css=f.color=f.channels=void 0,function(n){n.toCss=function(a,u,r,l){return l!==void 0?"#"+o(a)+o(u)+o(r)+o(l):"#"+o(a)+o(u)+o(r)},n.toRgba=function(a,u,r,l){return l===void 0&&(l=255),(a<<24|u<<16|r<<8|l)>>>0}}(m=f.channels||(f.channels={})),(v=f.color||(f.color={})).blend=function(n,a){var u=(255&a.rgba)/255;if(u===1)return{css:a.css,rgba:a.rgba};var r=a.rgba>>24&255,l=a.rgba>>16&255,t=a.rgba>>8&255,s=n.rgba>>24&255,d=n.rgba>>16&255,p=n.rgba>>8&255,b=s+Math.round((r-s)*u),w=d+Math.round((l-d)*u),E=p+Math.round((t-p)*u);return{css:m.toCss(b,w,E),rgba:m.toRgba(b,w,E)}},v.isOpaque=function(n){return(255&n.rgba)==255},v.ensureContrastRatio=function(n,a,u){var r=c.ensureContrastRatio(n.rgba,a.rgba,u);if(r)return c.toColor(r>>24&255,r>>16&255,r>>8&255)},v.opaque=function(n){var a=(255|n.rgba)>>>0,u=c.toChannels(a),r=u[0],l=u[1],t=u[2];return{css:m.toCss(r,l,t),rgba:a}},v.opacity=function(n,a){var u=Math.round(255*a),r=c.toChannels(n.rgba),l=r[0],t=r[1],s=r[2];return{css:m.toCss(l,t,s,u),rgba:m.toRgba(l,t,s,u)}},(f.css||(f.css={})).toColor=function(n){switch(n.length){case 7:return{css:n,rgba:(parseInt(n.slice(1),16)<<8|255)>>>0};case 9:return{css:n,rgba:parseInt(n.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(n){function a(u,r,l){var t=u/255,s=r/255,d=l/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4))}n.relativeLuminance=function(u){return a(u>>16&255,u>>8&255,255&u)},n.relativeLuminance2=a}(h=f.rgb||(f.rgb={})),function(n){function a(r,l,t){for(var s=r>>24&255,d=r>>16&255,p=r>>8&255,b=l>>24&255,w=l>>16&255,E=l>>8&255,S=i(h.relativeLuminance2(b,E,w),h.relativeLuminance2(s,d,p));S<t&&(b>0||w>0||E>0);)b-=Math.max(0,Math.ceil(.1*b)),w-=Math.max(0,Math.ceil(.1*w)),E-=Math.max(0,Math.ceil(.1*E)),S=i(h.relativeLuminance2(b,E,w),h.relativeLuminance2(s,d,p));return(b<<24|w<<16|E<<8|255)>>>0}function u(r,l,t){for(var s=r>>24&255,d=r>>16&255,p=r>>8&255,b=l>>24&255,w=l>>16&255,E=l>>8&255,S=i(h.relativeLuminance2(b,E,w),h.relativeLuminance2(s,d,p));S<t&&(b<255||w<255||E<255);)b=Math.min(255,b+Math.ceil(.1*(255-b))),w=Math.min(255,w+Math.ceil(.1*(255-w))),E=Math.min(255,E+Math.ceil(.1*(255-E))),S=i(h.relativeLuminance2(b,E,w),h.relativeLuminance2(s,d,p));return(b<<24|w<<16|E<<8|255)>>>0}n.ensureContrastRatio=function(r,l,t){var s=h.relativeLuminance(r>>8),d=h.relativeLuminance(l>>8);if(i(s,d)<t)return d<s?a(r,l,t):u(r,l,t)},n.reduceLuminance=a,n.increaseLuminance=u,n.toChannels=function(r){return[r>>24&255,r>>16&255,r>>8&255,255&r]},n.toColor=function(r,l,t){return{css:m.toCss(r,l,t),rgba:m.toRgba(r,l,t)}}}(c=f.rgba||(f.rgba={})),f.toPaddedHex=o,f.contrastRatio=i},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isLinux=f.isWindows=f.isIphone=f.isIpad=f.isMac=f.isSafari=f.isFirefox=void 0;var m=typeof navigator=="undefined",v=m?"node":navigator.userAgent,h=m?"node":navigator.platform;function c(o,i){return o.indexOf(i)>=0}f.isFirefox=!!~v.indexOf("Firefox"),f.isSafari=/^((?!chrome|android).)*safari/i.test(v),f.isMac=c(["Macintosh","MacIntel","MacPPC","Mac68K"],h),f.isIpad=h==="iPad",f.isIphone=h==="iPhone",f.isWindows=c(["Windows","Win16","Win32","WinCE"],h),f.isLinux=h.indexOf("Linux")>=0},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.C1=f.C0=void 0,function(m){m.NUL="\0",m.SOH="",m.STX="",m.ETX="",m.EOT="",m.ENQ="",m.ACK="",m.BEL="\x07",m.BS="\b",m.HT=" ",m.LF=`
`,m.VT="\v",m.FF="\f",m.CR="\r",m.SO="",m.SI="",m.DLE="",m.DC1="",m.DC2="",m.DC3="",m.DC4="",m.NAK="",m.SYN="",m.ETB="",m.CAN="",m.EM="",m.SUB="",m.ESC="",m.FS="",m.GS="",m.RS="",m.US="",m.SP=" ",m.DEL="\x7F"}(f.C0||(f.C0={})),function(m){m.PAD="\x80",m.HOP="\x81",m.BPH="\x82",m.NBH="\x83",m.IND="\x84",m.NEL="\x85",m.SSA="\x86",m.ESA="\x87",m.HTS="\x88",m.HTJ="\x89",m.VTS="\x8A",m.PLD="\x8B",m.PLU="\x8C",m.RI="\x8D",m.SS2="\x8E",m.SS3="\x8F",m.DCS="\x90",m.PU1="\x91",m.PU2="\x92",m.STS="\x93",m.CCH="\x94",m.MW="\x95",m.SPA="\x96",m.EPA="\x97",m.SOS="\x98",m.SGCI="\x99",m.SCI="\x9A",m.CSI="\x9B",m.ST="\x9C",m.OSC="\x9D",m.PM="\x9E",m.APC="\x9F"}(f.C1||(f.C1={}))},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var m=A(3),v=A(9),h=A(25),c=A(6),o=A(28),i=A(10),n=A(17),a=function(){function u(r,l,t,s,d,p,b,w){this._container=r,this._alpha=s,this._colors=d,this._rendererId=p,this._bufferService=b,this._optionsService=w,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return u.prototype.dispose=function(){var r;n.removeElementFromParent(this._canvas),(r=this._charAtlas)===null||r===void 0||r.dispose()},u.prototype._initCanvas=function(){this._ctx=o.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},u.prototype.onOptionsChanged=function(){},u.prototype.onBlur=function(){},u.prototype.onFocus=function(){},u.prototype.onCursorMove=function(){},u.prototype.onGridChanged=function(r,l){},u.prototype.onSelectionChanged=function(r,l,t){t===void 0&&(t=!1)},u.prototype.setColors=function(r){this._refreshCharAtlas(r)},u.prototype._setTransparency=function(r){if(r!==this._alpha){var l=this._canvas;this._alpha=r,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},u.prototype._refreshCharAtlas=function(r){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=h.acquireCharAtlas(this._optionsService.options,this._rendererId,r,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},u.prototype.resize=function(r){this._scaledCellWidth=r.scaledCellWidth,this._scaledCellHeight=r.scaledCellHeight,this._scaledCharWidth=r.scaledCharWidth,this._scaledCharHeight=r.scaledCharHeight,this._scaledCharLeft=r.scaledCharLeft,this._scaledCharTop=r.scaledCharTop,this._canvas.width=r.scaledCanvasWidth,this._canvas.height=r.scaledCanvasHeight,this._canvas.style.width=r.canvasWidth+"px",this._canvas.style.height=r.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},u.prototype._fillCells=function(r,l,t,s){this._ctx.fillRect(r*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight)},u.prototype._fillBottomLineAtCells=function(r,l,t){t===void 0&&(t=1),this._ctx.fillRect(r*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},u.prototype._fillLeftLineAtCell=function(r,l,t){this._ctx.fillRect(r*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},u.prototype._strokeRectAtCell=function(r,l,t,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(r*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},u.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))},u.prototype._clearCells=function(r,l,t,s){this._alpha?this._ctx.clearRect(r*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(r*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight))},u.prototype._fillCharTrueColor=function(r,l,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(r.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},u.prototype._drawChars=function(r,l,t){var s,d,p=this._getContrastColor(r);p||r.isFgRGB()||r.isBgRGB()?this._drawUncachedChars(r,l,t,p):(r.isInverse()?(s=r.isBgDefault()?v.INVERTED_DEFAULT_COLOR:r.getBgColor(),d=r.isFgDefault()?v.INVERTED_DEFAULT_COLOR:r.getFgColor()):(d=r.isBgDefault()?m.DEFAULT_COLOR:r.getBgColor(),s=r.isFgDefault()?m.DEFAULT_COLOR:r.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=r.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=r.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=d,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!r.isBold(),this._currentGlyphIdentifier.dim=!!r.isDim(),this._currentGlyphIdentifier.italic=!!r.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(r,l,t))},u.prototype._drawUncachedChars=function(r,l,t,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!r.isBold(),!!r.isItalic()),this._ctx.textBaseline="middle",r.isInverse())if(s)this._ctx.fillStyle=s.css;else if(r.isBgDefault())this._ctx.fillStyle=i.color.opaque(this._colors.background).css;else if(r.isBgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(r.getBgColor()).join(",")+")";else{var d=r.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&d<8&&(d+=8),this._ctx.fillStyle=this._colors.ansi[d].css}else if(s)this._ctx.fillStyle=s.css;else if(r.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(r.isFgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(r.getFgColor()).join(",")+")";else{var p=r.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&p<8&&(p+=8),this._ctx.fillStyle=this._colors.ansi[p].css}this._clipRow(t),r.isDim()&&(this._ctx.globalAlpha=v.DIM_OPACITY),this._ctx.fillText(r.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},u.prototype._clipRow=function(r){this._ctx.beginPath(),this._ctx.rect(0,r*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},u.prototype._getFont=function(r,l){return(l?"italic":"")+" "+(r?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},u.prototype._getContrastColor=function(r){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(r.bg,r.fg);if(l!==void 0)return l||void 0;var t=r.getFgColor(),s=r.getFgColorMode(),d=r.getBgColor(),p=r.getBgColorMode(),b=!!r.isInverse(),w=!!r.isInverse();if(b){var E=t;t=d,d=E;var S=s;s=p,p=S}var x=this._resolveBackgroundRgba(p,d,b),T=this._resolveForegroundRgba(s,t,b,w),L=i.rgba.ensureContrastRatio(x,T,this._optionsService.options.minimumContrastRatio);if(L){var y={css:i.channels.toCss(L>>24&255,L>>16&255,L>>8&255),rgba:L};return this._colors.contrastCache.setColor(r.bg,r.fg,y),y}this._colors.contrastCache.setColor(r.bg,r.fg,null)}},u.prototype._resolveBackgroundRgba=function(r,l,t){switch(r){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},u.prototype._resolveForegroundRgba=function(r,l,t,s){switch(r){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},u}();f.BaseRenderLayer=a},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createDecorator=f.getServiceDependencies=f.serviceRegistry=void 0;function m(v,h,c){h.di$target===h?h.di$dependencies.push({id:v,index:c}):(h.di$dependencies=[{id:v,index:c}],h.di$target=h)}f.serviceRegistry=new Map,f.getServiceDependencies=function(v){return v.di$dependencies||[]},f.createDecorator=function(v){if(f.serviceRegistry.has(v))return f.serviceRegistry.get(v);var h=function c(o,i,n){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(c,o,n)};return h.toString=function(){return v},f.serviceRegistry.set(v,h),h}},function(g,f,A){"use strict";function m(v,h,c,o){if(c===void 0&&(c=0),o===void 0&&(o=v.length),c>=v.length)return v;c=(v.length+c)%v.length,o=o>=v.length?v.length:(v.length+o)%v.length;for(var i=c;i<o;++i)v[i]=h;return v}Object.defineProperty(f,"__esModule",{value:!0}),f.concat=f.fillFallback=f.fill=void 0,f.fill=function(v,h,c,o){return v.fill?v.fill(h,c,o):m(v,h,c,o)},f.fillFallback=m,f.concat=function(v,h){var c=new v.constructor(v.length+h.length);return c.set(v),c.set(h,v.length),c}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var m=A(8),v=A(3),h=A(4),c=A(6);f.DEFAULT_ATTR_DATA=Object.freeze(new c.AttributeData);var o=function(){function i(n,a,u){u===void 0&&(u=!1),this.isWrapped=u,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*n);for(var r=a||h.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),l=0;l<n;++l)this.setCell(l,r);this.length=n}return i.prototype.get=function(n){var a=this._data[3*n+0],u=2097151&a;return[this._data[3*n+1],2097152&a?this._combined[n]:u?m.stringFromCodePoint(u):"",a>>22,2097152&a?this._combined[n].charCodeAt(this._combined[n].length-1):u]},i.prototype.set=function(n,a){this._data[3*n+1]=a[v.CHAR_DATA_ATTR_INDEX],a[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[n]=a[1],this._data[3*n+0]=2097152|n|a[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*n+0]=a[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[v.CHAR_DATA_WIDTH_INDEX]<<22},i.prototype.getWidth=function(n){return this._data[3*n+0]>>22},i.prototype.hasWidth=function(n){return 12582912&this._data[3*n+0]},i.prototype.getFg=function(n){return this._data[3*n+1]},i.prototype.getBg=function(n){return this._data[3*n+2]},i.prototype.hasContent=function(n){return 4194303&this._data[3*n+0]},i.prototype.getCodePoint=function(n){var a=this._data[3*n+0];return 2097152&a?this._combined[n].charCodeAt(this._combined[n].length-1):2097151&a},i.prototype.isCombined=function(n){return 2097152&this._data[3*n+0]},i.prototype.getString=function(n){var a=this._data[3*n+0];return 2097152&a?this._combined[n]:2097151&a?m.stringFromCodePoint(2097151&a):""},i.prototype.loadCell=function(n,a){var u=3*n;return a.content=this._data[u+0],a.fg=this._data[u+1],a.bg=this._data[u+2],2097152&a.content&&(a.combinedData=this._combined[n]),268435456&a.bg&&(a.extended=this._extendedAttrs[n]),a},i.prototype.setCell=function(n,a){2097152&a.content&&(this._combined[n]=a.combinedData),268435456&a.bg&&(this._extendedAttrs[n]=a.extended),this._data[3*n+0]=a.content,this._data[3*n+1]=a.fg,this._data[3*n+2]=a.bg},i.prototype.setCellFromCodePoint=function(n,a,u,r,l,t){268435456&l&&(this._extendedAttrs[n]=t),this._data[3*n+0]=a|u<<22,this._data[3*n+1]=r,this._data[3*n+2]=l},i.prototype.addCodepointToCell=function(n,a){var u=this._data[3*n+0];2097152&u?this._combined[n]+=m.stringFromCodePoint(a):(2097151&u?(this._combined[n]=m.stringFromCodePoint(2097151&u)+m.stringFromCodePoint(a),u&=-2097152,u|=2097152):u=a|1<<22,this._data[3*n+0]=u)},i.prototype.insertCells=function(n,a,u,r){if((n%=this.length)&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs),a<this.length-n){for(var l=new h.CellData,t=this.length-n-a-1;t>=0;--t)this.setCell(n+a+t,this.loadCell(n+t,l));for(t=0;t<a;++t)this.setCell(n+t,u)}else for(t=n;t<this.length;++t)this.setCell(t,u);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs)},i.prototype.deleteCells=function(n,a,u,r){if(n%=this.length,a<this.length-n){for(var l=new h.CellData,t=0;t<this.length-n-a;++t)this.setCell(n+t,this.loadCell(n+a+t,l));for(t=this.length-a;t<this.length;++t)this.setCell(t,u)}else for(t=n;t<this.length;++t)this.setCell(t,u);n&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs),this.getWidth(n)!==0||this.hasContent(n)||this.setCellFromCodePoint(n,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs)},i.prototype.replaceCells=function(n,a,u,r){for(n&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs),a<this.length&&this.getWidth(a-1)===2&&this.setCellFromCodePoint(a,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs);n<a&&n<this.length;)this.setCell(n++,u)},i.prototype.resize=function(n,a){if(n!==this.length){if(n>this.length){var u=new Uint32Array(3*n);this.length&&(3*n<this._data.length?u.set(this._data.subarray(0,3*n)):u.set(this._data)),this._data=u;for(var r=this.length;r<n;++r)this.setCell(r,a)}else if(n){(u=new Uint32Array(3*n)).set(this._data.subarray(0,3*n)),this._data=u;var l=Object.keys(this._combined);for(r=0;r<l.length;r++){var t=parseInt(l[r],10);t>=n&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=n}},i.prototype.fill=function(n){this._combined={},this._extendedAttrs={};for(var a=0;a<this.length;++a)this.setCell(a,n)},i.prototype.copyFrom=function(n){for(var a in this.length!==n.length?this._data=new Uint32Array(n._data):this._data.set(n._data),this.length=n.length,this._combined={},n._combined)this._combined[a]=n._combined[a];for(var a in this._extendedAttrs={},n._extendedAttrs)this._extendedAttrs[a]=n._extendedAttrs[a];this.isWrapped=n.isWrapped},i.prototype.clone=function(){var n=new i(0);for(var a in n._data=new Uint32Array(this._data),n.length=this.length,this._combined)n._combined[a]=this._combined[a];for(var a in this._extendedAttrs)n._extendedAttrs[a]=this._extendedAttrs[a];return n.isWrapped=this.isWrapped,n},i.prototype.getTrimmedLength=function(){for(var n=this.length-1;n>=0;--n)if(4194303&this._data[3*n+0])return n+(this._data[3*n+0]>>22);return 0},i.prototype.copyCellsFrom=function(n,a,u,r,l){var t=n._data;if(l)for(var s=r-1;s>=0;s--)for(var d=0;d<3;d++)this._data[3*(u+s)+d]=t[3*(a+s)+d];else for(s=0;s<r;s++)for(d=0;d<3;d++)this._data[3*(u+s)+d]=t[3*(a+s)+d];var p=Object.keys(n._combined);for(d=0;d<p.length;d++){var b=parseInt(p[d],10);b>=a&&(this._combined[b-a+u]=n._combined[b])}},i.prototype.translateToString=function(n,a,u){n===void 0&&(n=!1),a===void 0&&(a=0),u===void 0&&(u=this.length),n&&(u=Math.min(u,this.getTrimmedLength()));for(var r="";a<u;){var l=this._data[3*a+0],t=2097151&l;r+=2097152&l?this._combined[a]:t?m.stringFromCodePoint(t):v.WHITESPACE_CELL_CHAR,a+=l>>22||1}return r},i}();f.BufferLine=o},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeElementFromParent=void 0,f.removeElementFromParent=function(){for(var m,v=[],h=0;h<arguments.length;h++)v[h]=arguments[h];for(var c=0,o=v;c<o.length;c++){var i=o[c];(m=i==null?void 0:i.parentElement)===null||m===void 0||m.removeChild(i)}}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.tooMuchOutput=f.promptLabel=void 0,f.promptLabel="Terminal input",f.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(L,y){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,O){C.__proto__=O}||function(C,O){for(var N in O)O.hasOwnProperty(N)&&(C[N]=O[N])})(L,y)},function(T,L){function y(){this.constructor=T}m(T,L),T.prototype=L===null?Object.create(L):(y.prototype=L.prototype,new y)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var h,c=A(12),o=A(20),i=A(39),n=A(2),a=A(15),u=A(8),r=A(16),l=A(0),t=A(3),s=A(4),d=A(6),p=A(22),b=A(24),w={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function E(T,L){if(T>24)return L.setWinLines||!1;switch(T){case 1:return!!L.restoreWin;case 2:return!!L.minimizeWin;case 3:return!!L.setWinPosition;case 4:return!!L.setWinSizePixels;case 5:return!!L.raiseWin;case 6:return!!L.lowerWin;case 7:return!!L.refreshWin;case 8:return!!L.setWinSizeChars;case 9:return!!L.maximizeWin;case 10:return!!L.fullscreenWin;case 11:return!!L.getWinState;case 13:return!!L.getWinPosition;case 14:return!!L.getWinSizePixels;case 15:return!!L.getScreenSizePixels;case 16:return!!L.getCellSizePixels;case 18:return!!L.getWinSizeChars;case 19:return!!L.getScreenSizeChars;case 20:return!!L.getIconTitle;case 21:return!!L.getWinTitle;case 22:return!!L.pushTitle;case 23:return!!L.popTitle;case 24:return!!L.setWinLines}return!1}!function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(h=f.WindowsOptionsReportType||(f.WindowsOptionsReportType={}));var S=function(){function T(L,y,C,O){this._bufferService=L,this._coreService=y,this._logService=C,this._optionsService=O,this._data=new Uint32Array(0)}return T.prototype.hook=function(L){this._data=new Uint32Array(0)},T.prototype.put=function(L,y,C){this._data=a.concat(this._data,L.subarray(y,C))},T.prototype.unhook=function(L){if(L){var y=u.utf32ToString(this._data);switch(this._data=new Uint32Array(0),y){case'"q':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r0"q'+c.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r61;1"p'+c.C0.ESC+"\\");case"r":var C=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+C+c.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r0m"+c.C0.ESC+"\\");case" q":var O={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return O-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+O+" q"+c.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",y),this._coreService.triggerDataEvent(c.C0.ESC+"P0$r"+c.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},T}(),x=function(T){function L(y,C,O,N,k,F,B,H,W){W===void 0&&(W=new i.EscapeSequenceParser);var R=T.call(this)||this;R._bufferService=y,R._charsetService=C,R._coreService=O,R._dirtyRowService=N,R._logService=k,R._optionsService=F,R._coreMouseService=B,R._unicodeService=H,R._parser=W,R._parseBuffer=new Uint32Array(4096),R._stringDecoder=new u.StringToUtf32,R._utf8Decoder=new u.Utf8ToUtf32,R._workCell=new s.CellData,R._windowTitle="",R._iconName="",R._windowTitleStack=[],R._iconNameStack=[],R._curAttrData=r.DEFAULT_ATTR_DATA.clone(),R._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone(),R._onRequestBell=new l.EventEmitter,R._onRequestRefreshRows=new l.EventEmitter,R._onRequestReset=new l.EventEmitter,R._onRequestScroll=new l.EventEmitter,R._onRequestSyncScrollBar=new l.EventEmitter,R._onRequestWindowsOptionsReport=new l.EventEmitter,R._onA11yChar=new l.EventEmitter,R._onA11yTab=new l.EventEmitter,R._onCursorMove=new l.EventEmitter,R._onLineFeed=new l.EventEmitter,R._onScroll=new l.EventEmitter,R._onTitleChange=new l.EventEmitter,R.register(R._parser),R._parser.setCsiHandlerFallback(function(K,V){R._logService.debug("Unknown CSI code: ",{identifier:R._parser.identToString(K),params:V.toArray()})}),R._parser.setEscHandlerFallback(function(K){R._logService.debug("Unknown ESC code: ",{identifier:R._parser.identToString(K)})}),R._parser.setExecuteHandlerFallback(function(K){R._logService.debug("Unknown EXECUTE code: ",{code:K})}),R._parser.setOscHandlerFallback(function(K,V,z){R._logService.debug("Unknown OSC code: ",{identifier:K,action:V,data:z})}),R._parser.setDcsHandlerFallback(function(K,V,z){V==="HOOK"&&(z=z.toArray()),R._logService.debug("Unknown DCS code: ",{identifier:R._parser.identToString(K),action:V,payload:z})}),R._parser.setPrintHandler(function(K,V,z){return R.print(K,V,z)}),R._parser.setCsiHandler({final:"@"},function(K){return R.insertChars(K)}),R._parser.setCsiHandler({intermediates:" ",final:"@"},function(K){return R.scrollLeft(K)}),R._parser.setCsiHandler({final:"A"},function(K){return R.cursorUp(K)}),R._parser.setCsiHandler({intermediates:" ",final:"A"},function(K){return R.scrollRight(K)}),R._parser.setCsiHandler({final:"B"},function(K){return R.cursorDown(K)}),R._parser.setCsiHandler({final:"C"},function(K){return R.cursorForward(K)}),R._parser.setCsiHandler({final:"D"},function(K){return R.cursorBackward(K)}),R._parser.setCsiHandler({final:"E"},function(K){return R.cursorNextLine(K)}),R._parser.setCsiHandler({final:"F"},function(K){return R.cursorPrecedingLine(K)}),R._parser.setCsiHandler({final:"G"},function(K){return R.cursorCharAbsolute(K)}),R._parser.setCsiHandler({final:"H"},function(K){return R.cursorPosition(K)}),R._parser.setCsiHandler({final:"I"},function(K){return R.cursorForwardTab(K)}),R._parser.setCsiHandler({final:"J"},function(K){return R.eraseInDisplay(K)}),R._parser.setCsiHandler({prefix:"?",final:"J"},function(K){return R.eraseInDisplay(K)}),R._parser.setCsiHandler({final:"K"},function(K){return R.eraseInLine(K)}),R._parser.setCsiHandler({prefix:"?",final:"K"},function(K){return R.eraseInLine(K)}),R._parser.setCsiHandler({final:"L"},function(K){return R.insertLines(K)}),R._parser.setCsiHandler({final:"M"},function(K){return R.deleteLines(K)}),R._parser.setCsiHandler({final:"P"},function(K){return R.deleteChars(K)}),R._parser.setCsiHandler({final:"S"},function(K){return R.scrollUp(K)}),R._parser.setCsiHandler({final:"T"},function(K){return R.scrollDown(K)}),R._parser.setCsiHandler({final:"X"},function(K){return R.eraseChars(K)}),R._parser.setCsiHandler({final:"Z"},function(K){return R.cursorBackwardTab(K)}),R._parser.setCsiHandler({final:"`"},function(K){return R.charPosAbsolute(K)}),R._parser.setCsiHandler({final:"a"},function(K){return R.hPositionRelative(K)}),R._parser.setCsiHandler({final:"b"},function(K){return R.repeatPrecedingCharacter(K)}),R._parser.setCsiHandler({final:"c"},function(K){return R.sendDeviceAttributesPrimary(K)}),R._parser.setCsiHandler({prefix:">",final:"c"},function(K){return R.sendDeviceAttributesSecondary(K)}),R._parser.setCsiHandler({final:"d"},function(K){return R.linePosAbsolute(K)}),R._parser.setCsiHandler({final:"e"},function(K){return R.vPositionRelative(K)}),R._parser.setCsiHandler({final:"f"},function(K){return R.hVPosition(K)}),R._parser.setCsiHandler({final:"g"},function(K){return R.tabClear(K)}),R._parser.setCsiHandler({final:"h"},function(K){return R.setMode(K)}),R._parser.setCsiHandler({prefix:"?",final:"h"},function(K){return R.setModePrivate(K)}),R._parser.setCsiHandler({final:"l"},function(K){return R.resetMode(K)}),R._parser.setCsiHandler({prefix:"?",final:"l"},function(K){return R.resetModePrivate(K)}),R._parser.setCsiHandler({final:"m"},function(K){return R.charAttributes(K)}),R._parser.setCsiHandler({final:"n"},function(K){return R.deviceStatus(K)}),R._parser.setCsiHandler({prefix:"?",final:"n"},function(K){return R.deviceStatusPrivate(K)}),R._parser.setCsiHandler({intermediates:"!",final:"p"},function(K){return R.softReset(K)}),R._parser.setCsiHandler({intermediates:" ",final:"q"},function(K){return R.setCursorStyle(K)}),R._parser.setCsiHandler({final:"r"},function(K){return R.setScrollRegion(K)}),R._parser.setCsiHandler({final:"s"},function(K){return R.saveCursor(K)}),R._parser.setCsiHandler({final:"t"},function(K){return R.windowOptions(K)}),R._parser.setCsiHandler({final:"u"},function(K){return R.restoreCursor(K)}),R._parser.setCsiHandler({intermediates:"'",final:"}"},function(K){return R.insertColumns(K)}),R._parser.setCsiHandler({intermediates:"'",final:"~"},function(K){return R.deleteColumns(K)}),R._parser.setExecuteHandler(c.C0.BEL,function(){return R.bell()}),R._parser.setExecuteHandler(c.C0.LF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.VT,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.FF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.CR,function(){return R.carriageReturn()}),R._parser.setExecuteHandler(c.C0.BS,function(){return R.backspace()}),R._parser.setExecuteHandler(c.C0.HT,function(){return R.tab()}),R._parser.setExecuteHandler(c.C0.SO,function(){return R.shiftOut()}),R._parser.setExecuteHandler(c.C0.SI,function(){return R.shiftIn()}),R._parser.setExecuteHandler(c.C1.IND,function(){return R.index()}),R._parser.setExecuteHandler(c.C1.NEL,function(){return R.nextLine()}),R._parser.setExecuteHandler(c.C1.HTS,function(){return R.tabSet()}),R._parser.setOscHandler(0,new p.OscHandler(function(K){R.setTitle(K),R.setIconName(K)})),R._parser.setOscHandler(1,new p.OscHandler(function(K){return R.setIconName(K)})),R._parser.setOscHandler(2,new p.OscHandler(function(K){return R.setTitle(K)})),R._parser.setEscHandler({final:"7"},function(){return R.saveCursor()}),R._parser.setEscHandler({final:"8"},function(){return R.restoreCursor()}),R._parser.setEscHandler({final:"D"},function(){return R.index()}),R._parser.setEscHandler({final:"E"},function(){return R.nextLine()}),R._parser.setEscHandler({final:"H"},function(){return R.tabSet()}),R._parser.setEscHandler({final:"M"},function(){return R.reverseIndex()}),R._parser.setEscHandler({final:"="},function(){return R.keypadApplicationMode()}),R._parser.setEscHandler({final:">"},function(){return R.keypadNumericMode()}),R._parser.setEscHandler({final:"c"},function(){return R.fullReset()}),R._parser.setEscHandler({final:"n"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"o"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"|"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"}"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"~"},function(){return R.setgLevel(1)}),R._parser.setEscHandler({intermediates:"%",final:"@"},function(){return R.selectDefaultCharset()}),R._parser.setEscHandler({intermediates:"%",final:"G"},function(){return R.selectDefaultCharset()});var U=function(V){j._parser.setEscHandler({intermediates:"(",final:V},function(){return R.selectCharset("("+V)}),j._parser.setEscHandler({intermediates:")",final:V},function(){return R.selectCharset(")"+V)}),j._parser.setEscHandler({intermediates:"*",final:V},function(){return R.selectCharset("*"+V)}),j._parser.setEscHandler({intermediates:"+",final:V},function(){return R.selectCharset("+"+V)}),j._parser.setEscHandler({intermediates:"-",final:V},function(){return R.selectCharset("-"+V)}),j._parser.setEscHandler({intermediates:".",final:V},function(){return R.selectCharset("."+V)}),j._parser.setEscHandler({intermediates:"/",final:V},function(){return R.selectCharset("/"+V)})},j=this;for(var P in o.CHARSETS)U(P);return R._parser.setEscHandler({intermediates:"#",final:"8"},function(){return R.screenAlignmentPattern()}),R._parser.setErrorHandler(function(K){return R._logService.error("Parsing error: ",K),K}),R._parser.setDcsHandler({intermediates:"$",final:"q"},new S(R._bufferService,R._coreService,R._logService,R._optionsService)),R}return v(L,T),Object.defineProperty(L.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),L.prototype.dispose=function(){T.prototype.dispose.call(this)},L.prototype.parse=function(y){var C=this._bufferService.buffer,O=C.x,N=C.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 k=0;k<y.length;k+=131072){var F=k+131072<y.length?k+131072:y.length,B=typeof y=="string"?this._stringDecoder.decode(y.substring(k,F),this._parseBuffer):this._utf8Decoder.decode(y.subarray(k,F),this._parseBuffer);this._parser.parse(this._parseBuffer,B)}else B=typeof y=="string"?this._stringDecoder.decode(y,this._parseBuffer):this._utf8Decoder.decode(y,this._parseBuffer),this._parser.parse(this._parseBuffer,B);(C=this._bufferService.buffer).x===O&&C.y===N||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},L.prototype.print=function(y,C,O){var N,k,F=this._bufferService.buffer,B=this._charsetService.charset,H=this._optionsService.options.screenReaderMode,W=this._bufferService.cols,R=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,j=this._curAttrData,P=F.lines.get(F.ybase+F.y);this._dirtyRowService.markDirty(F.y),F.x&&O-C>0&&P.getWidth(F.x-1)===2&&P.setCellFromCodePoint(F.x-1,0,1,j.fg,j.bg,j.extended);for(var K=C;K<O;++K){if(N=y[K],k=this._unicodeService.wcwidth(N),N<127&&B){var V=B[String.fromCharCode(N)];V&&(N=V.charCodeAt(0))}if(H&&this._onA11yChar.fire(u.stringFromCodePoint(N)),k||!F.x){if(F.x+k-1>=W){if(R){for(;F.x<W;)P.setCellFromCodePoint(F.x++,0,1,j.fg,j.bg,j.extended);F.x=0,F.y++,F.y===F.scrollBottom+1?(F.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(F.y>=this._bufferService.rows&&(F.y=this._bufferService.rows-1),F.lines.get(F.ybase+F.y).isWrapped=!0),P=F.lines.get(F.ybase+F.y)}else if(F.x=W-1,k===2)continue}if(U&&(P.insertCells(F.x,k,F.getNullCell(j),j),P.getWidth(W-1)===2&&P.setCellFromCodePoint(W-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,j.fg,j.bg,j.extended)),P.setCellFromCodePoint(F.x++,N,k,j.fg,j.bg,j.extended),k>0)for(;--k;)P.setCellFromCodePoint(F.x++,0,0,j.fg,j.bg,j.extended)}else P.getWidth(F.x-1)?P.addCodepointToCell(F.x-1,N):P.addCodepointToCell(F.x-2,N)}O-C>0&&(P.loadCell(F.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),F.x<W&&O-C>0&&P.getWidth(F.x)===0&&!P.hasContent(F.x)&&P.setCellFromCodePoint(F.x,0,1,j.fg,j.bg,j.extended),this._dirtyRowService.markDirty(F.y)},L.prototype.addCsiHandler=function(y,C){var O=this;return y.final!=="t"||y.prefix||y.intermediates?this._parser.addCsiHandler(y,C):this._parser.addCsiHandler(y,function(N){return!E(N.params[0],O._optionsService.options.windowOptions)||C(N)})},L.prototype.addDcsHandler=function(y,C){return this._parser.addDcsHandler(y,new b.DcsHandler(C))},L.prototype.addEscHandler=function(y,C){return this._parser.addEscHandler(y,C)},L.prototype.addOscHandler=function(y,C){return this._parser.addOscHandler(y,new p.OscHandler(C))},L.prototype.bell=function(){this._onRequestBell.fire()},L.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()},L.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},L.prototype.backspace=function(){var y,C=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(C.x>0&&C.x--);if(this._restrictCursor(this._bufferService.cols),C.x>0)C.x--;else if(C.x===0&&C.y>C.scrollTop&&C.y<=C.scrollBottom&&((y=C.lines.get(C.ybase+C.y))===null||y===void 0?void 0:y.isWrapped)){C.lines.get(C.ybase+C.y).isWrapped=!1,C.y--,C.x=this._bufferService.cols-1;var O=C.lines.get(C.ybase+C.y);O.hasWidth(C.x)&&!O.hasContent(C.x)&&C.x--}this._restrictCursor()},L.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)}},L.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},L.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},L.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)},L.prototype._setCursor=function(y,C){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=y,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+C):(this._bufferService.buffer.x=y,this._bufferService.buffer.y=C),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},L.prototype._moveCursor=function(y,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+y,this._bufferService.buffer.y+C)},L.prototype.cursorUp=function(y){var C=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;C>=0?this._moveCursor(0,-Math.min(C,y.params[0]||1)):this._moveCursor(0,-(y.params[0]||1))},L.prototype.cursorDown=function(y){var C=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;C>=0?this._moveCursor(0,Math.min(C,y.params[0]||1)):this._moveCursor(0,y.params[0]||1)},L.prototype.cursorForward=function(y){this._moveCursor(y.params[0]||1,0)},L.prototype.cursorBackward=function(y){this._moveCursor(-(y.params[0]||1),0)},L.prototype.cursorNextLine=function(y){this.cursorDown(y),this._bufferService.buffer.x=0},L.prototype.cursorPrecedingLine=function(y){this.cursorUp(y),this._bufferService.buffer.x=0},L.prototype.cursorCharAbsolute=function(y){this._setCursor((y.params[0]||1)-1,this._bufferService.buffer.y)},L.prototype.cursorPosition=function(y){this._setCursor(y.length>=2?(y.params[1]||1)-1:0,(y.params[0]||1)-1)},L.prototype.charPosAbsolute=function(y){this._setCursor((y.params[0]||1)-1,this._bufferService.buffer.y)},L.prototype.hPositionRelative=function(y){this._moveCursor(y.params[0]||1,0)},L.prototype.linePosAbsolute=function(y){this._setCursor(this._bufferService.buffer.x,(y.params[0]||1)-1)},L.prototype.vPositionRelative=function(y){this._moveCursor(0,y.params[0]||1)},L.prototype.hVPosition=function(y){this.cursorPosition(y)},L.prototype.tabClear=function(y){var C=y.params[0];C===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:C===3&&(this._bufferService.buffer.tabs={})},L.prototype.cursorForwardTab=function(y){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=y.params[0]||1;C--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},L.prototype.cursorBackwardTab=function(y){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=y.params[0]||1,O=this._bufferService.buffer;C--;)O.x=O.prevStop()},L.prototype._eraseInBufferLine=function(y,C,O,N){N===void 0&&(N=!1);var k=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+y);k.replaceCells(C,O,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),N&&(k.isWrapped=!1)},L.prototype._resetBufferLine=function(y){var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+y);C.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),C.isWrapped=!1},L.prototype.eraseInDisplay=function(y){var C;switch(this._restrictCursor(),y.params[0]){case 0:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);C<this._bufferService.rows;C++)this._resetBufferLine(C);this._dirtyRowService.markDirty(C);break;case 1:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(C+1).isWrapped=!1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 2:for(C=this._bufferService.rows,this._dirtyRowService.markDirty(C-1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 3:var O=this._bufferService.buffer.lines.length-this._bufferService.rows;O>0&&(this._bufferService.buffer.lines.trimStart(O),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-O,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-O,0),this._onScroll.fire(0))}},L.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)},L.prototype.insertLines=function(y){this._restrictCursor();var C=y.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){for(var N=O.ybase+O.y,k=this._bufferService.rows-1-O.scrollBottom,F=this._bufferService.rows-1+O.ybase-k+1;C--;)O.lines.splice(F-1,1),O.lines.splice(N,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},L.prototype.deleteLines=function(y){this._restrictCursor();var C=y.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){var N,k=O.ybase+O.y;for(N=this._bufferService.rows-1-O.scrollBottom,N=this._bufferService.rows-1+O.ybase-N;C--;)O.lines.splice(k,1),O.lines.splice(N,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},L.prototype.insertChars=function(y){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.insertCells(this._bufferService.buffer.x,y.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.deleteChars=function(y){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.deleteCells(this._bufferService.buffer.x,y.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.scrollUp=function(y){for(var C=y.params[0]||1,O=this._bufferService.buffer;C--;)O.lines.splice(O.ybase+O.scrollTop,1),O.lines.splice(O.ybase+O.scrollBottom,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},L.prototype.scrollDown=function(y){for(var C=y.params[0]||1,O=this._bufferService.buffer;C--;)O.lines.splice(O.ybase+O.scrollBottom,1),O.lines.splice(O.ybase+O.scrollTop,0,O.getBlankLine(r.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},L.prototype.scrollLeft=function(y){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=y.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var k=C.lines.get(C.ybase+N);k.deleteCells(0,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.scrollRight=function(y){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=y.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var k=C.lines.get(C.ybase+N);k.insertCells(0,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.insertColumns=function(y){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=y.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var k=this._bufferService.buffer.lines.get(C.ybase+N);k.insertCells(C.x,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.deleteColumns=function(y){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=y.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var k=C.lines.get(C.ybase+N);k.deleteCells(C.x,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),k.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.eraseChars=function(y){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(y.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.repeatPrecedingCharacter=function(y){if(this._parser.precedingCodepoint){for(var C=y.params[0]||1,O=new Uint32Array(C),N=0;N<C;++N)O[N]=this._parser.precedingCodepoint;this.print(O,0,O.length)}},L.prototype.sendDeviceAttributesPrimary=function(y){y.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(c.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(c.C0.ESC+"[?6c"))},L.prototype.sendDeviceAttributesSecondary=function(y){y.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(c.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(c.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(y.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(c.C0.ESC+"[>83;40003;0c"))},L.prototype._is=function(y){return(this._optionsService.options.termName+"").indexOf(y)===0},L.prototype.setMode=function(y){for(var C=0;C<y.length;C++)switch(y.params[C]){case 4:this._coreService.modes.insertMode=!0}},L.prototype.setModePrivate=function(y){for(var C=0;C<y.length;C++)switch(y.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,o.DEFAULT_CHARSET),this._charsetService.setgCharset(1,o.DEFAULT_CHARSET),this._charsetService.setgCharset(2,o.DEFAULT_CHARSET),this._charsetService.setgCharset(3,o.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},L.prototype.resetMode=function(y){for(var C=0;C<y.length;C++)switch(y.params[C]){case 4:this._coreService.modes.insertMode=!1}},L.prototype.resetModePrivate=function(y){for(var C=0;C<y.length;C++)switch(y.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),y.params[C]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},L.prototype._updateAttrColor=function(y,C,O,N,k){return C===2?(y|=50331648,y&=-16777216,y|=d.AttributeData.fromColorRGB([O,N,k])):C===5&&(y&=-50331904,y|=33554432|255&O),y},L.prototype._extractColor=function(y,C,O){var N=[0,0,-1,0,0,0],k=0,F=0;do{if(N[F+k]=y.params[C+F],y.hasSubParams(C+F)){var B=y.getSubParams(C+F),H=0;do N[1]===5&&(k=1),N[F+H+1+k]=B[H];while(++H<B.length&&H+F+1+k<N.length);break}if(N[1]===5&&F+k>=2||N[1]===2&&F+k>=5)break;N[1]&&(k=1)}while(++F+C<y.length&&F+k<N.length);for(H=2;H<N.length;++H)N[H]===-1&&(N[H]=0);switch(N[0]){case 38:O.fg=this._updateAttrColor(O.fg,N[1],N[3],N[4],N[5]);break;case 48:O.bg=this._updateAttrColor(O.bg,N[1],N[3],N[4],N[5]);break;case 58:O.extended=O.extended.clone(),O.extended.underlineColor=this._updateAttrColor(O.extended.underlineColor,N[1],N[3],N[4],N[5])}return F},L.prototype._processUnderline=function(y,C){C.extended=C.extended.clone(),(!~y||y>5)&&(y=1),C.extended.underlineStyle=y,C.fg|=268435456,y===0&&(C.fg&=-268435457),C.updateExtended()},L.prototype.charAttributes=function(y){if(y.length===1&&y.params[0]===0)return this._curAttrData.fg=r.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=r.DEFAULT_ATTR_DATA.bg);for(var C,O=y.length,N=this._curAttrData,k=0;k<O;k++)(C=y.params[k])>=30&&C<=37?(N.fg&=-50331904,N.fg|=16777216|C-30):C>=40&&C<=47?(N.bg&=-50331904,N.bg|=16777216|C-40):C>=90&&C<=97?(N.fg&=-50331904,N.fg|=16777224|C-90):C>=100&&C<=107?(N.bg&=-50331904,N.bg|=16777224|C-100):C===0?(N.fg=r.DEFAULT_ATTR_DATA.fg,N.bg=r.DEFAULT_ATTR_DATA.bg):C===1?N.fg|=134217728:C===3?N.bg|=67108864:C===4?(N.fg|=268435456,this._processUnderline(y.hasSubParams(k)?y.getSubParams(k)[0]:1,N)):C===5?N.fg|=536870912:C===7?N.fg|=67108864:C===8?N.fg|=1073741824:C===2?N.bg|=134217728:C===21?this._processUnderline(2,N):C===22?(N.fg&=-134217729,N.bg&=-134217729):C===23?N.bg&=-67108865:C===24?N.fg&=-268435457:C===25?N.fg&=-536870913:C===27?N.fg&=-67108865:C===28?N.fg&=-1073741825:C===39?(N.fg&=-67108864,N.fg|=16777215&r.DEFAULT_ATTR_DATA.fg):C===49?(N.bg&=-67108864,N.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?k+=this._extractColor(y,k,N):C===59?(N.extended=N.extended.clone(),N.extended.underlineColor=-1,N.updateExtended()):C===100?(N.fg&=-67108864,N.fg|=16777215&r.DEFAULT_ATTR_DATA.fg,N.bg&=-67108864,N.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},L.prototype.deviceStatus=function(y){switch(y.params[0]){case 5:this._coreService.triggerDataEvent(c.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"["+C+";"+O+"R")}},L.prototype.deviceStatusPrivate=function(y){switch(y.params[0]){case 6:var C=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"[?"+C+";"+O+"R")}},L.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=r.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},L.prototype.setCursorStyle=function(y){var C=y.params[0]||1;switch(C){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var O=C%2==1;this._optionsService.options.cursorBlink=O},L.prototype.setScrollRegion=function(y){var C,O=y.params[0]||1;(y.length<2||(C=y.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>O&&(this._bufferService.buffer.scrollTop=O-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},L.prototype.windowOptions=function(y){if(E(y.params[0],this._optionsService.options.windowOptions)){var C=y.length>1?y.params[1]:0;switch(y.params[0]){case 14:C!==2&&this._onRequestWindowsOptionsReport.fire(h.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(h.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(c.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:C!==0&&C!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),C!==0&&C!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:C!==0&&C!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),C!==0&&C!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},L.prototype.saveCursor=function(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},L.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()},L.prototype.setTitle=function(y){this._windowTitle=y,this._onTitleChange.fire(y)},L.prototype.setIconName=function(y){this._iconName=y},L.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},L.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},L.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},L.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,o.DEFAULT_CHARSET)},L.prototype.selectCharset=function(y){y.length===2?y[0]!=="/"&&this._charsetService.setgCharset(w[y[0]],o.CHARSETS[y[1]]||o.DEFAULT_CHARSET):this.selectDefaultCharset()},L.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()},L.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},L.prototype.reverseIndex=function(){this._restrictCursor();var y=this._bufferService.buffer;if(y.y===y.scrollTop){var C=y.scrollBottom-y.scrollTop;y.lines.shiftElements(y.ybase+y.y,C,1),y.lines.set(y.ybase+y.y,y.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(y.scrollTop,y.scrollBottom)}else y.y--,this._restrictCursor()},L.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},L.prototype.reset=function(){this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone()},L.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},L.prototype.setgLevel=function(y){this._charsetService.setgLevel(y)},L.prototype.screenAlignmentPattern=function(){var y=new s.CellData;y.content=1<<22|"E".charCodeAt(0),y.fg=this._curAttrData.fg,y.bg=this._curAttrData.bg;var C=this._bufferService.buffer;this._setCursor(0,0);for(var O=0;O<this._bufferService.rows;++O){var N=C.ybase+C.y+O,k=C.lines.get(N);k&&(k.fill(y),k.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},L}(n.Disposable);f.InputHandler=x},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DEFAULT_CHARSET=f.CHARSETS=void 0,f.CHARSETS={},f.DEFAULT_CHARSET=f.CHARSETS.B,f.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},f.CHARSETS.A={"#":"\xA3"},f.CHARSETS.B=void 0,f.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},f.CHARSETS.C=f.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},f.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},f.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},f.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},f.CHARSETS.E=f.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},f.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},f.CHARSETS.H=f.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Params=void 0;var m=function(){function v(h,c){if(h===void 0&&(h=32),c===void 0&&(c=32),this.maxLength=h,this.maxSubParamsLength=c,c>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(h),this.length=0,this._subParams=new Int32Array(c),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(h),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(h){var c=new v;if(!h.length)return c;for(var o=h[0]instanceof Array?1:0;o<h.length;++o){var i=h[o];if(i instanceof Array)for(var n=0;n<i.length;++n)c.addSubParam(i[n]);else c.addParam(i)}return c},v.prototype.clone=function(){var h=new v(this.maxLength,this.maxSubParamsLength);return h.params.set(this.params),h.length=this.length,h._subParams.set(this._subParams),h._subParamsLength=this._subParamsLength,h._subParamsIdx.set(this._subParamsIdx),h._rejectDigits=this._rejectDigits,h._rejectSubDigits=this._rejectSubDigits,h._digitIsSub=this._digitIsSub,h},v.prototype.toArray=function(){for(var h=[],c=0;c<this.length;++c){h.push(this.params[c]);var o=this._subParamsIdx[c]>>8,i=255&this._subParamsIdx[c];i-o>0&&h.push(Array.prototype.slice.call(this._subParams,o,i))}return h},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.prototype.addParam=function(h){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=h>2147483647?2147483647:h}},v.prototype.addSubParam=function(h){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=h>2147483647?2147483647:h,this._subParamsIdx[this.length-1]++}},v.prototype.hasSubParams=function(h){return(255&this._subParamsIdx[h])-(this._subParamsIdx[h]>>8)>0},v.prototype.getSubParams=function(h){var c=this._subParamsIdx[h]>>8,o=255&this._subParamsIdx[h];return o-c>0?this._subParams.subarray(c,o):null},v.prototype.getSubParamsAll=function(){for(var h={},c=0;c<this.length;++c){var o=this._subParamsIdx[c]>>8,i=255&this._subParamsIdx[c];i-o>0&&(h[c]=this._subParams.slice(o,i))}return h},v.prototype.addDigit=function(h){var c;if(!(this._rejectDigits||!(c=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var o=this._digitIsSub?this._subParams:this.params,i=o[c-1];o[c-1]=~i?Math.min(10*i+h,2147483647):h}},v}();f.Params=m},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var m=A(23),v=A(8),h=function(){function o(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return o.prototype.addHandler=function(i,n){this._handlers[i]===void 0&&(this._handlers[i]=[]);var a=this._handlers[i];return a.push(n),{dispose:function(){var r=a.indexOf(n);r!==-1&&a.splice(r,1)}}},o.prototype.setHandler=function(i,n){this._handlers[i]=[n]},o.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},o.prototype.setHandlerFallback=function(i){this._handlerFb=i},o.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},o.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},o.prototype._start=function(){var i=this._handlers[this._id];if(i)for(var n=i.length-1;n>=0;n--)i[n].start();else this._handlerFb(this._id,"START")},o.prototype._put=function(i,n,a){var u=this._handlers[this._id];if(u)for(var r=u.length-1;r>=0;r--)u[r].put(i,n,a);else this._handlerFb(this._id,"PUT",v.utf32ToString(i,n,a))},o.prototype._end=function(i){var n=this._handlers[this._id];if(n){for(var a=n.length-1;a>=0&&n[a].end(i)===!1;a--);for(a--;a>=0;a--)n[a].end(!1)}else this._handlerFb(this._id,"END",i)},o.prototype.start=function(){this.reset(),this._id=-1,this._state=1},o.prototype.put=function(i,n,a){if(this._state!==3){if(this._state===1)for(;n<a;){var u=i[n++];if(u===59){this._state=2,this._start();break}if(u<48||57<u)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+u-48}this._state===2&&a-n>0&&this._put(i,n,a)}},o.prototype.end=function(i){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(i)),this._id=-1,this._state=0)},o}();f.OscParser=h;var c=function(){function o(i){this._handler=i,this._data="",this._hitLimit=!1}return o.prototype.start=function(){this._data="",this._hitLimit=!1},o.prototype.put=function(i,n,a){this._hitLimit||(this._data+=v.utf32ToString(i,n,a),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},o.prototype.end=function(i){var n;return this._hitLimit?n=!1:i&&(n=this._handler(this._data)),this._data="",this._hitLimit=!1,n},o}();f.OscHandler=c},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var m=A(8),v=A(21),h=A(23),c=[],o=function(){function n(){this._handlers=Object.create(null),this._active=c,this._ident=0,this._handlerFb=function(){}}return n.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},n.prototype.addHandler=function(a,u){this._handlers[a]===void 0&&(this._handlers[a]=[]);var r=this._handlers[a];return r.push(u),{dispose:function(){var t=r.indexOf(u);t!==-1&&r.splice(t,1)}}},n.prototype.setHandler=function(a,u){this._handlers[a]=[u]},n.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},n.prototype.setHandlerFallback=function(a){this._handlerFb=a},n.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=c,this._ident=0},n.prototype.hook=function(a,u){if(this.reset(),this._ident=a,this._active=this._handlers[a]||c,this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].hook(u);else this._handlerFb(this._ident,"HOOK",u)},n.prototype.put=function(a,u,r){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(a,u,r);else this._handlerFb(this._ident,"PUT",m.utf32ToString(a,u,r))},n.prototype.unhook=function(a){if(this._active.length){for(var u=this._active.length-1;u>=0&&this._active[u].unhook(a)===!1;u--);for(u--;u>=0;u--)this._active[u].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",a);this._active=c,this._ident=0},n}();f.DcsParser=o;var i=function(){function n(a){this._handler=a,this._data="",this._hitLimit=!1}return n.prototype.hook=function(a){this._params=a.clone(),this._data="",this._hitLimit=!1},n.prototype.put=function(a,u,r){this._hitLimit||(this._data+=m.utf32ToString(a,u,r),this._data.length>h.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},n.prototype.unhook=function(a){var u;return this._hitLimit?u=!1:a&&(u=this._handler(this._data,this._params||new v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,u},n}();f.DcsHandler=i},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var m=A(26),v=A(43),h=[];f.acquireCharAtlas=function(c,o,i,n,a){for(var u=m.generateConfig(n,a,c,i),r=0;r<h.length;r++){var l=(t=h[r]).ownedBy.indexOf(o);if(l>=0){if(m.configEquals(t.config,u))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),h.splice(r,1)):t.ownedBy.splice(l,1);break}}for(r=0;r<h.length;r++){var t=h[r];if(m.configEquals(t.config,u))return t.ownedBy.push(o),t.atlas}var s={atlas:new v.DynamicCharAtlas(document,u),config:u,ownedBy:[o]};return h.push(s),s.atlas},f.removeTerminalFromCache=function(c){for(var o=0;o<h.length;o++){var i=h[o].ownedBy.indexOf(c);if(i!==-1){h[o].ownedBy.length===1?(h[o].atlas.dispose(),h.splice(o,1)):h[o].ownedBy.splice(i,1);break}}}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var m=A(3);f.generateConfig=function(v,h,c,o){var i={foreground:o.foreground,background:o.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:o.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:h,fontFamily:c.fontFamily,fontSize:c.fontSize,fontWeight:c.fontWeight,fontWeightBold:c.fontWeightBold,allowTransparency:c.allowTransparency,colors:i}},f.configEquals=function(v,h){for(var c=0;c<v.colors.ansi.length;c++)if(v.colors.ansi[c].rgba!==h.colors.ansi[c].rgba)return!1;return v.devicePixelRatio===h.devicePixelRatio&&v.fontFamily===h.fontFamily&&v.fontSize===h.fontSize&&v.fontWeight===h.fontWeight&&v.fontWeightBold===h.fontWeightBold&&v.allowTransparency===h.allowTransparency&&v.scaledCharWidth===h.scaledCharWidth&&v.scaledCharHeight===h.scaledCharHeight&&v.colors.foreground===h.colors.foreground&&v.colors.background===h.colors.background},f.is256Color=function(v){return v<m.DEFAULT_COLOR}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var m=A(10),v=A(45),h=m.css.toColor("#ffffff"),c=m.css.toColor("#000000"),o=m.css.toColor("#ffffff"),i=m.css.toColor("#000000"),n={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};f.DEFAULT_ANSI_COLORS=function(){for(var u=[m.css.toColor("#2e3436"),m.css.toColor("#cc0000"),m.css.toColor("#4e9a06"),m.css.toColor("#c4a000"),m.css.toColor("#3465a4"),m.css.toColor("#75507b"),m.css.toColor("#06989a"),m.css.toColor("#d3d7cf"),m.css.toColor("#555753"),m.css.toColor("#ef2929"),m.css.toColor("#8ae234"),m.css.toColor("#fce94f"),m.css.toColor("#729fcf"),m.css.toColor("#ad7fa8"),m.css.toColor("#34e2e2"),m.css.toColor("#eeeeec")],r=[0,95,135,175,215,255],l=0;l<216;l++){var t=r[l/36%6|0],s=r[l/6%6|0],d=r[l%6];u.push({css:m.channels.toCss(t,s,d),rgba:m.channels.toRgba(t,s,d)})}for(l=0;l<24;l++){var p=8+10*l;u.push({css:m.channels.toCss(p,p,p),rgba:m.channels.toRgba(p,p,p)})}return u}();var a=function(){function u(r,l){this.allowTransparency=l;var t=r.createElement("canvas");t.width=1,t.height=1;var s=t.getContext("2d");if(!s)throw new Error("Could not get rendering context");this._ctx=s,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new v.ColorContrastCache,this.colors={foreground:h,background:c,cursor:o,cursorAccent:i,selectionTransparent:n,selectionOpaque:m.color.blend(c,n),ansi:f.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return u.prototype.onOptionsChange=function(r){r==="minimumContrastRatio"&&this._contrastCache.clear()},u.prototype.setTheme=function(r){(r===void 0&&(r={}),this.colors.foreground=this._parseColor(r.foreground,h),this.colors.background=this._parseColor(r.background,c),this.colors.cursor=this._parseColor(r.cursor,o,!0),this.colors.cursorAccent=this._parseColor(r.cursorAccent,i,!0),this.colors.selectionTransparent=this._parseColor(r.selection,n,!0),this.colors.selectionOpaque=m.color.blend(this.colors.background,this.colors.selectionTransparent),m.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=m.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(r.black,f.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(r.red,f.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(r.green,f.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(r.yellow,f.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(r.blue,f.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(r.magenta,f.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(r.cyan,f.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(r.white,f.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(r.brightBlack,f.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(r.brightRed,f.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(r.brightGreen,f.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(r.brightYellow,f.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(r.brightBlue,f.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(r.brightMagenta,f.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(r.brightCyan,f.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(r.brightWhite,f.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},u.prototype._parseColor=function(r,l,t){if(t===void 0&&(t=this.allowTransparency),r===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=r,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+r+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var s=this._ctx.getImageData(0,0,1,1).data;if(s[3]!==255){if(!t)return console.warn("Color: "+r+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var d=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(x){return Number(x)}),p=d[0],b=d[1],w=d[2],E=d[3],S=Math.round(255*E);return{rgba:m.channels.toRgba(p,b,w,S),css:r}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(s[0],s[1],s[2],s[3])}},u}();f.ColorManager=a},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwIfFalsy=void 0,f.throwIfFalsy=function(m){if(!m)throw new Error("value must not be falsy");return m}},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(u,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,t){l.__proto__=t}||function(l,t){for(var s in t)t.hasOwnProperty(s)&&(l[s]=t[s])})(u,r)},function(a,u){function r(){this.constructor=a}m(a,u),a.prototype=u===null?Object.create(u):(r.prototype=u.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.CharacterJoinerRegistry=f.JoinedCellData=void 0;var h=A(6),c=A(3),o=A(4),i=function(a){function u(r,l,t){var s=a.call(this)||this;return s.content=0,s.combinedData="",s.fg=r.fg,s.bg=r.bg,s.combinedData=l,s._width=t,s}return v(u,a),u.prototype.isCombined=function(){return 2097152},u.prototype.getWidth=function(){return this._width},u.prototype.getChars=function(){return this.combinedData},u.prototype.getCode=function(){return 2097151},u.prototype.setFromCharData=function(r){throw new Error("not implemented")},u.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},u}(h.AttributeData);f.JoinedCellData=i;var n=function(){function a(u){this._bufferService=u,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new o.CellData}return a.prototype.registerCharacterJoiner=function(u){var r={id:this._nextCharacterJoinerId++,handler:u};return this._characterJoiners.push(r),r.id},a.prototype.deregisterCharacterJoiner=function(u){for(var r=0;r<this._characterJoiners.length;r++)if(this._characterJoiners[r].id===u)return this._characterJoiners.splice(r,1),!0;return!1},a.prototype.getJoinedCharacters=function(u){if(this._characterJoiners.length===0)return[];var r=this._bufferService.buffer.lines.get(u);if(!r||r.length===0)return[];for(var l=[],t=r.translateToString(!0),s=0,d=0,p=0,b=r.getFg(0),w=r.getBg(0),E=0;E<r.getTrimmedLength();E++)if(r.loadCell(E,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==b||this._workCell.bg!==w){if(E-s>1)for(var S=this._getJoinedRanges(t,p,d,r,s),x=0;x<S.length;x++)l.push(S[x]);s=E,p=d,b=this._workCell.fg,w=this._workCell.bg}d+=this._workCell.getChars().length||c.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(S=this._getJoinedRanges(t,p,d,r,s),x=0;x<S.length;x++)l.push(S[x]);return l},a.prototype._getJoinedRanges=function(u,r,l,t,s){for(var d=u.substring(r,l),p=this._characterJoiners[0].handler(d),b=1;b<this._characterJoiners.length;b++)for(var w=this._characterJoiners[b].handler(d),E=0;E<w.length;E++)a._mergeRanges(p,w[E]);return this._stringRangesToCellRanges(p,t,s),p},a.prototype._stringRangesToCellRanges=function(u,r,l){var t=0,s=!1,d=0,p=u[t];if(p){for(var b=l;b<this._bufferService.cols;b++){var w=r.getWidth(b),E=r.getString(b).length||c.WHITESPACE_CELL_CHAR.length;if(w!==0){if(!s&&p[0]<=d&&(p[0]=b,s=!0),p[1]<=d){if(p[1]=b,!(p=u[++t]))break;p[0]<=d?(p[0]=b,s=!0):s=!1}d+=E}}p&&(p[1]=this._bufferService.cols)}},a._mergeRanges=function(u,r){for(var l=!1,t=0;t<u.length;t++){var s=u[t];if(l){if(r[1]<=s[0])return u[t-1][1]=r[1],u;if(r[1]<=s[1])return u[t-1][1]=Math.max(r[1],s[1]),u.splice(t,1),u;u.splice(t,1),t--}else{if(r[1]<=s[0])return u.splice(t,0,r),u;if(r[1]<=s[1])return s[0]=Math.min(r[0],s[0]),u;r[0]<s[1]&&(s[0]=Math.min(r[0],s[0]),l=!0)}}return l?u[u.length-1][1]=r[1]:u.push(r),u},a}();f.CharacterJoinerRegistry=n},function(g,f,A){"use strict";function m(v,h){var c=h.getBoundingClientRect();return[v.clientX-c.left,v.clientY-c.top]}Object.defineProperty(f,"__esModule",{value:!0}),f.getRawByteCoords=f.getCoords=f.getCoordsRelativeToElement=void 0,f.getCoordsRelativeToElement=m,f.getCoords=function(v,h,c,o,i,n,a,u){if(i){var r=m(v,h);if(r)return r[0]=Math.ceil((r[0]+(u?n/2:0))/n),r[1]=Math.ceil(r[1]/a),r[0]=Math.min(Math.max(r[0],1),c+(u?1:0)),r[1]=Math.min(Math.max(r[1],1),o),r}},f.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.RenderDebouncer=void 0;var m=function(){function v(h){this._renderCallback=h}return v.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},v.prototype.refresh=function(h,c,o){var i=this;this._rowCount=o,h=h!==void 0?h:0,c=c!==void 0?c:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,h):h,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,c):c,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return i._innerRefresh()}))},v.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var h=Math.max(this._rowStart,0),c=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(h,c)}},v}();f.RenderDebouncer=m},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(o,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u])})(o,i)},function(c,o){function i(){this.constructor=c}m(c,o),c.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.ScreenDprMonitor=void 0;var h=function(c){function o(){var i=c!==null&&c.apply(this,arguments)||this;return i._currentDevicePixelRatio=window.devicePixelRatio,i}return v(o,c),o.prototype.setListener=function(i){var n=this;this._listener&&this.clearListener(),this._listener=i,this._outerListener=function(){n._listener&&(n._listener(window.devicePixelRatio,n._currentDevicePixelRatio),n._updateDpr())},this._updateDpr()},o.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearListener()},o.prototype._updateDpr=function(){var i;this._outerListener&&((i=this._resolutionMediaMatchList)===null||i===void 0||i.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},o.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)},o}(A(2).Disposable);f.ScreenDprMonitor=h},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.clone=void 0,f.clone=function m(v,h){if(h===void 0&&(h=5),typeof v!="object")return v;var c=Array.isArray(v)?[]:{};for(var o in v)c[o]=h<=1?v[o]:v[o]?m(v[o],h-1):v[o];return c}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var m=A(4),v=A(35),h=A(18),c=A(0),o=A(83),i=function(){function t(s){this._core=new v.Terminal(s),this._addonManager=new o.AddonManager}return t.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new r(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffer",{get:function(){return this._checkProposedApi(),new a(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),t.prototype.blur=function(){this._core.blur()},t.prototype.focus=function(){this._core.focus()},t.prototype.resize=function(s,d){this._verifyIntegers(s,d),this._core.resize(s,d)},t.prototype.open=function(s){this._core.open(s)},t.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},t.prototype.registerLinkMatcher=function(s,d,p){return this._checkProposedApi(),this._core.registerLinkMatcher(s,d,p)},t.prototype.deregisterLinkMatcher=function(s){this._checkProposedApi(),this._core.deregisterLinkMatcher(s)},t.prototype.registerLinkProvider=function(s){return this._checkProposedApi(),this._core.registerLinkProvider(s)},t.prototype.registerCharacterJoiner=function(s){return this._checkProposedApi(),this._core.registerCharacterJoiner(s)},t.prototype.deregisterCharacterJoiner=function(s){this._checkProposedApi(),this._core.deregisterCharacterJoiner(s)},t.prototype.registerMarker=function(s){return this._checkProposedApi(),this._verifyIntegers(s),this._core.addMarker(s)},t.prototype.addMarker=function(s){return this.registerMarker(s)},t.prototype.hasSelection=function(){return this._core.hasSelection()},t.prototype.select=function(s,d,p){this._verifyIntegers(s,d,p),this._core.select(s,d,p)},t.prototype.getSelection=function(){return this._core.getSelection()},t.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},t.prototype.clearSelection=function(){this._core.clearSelection()},t.prototype.selectAll=function(){this._core.selectAll()},t.prototype.selectLines=function(s,d){this._verifyIntegers(s,d),this._core.selectLines(s,d)},t.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},t.prototype.scrollLines=function(s){this._verifyIntegers(s),this._core.scrollLines(s)},t.prototype.scrollPages=function(s){this._verifyIntegers(s),this._core.scrollPages(s)},t.prototype.scrollToTop=function(){this._core.scrollToTop()},t.prototype.scrollToBottom=function(){this._core.scrollToBottom()},t.prototype.scrollToLine=function(s){this._verifyIntegers(s),this._core.scrollToLine(s)},t.prototype.clear=function(){this._core.clear()},t.prototype.write=function(s,d){this._core.write(s,d)},t.prototype.writeUtf8=function(s,d){this._core.write(s,d)},t.prototype.writeln=function(s,d){this._core.write(s),this._core.write(`\r
`,d)},t.prototype.paste=function(s){this._core.paste(s)},t.prototype.getOption=function(s){return this._core.optionsService.getOption(s)},t.prototype.setOption=function(s,d){this._core.optionsService.setOption(s,d)},t.prototype.refresh=function(s,d){this._verifyIntegers(s,d),this._core.refresh(s,d)},t.prototype.reset=function(){this._core.reset()},t.prototype.loadAddon=function(s){return this._addonManager.loadAddon(this,s)},Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];for(var p=0,b=s;p<b.length;p++){var w=b[p];if(w===1/0||isNaN(w)||w%1!=0)throw new Error("This API only accepts integers")}},t}();f.Terminal=i;var n=function(){function t(s,d){this._buffer=s,this.type=d}return t.prototype.init=function(s){return this._buffer=s,this},Object.defineProperty(t.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),t.prototype.getLine=function(s){var d=this._buffer.lines.get(s);if(d)return new u(d)},t.prototype.getNullCell=function(){return new m.CellData},t}(),a=function(){function t(s){var d=this;this._buffers=s,this._onBufferChange=new c.EventEmitter,this._normal=new n(this._buffers.normal,"normal"),this._alternate=new n(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return d._onBufferChange.fire(d.active)})}return Object.defineProperty(t.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),t}(),u=function(){function t(s){this._line=s}return Object.defineProperty(t.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),t.prototype.getCell=function(s,d){if(!(s<0||s>=this._line.length))return d?(this._line.loadCell(s,d),d):this._line.loadCell(s,new m.CellData)},t.prototype.translateToString=function(s,d,p){return this._line.translateToString(s,d,p)},t}(),r=function(){function t(s){this._core=s}return t.prototype.registerCsiHandler=function(s,d){return this._core.addCsiHandler(s,function(p){return d(p.toArray())})},t.prototype.addCsiHandler=function(s,d){return this.registerCsiHandler(s,d)},t.prototype.registerDcsHandler=function(s,d){return this._core.addDcsHandler(s,function(p,b){return d(p,b.toArray())})},t.prototype.addDcsHandler=function(s,d){return this.registerDcsHandler(s,d)},t.prototype.registerEscHandler=function(s,d){return this._core.addEscHandler(s,d)},t.prototype.addEscHandler=function(s,d){return this.registerEscHandler(s,d)},t.prototype.registerOscHandler=function(s,d){return this._core.addOscHandler(s,d)},t.prototype.addOscHandler=function(s,d){return this.registerOscHandler(s,d)},t}(),l=function(){function t(s){this._core=s}return t.prototype.register=function(s){this._core.unicodeService.register(s)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(d){this._core.unicodeService.activeVersion=d},enumerable:!1,configurable:!0}),t}()},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(R,U){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,P){j.__proto__=P}||function(j,P){for(var K in P)P.hasOwnProperty(K)&&(j[K]=P[K])})(R,U)},function(W,R){function U(){this.constructor=W}m(W,R),W.prototype=R===null?Object.create(R):(U.prototype=R.prototype,new U)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var h=A(36),c=A(37),o=A(38),i=A(12),n=A(19),a=A(40),u=A(50),r=A(51),l=A(11),t=A(7),s=A(18),d=A(54),p=A(55),b=A(56),w=A(57),E=A(59),S=A(0),x=A(16),T=A(27),L=A(60),y=A(5),C=A(61),O=A(62),N=A(63),k=A(64),F=A(65),B=typeof window!="undefined"?window.document:null,H=function(W){function R(U){U===void 0&&(U={});var j=W.call(this,U)||this;return j.browser=l,j._keyDownHandled=!1,j._onCursorMove=new S.EventEmitter,j._onKey=new S.EventEmitter,j._onRender=new S.EventEmitter,j._onSelectionChange=new S.EventEmitter,j._onTitleChange=new S.EventEmitter,j._onFocus=new S.EventEmitter,j._onBlur=new S.EventEmitter,j._onA11yCharEmitter=new S.EventEmitter,j._onA11yTabEmitter=new S.EventEmitter,j._setup(),j.linkifier=j._instantiationService.createInstance(u.Linkifier),j.linkifier2=j.register(j._instantiationService.createInstance(N.Linkifier2)),j.register(j._inputHandler.onRequestBell(function(){return j.bell()})),j.register(j._inputHandler.onRequestRefreshRows(function(P,K){return j.refresh(P,K)})),j.register(j._inputHandler.onRequestReset(function(){return j.reset()})),j.register(j._inputHandler.onRequestScroll(function(P,K){return j.scroll(P,K||void 0)})),j.register(j._inputHandler.onRequestWindowsOptionsReport(function(P){return j._reportWindowsOptions(P)})),j.register(S.forwardEvent(j._inputHandler.onCursorMove,j._onCursorMove)),j.register(S.forwardEvent(j._inputHandler.onTitleChange,j._onTitleChange)),j.register(S.forwardEvent(j._inputHandler.onA11yChar,j._onA11yCharEmitter)),j.register(S.forwardEvent(j._inputHandler.onA11yTab,j._onA11yTabEmitter)),j.register(j._bufferService.onResize(function(P){return j._afterResize(P.cols,P.rows)})),j}return v(R,W),Object.defineProperty(R.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),R.prototype.dispose=function(){var U,j,P;this._isDisposed||(W.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(P=(j=this.element)===null||j===void 0?void 0:j.parentNode)===null||P===void 0||P.removeChild(this.element))},R.prototype._setup=function(){W.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(R.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),R.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},R.prototype._updateOptions=function(U){var j,P,K,V;switch(W.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(j=this._renderService)===null||j===void 0||j.clear(),(P=this._charSizeService)===null||P===void 0||P.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":(K=this.viewport)===null||K===void 0||K.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new b.AccessibilityManager(this,this._renderService)):((V=this._accessibilityManager)===null||V===void 0||V.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},R.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},R.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},R.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},R.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),j=this._bufferService.buffer.y*U,P=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=P+"px",this.textarea.style.top=j+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=U+"px",this.textarea.style.lineHeight=U+"px",this.textarea.style.zIndex="-5"}},R.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(P){U.hasSelection()&&o.copyHandler(P,U._selectionService)}));var j=function(K){return o.handlePasteEvent(K,U.textarea,U._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",j)),this.register(t.addDisposableDomListener(this.element,"paste",j)),l.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(P){P.button===2&&o.rightClickHandler(P,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(P){o.rightClickHandler(P,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),l.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(P){P.button===1&&o.moveTextAreaUnderMouseCursor(P,U.textarea,U.screenElement)}))},R.prototype._bindKeys=function(){var U=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(j){return U._keyUp(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(j){return U._keyDown(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(j){return U._keyPress(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(j){return U._compositionHelper.compositionupdate(j)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(j){return U._queueLinkification(j.start,j.end)}))},R.prototype.open=function(U){var j=this;if(!U)throw new Error("Terminal requires a parent element.");B.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var P=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),P.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),P.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",s.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(z){return j._onTextAreaFocus(z)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return j._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var K=this._instantiationService.createInstance(k.CoreBrowserService,this.textarea);this._instantiationService.setService(y.ICoreBrowserService,K),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(y.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(h.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(P),this._theme=this.options.theme||this._theme,this._colorManager=new T.ColorManager(B,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return j._colorManager.onOptionsChange(z)})),this._colorManager.setTheme(this._theme);var V=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(L.RenderService,V,this.rows,this.screenElement)),this._instantiationService.setService(y.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return j._onRender.fire(z)})),this.onResize(function(z){return j._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(d.SoundService),this._instantiationService.setService(y.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(y.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,function(z,X){return j.scrollLines(z,X)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return j.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){j._renderService.onCursorMove(),j._syncTextArea()})),this.register(this.onResize(function(){return j._renderService.onResize(j.cols,j.rows)})),this.register(this.onBlur(function(){return j._renderService.onBlur()})),this.register(this.onFocus(function(){return j._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return j.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(r.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(y.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return j.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return j._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return j._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){j.textarea.value=z,j.textarea.focus(),j.textarea.select()})),this.register(this.onScroll(function(){j.viewport.syncScrollArea(),j._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return j._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(p.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return j._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(z){return j._selectionService.onMouseDown(z)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new b.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},R.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(a.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(w.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},R.prototype._setTheme=function(U){var j,P,K;this._theme=U,(j=this._colorManager)===null||j===void 0||j.setTheme(U),(P=this._renderService)===null||P===void 0||P.setColors(this._colorManager.colors),(K=this.viewport)===null||K===void 0||K.onThemeChange(this._colorManager.colors)},R.prototype.bindMouse=function(){var U=this,j=this,P=this.element;function K(Y){var me,we,pe=j._mouseService.getRawByteCoords(Y,j.screenElement,j.cols,j.rows);if(!pe)return!1;switch(Y.overrideType||Y.type){case"mousemove":we=32,Y.buttons===void 0?(me=3,Y.button!==void 0&&(me=Y.button<3?Y.button:3)):me=1&Y.buttons?0:4&Y.buttons?1:2&Y.buttons?2:3;break;case"mouseup":we=0,me=Y.button<3?Y.button:3;break;case"mousedown":we=1,me=Y.button<3?Y.button:3;break;case"wheel":Y.deltaY!==0&&(we=Y.deltaY<0?0:1),me=4;break;default:return!1}return!(we===void 0||me===void 0||me>4)&&j._coreMouseService.triggerMouseEvent({col:pe.x-33,row:pe.y-33,button:me,action:we,ctrl:Y.ctrlKey,alt:Y.altKey,shift:Y.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(me){return K(me),me.buttons||(U._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.removeEventListener("mousemove",V.mousedrag)),U.cancel(me)},X=function(me){return K(me),me.preventDefault(),U.cancel(me)},G=function(me){me.buttons&&K(me)},le=function(me){me.buttons||K(me)};this.register(this._coreMouseService.onProtocolChange(function(Y){Y?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(Y)),U.element.classList.add("enable-mouse-events"),U._selectionService.disable()):(U._logService.debug("Unbinding from mouse events."),U.element.classList.remove("enable-mouse-events"),U._selectionService.enable()),8&Y?V.mousemove||(P.addEventListener("mousemove",le),V.mousemove=le):(P.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&Y?V.wheel||(P.addEventListener("wheel",X,{passive:!1}),V.wheel=X):(P.removeEventListener("wheel",V.wheel),V.wheel=null),2&Y?V.mouseup||(V.mouseup=z):(U._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&Y?V.mousedrag||(V.mousedrag=G):(U._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(P,"mousedown",function(Y){if(Y.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(Y))return K(Y),V.mouseup&&U._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.addEventListener("mousemove",V.mousedrag),U.cancel(Y)})),this.register(t.addDisposableDomListener(P,"wheel",function(Y){if(!V.wheel){if(!U.buffer.hasScrollback){var me=U.viewport.getLinesScrolled(Y);if(me===0)return;for(var we=i.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Y.deltaY<0?"A":"B"),pe="",Fe=0;Fe<Math.abs(me);Fe++)pe+=we;U._coreService.triggerDataEvent(pe,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(P,"wheel",function(Y){if(!V.wheel)return U.viewport.onWheel(Y)?void 0:U.cancel(Y)},{passive:!1})),this.register(t.addDisposableDomListener(P,"touchstart",function(Y){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart(Y),U.cancel(Y)},{passive:!0})),this.register(t.addDisposableDomListener(P,"touchmove",function(Y){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove(Y)?void 0:U.cancel(Y)},{passive:!1}))},R.prototype.refresh=function(U,j){var P;(P=this._renderService)===null||P===void 0||P.refreshRows(U,j)},R.prototype._queueLinkification=function(U,j){var P;(P=this.linkifier)===null||P===void 0||P.linkifyRows(U,j)},R.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},R.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},R.prototype.scrollLines=function(U,j){W.prototype.scrollLines.call(this,U,j),this.refresh(0,this.rows-1)},R.prototype.paste=function(U){o.paste(U,this.textarea,this._coreService)},R.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},R.prototype.registerLinkMatcher=function(U,j,P){var K=this.linkifier.registerLinkMatcher(U,j,P);return this.refresh(0,this.rows-1),K},R.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},R.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},R.prototype.registerCharacterJoiner=function(U){var j=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),j},R.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(R.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),R.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},R.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},R.prototype.select=function(U,j,P){this._selectionService.setSelection(U,j,P)},R.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},R.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},R.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},R.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},R.prototype.selectLines=function(U,j){var P;(P=this._selectionService)===null||P===void 0||P.selectLines(U,j)},R.prototype._keyDown=function(U){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(!this._compositionHelper.keydown(U))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var j=E.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),j.type===3||j.type===2){var P=this.rows-1;return this.scrollLines(j.type===2?-P:P),this.cancel(U,!0)}return j.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(j.cancel&&this.cancel(U,!0),!j.key||(j.key!==i.C0.ETX&&j.key!==i.C0.CR||(this.textarea.value=""),this._onKey.fire({key:j.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(j.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},R.prototype._isThirdLevelShift=function(U,j){var P=U.isMac&&!this.options.macOptionIsMeta&&j.altKey&&!j.ctrlKey&&!j.metaKey||U.isWindows&&j.altKey&&j.ctrlKey&&!j.metaKey;return j.type==="keypress"?P:P&&(!j.keyCode||j.keyCode>47)},R.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(j){return j.keyCode===16||j.keyCode===17||j.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},R.prototype._keyPress=function(U){var j;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)j=U.charCode;else if(U.which===null||U.which===void 0)j=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;j=U.which}return!(!j||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(j=String.fromCharCode(j),this._onKey.fire({key:j,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(j,!0),!0)},R.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},R.prototype.resize=function(U,j){U!==this.cols||j!==this.rows?W.prototype.resize.call(this,U,j):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},R.prototype._afterResize=function(U,j){var P,K;(P=this._charSizeService)===null||P===void 0||P.measure(),(K=this.viewport)===null||K===void 0||K.syncScrollArea(!0)},R.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var U=1;U<this.rows;U++)this.buffer.lines.push(this.buffer.getBlankLine(x.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},R.prototype.reset=function(){var U,j;this.options.rows=this.rows,this.options.cols=this.cols;var P=this._customKeyEventHandler;this._setup(),W.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=P,this.refresh(0,this.rows-1),(j=this.viewport)===null||j===void 0||j.syncScrollArea()},R.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case n.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var j=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),P=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[4;"+P+";"+j+"t");break;case n.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var K=this._renderService.dimensions.scaledCellWidth.toFixed(0),V=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[6;"+V+";"+K+"t")}},R.prototype.cancel=function(U,j){if(this.options.cancelEvents||j)return U.preventDefault(),U.stopPropagation(),!1},R.prototype._visualBell=function(){return!1},R.prototype._soundBell=function(){return this.options.bellStyle==="sound"},R}(F.CoreTerminal);f.Terminal=H},function(g,f,A){"use strict";var m=this&&this.__decorate||function(i,n,a,u){var r,l=arguments.length,t=l<3?n:u===null?u=Object.getOwnPropertyDescriptor(n,a):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,n,a,u);else for(var s=i.length-1;s>=0;s--)(r=i[s])&&(t=(l<3?r(t):l>3?r(n,a,t):r(n,a))||t);return l>3&&t&&Object.defineProperty(n,a,t),t},v=this&&this.__param||function(i,n){return function(a,u){n(a,u,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CompositionHelper=void 0;var h=A(5),c=A(1),o=function(){function i(n,a,u,r,l,t){this._textarea=n,this._compositionView=a,this._bufferService=u,this._optionsService=r,this._charSizeService=l,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(i.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),i.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},i.prototype.compositionupdate=function(n){var a=this;this._compositionView.textContent=n.data,this.updateCompositionElements(),setTimeout(function(){a._compositionPosition.end=a._textarea.value.length},0)},i.prototype.compositionend=function(){this._finalizeComposition(!0)},i.prototype.keydown=function(n){if(this._isComposing||this._isSendingComposition){if(n.keyCode===229)return!1;if(n.keyCode===16||n.keyCode===17||n.keyCode===18)return!1;this._finalizeComposition(!1)}return n.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},i.prototype._finalizeComposition=function(n){var a=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,n){var u={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(a._isSendingComposition){a._isSendingComposition=!1;var l=void 0;l=a._isComposing?a._textarea.value.substring(u.start,u.end):a._textarea.value.substring(u.start),a._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},i.prototype._handleAnyTextareaChanges=function(){var n=this,a=this._textarea.value;setTimeout(function(){if(!n._isComposing){var u=n._textarea.value.replace(a,"");u.length>0&&n._coreService.triggerDataEvent(u,!0)}},0)},i.prototype.updateCompositionElements=function(n){var a=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var u=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*u,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=u+"px",this._compositionView.style.lineHeight=u+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=l+"px",this._textarea.style.top=r+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}n||setTimeout(function(){return a.updateCompositionElements(!0)},0)}},i=m([v(2,c.IBufferService),v(3,c.IOptionsService),v(4,h.ICharSizeService),v(5,c.ICoreService)],i)}();f.CompositionHelper=o},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var p in d)d.hasOwnProperty(p)&&(s[p]=d[p])})(l,t)},function(r,l){function t(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(r,l,t,s){var d,p=arguments.length,b=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(r,l,t,s);else for(var w=r.length-1;w>=0;w--)(d=r[w])&&(b=(p<3?d(b):p>3?d(l,t,b):d(l,t))||b);return p>3&&b&&Object.defineProperty(l,t,b),b},c=this&&this.__param||function(r,l){return function(t,s){l(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Viewport=void 0;var o=A(2),i=A(7),n=A(5),a=A(1),u=function(r){function l(t,s,d,p,b,w,E){var S=r.call(this)||this;return S._scrollLines=t,S._viewportElement=s,S._scrollArea=d,S._bufferService=p,S._optionsService=b,S._charSizeService=w,S._renderService=E,S.scrollBarWidth=0,S._currentRowHeight=0,S._lastRecordedBufferLength=0,S._lastRecordedViewportHeight=0,S._lastRecordedBufferHeight=0,S._lastTouchY=0,S._lastScrollTop=0,S._wheelPartialScroll=0,S._refreshAnimationFrame=null,S._ignoreNextScrollEvent=!1,S.scrollBarWidth=S._viewportElement.offsetWidth-S._scrollArea.offsetWidth||15,S.register(i.addDisposableDomListener(S._viewportElement,"scroll",S._onScroll.bind(S))),setTimeout(function(){return S.syncScrollArea()},0),S}return v(l,r),l.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},l.prototype._refresh=function(t){var s=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return s._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==s&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=s),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===s&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},l.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var s=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(s,!0)}},l.prototype._bubbleScroll=function(t,s){var d=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&d<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},l.prototype.onWheel=function(t){var s=this._getPixelsScrolled(t);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l.prototype._getPixelsScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_LINE?s*=this._currentRowHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._currentRowHeight*this._bufferService.rows),s},l.prototype.getLinesScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(s/=this._currentRowHeight+0,this._wheelPartialScroll+=s,s=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._bufferService.rows),s},l.prototype._applyScrollModifier=function(t,s){var d=this._optionsService.options.fastScrollModifier;return d==="alt"&&s.altKey||d==="ctrl"&&s.ctrlKey||d==="shift"&&s.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},l.prototype.onTouchMove=function(t){var s=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l=h([c(3,a.IBufferService),c(4,a.IOptionsService),c(5,n.ICharSizeService),c(6,n.IRenderService)],l)}(o.Disposable);f.Viewport=u},function(g,f,A){"use strict";function m(o){return o.replace(/\r?\n/g,"\r")}function v(o,i){return i?"[200~"+o+"[201~":o}function h(o,i,n){o=v(o=m(o),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(o,!0),i.value=""}function c(o,i,n){var a=n.getBoundingClientRect(),u=o.clientX-a.left-10,r=o.clientY-a.top-10;i.style.width="20px",i.style.height="20px",i.style.left=u+"px",i.style.top=r+"px",i.style.zIndex="1000",i.focus()}Object.defineProperty(f,"__esModule",{value:!0}),f.rightClickHandler=f.moveTextAreaUnderMouseCursor=f.paste=f.handlePasteEvent=f.copyHandler=f.bracketTextForPaste=f.prepareTextForTerminal=void 0,f.prepareTextForTerminal=m,f.bracketTextForPaste=v,f.copyHandler=function(o,i){o.clipboardData&&o.clipboardData.setData("text/plain",i.selectionText),o.preventDefault()},f.handlePasteEvent=function(o,i,n){o.stopPropagation(),o.clipboardData&&h(o.clipboardData.getData("text/plain"),i,n)},f.paste=h,f.moveTextAreaUnderMouseCursor=c,f.rightClickHandler=function(o,i,n,a,u){c(o,i,n),u&&!a.isClickInSelection(o)&&a.selectWordAtCursor(o),i.value=a.selectionText,i.select()}},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var p in d)d.hasOwnProperty(p)&&(s[p]=d[p])})(l,t)},function(r,l){function t(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.EscapeSequenceParser=f.VT500_TRANSITION_TABLE=f.TransitionTable=void 0;var h=A(2),c=A(15),o=A(21),i=A(22),n=A(24),a=function(){function r(l){this.table=new Uint8Array(l)}return r.prototype.setDefault=function(l,t){c.fill(this.table,l<<4|t)},r.prototype.add=function(l,t,s,d){this.table[t<<8|l]=s<<4|d},r.prototype.addMany=function(l,t,s,d){for(var p=0;p<l.length;p++)this.table[t<<8|l[p]]=s<<4|d},r}();f.TransitionTable=a,f.VT500_TRANSITION_TABLE=function(){var r=new a(4095),l=Array.apply(null,Array(256)).map(function(w,E){return E}),t=function(E,S){return l.slice(E,S)},s=t(32,127),d=t(0,24);d.push(25),d.push.apply(d,t(28,32));var p,b=t(0,14);for(p in r.setDefault(1,0),r.addMany(s,0,2,0),b)r.addMany([24,26,153,154],p,3,0),r.addMany(t(128,144),p,3,0),r.addMany(t(144,152),p,3,0),r.add(156,p,0,0),r.add(27,p,11,1),r.add(157,p,4,8),r.addMany([152,158,159],p,0,7),r.add(155,p,11,3),r.add(144,p,11,9);return r.addMany(d,0,3,0),r.addMany(d,1,3,1),r.add(127,1,0,1),r.addMany(d,8,0,8),r.addMany(d,3,3,3),r.add(127,3,0,3),r.addMany(d,4,3,4),r.add(127,4,0,4),r.addMany(d,6,3,6),r.addMany(d,5,3,5),r.add(127,5,0,5),r.addMany(d,2,3,2),r.add(127,2,0,2),r.add(93,1,4,8),r.addMany(s,8,5,8),r.add(127,8,5,8),r.addMany([156,27,24,26,7],8,6,0),r.addMany(t(28,32),8,0,8),r.addMany([88,94,95],1,0,7),r.addMany(s,7,0,7),r.addMany(d,7,0,7),r.add(156,7,0,0),r.add(127,7,0,7),r.add(91,1,11,3),r.addMany(t(64,127),3,7,0),r.addMany(t(48,60),3,8,4),r.addMany([60,61,62,63],3,9,4),r.addMany(t(48,60),4,8,4),r.addMany(t(64,127),4,7,0),r.addMany([60,61,62,63],4,0,6),r.addMany(t(32,64),6,0,6),r.add(127,6,0,6),r.addMany(t(64,127),6,0,0),r.addMany(t(32,48),3,9,5),r.addMany(t(32,48),5,9,5),r.addMany(t(48,64),5,0,6),r.addMany(t(64,127),5,7,0),r.addMany(t(32,48),4,9,5),r.addMany(t(32,48),1,9,2),r.addMany(t(32,48),2,9,2),r.addMany(t(48,127),2,10,0),r.addMany(t(48,80),1,10,0),r.addMany(t(81,88),1,10,0),r.addMany([89,90,92],1,10,0),r.addMany(t(96,127),1,10,0),r.add(80,1,11,9),r.addMany(d,9,0,9),r.add(127,9,0,9),r.addMany(t(28,32),9,0,9),r.addMany(t(32,48),9,9,12),r.addMany(t(48,60),9,8,10),r.addMany([60,61,62,63],9,9,10),r.addMany(d,11,0,11),r.addMany(t(32,128),11,0,11),r.addMany(t(28,32),11,0,11),r.addMany(d,10,0,10),r.add(127,10,0,10),r.addMany(t(28,32),10,0,10),r.addMany(t(48,60),10,8,10),r.addMany([60,61,62,63],10,0,11),r.addMany(t(32,48),10,9,12),r.addMany(d,12,0,12),r.add(127,12,0,12),r.addMany(t(28,32),12,0,12),r.addMany(t(32,48),12,9,12),r.addMany(t(48,64),12,0,11),r.addMany(t(64,127),12,12,13),r.addMany(t(64,127),10,12,13),r.addMany(t(64,127),9,12,13),r.addMany(d,13,13,13),r.addMany(s,13,13,13),r.add(127,13,0,13),r.addMany([27,156,24,26],13,14,0),r.add(160,0,2,0),r.add(160,8,5,8),r.add(160,6,0,6),r.add(160,11,0,11),r.add(160,13,13,13),r}();var u=function(r){function l(t){t===void 0&&(t=f.VT500_TRANSITION_TABLE);var s=r.call(this)||this;return s._transitions=t,s.initialState=0,s.currentState=s.initialState,s._params=new o.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(d,p,b){},s._executeHandlerFb=function(d){},s._csiHandlerFb=function(d,p){},s._escHandlerFb=function(d){},s._errorHandlerFb=function(d){return d},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new i.OscParser,s._dcsParser=new n.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return v(l,r),l.prototype._identifier=function(t,s){s===void 0&&(s=[64,126]);var d=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((d=t.prefix.charCodeAt(0))&&60>d||d>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var p=0;p<t.intermediates.length;++p){var b=t.intermediates.charCodeAt(p);if(32>b||b>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");d<<=8,d|=b}}if(t.final.length!==1)throw new Error("final must be a single byte");var w=t.final.charCodeAt(0);if(s[0]>w||w>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return d<<=8,d|=w},l.prototype.identToString=function(t){for(var s=[];t;)s.push(String.fromCharCode(255&t)),t>>=8;return s.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(t){this._printHandler=t},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(t,s){var d=this._identifier(t,[48,126]);this._escHandlers[d]===void 0&&(this._escHandlers[d]=[]);var p=this._escHandlers[d];return p.push(s),{dispose:function(){var w=p.indexOf(s);w!==-1&&p.splice(w,1)}}},l.prototype.setEscHandler=function(t,s){this._escHandlers[this._identifier(t,[48,126])]=[s]},l.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},l.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},l.prototype.setExecuteHandler=function(t,s){this._executeHandlers[t.charCodeAt(0)]=s},l.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},l.prototype.addCsiHandler=function(t,s){var d=this._identifier(t);this._csiHandlers[d]===void 0&&(this._csiHandlers[d]=[]);var p=this._csiHandlers[d];return p.push(s),{dispose:function(){var w=p.indexOf(s);w!==-1&&p.splice(w,1)}}},l.prototype.setCsiHandler=function(t,s){this._csiHandlers[this._identifier(t)]=[s]},l.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},l.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},l.prototype.addDcsHandler=function(t,s){return this._dcsParser.addHandler(this._identifier(t),s)},l.prototype.setDcsHandler=function(t,s){this._dcsParser.setHandler(this._identifier(t),s)},l.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},l.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},l.prototype.addOscHandler=function(t,s){return this._oscParser.addHandler(t,s)},l.prototype.setOscHandler=function(t,s){this._oscParser.setHandler(t,s)},l.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},l.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},l.prototype.setErrorHandler=function(t){this._errorHandler=t},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(t,s){for(var d=0,p=0,b=this.currentState,w=this._oscParser,E=this._dcsParser,S=this._collect,x=this._params,T=this._transitions.table,L=0;L<s;++L){switch((p=T[b<<8|((d=t[L])<160?d:160)])>>4){case 2:for(var y=L+1;;++y){if(y>=s||(d=t[y])<32||d>126&&d<160){this._printHandler(t,L,y),L=y-1;break}if(++y>=s||(d=t[y])<32||d>126&&d<160){this._printHandler(t,L,y),L=y-1;break}if(++y>=s||(d=t[y])<32||d>126&&d<160){this._printHandler(t,L,y),L=y-1;break}if(++y>=s||(d=t[y])<32||d>126&&d<160){this._printHandler(t,L,y),L=y-1;break}}break;case 3:this._executeHandlers[d]?this._executeHandlers[d]():this._executeHandlerFb(d),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:L,code:d,currentState:b,collect:S,params:x,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[S<<8|d],O=C?C.length-1:-1;O>=0&&C[O](x)===!1;O--);O<0&&this._csiHandlerFb(S<<8|d,x),this.precedingCodepoint=0;break;case 8:do switch(d){case 59:x.addParam(0);break;case 58:x.addSubParam(-1);break;default:x.addDigit(d-48)}while(++L<s&&(d=t[L])>47&&d<60);L--;break;case 9:S<<=8,S|=d;break;case 10:for(var N=this._escHandlers[S<<8|d],k=N?N.length-1:-1;k>=0&&N[k]()===!1;k--);k<0&&this._escHandlerFb(S<<8|d),this.precedingCodepoint=0;break;case 11:x.reset(),x.addParam(0),S=0;break;case 12:E.hook(S<<8|d,x);break;case 13:for(var F=L+1;;++F)if(F>=s||(d=t[F])===24||d===26||d===27||d>127&&d<160){E.put(t,L,F),L=F-1;break}break;case 14:E.unhook(d!==24&&d!==26),d===27&&(p|=1),x.reset(),x.addParam(0),S=0,this.precedingCodepoint=0;break;case 4:w.start();break;case 5:for(var B=L+1;;B++)if(B>=s||(d=t[B])<32||d>127&&d<=159){w.put(t,L,B),L=B-1;break}break;case 6:w.end(d!==24&&d!==26),d===27&&(p|=1),x.reset(),x.addParam(0),S=0,this.precedingCodepoint=0}b=15&p}this._collect=S,this.currentState=b},l}(h.Disposable);f.EscapeSequenceParser=u},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(E,S){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,T){x.__proto__=T}||function(x,T){for(var L in T)T.hasOwnProperty(L)&&(x[L]=T[L])})(E,S)},function(w,E){function S(){this.constructor=w}m(w,E),w.prototype=E===null?Object.create(E):(S.prototype=E.prototype,new S)}),h=this&&this.__decorate||function(w,E,S,x){var T,L=arguments.length,y=L<3?E:x===null?x=Object.getOwnPropertyDescriptor(E,S):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(w,E,S,x);else for(var C=w.length-1;C>=0;C--)(T=w[C])&&(y=(L<3?T(y):L>3?T(E,S,y):T(E,S))||y);return L>3&&y&&Object.defineProperty(E,S,y),y},c=this&&this.__param||function(w,E){return function(S,x){E(S,x,w)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var o=A(41),i=A(47),n=A(48),a=A(49),u=A(29),r=A(2),l=A(5),t=A(1),s=A(25),d=A(0),p=1,b=function(w){function E(S,x,T,L,y,C,O,N,k){var F=w.call(this)||this;F._colors=S,F._screenElement=x,F._bufferService=y,F._charSizeService=C,F._optionsService=O,F._id=p++,F._onRequestRedraw=new d.EventEmitter;var B=F._optionsService.options.allowTransparency;return F._characterJoinerRegistry=new u.CharacterJoinerRegistry(F._bufferService),F._renderLayers=[new o.TextRenderLayer(F._screenElement,0,F._colors,F._characterJoinerRegistry,B,F._id,F._bufferService,O),new i.SelectionRenderLayer(F._screenElement,1,F._colors,F._id,F._bufferService,O),new a.LinkRenderLayer(F._screenElement,2,F._colors,F._id,T,L,F._bufferService,O),new n.CursorRenderLayer(F._screenElement,3,F._colors,F._id,F._onRequestRedraw,F._bufferService,O,N,k)],F.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},F._devicePixelRatio=window.devicePixelRatio,F._updateDimensions(),F.onOptionsChanged(),F}return v(E,w),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){for(var S=0,x=this._renderLayers;S<x.length;S++)x[S].dispose();w.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},E.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},E.prototype.setColors=function(S){this._colors=S;for(var x=0,T=this._renderLayers;x<T.length;x++){var L=T[x];L.setColors(this._colors),L.reset()}},E.prototype.onResize=function(S,x){this._updateDimensions();for(var T=0,L=this._renderLayers;T<L.length;T++)L[T].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},E.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},E.prototype.onBlur=function(){this._runOperation(function(S){return S.onBlur()})},E.prototype.onFocus=function(){this._runOperation(function(S){return S.onFocus()})},E.prototype.onSelectionChanged=function(S,x,T){T===void 0&&(T=!1),this._runOperation(function(L){return L.onSelectionChanged(S,x,T)})},E.prototype.onCursorMove=function(){this._runOperation(function(S){return S.onCursorMove()})},E.prototype.onOptionsChanged=function(){this._runOperation(function(S){return S.onOptionsChanged()})},E.prototype.clear=function(){this._runOperation(function(S){return S.reset()})},E.prototype._runOperation=function(S){for(var x=0,T=this._renderLayers;x<T.length;x++)S(T[x])},E.prototype.renderRows=function(S,x){for(var T=0,L=this._renderLayers;T<L.length;T++)L[T].onGridChanged(S,x)},E.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},E.prototype.registerCharacterJoiner=function(S){return this._characterJoinerRegistry.registerCharacterJoiner(S)},E.prototype.deregisterCharacterJoiner=function(S){return this._characterJoinerRegistry.deregisterCharacterJoiner(S)},E=h([c(4,t.IBufferService),c(5,l.ICharSizeService),c(6,t.IOptionsService),c(7,t.ICoreService),c(8,l.ICoreBrowserService)],E)}(r.Disposable);f.Renderer=b},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var p in d)d.hasOwnProperty(p)&&(s[p]=d[p])})(l,t)},function(r,l){function t(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.TextRenderLayer=void 0;var h=A(42),c=A(13),o=A(6),i=A(3),n=A(29),a=A(4),u=function(r){function l(t,s,d,p,b,w,E,S){var x=r.call(this,t,"text",s,b,d,w,E,S)||this;return x._characterWidth=0,x._characterFont="",x._characterOverlapCache={},x._workCell=new a.CellData,x._state=new h.GridCache,x._characterJoinerRegistry=p,x}return v(l,r),l.prototype.resize=function(t){r.prototype.resize.call(this,t);var s=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===s||(this._characterWidth=t.scaledCharWidth,this._characterFont=s,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(t,s,d,p){for(var b=t;b<=s;b++)for(var w=b+this._bufferService.buffer.ydisp,E=this._bufferService.buffer.lines.get(w),S=d?d.getJoinedCharacters(w):[],x=0;x<this._bufferService.cols;x++){E.loadCell(x,this._workCell);var T=this._workCell,L=!1,y=x;if(T.getWidth()!==0){if(S.length>0&&x===S[0][0]){L=!0;var C=S.shift();T=new n.JoinedCellData(this._workCell,E.translateToString(!0,C[0],C[1]),C[1]-C[0]),y=C[1]-1}!L&&this._isOverlapping(T)&&y<E.length-1&&E.getCodePoint(y+1)===i.NULL_CELL_CODE&&(T.content&=-12582913,T.content|=2<<22),p(T,x,b),x=y}}},l.prototype._drawBackground=function(t,s){var d=this,p=this._ctx,b=this._bufferService.cols,w=0,E=0,S=null;p.save(),this._forEachCell(t,s,null,function(x,T,L){var y=null;x.isInverse()?y=x.isFgDefault()?d._colors.foreground.css:x.isFgRGB()?"rgb("+o.AttributeData.toColorRGB(x.getFgColor()).join(",")+")":d._colors.ansi[x.getFgColor()].css:x.isBgRGB()?y="rgb("+o.AttributeData.toColorRGB(x.getBgColor()).join(",")+")":x.isBgPalette()&&(y=d._colors.ansi[x.getBgColor()].css),S===null&&(w=T,E=L),L!==E?(p.fillStyle=S||"",d._fillCells(w,E,b-w,1),w=T,E=L):S!==y&&(p.fillStyle=S||"",d._fillCells(w,E,T-w,1),w=T,E=L),S=y}),S!==null&&(p.fillStyle=S,this._fillCells(w,E,b-w,1)),p.restore()},l.prototype._drawForeground=function(t,s){var d=this;this._forEachCell(t,s,this._characterJoinerRegistry,function(p,b,w){if(!p.isInvisible()&&(d._drawChars(p,b,w),p.isUnderline())){if(d._ctx.save(),p.isInverse())if(p.isBgDefault())d._ctx.fillStyle=d._colors.background.css;else if(p.isBgRGB())d._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(p.getBgColor()).join(",")+")";else{var E=p.getBgColor();d._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&E<8&&(E+=8),d._ctx.fillStyle=d._colors.ansi[E].css}else if(p.isFgDefault())d._ctx.fillStyle=d._colors.foreground.css;else if(p.isFgRGB())d._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(p.getFgColor()).join(",")+")";else{var S=p.getFgColor();d._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&S<8&&(S+=8),d._ctx.fillStyle=d._colors.ansi[S].css}d._fillBottomLineAtCells(b,w,p.getWidth()),d._ctx.restore()}})},l.prototype.onGridChanged=function(t,s){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,t,this._bufferService.cols,s-t+1),this._drawBackground(t,s),this._drawForeground(t,s))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(t){if(t.getWidth()!==1)return!1;if(t.getCode()<256)return!1;var s=t.getChars();if(this._characterOverlapCache.hasOwnProperty(s))return this._characterOverlapCache[s];this._ctx.save(),this._ctx.font=this._characterFont;var d=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=d,d},l}(c.BaseRenderLayer);f.TextRenderLayer=u},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GridCache=void 0;var m=function(){function v(){this.cache=[]}return v.prototype.resize=function(h,c){for(var o=0;o<h;o++){this.cache.length<=o&&this.cache.push([]);for(var i=this.cache[o].length;i<c;i++)this.cache[o].push(void 0);this.cache[o].length=c}this.cache.length=h},v.prototype.clear=function(){for(var h=0;h<this.cache.length;h++)for(var c=0;c<this.cache[h].length;c++)this.cache[h][c]=void 0},v}();f.GridCache=m},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(p,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,E){w.__proto__=E}||function(w,E){for(var S in E)E.hasOwnProperty(S)&&(w[S]=E[S])})(p,b)},function(d,p){function b(){this.constructor=d}m(d,p),d.prototype=p===null?Object.create(p):(b.prototype=p.prototype,new b)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var h=A(9),c=A(44),o=A(27),i=A(46),n=A(11),a=A(28),u=A(10),r={css:"rgba(0, 0, 0, 0)",rgba:0};function l(d){return d.code<<21|d.bg<<12|d.fg<<3|(d.bold?0:4)+(d.dim?0:2)+(d.italic?0:1)}f.getGlyphCacheKey=l;var t=function(d){function p(b,w){var E=d.call(this)||this;E._config=w,E._drawToCacheCount=0,E._glyphsWaitingOnBitmap=[],E._bitmapCommitTimeout=null,E._bitmap=null,E._cacheCanvas=b.createElement("canvas"),E._cacheCanvas.width=1024,E._cacheCanvas.height=1024,E._cacheCtx=a.throwIfFalsy(E._cacheCanvas.getContext("2d",{alpha:!0}));var S=b.createElement("canvas");S.width=E._config.scaledCharWidth,S.height=E._config.scaledCharHeight,E._tmpCtx=a.throwIfFalsy(S.getContext("2d",{alpha:E._config.allowTransparency})),E._width=Math.floor(1024/E._config.scaledCharWidth),E._height=Math.floor(1024/E._config.scaledCharHeight);var x=E._width*E._height;return E._cacheMap=new i.LRUMap(x),E._cacheMap.prealloc(x),E}return v(p,d),p.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},p.prototype.beginFrame=function(){this._drawToCacheCount=0},p.prototype.draw=function(b,w,E,S){if(w.code===32)return!0;if(!this._canCache(w))return!1;var x=l(w),T=this._cacheMap.get(x);if(T!=null)return this._drawFromCache(b,T,E,S),!0;if(this._drawToCacheCount<100){var L=void 0;L=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var y=this._drawToCache(w,L);return this._cacheMap.set(x,y),this._drawFromCache(b,y,E,S),!0}return!1},p.prototype._canCache=function(b){return b.code<256},p.prototype._toCoordinateX=function(b){return b%this._width*this._config.scaledCharWidth},p.prototype._toCoordinateY=function(b){return Math.floor(b/this._width)*this._config.scaledCharHeight},p.prototype._drawFromCache=function(b,w,E,S){if(!w.isEmpty){var x=this._toCoordinateX(w.index),T=this._toCoordinateY(w.index);b.drawImage(w.inBitmap?this._bitmap:this._cacheCanvas,x,T,this._config.scaledCharWidth,this._config.scaledCharHeight,E,S,this._config.scaledCharWidth,this._config.scaledCharHeight)}},p.prototype._getColorFromAnsiIndex=function(b){return b<this._config.colors.ansi.length?this._config.colors.ansi[b]:o.DEFAULT_ANSI_COLORS[b]},p.prototype._getBackgroundColor=function(b){return this._config.allowTransparency?r:b.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:b.bg<256?this._getColorFromAnsiIndex(b.bg):this._config.colors.background},p.prototype._getForegroundColor=function(b){return b.fg===h.INVERTED_DEFAULT_COLOR?u.color.opaque(this._config.colors.background):b.fg<256?this._getColorFromAnsiIndex(b.fg):this._config.colors.foreground},p.prototype._drawToCache=function(b,w){this._drawToCacheCount++,this._tmpCtx.save();var E=this._getBackgroundColor(b);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=E.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var S=b.bold?this._config.fontWeightBold:this._config.fontWeight,x=b.italic?"italic":"";this._tmpCtx.font=x+" "+S+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(b).css,b.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(b.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var T=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),L=!1;this._config.allowTransparency||(L=function(N,k){for(var F=!0,B=k.rgba>>>24,H=k.rgba>>>16&255,W=k.rgba>>>8&255,R=0;R<N.data.length;R+=4)N.data[R]===B&&N.data[R+1]===H&&N.data[R+2]===W?N.data[R+3]=0:F=!1;return F}(T,E));var y=this._toCoordinateX(w),C=this._toCoordinateY(w);this._cacheCtx.putImageData(T,y,C);var O={index:w,isEmpty:L,inBitmap:!1};return this._addGlyphToBitmap(O),O},p.prototype._addGlyphToBitmap=function(b){var w=this;!("createImageBitmap"in window)||n.isFirefox||n.isSafari||(this._glyphsWaitingOnBitmap.push(b),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return w._generateBitmap()},100)))},p.prototype._generateBitmap=function(){var b=this,w=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(E){b._bitmap=E;for(var S=0;S<w.length;S++)w[S].inBitmap=!0}),this._bitmapCommitTimeout=null},p}(c.BaseCharAtlas);f.DynamicCharAtlas=t;var s=function(d){function p(b,w){return d.call(this)||this}return v(p,d),p.prototype.draw=function(b,w,E,S){return!1},p}(c.BaseCharAtlas);f.NoneCharAtlas=s},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseCharAtlas=void 0;var m=function(){function v(){this._didWarmUp=!1}return v.prototype.dispose=function(){},v.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},v.prototype._doWarmUp=function(){},v.prototype.beginFrame=function(){},v}();f.BaseCharAtlas=m},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorContrastCache=void 0;var m=function(){function v(){this._color={},this._rgba={}}return v.prototype.clear=function(){this._color={},this._rgba={}},v.prototype.setCss=function(h,c,o){this._rgba[h]||(this._rgba[h]={}),this._rgba[h][c]=o},v.prototype.getCss=function(h,c){return this._rgba[h]?this._rgba[h][c]:void 0},v.prototype.setColor=function(h,c,o){this._color[h]||(this._color[h]={}),this._color[h][c]=o},v.prototype.getColor=function(h,c){return this._color[h]?this._color[h][c]:void 0},v}();f.ColorContrastCache=m},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LRUMap=void 0;var m=function(){function v(h){this.capacity=h,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return v.prototype._unlinkNode=function(h){var c=h.prev,o=h.next;h===this._head&&(this._head=o),h===this._tail&&(this._tail=c),c!==null&&(c.next=o),o!==null&&(o.prev=c)},v.prototype._appendNode=function(h){var c=this._tail;c!==null&&(c.next=h),h.prev=c,h.next=null,this._tail=h,this._head===null&&(this._head=h)},v.prototype.prealloc=function(h){for(var c=this._nodePool,o=0;o<h;o++)c.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(h){var c=this._map[h];return c!==void 0?(this._unlinkNode(c),this._appendNode(c),c.value):null},v.prototype.peekValue=function(h){var c=this._map[h];return c!==void 0?c.value:null},v.prototype.peek=function(){var h=this._head;return h===null?null:h.value},v.prototype.set=function(h,c){var o=this._map[h];if(o!==void 0)o=this._map[h],this._unlinkNode(o),o.value=c;else if(this.size>=this.capacity)o=this._head,this._unlinkNode(o),delete this._map[o.key],o.key=h,o.value=c,this._map[h]=o;else{var i=this._nodePool;i.length>0?((o=i.pop()).key=h,o.value=c):o={prev:null,next:null,key:h,value:c},this._map[h]=o,this.size++}this._appendNode(o)},v}();f.LRUMap=m},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(o,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u])})(o,i)},function(c,o){function i(){this.constructor=c}m(c,o),c.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionRenderLayer=void 0;var h=function(c){function o(i,n,a,u,r,l){var t=c.call(this,i,"selection",n,!0,a,u,r,l)||this;return t._clearState(),t}return v(o,c),o.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},o.prototype.resize=function(i){c.prototype.resize.call(this,i),this._clearState()},o.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},o.prototype.onSelectionChanged=function(i,n,a){if(this._didStateChange(i,n,a,this._bufferService.buffer.ydisp))if(this._clearAll(),i&&n){var u=i[1]-this._bufferService.buffer.ydisp,r=n[1]-this._bufferService.buffer.ydisp,l=Math.max(u,0),t=Math.min(r,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,a){var s=i[0],d=n[0]-s,p=t-l+1;this._fillCells(s,l,d,p)}else{s=u===l?i[0]:0;var b=l===t?n[0]:this._bufferService.cols;this._fillCells(s,l,b-s,1);var w=Math.max(t-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,w),l!==t){var E=r===t?n[0]:this._bufferService.cols;this._fillCells(0,t,E,1)}}this._state.start=[i[0],i[1]],this._state.end=[n[0],n[1]],this._state.columnSelectMode=a,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},o.prototype._didStateChange=function(i,n,a,u){return!this._areCoordinatesEqual(i,this._state.start)||!this._areCoordinatesEqual(n,this._state.end)||a!==this._state.columnSelectMode||u!==this._state.ydisp},o.prototype._areCoordinatesEqual=function(i,n){return!(!i||!n)&&i[0]===n[0]&&i[1]===n[1]},o}(A(13).BaseRenderLayer);f.SelectionRenderLayer=h},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(a,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var t in l)l.hasOwnProperty(t)&&(r[t]=l[t])})(a,u)},function(n,a){function u(){this.constructor=n}m(n,a),n.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)});Object.defineProperty(f,"__esModule",{value:!0}),f.CursorRenderLayer=void 0;var h=A(13),c=A(4),o=function(n){function a(u,r,l,t,s,d,p,b,w){var E=n.call(this,u,"cursor",r,!0,l,t,d,p)||this;return E._onRequestRedraw=s,E._coreService=b,E._coreBrowserService=w,E._cell=new c.CellData,E._state={x:0,y:0,isFocused:!1,style:"",width:0},E._cursorRenderers={bar:E._renderBarCursor.bind(E),block:E._renderBlockCursor.bind(E),underline:E._renderUnderlineCursor.bind(E)},E}return v(a,n),a.prototype.resize=function(u){n.prototype.resize.call(this,u),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},a.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},a.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onOptionsChanged=function(){var u,r=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new i(this._coreBrowserService.isFocused,function(){r._render(!0)})):((u=this._cursorBlinkStateManager)===null||u===void 0||u.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype.onGridChanged=function(u,r){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(u){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var r=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=r-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(r).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var s=this._optionsService.options.cursorStyle;return s&&s!=="block"?this._cursorRenderers[s](t,l,this._cell):this._renderBlurCursor(t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=s,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},a.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})},a.prototype._renderBarCursor=function(u,r,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(u,r,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(u,r,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(u,r,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,u,r),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(u,r,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(u,r),this._ctx.restore()},a.prototype._renderBlurCursor=function(u,r,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(u,r,l.getWidth(),1),this._ctx.restore()},a}(h.BaseRenderLayer);f.CursorRenderLayer=o;var i=function(){function n(a,u){this._renderCallback=u,this.isCursorVisible=!0,a&&this._restartInterval()}return Object.defineProperty(n.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),n.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)},n.prototype.restartBlinkAnimation=function(){var a=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0})))},n.prototype._restartInterval=function(a){var u=this;a===void 0&&(a=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(u._animationTimeRestarted){var r=600-(Date.now()-u._animationTimeRestarted);if(u._animationTimeRestarted=void 0,r>0)return void u._restartInterval(r)}u.isCursorVisible=!1,u._animationFrame=window.requestAnimationFrame(function(){u._renderCallback(),u._animationFrame=void 0}),u._blinkInterval=window.setInterval(function(){if(u._animationTimeRestarted){var l=600-(Date.now()-u._animationTimeRestarted);return u._animationTimeRestarted=void 0,void u._restartInterval(l)}u.isCursorVisible=!u.isCursorVisible,u._animationFrame=window.requestAnimationFrame(function(){u._renderCallback(),u._animationFrame=void 0})},600)},a)},n.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)},n.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},n}()},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(a,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var t in l)l.hasOwnProperty(t)&&(r[t]=l[t])})(a,u)},function(n,a){function u(){this.constructor=n}m(n,a),n.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)});Object.defineProperty(f,"__esModule",{value:!0}),f.LinkRenderLayer=void 0;var h=A(13),c=A(9),o=A(26),i=function(n){function a(u,r,l,t,s,d,p,b){var w=n.call(this,u,"link",r,!0,l,t,p,b)||this;return s.onShowLinkUnderline(function(E){return w._onShowLinkUnderline(E)}),s.onHideLinkUnderline(function(E){return w._onHideLinkUnderline(E)}),d.onShowLinkUnderline(function(E){return w._onShowLinkUnderline(E)}),d.onHideLinkUnderline(function(E){return w._onHideLinkUnderline(E)}),w}return v(a,n),a.prototype.resize=function(u){n.prototype.resize.call(this,u),this._state=void 0},a.prototype.reset=function(){this._clearCurrentLink()},a.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var u=this._state.y2-this._state.y1-1;u>0&&this._clearCells(0,this._state.y1+1,this._state.cols,u),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},a.prototype._onShowLinkUnderline=function(u){if(u.fg===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:u.fg&&o.is256Color(u.fg)?this._ctx.fillStyle=this._colors.ansi[u.fg].css:this._ctx.fillStyle=this._colors.foreground.css,u.y1===u.y2)this._fillBottomLineAtCells(u.x1,u.y1,u.x2-u.x1);else{this._fillBottomLineAtCells(u.x1,u.y1,u.cols-u.x1);for(var r=u.y1+1;r<u.y2;r++)this._fillBottomLineAtCells(0,r,u.cols);this._fillBottomLineAtCells(0,u.y2,u.x2)}this._state=u},a.prototype._onHideLinkUnderline=function(u){this._clearCurrentLink()},a}(h.BaseRenderLayer);f.LinkRenderLayer=i},function(g,f,A){"use strict";var m=this&&this.__decorate||function(n,a,u,r){var l,t=arguments.length,s=t<3?a:r===null?r=Object.getOwnPropertyDescriptor(a,u):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(n,a,u,r);else for(var d=n.length-1;d>=0;d--)(l=n[d])&&(s=(t<3?l(s):t>3?l(a,u,s):l(a,u))||s);return t>3&&s&&Object.defineProperty(a,u,s),s},v=this&&this.__param||function(n,a){return function(u,r){a(u,r,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZone=f.Linkifier=void 0;var h=A(0),c=A(1),o=function(){function n(a,u,r){this._bufferService=a,this._logService=u,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new h.EventEmitter,this._onHideLinkUnderline=new h.EventEmitter,this._onLinkTooltip=new h.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(n.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),n.prototype.attachToDom=function(a,u){this._element=a,this._mouseZoneManager=u},n.prototype.linkifyRows=function(a,u){var r=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=a,this._rowsToLinkify.end=u):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,a),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,u)),this._mouseZoneManager.clearAll(a,u),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return r._linkifyRows()},n._timeBeforeLatency))},n.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var a=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var u=a.ydisp+this._rowsToLinkify.start;if(!(u>=a.lines.length)){for(var r=a.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,u,r,l,l);t.hasNext();)for(var s=t.next(),d=0;d<this._linkMatchers.length;d++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[d]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},n.prototype.registerLinkMatcher=function(a,u,r){if(r===void 0&&(r={}),!u)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:a,handler:u,matchIndex:r.matchIndex,validationCallback:r.validationCallback,hoverTooltipCallback:r.tooltipCallback,hoverLeaveCallback:r.leaveCallback,willLinkActivate:r.willLinkActivate,priority:r.priority||0};return this._addLinkMatcherToList(l),l.id},n.prototype._addLinkMatcherToList=function(a){if(this._linkMatchers.length!==0){for(var u=this._linkMatchers.length-1;u>=0;u--)if(a.priority<=this._linkMatchers[u].priority)return void this._linkMatchers.splice(u+1,0,a);this._linkMatchers.splice(0,0,a)}else this._linkMatchers.push(a)},n.prototype.deregisterLinkMatcher=function(a){for(var u=0;u<this._linkMatchers.length;u++)if(this._linkMatchers[u].id===a)return this._linkMatchers.splice(u,1),!0;return!1},n.prototype._doLinkifyRow=function(a,u,r){for(var l,t=this,s=new RegExp(r.regex.source,(r.regex.flags||"")+"g"),d=-1,p=function(){var E=l[typeof r.matchIndex!="number"?0:r.matchIndex];if(!E)return b._logService.debug("match found without corresponding matchIndex",l,r),"break";if(d=u.indexOf(E,d+1),s.lastIndex=d+E.length,d<0)return"break";var S=b._bufferService.buffer.stringIndexToBufferIndex(a,d);if(S[0]<0)return"break";var x=b._bufferService.buffer.lines.get(S[0]);if(!x)return"break";var T=x.getFg(S[1]),L=T?T>>9&511:void 0;r.validationCallback?r.validationCallback(E,function(y){t._rowsTimeoutId||y&&t._addLink(S[1],S[0]-t._bufferService.buffer.ydisp,E,r,L)}):b._addLink(S[1],S[0]-b._bufferService.buffer.ydisp,E,r,L)},b=this;(l=s.exec(u))!==null&&!(p()==="break"););},n.prototype._addLink=function(a,u,r,l,t){var s=this;if(this._mouseZoneManager&&this._element){var d=this._unicodeService.getStringCellWidth(r),p=a%this._bufferService.cols,b=u+Math.floor(a/this._bufferService.cols),w=(p+d)%this._bufferService.cols,E=b+Math.floor((p+d)/this._bufferService.cols);w===0&&(w=this._bufferService.cols,E--),this._mouseZoneManager.add(new i(p+1,b+1,w+1,E+1,function(S){if(l.handler)return l.handler(S,r);var x=window.open();x?(x.opener=null,x.location.href=r):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(p,b,w,E,t)),s._element.classList.add("xterm-cursor-pointer")},function(S){s._onLinkTooltip.fire(s._createLinkHoverEvent(p,b,w,E,t)),l.hoverTooltipCallback&&l.hoverTooltipCallback(S,r,{start:{x:p,y:b},end:{x:w,y:E}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(p,b,w,E,t)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(S){return!l.willLinkActivate||l.willLinkActivate(S,r)}))}},n.prototype._createLinkHoverEvent=function(a,u,r,l,t){return{x1:a,y1:u,x2:r,y2:l,cols:this._bufferService.cols,fg:t}},n._timeBeforeLatency=200,n=m([v(0,c.IBufferService),v(1,c.ILogService),v(2,c.IUnicodeService)],n)}();f.Linkifier=o;var i=function(a,u,r,l,t,s,d,p,b){this.x1=a,this.y1=u,this.x2=r,this.y2=l,this.clickCallback=t,this.hoverCallback=s,this.tooltipCallback=d,this.leaveCallback=p,this.willLinkActivate=b};f.MouseZone=i},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(E,S){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,T){x.__proto__=T}||function(x,T){for(var L in T)T.hasOwnProperty(L)&&(x[L]=T[L])})(E,S)},function(w,E){function S(){this.constructor=w}m(w,E),w.prototype=E===null?Object.create(E):(S.prototype=E.prototype,new S)}),h=this&&this.__decorate||function(w,E,S,x){var T,L=arguments.length,y=L<3?E:x===null?x=Object.getOwnPropertyDescriptor(E,S):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(w,E,S,x);else for(var C=w.length-1;C>=0;C--)(T=w[C])&&(y=(L<3?T(y):L>3?T(E,S,y):T(E,S))||y);return L>3&&y&&Object.defineProperty(E,S,y),y},c=this&&this.__param||function(w,E){return function(S,x){E(S,x,w)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var o=A(11),i=A(52),n=A(4),a=A(0),u=A(5),r=A(1),l=A(30),t=A(53),s=A(2),d=String.fromCharCode(160),p=new RegExp(d,"g"),b=function(w){function E(S,x,T,L,y,C,O){var N=w.call(this)||this;return N._element=S,N._screenElement=x,N._bufferService=T,N._coreService=L,N._mouseService=y,N._optionsService=C,N._renderService=O,N._dragScrollAmount=0,N._enabled=!0,N._workCell=new n.CellData,N._mouseDownTimeStamp=0,N._onLinuxMouseSelection=N.register(new a.EventEmitter),N._onRedrawRequest=N.register(new a.EventEmitter),N._onSelectionChange=N.register(new a.EventEmitter),N._onRequestScrollLines=N.register(new a.EventEmitter),N._mouseMoveListener=function(k){return N._onMouseMove(k)},N._mouseUpListener=function(k){return N._onMouseUp(k)},N._coreService.onUserInput(function(){N.hasSelection&&N.clearSelection()}),N._trimListener=N._bufferService.buffer.lines.onTrim(function(k){return N._onTrim(k)}),N.register(N._bufferService.buffers.onBufferActivate(function(k){return N._onBufferActivate(k)})),N.enable(),N._model=new i.SelectionModel(N._bufferService),N._activeSelectionMode=0,N}return v(E,w),Object.defineProperty(E.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){this._removeMouseDownListeners()},E.prototype.reset=function(){this.clearSelection()},E.prototype.disable=function(){this.clearSelection(),this._enabled=!1},E.prototype.enable=function(){this._enabled=!0},Object.defineProperty(E.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"hasSelection",{get:function(){var x=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!(!x||!T)&&(x[0]!==T[0]||x[1]!==T[1])},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionText",{get:function(){var x=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;if(!x||!T)return"";var L=this._bufferService.buffer,y=[];if(this._activeSelectionMode===3){if(x[0]===T[0])return"";for(var C=x[1];C<=T[1];C++){var O=L.translateBufferLineToString(C,!0,x[0],T[0]);y.push(O)}}else{var N=x[1]===T[1]?T[0]:void 0;for(y.push(L.translateBufferLineToString(x[1],!0,x[0],N)),C=x[1]+1;C<=T[1]-1;C++){var k=L.lines.get(C);O=L.translateBufferLineToString(C,!0),k&&k.isWrapped?y[y.length-1]+=O:y.push(O)}x[1]!==T[1]&&(k=L.lines.get(T[1]),O=L.translateBufferLineToString(T[1],!0,0,T[0]),k&&k.isWrapped?y[y.length-1]+=O:y.push(O))}return y.map(function(F){return F.replace(p," ")}).join(o.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),E.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},E.prototype.refresh=function(S){var x=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return x._refresh()})),o.isLinux&&S)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},E.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},E.prototype.isClickInSelection=function(S){var x=this._getMouseBufferCoords(S),T=this._model.finalSelectionStart,L=this._model.finalSelectionEnd;return!!(T&&L&&x)&&this._areCoordsInSelection(x,T,L)},E.prototype._areCoordsInSelection=function(S,x,T){return S[1]>x[1]&&S[1]<T[1]||x[1]===T[1]&&S[1]===x[1]&&S[0]>=x[0]&&S[0]<T[0]||x[1]<T[1]&&S[1]===T[1]&&S[0]<T[0]||x[1]<T[1]&&S[1]===x[1]&&S[0]>=x[0]},E.prototype.selectWordAtCursor=function(S){var x=this._getMouseBufferCoords(S);x&&(this._selectWordAt(x,!1),this._model.selectionEnd=void 0,this.refresh(!0))},E.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},E.prototype.selectLines=function(S,x){this._model.clearSelection(),S=Math.max(S,0),x=Math.min(x,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,S],this._model.selectionEnd=[this._bufferService.cols,x],this.refresh(),this._onSelectionChange.fire()},E.prototype._onTrim=function(S){this._model.onTrim(S)&&this.refresh()},E.prototype._getMouseBufferCoords=function(S){var x=this._mouseService.getCoords(S,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(x)return x[0]--,x[1]--,x[1]+=this._bufferService.buffer.ydisp,x},E.prototype._getMouseEventScrollAmount=function(S){var x=l.getCoordsRelativeToElement(S,this._screenElement)[1],T=this._renderService.dimensions.canvasHeight;return x>=0&&x<=T?0:(x>T&&(x-=T),x=Math.min(Math.max(x,-50),50),(x/=50)/Math.abs(x)+Math.round(14*x))},E.prototype.shouldForceSelection=function(S){return o.isMac?S.altKey&&this._optionsService.options.macOptionClickForcesSelection:S.shiftKey},E.prototype.onMouseDown=function(S){if(this._mouseDownTimeStamp=S.timeStamp,(S.button!==2||!this.hasSelection)&&S.button===0){if(!this._enabled){if(!this.shouldForceSelection(S))return;S.stopPropagation()}S.preventDefault(),this._dragScrollAmount=0,this._enabled&&S.shiftKey?this._onIncrementalClick(S):S.detail===1?this._onSingleClick(S):S.detail===2?this._onDoubleClick(S):S.detail===3&&this._onTripleClick(S),this._addMouseDownListeners(),this.refresh(!0)}},E.prototype._addMouseDownListeners=function(){var S=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return S._dragScroll()},50)},E.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},E.prototype._onIncrementalClick=function(S){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(S))},E.prototype._onSingleClick=function(S){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(S)?3:0,this._model.selectionStart=this._getMouseBufferCoords(S),this._model.selectionStart){this._model.selectionEnd=void 0;var x=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);x&&x.length!==this._model.selectionStart[0]&&x.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},E.prototype._onDoubleClick=function(S){var x=this._getMouseBufferCoords(S);x&&(this._activeSelectionMode=1,this._selectWordAt(x,!0))},E.prototype._onTripleClick=function(S){var x=this._getMouseBufferCoords(S);x&&(this._activeSelectionMode=2,this._selectLineAt(x[1]))},E.prototype.shouldColumnSelect=function(S){return S.altKey&&!(o.isMac&&this._optionsService.options.macOptionClickForcesSelection)},E.prototype._onMouseMove=function(S){if(S.stopImmediatePropagation(),this._model.selectionStart){var x=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(S),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(S),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var T=this._bufferService.buffer;if(this._model.selectionEnd[1]<T.lines.length){var L=T.lines.get(this._model.selectionEnd[1]);L&&L.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}x&&x[0]===this._model.selectionEnd[0]&&x[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},E.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var S=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(S.ydisp+this._bufferService.rows,S.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=S.ydisp),this.refresh()}},E.prototype._onMouseUp=function(S){var x=S.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&x<500&&S.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var T=this._mouseService.getCoords(S,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(T&&T[0]!==void 0&&T[1]!==void 0){var L=t.moveToCellSequence(T[0]-1,T[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(L,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},E.prototype._onBufferActivate=function(S){var x=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=S.activeBuffer.lines.onTrim(function(T){return x._onTrim(T)})},E.prototype._convertViewportColToCharacterIndex=function(S,x){for(var T=x[0],L=0;x[0]>=L;L++){var y=S.loadCell(L,this._workCell).getChars().length;this._workCell.getWidth()===0?T--:y>1&&x[0]!==L&&(T+=y-1)}return T},E.prototype.setSelection=function(S,x,T){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[S,x],this._model.selectionStartLength=T,this.refresh()},E.prototype._getWordAt=function(S,x,T,L){if(T===void 0&&(T=!0),L===void 0&&(L=!0),!(S[0]>=this._bufferService.cols)){var y=this._bufferService.buffer,C=y.lines.get(S[1]);if(C){var O=y.translateBufferLineToString(S[1],!1),N=this._convertViewportColToCharacterIndex(C,S),k=N,F=S[0]-N,B=0,H=0,W=0,R=0;if(O.charAt(N)===" "){for(;N>0&&O.charAt(N-1)===" ";)N--;for(;k<O.length&&O.charAt(k+1)===" ";)k++}else{var U=S[0],j=S[0];C.getWidth(U)===0&&(B++,U--),C.getWidth(j)===2&&(H++,j++);var P=C.getString(j).length;for(P>1&&(R+=P-1,k+=P-1);U>0&&N>0&&!this._isCharWordSeparator(C.loadCell(U-1,this._workCell));){C.loadCell(U-1,this._workCell);var K=this._workCell.getChars().length;this._workCell.getWidth()===0?(B++,U--):K>1&&(W+=K-1,N-=K-1),N--,U--}for(;j<C.length&&k+1<O.length&&!this._isCharWordSeparator(C.loadCell(j+1,this._workCell));){C.loadCell(j+1,this._workCell);var V=this._workCell.getChars().length;this._workCell.getWidth()===2?(H++,j++):V>1&&(R+=V-1,k+=V-1),k++,j++}}k++;var z=N+F-B+W,X=Math.min(this._bufferService.cols,k-N+B+H-W-R);if(x||O.slice(N,k).trim()!==""){if(T&&z===0&&C.getCodePoint(0)!==32){var G=y.lines.get(S[1]-1);if(G&&C.isWrapped&&G.getCodePoint(this._bufferService.cols-1)!==32){var le=this._getWordAt([this._bufferService.cols-1,S[1]-1],!1,!0,!1);if(le){var Y=this._bufferService.cols-le.start;z-=Y,X+=Y}}}if(L&&z+X===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var me=y.lines.get(S[1]+1);if(me&&me.isWrapped&&me.getCodePoint(0)!==32){var we=this._getWordAt([0,S[1]+1],!1,!1,!0);we&&(X+=we.length)}}return{start:z,length:X}}}}},E.prototype._selectWordAt=function(S,x){var T=this._getWordAt(S,x);if(T){for(;T.start<0;)T.start+=this._bufferService.cols,S[1]--;this._model.selectionStart=[T.start,S[1]],this._model.selectionStartLength=T.length}},E.prototype._selectToWordAt=function(S){var x=this._getWordAt(S,!0);if(x){for(var T=S[1];x.start<0;)x.start+=this._bufferService.cols,T--;if(!this._model.areSelectionValuesReversed())for(;x.start+x.length>this._bufferService.cols;)x.length-=this._bufferService.cols,T++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?x.start:x.start+x.length,T]}},E.prototype._isCharWordSeparator=function(S){return S.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(S.getChars())>=0},E.prototype._selectLineAt=function(S){var x=this._bufferService.buffer.getWrappedRangeForLine(S);this._model.selectionStart=[0,x.first],this._model.selectionEnd=[this._bufferService.cols,x.last],this._model.selectionStartLength=0},E=h([c(2,r.IBufferService),c(3,r.ICoreService),c(4,u.IMouseService),c(5,r.IOptionsService),c(6,u.IRenderService)],E)}(s.Disposable);f.SelectionService=b},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionModel=void 0;var m=function(){function v(h){this._bufferService=h,this.isSelectAllActive=!1,this.selectionStartLength=0}return v.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(v.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var c=this.selectionStart[0]+this.selectionStartLength;return c>this._bufferService.cols?[c%this._bufferService.cols,this.selectionStart[1]+Math.floor(c/this._bufferService.cols)]:[c,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),v.prototype.areSelectionValuesReversed=function(){var h=this.selectionStart,c=this.selectionEnd;return!(!h||!c)&&(h[1]>c[1]||h[1]===c[1]&&h[0]>c[0])},v.prototype.onTrim=function(h){return this.selectionStart&&(this.selectionStart[1]-=h),this.selectionEnd&&(this.selectionEnd[1]-=h),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},v}();f.SelectionModel=m},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var m=A(12);function v(a,u,r,l){var t=a-h(r,a),s=u-h(r,u);return n(Math.abs(t-s)-function(d,p,b){for(var w=0,E=d-h(b,d),S=p-h(b,p),x=0;x<Math.abs(E-S);x++){var T=c(d,p)==="A"?-1:1,L=b.buffer.lines.get(E+T*x);L&&L.isWrapped&&w++}return w}(a,u,r),i(c(a,u),l))}function h(a,u){for(var r=0,l=a.buffer.lines.get(u),t=l&&l.isWrapped;t&&u>=0&&u<a.rows;)r++,t=(l=a.buffer.lines.get(--u))&&l.isWrapped;return r}function c(a,u){return a>u?"A":"B"}function o(a,u,r,l,t,s){for(var d=a,p=u,b="";d!==r||p!==l;)d+=t?1:-1,t&&d>s.cols-1?(b+=s.buffer.translateBufferLineToString(p,!1,a,d),d=0,a=0,p++):!t&&d<0&&(b+=s.buffer.translateBufferLineToString(p,!1,0,a+1),a=d=s.cols-1,p--);return b+s.buffer.translateBufferLineToString(p,!1,a,d)}function i(a,u){var r=u?"O":"[";return m.C0.ESC+r+a}function n(a,u){a=Math.floor(a);for(var r="",l=0;l<a;l++)r+=u;return r}f.moveToCellSequence=function(a,u,r,l){var t,s=r.buffer.x,d=r.buffer.y;if(!r.buffer.hasScrollback)return function(b,w,E,S,x,T){return v(w,S,x,T).length===0?"":n(o(b,w,b,w-h(x,w),!1,x).length,i("D",T))}(s,d,0,u,r,l)+v(d,u,r,l)+function(b,w,E,S,x,T){var L;L=v(w,S,x,T).length>0?S-h(x,S):w;var y=S,C=function(O,N,k,F,B,H){var W;return W=v(k,F,B,H).length>0?F-h(B,F):N,O<k&&W<=F||O>=k&&W<F?"C":"D"}(b,w,E,S,x,T);return n(o(b,L,E,y,C==="C",x).length,i(C,T))}(s,d,a,u,r,l);if(d===u)return t=s>a?"D":"C",n(Math.abs(s-a),i(t,l));t=d>u?"D":"C";var p=Math.abs(d-u);return n(function(b,w){return w.cols-b}(d>u?a:s,r)+(p-1)*r.cols+1+((d>u?s:a)-1),i(t,l))}},function(g,f,A){"use strict";var m=this&&this.__decorate||function(o,i,n,a){var u,r=arguments.length,l=r<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,n):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,i,n,a);else for(var t=o.length-1;t>=0;t--)(u=o[t])&&(l=(r<3?u(l):r>3?u(i,n,l):u(i,n))||l);return r>3&&l&&Object.defineProperty(i,n,l),l},v=this&&this.__param||function(o,i){return function(n,a){i(n,a,o)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SoundService=void 0;var h=A(1),c=function(){function o(i){this._optionsService=i}return Object.defineProperty(o,"audioContext",{get:function(){if(!o._audioContext){var n=window.AudioContext||window.webkitAudioContext;if(!n)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;o._audioContext=new n}return o._audioContext},enumerable:!1,configurable:!0}),o.prototype.playBellSound=function(){var i=o.audioContext;if(i){var n=i.createBufferSource();i.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(a){n.buffer=a,n.connect(i.destination),n.start(0)})}},o.prototype._base64ToArrayBuffer=function(i){for(var n=window.atob(i),a=n.length,u=new Uint8Array(a),r=0;r<a;r++)u[r]=n.charCodeAt(r);return u.buffer},o.prototype._removeMimeType=function(i){return i.split(",")[1]},o=m([v(0,h.IOptionsService)],o)}();f.SoundService=c},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var p in d)d.hasOwnProperty(p)&&(s[p]=d[p])})(l,t)},function(r,l){function t(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(r,l,t,s){var d,p=arguments.length,b=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(r,l,t,s);else for(var w=r.length-1;w>=0;w--)(d=r[w])&&(b=(p<3?d(b):p>3?d(l,t,b):d(l,t))||b);return p>3&&b&&Object.defineProperty(l,t,b),b},c=this&&this.__param||function(r,l){return function(t,s){l(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZoneManager=void 0;var o=A(2),i=A(7),n=A(5),a=A(1),u=function(r){function l(t,s,d,p,b,w){var E=r.call(this)||this;return E._element=t,E._screenElement=s,E._bufferService=d,E._mouseService=p,E._selectionService=b,E._optionsService=w,E._zones=[],E._areZonesActive=!1,E._lastHoverCoords=[void 0,void 0],E._initialSelectionLength=0,E.register(i.addDisposableDomListener(E._element,"mousedown",function(S){return E._onMouseDown(S)})),E._mouseMoveListener=function(S){return E._onMouseMove(S)},E._mouseLeaveListener=function(S){return E._onMouseLeave(S)},E._clickListener=function(S){return E._onClick(S)},E}return v(l,r),l.prototype.dispose=function(){r.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(t,s){if(this._zones.length!==0){t&&s||(t=0,s=this._bufferService.rows-1);for(var d=0;d<this._zones.length;d++){var p=this._zones[d];(p.y1>t&&p.y1<=s+1||p.y2>t&&p.y2<=s+1||p.y1<t&&p.y2>s+1)&&(this._currentZone&&this._currentZone===p&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(d--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},l.prototype._onHover=function(t){var s=this,d=this._findZoneEventAt(t);d!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),d&&(this._currentZone=d,d.hoverCallback&&d.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(t);s&&s.tooltipCallback&&s.tooltipCallback(t)},l.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var s=this._findZoneEventAt(t);(s==null?void 0:s.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(t){var s=this._findZoneEventAt(t),d=this._getSelectionLength();s&&d===this._initialSelectionLength&&(s.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},l.prototype._findZoneEventAt=function(t){var s=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var d=s[0],p=s[1],b=0;b<this._zones.length;b++){var w=this._zones[b];if(w.y1===w.y2){if(p===w.y1&&d>=w.x1&&d<w.x2)return w}else if(p===w.y1&&d>=w.x1||p===w.y2&&d<w.x2||p>w.y1&&p<w.y2)return w}},l=h([c(2,a.IBufferService),c(3,n.IMouseService),c(4,n.ISelectionService),c(5,a.IOptionsService)],l)}(o.Disposable);f.MouseZoneManager=u},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(t,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var b in p)p.hasOwnProperty(b)&&(d[b]=p[b])})(t,s)},function(l,t){function s(){this.constructor=l}m(l,t),l.prototype=t===null?Object.create(t):(s.prototype=t.prototype,new s)});Object.defineProperty(f,"__esModule",{value:!0}),f.AccessibilityManager=void 0;var h=A(18),c=A(11),o=A(31),i=A(7),n=A(2),a=A(32),u=A(17),r=function(l){function t(s,d){var p=l.call(this)||this;p._terminal=s,p._renderService=d,p._liveRegionLineCount=0,p._charsToConsume=[],p._charsToAnnounce="",p._accessibilityTreeRoot=document.createElement("div"),p._accessibilityTreeRoot.classList.add("xterm-accessibility"),p._rowContainer=document.createElement("div"),p._rowContainer.classList.add("xterm-accessibility-tree"),p._rowContainer.setAttribute("role","list"),p._rowElements=[];for(var b=0;b<p._terminal.rows;b++)p._rowElements[b]=p._createAccessibilityTreeNode(),p._rowContainer.appendChild(p._rowElements[b]);if(p._topBoundaryFocusListener=function(w){return p._onBoundaryFocus(w,0)},p._bottomBoundaryFocusListener=function(w){return p._onBoundaryFocus(w,1)},p._rowElements[0].addEventListener("focus",p._topBoundaryFocusListener),p._rowElements[p._rowElements.length-1].addEventListener("focus",p._bottomBoundaryFocusListener),p._refreshRowsDimensions(),p._accessibilityTreeRoot.appendChild(p._rowContainer),p._renderRowsDebouncer=new o.RenderDebouncer(p._renderRows.bind(p)),p._refreshRows(),p._liveRegion=document.createElement("div"),p._liveRegion.classList.add("live-region"),p._liveRegion.setAttribute("aria-live","assertive"),p._accessibilityTreeRoot.appendChild(p._liveRegion),!p._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return p._terminal.element.insertAdjacentElement("afterbegin",p._accessibilityTreeRoot),p.register(p._renderRowsDebouncer),p.register(p._terminal.onResize(function(w){return p._onResize(w.rows)})),p.register(p._terminal.onRender(function(w){return p._refreshRows(w.start,w.end)})),p.register(p._terminal.onScroll(function(){return p._refreshRows()})),p.register(p._terminal.onA11yChar(function(w){return p._onChar(w)})),p.register(p._terminal.onLineFeed(function(){return p._onChar(`
`)})),p.register(p._terminal.onA11yTab(function(w){return p._onTab(w)})),p.register(p._terminal.onKey(function(w){return p._onKey(w.key)})),p.register(p._terminal.onBlur(function(){return p._clearLiveRegion()})),p.register(p._renderService.onDimensionsChange(function(){return p._refreshRowsDimensions()})),p._screenDprMonitor=new a.ScreenDprMonitor,p.register(p._screenDprMonitor),p._screenDprMonitor.setListener(function(){return p._refreshRowsDimensions()}),p.register(i.addDisposableDomListener(window,"resize",function(){return p._refreshRowsDimensions()})),p}return v(t,l),t.prototype.dispose=function(){l.prototype.dispose.call(this),u.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(s,d){var p=s.target,b=this._rowElements[d===0?1:this._rowElements.length-2];if(p.getAttribute("aria-posinset")!==(d===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===b){var w,E;if(d===0?(w=p,E=this._rowElements.pop(),this._rowContainer.removeChild(E)):(w=this._rowElements.shift(),E=p,this._rowContainer.removeChild(w)),w.removeEventListener("focus",this._topBoundaryFocusListener),E.removeEventListener("focus",this._bottomBoundaryFocusListener),d===0){var S=this._createAccessibilityTreeNode();this._rowElements.unshift(S),this._rowContainer.insertAdjacentElement("afterbegin",S)}else S=this._createAccessibilityTreeNode(),this._rowElements.push(S),this._rowContainer.appendChild(S);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(d===0?-1:1),this._rowElements[d===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},t.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var d=this._rowContainer.children.length;d<this._terminal.rows;d++)this._rowElements[d]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[d]);for(;this._rowElements.length>s;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var s=document.createElement("div");return s.setAttribute("role","listitem"),s.tabIndex=-1,this._refreshRowDimensions(s),s},t.prototype._onTab=function(s){for(var d=0;d<s;d++)this._onChar(" ")},t.prototype._onChar=function(s){var d=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==s&&(this._charsToAnnounce+=s):this._charsToAnnounce+=s,s===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=h.tooMuchOutput)),c.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){d._accessibilityTreeRoot.appendChild(d._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,c.isMac&&u.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},t.prototype._refreshRows=function(s,d){this._renderRowsDebouncer.refresh(s,d,this._terminal.rows)},t.prototype._renderRows=function(s,d){for(var p=this._terminal.buffer,b=p.lines.length.toString(),w=s;w<=d;w++){var E=p.translateBufferLineToString(p.ydisp+w,!0),S=(p.ydisp+w+1).toString(),x=this._rowElements[w];x&&(E.length===0?x.innerHTML="&nbsp;":x.textContent=E,x.setAttribute("aria-posinset",S),x.setAttribute("aria-setsize",b))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var s=0;s<this._terminal.rows;s++)this._refreshRowDimensions(this._rowElements[s])}},t.prototype._refreshRowDimensions=function(s){s.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(n.Disposable);f.AccessibilityManager=r},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(b,w){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,S){E.__proto__=S}||function(E,S){for(var x in S)S.hasOwnProperty(x)&&(E[x]=S[x])})(b,w)},function(p,b){function w(){this.constructor=p}m(p,b),p.prototype=b===null?Object.create(b):(w.prototype=b.prototype,new w)}),h=this&&this.__decorate||function(p,b,w,E){var S,x=arguments.length,T=x<3?b:E===null?E=Object.getOwnPropertyDescriptor(b,w):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(p,b,w,E);else for(var L=p.length-1;L>=0;L--)(S=p[L])&&(T=(x<3?S(T):x>3?S(b,w,T):S(b,w))||T);return x>3&&T&&Object.defineProperty(b,w,T),T},c=this&&this.__param||function(p,b){return function(w,E){b(w,E,p)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var o=A(58),i=A(9),n=A(2),a=A(5),u=A(1),r=A(0),l=A(10),t=A(17),s=1,d=function(p){function b(w,E,S,x,T,L,y,C,O){var N=p.call(this)||this;return N._colors=w,N._element=E,N._screenElement=S,N._viewportElement=x,N._linkifier=T,N._linkifier2=L,N._charSizeService=y,N._optionsService=C,N._bufferService=O,N._terminalClass=s++,N._rowElements=[],N._rowContainer=document.createElement("div"),N._rowContainer.classList.add("xterm-rows"),N._rowContainer.style.lineHeight="normal",N._rowContainer.setAttribute("aria-hidden","true"),N._refreshRowElements(N._bufferService.cols,N._bufferService.rows),N._selectionContainer=document.createElement("div"),N._selectionContainer.classList.add("xterm-selection"),N._selectionContainer.setAttribute("aria-hidden","true"),N.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},N._updateDimensions(),N._injectCss(),N._rowFactory=new o.DomRendererRowFactory(document,N._optionsService,N._colors),N._element.classList.add("xterm-dom-renderer-owner-"+N._terminalClass),N._screenElement.appendChild(N._rowContainer),N._screenElement.appendChild(N._selectionContainer),N._linkifier.onShowLinkUnderline(function(k){return N._onLinkHover(k)}),N._linkifier.onHideLinkUnderline(function(k){return N._onLinkLeave(k)}),N._linkifier2.onShowLinkUnderline(function(k){return N._onLinkHover(k)}),N._linkifier2.onHideLinkUnderline(function(k){return N._onLinkLeave(k)}),N}return v(b,p),Object.defineProperty(b.prototype,"onRequestRedraw",{get:function(){return new r.EventEmitter().event},enumerable:!1,configurable:!0}),b.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),p.prototype.dispose.call(this)},b.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var w=0,E=this._rowElements;w<E.length;w++){var S=E[w];S.style.width=this.dimensions.canvasWidth+"px",S.style.height=this.dimensions.actualCellHeight+"px",S.style.lineHeight=this.dimensions.actualCellHeight+"px",S.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var x=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=x,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},b.prototype.setColors=function(w){this._colors=w,this._injectCss()},b.prototype._injectCss=function(){var w=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var E=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";E+=this._terminalSelector+" span:not(."+o.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+o.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+o.ITALIC_CLASS+" { font-style: italic;}",E+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",E+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",E+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+":not(."+o.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",E+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(S,x){E+=w._terminalSelector+" .xterm-fg-"+x+" { color: "+S.css+"; }"+w._terminalSelector+" .xterm-bg-"+x+" { background-color: "+S.css+"; }"}),E+=this._terminalSelector+" .xterm-fg-"+i.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+i.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=E},b.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},b.prototype._refreshRowElements=function(w,E){for(var S=this._rowElements.length;S<=E;S++){var x=document.createElement("div");this._rowContainer.appendChild(x),this._rowElements.push(x)}for(;this._rowElements.length>E;)this._rowContainer.removeChild(this._rowElements.pop())},b.prototype.onResize=function(w,E){this._refreshRowElements(w,E),this._updateDimensions()},b.prototype.onCharSizeChanged=function(){this._updateDimensions()},b.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},b.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},b.prototype.onSelectionChanged=function(w,E,S){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(w&&E){var x=w[1]-this._bufferService.buffer.ydisp,T=E[1]-this._bufferService.buffer.ydisp,L=Math.max(x,0),y=Math.min(T,this._bufferService.rows-1);if(!(L>=this._bufferService.rows||y<0)){var C=document.createDocumentFragment();if(S)C.appendChild(this._createSelectionElement(L,w[0],E[0],y-L+1));else{var O=x===L?w[0]:0,N=L===y?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(L,O,N));var k=y-L-1;if(C.appendChild(this._createSelectionElement(L+1,0,this._bufferService.cols,k)),L!==y){var F=T===y?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(y,0,F))}}this._selectionContainer.appendChild(C)}}},b.prototype._createSelectionElement=function(w,E,S,x){x===void 0&&(x=1);var T=document.createElement("div");return T.style.height=x*this.dimensions.actualCellHeight+"px",T.style.top=w*this.dimensions.actualCellHeight+"px",T.style.left=E*this.dimensions.actualCellWidth+"px",T.style.width=this.dimensions.actualCellWidth*(S-E)+"px",T},b.prototype.onCursorMove=function(){},b.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},b.prototype.clear=function(){for(var w=0,E=this._rowElements;w<E.length;w++)E[w].innerHTML=""},b.prototype.renderRows=function(w,E){for(var S=this._bufferService.buffer.ybase+this._bufferService.buffer.y,x=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),T=this._optionsService.options.cursorBlink,L=w;L<=E;L++){var y=this._rowElements[L];y.innerHTML="";var C=L+this._bufferService.buffer.ydisp,O=this._bufferService.buffer.lines.get(C),N=this._optionsService.options.cursorStyle;y.appendChild(this._rowFactory.createRow(O,C===S,N,x,T,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(b.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),b.prototype.registerCharacterJoiner=function(w){return-1},b.prototype.deregisterCharacterJoiner=function(w){return!1},b.prototype._onLinkHover=function(w){this._setCellUnderline(w.x1,w.x2,w.y1,w.y2,w.cols,!0)},b.prototype._onLinkLeave=function(w){this._setCellUnderline(w.x1,w.x2,w.y1,w.y2,w.cols,!1)},b.prototype._setCellUnderline=function(w,E,S,x,T,L){for(;w!==E||S!==x;){var y=this._rowElements[S];if(!y)return;var C=y.children[w];C&&(C.style.textDecoration=L?"underline":"none"),++w>=T&&(w=0,S++)}},b=h([c(6,a.ICharSizeService),c(7,u.IOptionsService),c(8,u.IBufferService)],b)}(n.Disposable);f.DomRenderer=d},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DomRendererRowFactory=f.CURSOR_STYLE_UNDERLINE_CLASS=f.CURSOR_STYLE_BAR_CLASS=f.CURSOR_STYLE_BLOCK_CLASS=f.CURSOR_BLINK_CLASS=f.CURSOR_CLASS=f.UNDERLINE_CLASS=f.ITALIC_CLASS=f.DIM_CLASS=f.BOLD_CLASS=void 0;var m=A(9),v=A(3),h=A(4),c=A(10);f.BOLD_CLASS="xterm-bold",f.DIM_CLASS="xterm-dim",f.ITALIC_CLASS="xterm-italic",f.UNDERLINE_CLASS="xterm-underline",f.CURSOR_CLASS="xterm-cursor",f.CURSOR_BLINK_CLASS="xterm-cursor-blink",f.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",f.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",f.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var o=function(){function n(a,u,r){this._document=a,this._optionsService=u,this._colors=r,this._workCell=new h.CellData}return n.prototype.setColors=function(a){this._colors=a},n.prototype.createRow=function(a,u,r,l,t,s,d){for(var p=this._document.createDocumentFragment(),b=0,w=Math.min(a.length,d)-1;w>=0;w--)if(a.loadCell(w,this._workCell).getCode()!==v.NULL_CELL_CODE||u&&w===l){b=w+1;break}for(w=0;w<b;w++){a.loadCell(w,this._workCell);var E=this._workCell.getWidth();if(E!==0){var S=this._document.createElement("span");if(E>1&&(S.style.width=s*E+"px"),u&&w===l)switch(S.classList.add(f.CURSOR_CLASS),t&&S.classList.add(f.CURSOR_BLINK_CLASS),r){case"bar":S.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":S.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:S.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&S.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&S.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&S.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&S.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?S.textContent=v.WHITESPACE_CELL_CHAR:S.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var x=this._workCell.getFgColor(),T=this._workCell.getFgColorMode(),L=this._workCell.getBgColor(),y=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var O=x;x=L,L=O;var N=T;T=y,y=N}switch(T){case 16777216:case 33554432:this._workCell.isBold()&&x<8&&this._optionsService.options.drawBoldTextInBrightColors&&(x+=8),this._applyMinimumContrast(S,this._colors.background,this._colors.ansi[x])||S.classList.add("xterm-fg-"+x);break;case 50331648:var k=c.rgba.toColor(x>>16&255,x>>8&255,255&x);this._applyMinimumContrast(S,this._colors.background,k)||this._addStyle(S,"color:#"+i(x.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(S,this._colors.background,this._colors.foreground)||C&&S.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(y){case 16777216:case 33554432:S.classList.add("xterm-bg-"+L);break;case 50331648:this._addStyle(S,"background-color:#"+i(L.toString(16),"0",6));break;case 0:default:C&&S.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}p.appendChild(S)}}return p},n.prototype._applyMinimumContrast=function(a,u,r){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=c.color.ensureContrastRatio(u,r,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(a,"color:"+l.css),!0)},n.prototype._addStyle=function(a,u){a.setAttribute("style",""+(a.getAttribute("style")||"")+u+";")},n}();function i(n,a,u){for(;n.length<u;)n=a+n;return n}f.DomRendererRowFactory=o},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var m=A(12),v={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};f.evaluateKeyboardEvent=function(h,c,o,i){var n={type:0,cancel:!1,key:void 0},a=(h.shiftKey?1:0)|(h.altKey?2:0)|(h.ctrlKey?4:0)|(h.metaKey?8:0);switch(h.keyCode){case 0:h.key==="UIKeyInputUpArrow"?n.key=c?m.C0.ESC+"OA":m.C0.ESC+"[A":h.key==="UIKeyInputLeftArrow"?n.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D":h.key==="UIKeyInputRightArrow"?n.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C":h.key==="UIKeyInputDownArrow"&&(n.key=c?m.C0.ESC+"OB":m.C0.ESC+"[B");break;case 8:if(h.shiftKey){n.key=m.C0.BS;break}if(h.altKey){n.key=m.C0.ESC+m.C0.DEL;break}n.key=m.C0.DEL;break;case 9:if(h.shiftKey){n.key=m.C0.ESC+"[Z";break}n.key=m.C0.HT,n.cancel=!0;break;case 13:n.key=h.altKey?m.C0.ESC+m.C0.CR:m.C0.CR,n.cancel=!0;break;case 27:n.key=m.C0.ESC,h.altKey&&(n.key=m.C0.ESC+m.C0.ESC),n.cancel=!0;break;case 37:if(h.metaKey)break;a?(n.key=m.C0.ESC+"[1;"+(a+1)+"D",n.key===m.C0.ESC+"[1;3D"&&(n.key=m.C0.ESC+(o?"b":"[1;5D"))):n.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(h.metaKey)break;a?(n.key=m.C0.ESC+"[1;"+(a+1)+"C",n.key===m.C0.ESC+"[1;3C"&&(n.key=m.C0.ESC+(o?"f":"[1;5C"))):n.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(h.metaKey)break;a?(n.key=m.C0.ESC+"[1;"+(a+1)+"A",o||n.key!==m.C0.ESC+"[1;3A"||(n.key=m.C0.ESC+"[1;5A")):n.key=c?m.C0.ESC+"OA":m.C0.ESC+"[A";break;case 40:if(h.metaKey)break;a?(n.key=m.C0.ESC+"[1;"+(a+1)+"B",o||n.key!==m.C0.ESC+"[1;3B"||(n.key=m.C0.ESC+"[1;5B")):n.key=c?m.C0.ESC+"OB":m.C0.ESC+"[B";break;case 45:h.shiftKey||h.ctrlKey||(n.key=m.C0.ESC+"[2~");break;case 46:n.key=a?m.C0.ESC+"[3;"+(a+1)+"~":m.C0.ESC+"[3~";break;case 36:n.key=a?m.C0.ESC+"[1;"+(a+1)+"H":c?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:n.key=a?m.C0.ESC+"[1;"+(a+1)+"F":c?m.C0.ESC+"OF":m.C0.ESC+"[F";break;case 33:h.shiftKey?n.type=2:n.key=m.C0.ESC+"[5~";break;case 34:h.shiftKey?n.type=3:n.key=m.C0.ESC+"[6~";break;case 112:n.key=a?m.C0.ESC+"[1;"+(a+1)+"P":m.C0.ESC+"OP";break;case 113:n.key=a?m.C0.ESC+"[1;"+(a+1)+"Q":m.C0.ESC+"OQ";break;case 114:n.key=a?m.C0.ESC+"[1;"+(a+1)+"R":m.C0.ESC+"OR";break;case 115:n.key=a?m.C0.ESC+"[1;"+(a+1)+"S":m.C0.ESC+"OS";break;case 116:n.key=a?m.C0.ESC+"[15;"+(a+1)+"~":m.C0.ESC+"[15~";break;case 117:n.key=a?m.C0.ESC+"[17;"+(a+1)+"~":m.C0.ESC+"[17~";break;case 118:n.key=a?m.C0.ESC+"[18;"+(a+1)+"~":m.C0.ESC+"[18~";break;case 119:n.key=a?m.C0.ESC+"[19;"+(a+1)+"~":m.C0.ESC+"[19~";break;case 120:n.key=a?m.C0.ESC+"[20;"+(a+1)+"~":m.C0.ESC+"[20~";break;case 121:n.key=a?m.C0.ESC+"[21;"+(a+1)+"~":m.C0.ESC+"[21~";break;case 122:n.key=a?m.C0.ESC+"[23;"+(a+1)+"~":m.C0.ESC+"[23~";break;case 123:n.key=a?m.C0.ESC+"[24;"+(a+1)+"~":m.C0.ESC+"[24~";break;default:if(!h.ctrlKey||h.shiftKey||h.altKey||h.metaKey)if(o&&!i||!h.altKey||h.metaKey)o&&!h.altKey&&!h.ctrlKey&&h.metaKey?h.keyCode===65&&(n.type=1):h.key&&!h.ctrlKey&&!h.altKey&&!h.metaKey&&h.keyCode>=48&&h.key.length===1?n.key=h.key:h.key&&h.ctrlKey&&h.key==="_"&&(n.key=m.C0.US);else{var u=v[h.keyCode],r=u&&u[h.shiftKey?1:0];if(r)n.key=m.C0.ESC+r;else if(h.keyCode>=65&&h.keyCode<=90){var l=h.ctrlKey?h.keyCode-64:h.keyCode+32;n.key=m.C0.ESC+String.fromCharCode(l)}}else h.keyCode>=65&&h.keyCode<=90?n.key=String.fromCharCode(h.keyCode-64):h.keyCode===32?n.key=m.C0.NUL:h.keyCode>=51&&h.keyCode<=55?n.key=String.fromCharCode(h.keyCode-51+27):h.keyCode===56?n.key=m.C0.DEL:h.keyCode===219?n.key=m.C0.ESC:h.keyCode===220?n.key=m.C0.FS:h.keyCode===221&&(n.key=m.C0.GS)}return n}},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(d,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,w){b.__proto__=w}||function(b,w){for(var E in w)w.hasOwnProperty(E)&&(b[E]=w[E])})(d,p)},function(s,d){function p(){this.constructor=s}m(s,d),s.prototype=d===null?Object.create(d):(p.prototype=d.prototype,new p)}),h=this&&this.__decorate||function(s,d,p,b){var w,E=arguments.length,S=E<3?d:b===null?b=Object.getOwnPropertyDescriptor(d,p):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(s,d,p,b);else for(var x=s.length-1;x>=0;x--)(w=s[x])&&(S=(E<3?w(S):E>3?w(d,p,S):w(d,p))||S);return E>3&&S&&Object.defineProperty(d,p,S),S},c=this&&this.__param||function(s,d){return function(p,b){d(p,b,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var o=A(31),i=A(0),n=A(2),a=A(32),u=A(7),r=A(1),l=A(5),t=function(s){function d(p,b,w,E,S,x){var T=s.call(this)||this;if(T._renderer=p,T._rowCount=b,T._isPaused=!1,T._needsFullRefresh=!1,T._isNextRenderRedrawOnly=!0,T._needsSelectionRefresh=!1,T._canvasWidth=0,T._canvasHeight=0,T._selectionState={start:void 0,end:void 0,columnSelectMode:!1},T._onDimensionsChange=new i.EventEmitter,T._onRender=new i.EventEmitter,T._onRefreshRequest=new i.EventEmitter,T.register({dispose:function(){return T._renderer.dispose()}}),T._renderDebouncer=new o.RenderDebouncer(function(y,C){return T._renderRows(y,C)}),T.register(T._renderDebouncer),T._screenDprMonitor=new a.ScreenDprMonitor,T._screenDprMonitor.setListener(function(){return T.onDevicePixelRatioChange()}),T.register(T._screenDprMonitor),T.register(x.onResize(function(y){return T._fullRefresh()})),T.register(E.onOptionChange(function(){return T._renderer.onOptionsChanged()})),T.register(S.onCharSizeChange(function(){return T.onCharSizeChanged()})),T._renderer.onRequestRedraw(function(y){return T.refreshRows(y.start,y.end,!0)}),T.register(u.addDisposableDomListener(window,"resize",function(){return T.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var L=new IntersectionObserver(function(y){return T._onIntersectionChange(y[y.length-1])},{threshold:0});L.observe(w),T.register({dispose:function(){return L.disconnect()}})}return T}return v(d,s),Object.defineProperty(d.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),d.prototype._onIntersectionChange=function(p){this._isPaused=p.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},d.prototype.refreshRows=function(p,b,w){w===void 0&&(w=!1),this._isPaused?this._needsFullRefresh=!0:(w||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,b,this._rowCount))},d.prototype._renderRows=function(p,b){this._renderer.renderRows(p,b),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:p,end:b}),this._isNextRenderRedrawOnly=!0},d.prototype.resize=function(p,b){this._rowCount=b,this._fireOnCanvasResize()},d.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},d.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},d.prototype.dispose=function(){s.prototype.dispose.call(this)},d.prototype.setRenderer=function(p){var b=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(w){return b.refreshRows(w.start,w.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},d.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},d.prototype.setColors=function(p){this._renderer.setColors(p),this._fullRefresh()},d.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},d.prototype.onResize=function(p,b){this._renderer.onResize(p,b),this._fullRefresh()},d.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},d.prototype.onBlur=function(){this._renderer.onBlur()},d.prototype.onFocus=function(){this._renderer.onFocus()},d.prototype.onSelectionChanged=function(p,b,w){this._selectionState.start=p,this._selectionState.end=b,this._selectionState.columnSelectMode=w,this._renderer.onSelectionChanged(p,b,w)},d.prototype.onCursorMove=function(){this._renderer.onCursorMove()},d.prototype.clear=function(){this._renderer.clear()},d.prototype.registerCharacterJoiner=function(p){return this._renderer.registerCharacterJoiner(p)},d.prototype.deregisterCharacterJoiner=function(p){return this._renderer.deregisterCharacterJoiner(p)},d=h([c(3,r.IOptionsService),c(4,l.ICharSizeService),c(5,r.IBufferService)],d)}(n.Disposable);f.RenderService=t},function(g,f,A){"use strict";var m=this&&this.__decorate||function(n,a,u,r){var l,t=arguments.length,s=t<3?a:r===null?r=Object.getOwnPropertyDescriptor(a,u):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(n,a,u,r);else for(var d=n.length-1;d>=0;d--)(l=n[d])&&(s=(t<3?l(s):t>3?l(a,u,s):l(a,u))||s);return t>3&&s&&Object.defineProperty(a,u,s),s},v=this&&this.__param||function(n,a){return function(u,r){a(u,r,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CharSizeService=void 0;var h=A(1),c=A(0),o=function(){function n(a,u,r){this._optionsService=r,this.width=0,this.height=0,this._onCharSizeChange=new c.EventEmitter,this._measureStrategy=new i(a,u,this._optionsService)}return Object.defineProperty(n.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),n.prototype.measure=function(){var a=this._measureStrategy.measure();a.width===this.width&&a.height===this.height||(this.width=a.width,this.height=a.height,this._onCharSizeChange.fire())},n=m([v(2,h.IOptionsService)],n)}();f.CharSizeService=o;var i=function(){function n(a,u,r){this._document=a,this._parentElement=u,this._optionsService=r,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 n.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var a=this._measureElement.getBoundingClientRect();return a.width!==0&&a.height!==0&&(this._result.width=a.width,this._result.height=Math.ceil(a.height)),this._result},n}()},function(g,f,A){"use strict";var m=this&&this.__decorate||function(i,n,a,u){var r,l=arguments.length,t=l<3?n:u===null?u=Object.getOwnPropertyDescriptor(n,a):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,n,a,u);else for(var s=i.length-1;s>=0;s--)(r=i[s])&&(t=(l<3?r(t):l>3?r(n,a,t):r(n,a))||t);return l>3&&t&&Object.defineProperty(n,a,t),t},v=this&&this.__param||function(i,n){return function(a,u){n(a,u,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseService=void 0;var h=A(5),c=A(30),o=function(){function i(n,a){this._renderService=n,this._charSizeService=a}return i.prototype.getCoords=function(n,a,u,r,l){return c.getCoords(n,a,u,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},i.prototype.getRawByteCoords=function(n,a,u,r){var l=this.getCoords(n,a,u,r);return c.getRawByteCoords(l)},i=m([v(0,h.IRenderService),v(1,h.ICharSizeService)],i)}();f.MouseService=o},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var p in d)d.hasOwnProperty(p)&&(s[p]=d[p])})(l,t)},function(r,l){function t(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(r,l,t,s){var d,p=arguments.length,b=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(r,l,t,s);else for(var w=r.length-1;w>=0;w--)(d=r[w])&&(b=(p<3?d(b):p>3?d(l,t,b):d(l,t))||b);return p>3&&b&&Object.defineProperty(l,t,b),b},c=this&&this.__param||function(r,l){return function(t,s){l(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Linkifier2=void 0;var o=A(1),i=A(0),n=A(2),a=A(7),u=function(r){function l(t){var s=r.call(this)||this;return s._bufferService=t,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new i.EventEmitter),s._onHideLinkUnderline=s.register(new i.EventEmitter),s.register(n.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return v(l,r),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(t){var s=this;return this._linkProviders.push(t),{dispose:function(){var p=s._linkProviders.indexOf(t);p!==-1&&s._linkProviders.splice(p,1)}}},l.prototype.attachToDom=function(t,s,d){var p=this;this._element=t,this._mouseService=s,this._renderService=d,this.register(a.addDisposableDomListener(this._element,"mouseleave",function(){p._isMouseOut=!0,p._clearCurrentLink()})),this.register(a.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(a.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);if(s){this._isMouseOut=!1;for(var d=t.composedPath(),p=0;p<d.length;p++){var b=d[p];if(b.classList.contains("xterm"))break;if(b.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},l.prototype._onHover=function(t){if(this._activeLine!==t.y)return this._clearCurrentLink(),void this._askForLink(t,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))},l.prototype._askForLink=function(t,s){var d=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=t.y);var p=!1;this._linkProviders.forEach(function(b,w){var E;s?((E=d._activeProviderReplies)===null||E===void 0?void 0:E.get(w))&&(p=d._checkLinkProviderResult(w,t,p)):b.provideLinks(t.y,function(S){var x,T;if(!d._isMouseOut){var L=S==null?void 0:S.map(function(y){return{link:y}});(x=d._activeProviderReplies)===null||x===void 0||x.set(w,L),p=d._checkLinkProviderResult(w,t,p),((T=d._activeProviderReplies)===null||T===void 0?void 0:T.size)===d._linkProviders.length&&d._removeIntersectingLinks(t.y,d._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(t,s){for(var d=new Set,p=0;p<s.size;p++){var b=s.get(p);if(b)for(var w=0;w<b.length;w++)for(var E=b[w],S=E.link.range.start.y<t?0:E.link.range.start.x,x=E.link.range.end.y>t?this._bufferService.cols:E.link.range.end.x,T=S;T<=x;T++){if(d.has(T)){b.splice(w--,1);break}d.add(T)}}},l.prototype._checkLinkProviderResult=function(t,s,d){var p,b=this;if(!this._activeProviderReplies)return d;for(var w=this._activeProviderReplies.get(t),E=!1,S=0;S<t;S++)this._activeProviderReplies.has(S)&&!this._activeProviderReplies.get(S)||(E=!0);if(!E&&w){var x=w.find(function(L){return b._linkAtPosition(L.link,s)});x&&(d=!0,this._handleNewLink(x))}if(this._activeProviderReplies.size===this._linkProviders.length&&!d)for(S=0;S<this._activeProviderReplies.size;S++){var T=(p=this._activeProviderReplies.get(S))===null||p===void 0?void 0:p.find(function(L){return b._linkAtPosition(L.link,s)});if(T){d=!0,this._handleNewLink(T);break}}return d},l.prototype._onClick=function(t){if(this._element&&this._mouseService&&this._currentLink){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);s&&this._linkAtPosition(this._currentLink.link,s)&&this._currentLink.link.activate(t,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(t,s){this._element&&this._currentLink&&this._lastMouseEvent&&(!t||!s||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=s)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,n.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(t){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var d=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);d&&this._linkAtPosition(t.link,d)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var b,w;return(w=(b=s._currentLink)===null||b===void 0?void 0:b.state)===null||w===void 0?void 0:w.decorations.pointerCursor},set:function(b){var w,E;((w=s._currentLink)===null||w===void 0?void 0:w.state)&&s._currentLink.state.decorations.pointerCursor!==b&&(s._currentLink.state.decorations.pointerCursor=b,s._currentLink.state.isHovered&&((E=s._element)===null||E===void 0||E.classList.toggle("xterm-cursor-pointer",b)))}},underline:{get:function(){var b,w;return(w=(b=s._currentLink)===null||b===void 0?void 0:b.state)===null||w===void 0?void 0:w.decorations.underline},set:function(b){var w,E,S;((w=s._currentLink)===null||w===void 0?void 0:w.state)&&((S=(E=s._currentLink)===null||E===void 0?void 0:E.state)===null||S===void 0?void 0:S.decorations.underline)!==b&&(s._currentLink.state.decorations.underline=b,s._currentLink.state.isHovered&&s._fireUnderlineEvent(t.link,b))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var b=p.start===0?0:p.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(b,p.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(t,s,d){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),s.hover&&s.hover(d,s.text)},l.prototype._fireUnderlineEvent=function(t,s){var d=t.range,p=this._bufferService.buffer.ydisp,b=this._createLinkUnderlineEvent(d.start.x-1,d.start.y-p-1,d.end.x,d.end.y-p-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(b)},l.prototype._linkLeave=function(t,s,d){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),s.leave&&s.leave(d,s.text)},l.prototype._linkAtPosition=function(t,s){var d=t.range.start.y===t.range.end.y,p=t.range.start.y<s.y,b=t.range.end.y>s.y;return(d&&t.range.start.x<=s.x&&t.range.end.x>=s.x||p&&t.range.end.x>=s.x||b&&t.range.start.x<=s.x||p&&b)&&t.range.start.y<=s.y&&t.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(t,s,d){var p=d.getCoords(t,s,this._bufferService.cols,this._bufferService.rows);if(p)return{x:p[0],y:p[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(t,s,d,p,b){return{x1:t,y1:s,x2:d,y2:p,cols:this._bufferService.cols,fg:b}},l=h([c(0,o.IBufferService)],l)}(n.Disposable);f.Linkifier2=u},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CoreBrowserService=void 0;var m=function(){function v(h){this._textarea=h}return Object.defineProperty(v.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),v}();f.CoreBrowserService=m},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(x,T){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,y){L.__proto__=y}||function(L,y){for(var C in y)y.hasOwnProperty(C)&&(L[C]=y[C])})(x,T)},function(S,x){function T(){this.constructor=S}m(S,x),S.prototype=x===null?Object.create(x):(T.prototype=x.prototype,new T)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var h=A(2),c=A(1),o=A(66),i=A(67),n=A(68),a=A(74),u=A(75),r=A(0),l=A(76),t=A(77),s=A(78),d=A(80),p=A(81),b=A(19),w=A(82),E=function(S){function x(T){var L=S.call(this)||this;return L._onBinary=new r.EventEmitter,L._onData=new r.EventEmitter,L._onLineFeed=new r.EventEmitter,L._onResize=new r.EventEmitter,L._onScroll=new r.EventEmitter,L._instantiationService=new o.InstantiationService,L.optionsService=new a.OptionsService(T),L._instantiationService.setService(c.IOptionsService,L.optionsService),L._bufferService=L.register(L._instantiationService.createInstance(n.BufferService)),L._instantiationService.setService(c.IBufferService,L._bufferService),L._logService=L._instantiationService.createInstance(i.LogService),L._instantiationService.setService(c.ILogService,L._logService),L._coreService=L.register(L._instantiationService.createInstance(u.CoreService,function(){return L.scrollToBottom()})),L._instantiationService.setService(c.ICoreService,L._coreService),L._coreMouseService=L._instantiationService.createInstance(l.CoreMouseService),L._instantiationService.setService(c.ICoreMouseService,L._coreMouseService),L._dirtyRowService=L._instantiationService.createInstance(t.DirtyRowService),L._instantiationService.setService(c.IDirtyRowService,L._dirtyRowService),L.unicodeService=L._instantiationService.createInstance(s.UnicodeService),L._instantiationService.setService(c.IUnicodeService,L.unicodeService),L._charsetService=L._instantiationService.createInstance(d.CharsetService),L._instantiationService.setService(c.ICharsetService,L._charsetService),L._inputHandler=new b.InputHandler(L._bufferService,L._charsetService,L._coreService,L._dirtyRowService,L._logService,L.optionsService,L._coreMouseService,L.unicodeService),L.register(r.forwardEvent(L._inputHandler.onLineFeed,L._onLineFeed)),L.register(L._inputHandler),L.register(r.forwardEvent(L._bufferService.onResize,L._onResize)),L.register(r.forwardEvent(L._coreService.onData,L._onData)),L.register(r.forwardEvent(L._coreService.onBinary,L._onBinary)),L.register(L.optionsService.onOptionChange(function(y){return L._updateOptions(y)})),L._writeBuffer=new w.WriteBuffer(function(y){return L._inputHandler.parse(y)}),L}return v(x,S),Object.defineProperty(x.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){var T;this._isDisposed||(S.prototype.dispose.call(this),(T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)},x.prototype.write=function(T,L){this._writeBuffer.write(T,L)},x.prototype.writeSync=function(T){this._writeBuffer.writeSync(T)},x.prototype.resize=function(T,L){isNaN(T)||isNaN(L)||(T=Math.max(T,n.MINIMUM_COLS),L=Math.max(L,n.MINIMUM_ROWS),this._bufferService.resize(T,L))},x.prototype.scroll=function(T,L){L===void 0&&(L=!1);var y,C=this._bufferService.buffer;(y=this._cachedBlankLine)&&y.length===this.cols&&y.getFg(0)===T.fg&&y.getBg(0)===T.bg||(y=C.getBlankLine(T,L),this._cachedBlankLine=y),y.isWrapped=L;var O=C.ybase+C.scrollTop,N=C.ybase+C.scrollBottom;if(C.scrollTop===0){var k=C.lines.isFull;N===C.lines.length-1?k?C.lines.recycle().copyFrom(y):C.lines.push(y.clone()):C.lines.splice(N+1,0,y.clone()),k?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var F=N-O+1;C.lines.shiftElements(O+1,F-1,-1),C.lines.set(N,y.clone())}this._bufferService.isUserScrolling||(C.ydisp=C.ybase),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom),this._onScroll.fire(C.ydisp)},x.prototype.scrollLines=function(T,L){var y=this._bufferService.buffer;if(T<0){if(y.ydisp===0)return;this._bufferService.isUserScrolling=!0}else T+y.ydisp>=y.ybase&&(this._bufferService.isUserScrolling=!1);var C=y.ydisp;y.ydisp=Math.max(Math.min(y.ydisp+T,y.ybase),0),C!==y.ydisp&&(L||this._onScroll.fire(y.ydisp))},x.prototype.scrollPages=function(T){this.scrollLines(T*(this.rows-1))},x.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},x.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},x.prototype.scrollToLine=function(T){var L=T-this._bufferService.buffer.ydisp;L!==0&&this.scrollLines(L)},x.prototype.addEscHandler=function(T,L){return this._inputHandler.addEscHandler(T,L)},x.prototype.addDcsHandler=function(T,L){return this._inputHandler.addDcsHandler(T,L)},x.prototype.addCsiHandler=function(T,L){return this._inputHandler.addCsiHandler(T,L)},x.prototype.addOscHandler=function(T,L){return this._inputHandler.addOscHandler(T,L)},x.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},x.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},x.prototype._updateOptions=function(T){var L;switch(T){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((L=this._windowsMode)===null||L===void 0||L.dispose(),this._windowsMode=void 0)}},x.prototype._enableWindowsMode=function(){var T=this;if(!this._windowsMode){var L=[];L.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),L.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(T._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,O=L;C<O.length;C++)O[C].dispose()}}}},x}(h.Disposable);f.CoreTerminal=E},function(g,f,A){"use strict";var m=this&&this.__spreadArrays||function(){for(var i=0,n=0,a=arguments.length;n<a;n++)i+=arguments[n].length;var u=Array(i),r=0;for(n=0;n<a;n++)for(var l=arguments[n],t=0,s=l.length;t<s;t++,r++)u[r]=l[t];return u};Object.defineProperty(f,"__esModule",{value:!0}),f.InstantiationService=f.ServiceCollection=void 0;var v=A(1),h=A(14),c=function(){function i(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];this._entries=new Map;for(var u=0,r=n;u<r.length;u++){var l=r[u],t=l[0],s=l[1];this.set(t,s)}}return i.prototype.set=function(n,a){var u=this._entries.get(n);return this._entries.set(n,a),u},i.prototype.forEach=function(n){this._entries.forEach(function(a,u){return n(u,a)})},i.prototype.has=function(n){return this._entries.has(n)},i.prototype.get=function(n){return this._entries.get(n)},i}();f.ServiceCollection=c;var o=function(){function i(){this._services=new c,this._services.set(v.IInstantiationService,this)}return i.prototype.setService=function(n,a){this._services.set(n,a)},i.prototype.getService=function(n){return this._services.get(n)},i.prototype.createInstance=function(n){for(var a=[],u=1;u<arguments.length;u++)a[u-1]=arguments[u];for(var r=h.getServiceDependencies(n).sort(function(w,E){return w.index-E.index}),l=[],t=0,s=r;t<s.length;t++){var d=s[t],p=this._services.get(d.id);if(!p)throw new Error("[createInstance] "+n.name+" depends on UNKNOWN service "+d.id+".");l.push(p)}var b=r.length>0?r[0].index:a.length;if(a.length!==b)throw new Error("[createInstance] First service dependency of "+n.name+" at position "+(b+1)+" conflicts with "+a.length+" static arguments");return new(n.bind.apply(n,m([void 0],m(a,l))))},i}();f.InstantiationService=o},function(g,f,A){"use strict";var m=this&&this.__decorate||function(a,u,r,l){var t,s=arguments.length,d=s<3?u:l===null?l=Object.getOwnPropertyDescriptor(u,r):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(a,u,r,l);else for(var p=a.length-1;p>=0;p--)(t=a[p])&&(d=(s<3?t(d):s>3?t(u,r,d):t(u,r))||d);return s>3&&d&&Object.defineProperty(u,r,d),d},v=this&&this.__param||function(a,u){return function(r,l){u(r,l,a)}},h=this&&this.__spreadArrays||function(){for(var a=0,u=0,r=arguments.length;u<r;u++)a+=arguments[u].length;var l=Array(a),t=0;for(u=0;u<r;u++)for(var s=arguments[u],d=0,p=s.length;d<p;d++,t++)l[t]=s[d];return l};Object.defineProperty(f,"__esModule",{value:!0}),f.LogService=f.LogLevel=void 0;var c,o=A(1);!function(a){a[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF"}(c=f.LogLevel||(f.LogLevel={}));var i={debug:c.DEBUG,info:c.INFO,warn:c.WARN,error:c.ERROR,off:c.OFF},n=function(){function a(u){var r=this;this._optionsService=u,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&r._updateLogLevel()})}return a.prototype._updateLogLevel=function(){this._logLevel=i[this._optionsService.options.logLevel]},a.prototype._evalLazyOptionalParams=function(u){for(var r=0;r<u.length;r++)typeof u[r]=="function"&&(u[r]=u[r]())},a.prototype._log=function(u,r,l){this._evalLazyOptionalParams(l),u.call.apply(u,h([console,"xterm.js: "+r],l))},a.prototype.debug=function(u){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=c.DEBUG&&this._log(console.log,u,r)},a.prototype.info=function(u){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=c.INFO&&this._log(console.info,u,r)},a.prototype.warn=function(u){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=c.WARN&&this._log(console.warn,u,r)},a.prototype.error=function(u){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=c.ERROR&&this._log(console.error,u,r)},a=m([v(0,o.IOptionsService)],a)}();f.LogService=n},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var p in d)d.hasOwnProperty(p)&&(s[p]=d[p])})(l,t)},function(r,l){function t(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(r,l,t,s){var d,p=arguments.length,b=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(r,l,t,s);else for(var w=r.length-1;w>=0;w--)(d=r[w])&&(b=(p<3?d(b):p>3?d(l,t,b):d(l,t))||b);return p>3&&b&&Object.defineProperty(l,t,b),b},c=this&&this.__param||function(r,l){return function(t,s){l(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.BufferService=f.MINIMUM_ROWS=f.MINIMUM_COLS=void 0;var o=A(1),i=A(69),n=A(0),a=A(2);f.MINIMUM_COLS=2,f.MINIMUM_ROWS=1;var u=function(r){function l(t){var s=r.call(this)||this;return s._optionsService=t,s.isUserScrolling=!1,s._onResize=new n.EventEmitter,s.cols=Math.max(t.options.cols,f.MINIMUM_COLS),s.rows=Math.max(t.options.rows,f.MINIMUM_ROWS),s.buffers=new i.BufferSet(t,s),s}return v(l,r),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){r.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(t,s){this.cols=t,this.rows=s,this.buffers.resize(t,s),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:s})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new i.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=h([c(0,o.IOptionsService)],l)}(a.Disposable);f.BufferService=u},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(n,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,r){u.__proto__=r}||function(u,r){for(var l in r)r.hasOwnProperty(l)&&(u[l]=r[l])})(n,a)},function(i,n){function a(){this.constructor=i}m(i,n),i.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)});Object.defineProperty(f,"__esModule",{value:!0}),f.BufferSet=void 0;var h=A(70),c=A(0),o=function(i){function n(a,u){var r=i.call(this)||this;return r._onBufferActivate=r.register(new c.EventEmitter),r._normal=new h.Buffer(!0,a,u),r._normal.fillViewportRows(),r._alt=new h.Buffer(!1,a,u),r._activeBuffer=r._normal,r.setupTabStops(),r}return v(n,i),Object.defineProperty(n.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),n.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}))},n.prototype.activateAltBuffer=function(a){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(a),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}))},n.prototype.resize=function(a,u){this._normal.resize(a,u),this._alt.resize(a,u)},n.prototype.setupTabStops=function(a){this._normal.setupTabStops(a),this._alt.setupTabStops(a)},n}(A(2).Disposable);f.BufferSet=o},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var m=A(71),v=A(16),h=A(4),c=A(3),o=A(72),i=A(73),n=A(20),a=A(6);f.MAX_BUFFER_SIZE=4294967295;var u=function(){function l(t,s,d){this._hasScrollback=t,this._optionsService=s,this._bufferService=d,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=v.DEFAULT_ATTR_DATA.clone(),this.savedCharset=n.DEFAULT_CHARSET,this.markers=[],this._nullCell=h.CellData.fromCharData([0,c.NULL_CELL_CHAR,c.NULL_CELL_WIDTH,c.NULL_CELL_CODE]),this._whitespaceCell=h.CellData.fromCharData([0,c.WHITESPACE_CELL_CHAR,c.WHITESPACE_CELL_WIDTH,c.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return l.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new a.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new a.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(t,s){return new v.BufferLine(this._bufferService.cols,this.getNullCell(t),s)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(t){if(!this._hasScrollback)return t;var s=t+this._optionsService.options.scrollback;return s>f.MAX_BUFFER_SIZE?f.MAX_BUFFER_SIZE:s},l.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=v.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(t))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(t,s){var d=this.getNullCell(v.DEFAULT_ATTR_DATA),p=this._getCorrectBufferLength(s);if(p>this.lines.maxLength&&(this.lines.maxLength=p),this.lines.length>0){if(this._cols<t)for(var b=0;b<this.lines.length;b++)this.lines.get(b).resize(t,d);var w=0;if(this._rows<s)for(var E=this._rows;E<s;E++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(t,d)):this.ybase>0&&this.lines.length<=this.ybase+this.y+w+1?(this.ybase--,w++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(t,d)));else for(E=this._rows;E>s;E--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(p<this.lines.maxLength){var S=this.lines.length-p;S>0&&(this.lines.trimStart(S),this.ybase=Math.max(this.ybase-S,0),this.ydisp=Math.max(this.ydisp-S,0),this.savedY=Math.max(this.savedY-S,0)),this.lines.maxLength=p}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,s-1),w&&(this.y+=w),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=s-1,this._isReflowEnabled&&(this._reflow(t,s),this._cols>t))for(b=0;b<this.lines.length;b++)this.lines.get(b).resize(t,d);this._cols=t,this._rows=s},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(t,s){this._cols!==t&&(t>this._cols?this._reflowLarger(t,s):this._reflowSmaller(t,s))},l.prototype._reflowLarger=function(t,s){var d=o.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(d.length>0){var p=o.reflowLargerCreateNewLayout(this.lines,d);o.reflowLargerApplyNewLayout(this.lines,p.layout),this._reflowLargerAdjustViewport(t,s,p.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(t,s,d){for(var p=this.getNullCell(v.DEFAULT_ATTR_DATA),b=d;b-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new v.BufferLine(t,p))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-d,0)},l.prototype._reflowSmaller=function(t,s){for(var d=this.getNullCell(v.DEFAULT_ATTR_DATA),p=[],b=0,w=this.lines.length-1;w>=0;w--){var E=this.lines.get(w);if(!(!E||!E.isWrapped&&E.getTrimmedLength()<=t)){for(var S=[E];E.isWrapped&&w>0;)E=this.lines.get(--w),S.unshift(E);var x=this.ybase+this.y;if(!(x>=w&&x<w+S.length)){var T=S[S.length-1].getTrimmedLength(),L=o.reflowSmallerGetNewLineLengths(S,this._cols,t),y=L.length-S.length,C=void 0;C=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+y):Math.max(0,this.lines.length-this.lines.maxLength+y);for(var O=[],N=0;N<y;N++){var k=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);O.push(k)}O.length>0&&(p.push({start:w+S.length+b,newLines:O}),b+=O.length),S.push.apply(S,O);var F=L.length-1,B=L[F];B===0&&(B=L[--F]);for(var H=S.length-y-1,W=T;H>=0;){var R=Math.min(W,B);if(S[F].copyCellsFrom(S[H],W-R,B-R,R,!0),(B-=R)===0&&(B=L[--F]),(W-=R)===0){H--;var U=Math.max(H,0);W=o.getWrappedLineTrimmedLength(S,U,this._cols)}}for(N=0;N<S.length;N++)L[N]<t&&S[N].setCell(L[N],d);for(var j=y-C;j-- >0;)this.ybase===0?this.y<s-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+b)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+y,this.ybase+s-1)}}}if(p.length>0){var P=[],K=[];for(N=0;N<this.lines.length;N++)K.push(this.lines.get(N));var V=this.lines.length,z=V-1,X=0,G=p[X];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+b);var le=0;for(N=Math.min(this.lines.maxLength-1,V+b-1);N>=0;N--)if(G&&G.start>z+le){for(var Y=G.newLines.length-1;Y>=0;Y--)this.lines.set(N--,G.newLines[Y]);N++,P.push({index:z+1,amount:G.newLines.length}),le+=G.newLines.length,G=p[++X]}else this.lines.set(N,K[z--]);var me=0;for(N=P.length-1;N>=0;N--)P[N].index+=me,this.lines.onInsertEmitter.fire(P[N]),me+=P[N].amount;var we=Math.max(0,V+b-this.lines.maxLength);we>0&&this.lines.onTrimEmitter.fire(we)}},l.prototype.stringIndexToBufferIndex=function(t,s,d){for(d===void 0&&(d=!1);s;){var p=this.lines.get(t);if(!p)return[-1,-1];for(var b=d?p.getTrimmedLength():p.length,w=0;w<b;++w)if(p.get(w)[c.CHAR_DATA_WIDTH_INDEX]&&(s-=p.get(w)[c.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[t,w];t++}return[t,0]},l.prototype.translateBufferLineToString=function(t,s,d,p){d===void 0&&(d=0);var b=this.lines.get(t);return b?b.translateToString(s,d,p):""},l.prototype.getWrappedRangeForLine=function(t){for(var s=t,d=t;s>0&&this.lines.get(s).isWrapped;)s--;for(;d+1<this.lines.length&&this.lines.get(d+1).isWrapped;)d++;return{first:s,last:d}},l.prototype.setupTabStops=function(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.options.tabStopWidth)this.tabs[t]=!0},l.prototype.prevStop=function(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.addMarker=function(t){var s=this,d=new i.Marker(t);return this.markers.push(d),d.register(this.lines.onTrim(function(p){d.line-=p,d.line<0&&d.dispose()})),d.register(this.lines.onInsert(function(p){d.line>=p.index&&(d.line+=p.amount)})),d.register(this.lines.onDelete(function(p){d.line>=p.index&&d.line<p.index+p.amount&&d.dispose(),d.line>p.index&&(d.line-=p.amount)})),d.register(d.onDispose(function(){return s._removeMarker(d)})),d},l.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},l.prototype.iterator=function(t,s,d,p,b){return new r(this,t,s,d,p,b)},l}();f.Buffer=u;var r=function(){function l(t,s,d,p,b,w){d===void 0&&(d=0),p===void 0&&(p=t.lines.length),b===void 0&&(b=0),w===void 0&&(w=0),this._buffer=t,this._trimRight=s,this._startIndex=d,this._endIndex=p,this._startOverscan=b,this._endOverscan=w,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var t=this._buffer.getWrappedRangeForLine(this._current);t.first<this._startIndex-this._startOverscan&&(t.first=this._startIndex-this._startOverscan),t.last>this._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var s="",d=t.first;d<=t.last;++d)s+=this._buffer.translateBufferLineToString(d,this._trimRight);return this._current=t.last+1,{range:t,content:s}},l}();f.BufferStringIterator=r},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var m=A(0),v=function(){function h(c){this._maxLength=c,this.onDeleteEmitter=new m.EventEmitter,this.onInsertEmitter=new m.EventEmitter,this.onTrimEmitter=new m.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(h.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maxLength",{get:function(){return this._maxLength},set:function(o){if(this._maxLength!==o){for(var i=new Array(o),n=0;n<Math.min(o,this.length);n++)i[n]=this._array[this._getCyclicIndex(n)];this._array=i,this._maxLength=o,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"length",{get:function(){return this._length},set:function(o){if(o>this._length)for(var i=this._length;i<o;i++)this._array[i]=void 0;this._length=o},enumerable:!1,configurable:!0}),h.prototype.get=function(c){return this._array[this._getCyclicIndex(c)]},h.prototype.set=function(c,o){this._array[this._getCyclicIndex(c)]=o},h.prototype.push=function(c){this._array[this._getCyclicIndex(this._length)]=c,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},h.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(h.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),h.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},h.prototype.splice=function(c,o){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];if(o){for(var a=c;a<this._length-o;a++)this._array[this._getCyclicIndex(a)]=this._array[this._getCyclicIndex(a+o)];this._length-=o}for(a=this._length-1;a>=c;a--)this._array[this._getCyclicIndex(a+i.length)]=this._array[this._getCyclicIndex(a)];for(a=0;a<i.length;a++)this._array[this._getCyclicIndex(c+a)]=i[a];if(this._length+i.length>this._maxLength){var u=this._length+i.length-this._maxLength;this._startIndex+=u,this._length=this._maxLength,this.onTrimEmitter.fire(u)}else this._length+=i.length},h.prototype.trimStart=function(c){c>this._length&&(c=this._length),this._startIndex+=c,this._length-=c,this.onTrimEmitter.fire(c)},h.prototype.shiftElements=function(c,o,i){if(!(o<=0)){if(c<0||c>=this._length)throw new Error("start argument out of range");if(c+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(i>0){for(var n=o-1;n>=0;n--)this.set(c+n+i,this.get(c+n));var a=c+o+i-this._length;if(a>0)for(this._length+=a;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(n=0;n<o;n++)this.set(c+n+i,this.get(c+n))}},h.prototype._getCyclicIndex=function(c){return(this._startIndex+c)%this._maxLength},h}();f.CircularList=v},function(g,f,A){"use strict";function m(v,h,c){if(h===v.length-1)return v[h].getTrimmedLength();var o=!v[h].hasContent(c-1)&&v[h].getWidth(c-1)===1,i=v[h+1].getWidth(0)===2;return o&&i?c-1:c}Object.defineProperty(f,"__esModule",{value:!0}),f.getWrappedLineTrimmedLength=f.reflowSmallerGetNewLineLengths=f.reflowLargerApplyNewLayout=f.reflowLargerCreateNewLayout=f.reflowLargerGetLinesToRemove=void 0,f.reflowLargerGetLinesToRemove=function(v,h,c,o,i){for(var n=[],a=0;a<v.length-1;a++){var u=a,r=v.get(++u);if(r.isWrapped){for(var l=[v.get(a)];u<v.length&&r.isWrapped;)l.push(r),r=v.get(++u);if(o>=a&&o<u)a+=l.length-1;else{for(var t=0,s=m(l,t,h),d=1,p=0;d<l.length;){var b=m(l,d,h),w=b-p,E=c-s,S=Math.min(w,E);l[t].copyCellsFrom(l[d],p,s,S,!1),(s+=S)===c&&(t++,s=0),(p+=S)===b&&(d++,p=0),s===0&&t!==0&&l[t-1].getWidth(c-1)===2&&(l[t].copyCellsFrom(l[t-1],c-1,s++,1,!1),l[t-1].setCell(c-1,i))}l[t].replaceCells(s,c,i);for(var x=0,T=l.length-1;T>0&&(T>t||l[T].getTrimmedLength()===0);T--)x++;x>0&&(n.push(a+l.length-x),n.push(x)),a+=l.length-1}}}return n},f.reflowLargerCreateNewLayout=function(v,h){for(var c=[],o=0,i=h[o],n=0,a=0;a<v.length;a++)if(i===a){var u=h[++o];v.onDeleteEmitter.fire({index:a-n,amount:u}),a+=u-1,n+=u,i=h[++o]}else c.push(a);return{layout:c,countRemoved:n}},f.reflowLargerApplyNewLayout=function(v,h){for(var c=[],o=0;o<h.length;o++)c.push(v.get(h[o]));for(o=0;o<c.length;o++)v.set(o,c[o]);v.length=h.length},f.reflowSmallerGetNewLineLengths=function(v,h,c){for(var o=[],i=v.map(function(s,d){return m(v,d,h)}).reduce(function(s,d){return s+d}),n=0,a=0,u=0;u<i;){if(i-u<c){o.push(i-u);break}n+=c;var r=m(v,a,h);n>r&&(n-=r,a++);var l=v[a].getWidth(n-1)===2;l&&n--;var t=l?c-1:c;o.push(t),u+=t}return o},f.getWrappedLineTrimmedLength=m},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(i,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var r in u)u.hasOwnProperty(r)&&(a[r]=u[r])})(i,n)},function(o,i){function n(){this.constructor=o}m(o,i),o.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(f,"__esModule",{value:!0}),f.Marker=void 0;var h=A(0),c=function(o){function i(n){var a=o.call(this)||this;return a.line=n,a._id=i._nextId++,a.isDisposed=!1,a._onDispose=new h.EventEmitter,a}return v(i,o),Object.defineProperty(i.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},i._nextId=1,i}(A(2).Disposable);f.Marker=c},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var m=A(0),v=A(11),h=A(33);f.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",f.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:f.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:v.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var c=["cols","rows"],o=function(){function i(n){this._onOptionChange=new m.EventEmitter,this.options=h.clone(f.DEFAULT_OPTIONS);for(var a=0,u=Object.keys(n);a<u.length;a++){var r=u[a];if(r in this.options){var l=n[r];this.options[r]=l}}}return Object.defineProperty(i.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),i.prototype.setOption=function(n,a){if(!(n in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');if(c.indexOf(n)!==-1)throw new Error('Option "'+n+'" can only be set in the constructor');this.options[n]!==a&&(a=this._sanitizeAndValidateOption(n,a),this.options[n]!==a&&(this.options[n]=a,this._onOptionChange.fire(n)))},i.prototype._sanitizeAndValidateOption=function(n,a){switch(n){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":a||(a=f.DEFAULT_OPTIONS[n]);break;case"cursorWidth":a=Math.floor(a);case"lineHeight":case"tabStopWidth":if(a<1)throw new Error(n+" cannot be less than 1, value: "+a);break;case"minimumContrastRatio":a=Math.max(1,Math.min(21,Math.round(10*a)/10));break;case"scrollback":if((a=Math.min(a,4294967295))<0)throw new Error(n+" cannot be less than 0, value: "+a);break;case"fastScrollSensitivity":case"scrollSensitivity":if(a<=0)throw new Error(n+" cannot be less than or equal to 0, value: "+a)}return a},i.prototype.getOption=function(n){if(!(n in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');return this.options[n]},i}();f.OptionsService=o},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,b){p.__proto__=b}||function(p,b){for(var w in b)b.hasOwnProperty(w)&&(p[w]=b[w])})(s,d)},function(t,s){function d(){this.constructor=t}m(t,s),t.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}),h=this&&this.__decorate||function(t,s,d,p){var b,w=arguments.length,E=w<3?s:p===null?p=Object.getOwnPropertyDescriptor(s,d):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(t,s,d,p);else for(var S=t.length-1;S>=0;S--)(b=t[S])&&(E=(w<3?b(E):w>3?b(s,d,E):b(s,d))||E);return w>3&&E&&Object.defineProperty(s,d,E),E},c=this&&this.__param||function(t,s){return function(d,p){s(d,p,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreService=void 0;var o=A(1),i=A(0),n=A(33),a=A(2),u=Object.freeze({insertMode:!1}),r=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(t){function s(d,p,b,w){var E=t.call(this)||this;return E._bufferService=p,E._logService=b,E._optionsService=w,E.isCursorInitialized=!1,E.isCursorHidden=!1,E._onData=E.register(new i.EventEmitter),E._onUserInput=E.register(new i.EventEmitter),E._onBinary=E.register(new i.EventEmitter),E._scrollToBottom=d,E.register({dispose:function(){return E._scrollToBottom=void 0}}),E.modes=n.clone(u),E.decPrivateModes=n.clone(r),E}return v(s,t),Object.defineProperty(s.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),s.prototype.reset=function(){this.modes=n.clone(u),this.decPrivateModes=n.clone(r)},s.prototype.triggerDataEvent=function(d,p){if(p===void 0&&(p=!1),!this._optionsService.options.disableStdin){var b=this._bufferService.buffer;b.ybase!==b.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+d+'"',function(){return d.split("").map(function(w){return w.charCodeAt(0)})}),this._onData.fire(d)}},s.prototype.triggerBinaryEvent=function(d){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+d+'"',function(){return d.split("").map(function(p){return p.charCodeAt(0)})}),this._onBinary.fire(d))},s=h([c(1,o.IBufferService),c(2,o.ILogService),c(3,o.IOptionsService)],s)}(a.Disposable);f.CoreService=l},function(g,f,A){"use strict";var m=this&&this.__decorate||function(r,l,t,s){var d,p=arguments.length,b=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(r,l,t,s);else for(var w=r.length-1;w>=0;w--)(d=r[w])&&(b=(p<3?d(b):p>3?d(l,t,b):d(l,t))||b);return p>3&&b&&Object.defineProperty(l,t,b),b},v=this&&this.__param||function(r,l){return function(t,s){l(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreMouseService=void 0;var h=A(1),c=A(0),o={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function i(r,l){var t=(r.ctrl?16:0)|(r.shift?4:0)|(r.alt?8:0);return r.button===4?(t|=64,t|=r.action):(t|=3&r.button,4&r.button&&(t|=64),8&r.button&&(t|=128),r.action===32?t|=32:r.action!==0||l||(t|=3)),t}var n=String.fromCharCode,a={DEFAULT:function(l){var t=[i(l,!1)+32,l.col+32,l.row+32];return t[0]>255||t[1]>255||t[2]>255?"":""+n(t[0])+n(t[1])+n(t[2])},SGR:function(l){var t=l.action===0&&l.button!==4?"m":"M";return"[<"+i(l,!0)+";"+l.col+";"+l.row+t}},u=function(){function r(l,t){this._bufferService=l,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new c.EventEmitter,this._lastEvent=null;for(var s=0,d=Object.keys(o);s<d.length;s++){var p=d[s];this.addProtocol(p,o[p])}for(var b=0,w=Object.keys(a);b<w.length;b++){var E=w[b];this.addEncoding(E,a[E])}this.reset()}return r.prototype.addProtocol=function(l,t){this._protocols[l]=t},r.prototype.addEncoding=function(l,t){this._encodings[l]=t},Object.defineProperty(r.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(t){if(!this._protocols[t])throw new Error('unknown protocol "'+t+'"');this._activeProtocol=t,this._onProtocolChange.fire(this._protocols[t].events)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(t){if(!this._encodings[t])throw new Error('unknown encoding "'+t+'"');this._activeEncoding=t},enumerable:!1,configurable:!0}),r.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(r.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),r.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var t=this._encodings[this._activeEncoding](l);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=l,!0},r.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},r.prototype._compareEvents=function(l,t){return l.col===t.col&&l.row===t.row&&l.button===t.button&&l.action===t.action&&l.ctrl===t.ctrl&&l.alt===t.alt&&l.shift===t.shift},r=m([v(0,h.IBufferService),v(1,h.ICoreService)],r)}();f.CoreMouseService=u},function(g,f,A){"use strict";var m=this&&this.__decorate||function(o,i,n,a){var u,r=arguments.length,l=r<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,n):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,i,n,a);else for(var t=o.length-1;t>=0;t--)(u=o[t])&&(l=(r<3?u(l):r>3?u(i,n,l):u(i,n))||l);return r>3&&l&&Object.defineProperty(i,n,l),l},v=this&&this.__param||function(o,i){return function(n,a){i(n,a,o)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DirtyRowService=void 0;var h=A(1),c=function(){function o(i){this._bufferService=i,this.clearRange()}return Object.defineProperty(o.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),o.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},o.prototype.markDirty=function(i){i<this._start?this._start=i:i>this._end&&(this._end=i)},o.prototype.markRangeDirty=function(i,n){if(i>n){var a=i;i=n,n=a}i<this._start&&(this._start=i),n>this._end&&(this._end=n)},o.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},o=m([v(0,h.IBufferService)],o)}();f.DirtyRowService=c},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var m=A(0),v=A(79),h=function(){function c(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var o=new v.UnicodeV6;this.register(o),this._active=o.version,this._activeProvider=o}return Object.defineProperty(c.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"activeVersion",{get:function(){return this._active},set:function(i){if(!this._providers[i])throw new Error('unknown Unicode version "'+i+'"');this._active=i,this._activeProvider=this._providers[i],this._onChange.fire(i)},enumerable:!1,configurable:!0}),c.prototype.register=function(o){this._providers[o.version]=o},c.prototype.wcwidth=function(o){return this._activeProvider.wcwidth(o)},c.prototype.getStringCellWidth=function(o){for(var i=0,n=o.length,a=0;a<n;++a){var u=o.charCodeAt(a);if(55296<=u&&u<=56319){if(++a>=n)return i+this.wcwidth(u);var r=o.charCodeAt(a);56320<=r&&r<=57343?u=1024*(u-55296)+r-56320+65536:i+=this.wcwidth(r)}i+=this.wcwidth(u)}return i},c}();f.UnicodeService=h},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var m,v=A(15),h=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],c=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],o=function(){function i(){if(this.version="6",!m){m=new Uint8Array(65536),v.fill(m,1),m[0]=0,v.fill(m,0,1,32),v.fill(m,0,127,160),v.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,v.fill(m,2,11904,42192),m[12351]=1,v.fill(m,2,44032,55204),v.fill(m,2,63744,64256),v.fill(m,2,65040,65050),v.fill(m,2,65072,65136),v.fill(m,2,65280,65377),v.fill(m,2,65504,65511);for(var n=0;n<h.length;++n)v.fill(m,0,h[n][0],h[n][1]+1)}}return i.prototype.wcwidth=function(n){return n<32?0:n<127?1:n<65536?m[n]:function(a,u){var r,l=0,t=u.length-1;if(a<u[0][0]||a>u[t][1])return!1;for(;t>=l;)if(a>u[r=l+t>>1][1])l=r+1;else{if(!(a<u[r][0]))return!0;t=r-1}return!1}(n,c)?0:n>=131072&&n<=196605||n>=196608&&n<=262141?2:1},i}();f.UnicodeV6=o},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CharsetService=void 0;var m=function(){function v(){this.glevel=0,this._charsets=[]}return v.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},v.prototype.setgLevel=function(h){this.glevel=h,this.charset=this._charsets[h]},v.prototype.setgCharset=function(h,c){this._charsets[h]=c,this.glevel===h&&(this.charset=c)},v}();f.CharsetService=m},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var m=A(3);f.updateWindowsModeWrappedState=function(v){var h=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),c=h==null?void 0:h.get(v.cols-1),o=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);o&&c&&(o.isWrapped=c[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&c[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WriteBuffer=void 0;var m=function(){function v(h){this._action=h,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return v.prototype.writeSync=function(h){if(this._writeBuffer.length){for(var c=this._bufferOffset;c<this._writeBuffer.length;++c){var o=this._writeBuffer[c],i=this._callbacks[c];this._action(o),i&&i()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(h)},v.prototype.write=function(h,c){var o=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 o._innerWrite()})),this._pendingData+=h.length,this._writeBuffer.push(h),this._callbacks.push(c)},v.prototype._innerWrite=function(){for(var h=this,c=Date.now();this._writeBuffer.length>this._bufferOffset;){var o=this._writeBuffer[this._bufferOffset],i=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(o),this._pendingData-=o.length,i&&i(),Date.now()-c>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return h._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},v}();f.WriteBuffer=m},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AddonManager=void 0;var m=function(){function v(){this._addons=[]}return v.prototype.dispose=function(){for(var h=this._addons.length-1;h>=0;h--)this._addons[h].instance.dispose()},v.prototype.loadAddon=function(h,c){var o=this,i={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(i),c.dispose=function(){return o._wrappedAddonDispose(i)},c.activate(h)},v.prototype._wrappedAddonDispose=function(h){if(!h.isDisposed){for(var c=-1,o=0;o<this._addons.length;o++)if(this._addons[o]===h){c=o;break}if(c===-1)throw new Error("Could not dispose an addon that has not been loaded");h.isDisposed=!0,h.dispose.apply(h.instance),this._addons.splice(c,1)}},v}();f.AddonManager=m}])})},"/SeX":function(D,_,e){var g=e("knOB"),f=e("qZFw"),A=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new g,this._angleAxis=new f,this._radiusAxis.polar=this._angleAxis.polar=this};A.prototype={type:"polar",axisPointerEnabled:!0,constructor:A,dimensions:["radius","angle"],model:null,containPoint:function(v){var h=this.pointToCoord(v);return this._radiusAxis.contain(h[0])&&this._angleAxis.contain(h[1])},containData:function(v){return this._radiusAxis.containData(v[0])&&this._angleAxis.containData(v[1])},getAxis:function(v){return this["_"+v+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(v){var h=[],c=this._angleAxis,o=this._radiusAxis;return c.scale.type===v&&h.push(c),o.scale.type===v&&h.push(o),h},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var h=this._angleAxis;return v===h?this._radiusAxis:h},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var h=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[h],otherAxes:[this.getOtherAxis(h)]}},dataToPoint:function(v,h){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],h),this._angleAxis.dataToAngle(v[1],h)])},pointToData:function(v,h){var c=this.pointToCoord(v);return[this._radiusAxis.radiusToData(c[0],h),this._angleAxis.angleToData(c[1],h)]},pointToCoord:function(v){var h=v[0]-this.cx,c=v[1]-this.cy,o=this.getAngleAxis(),i=o.getExtent(),n=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);o.inverse?n=a-360:a=n+360;var u=Math.sqrt(h*h+c*c);h/=u,c/=u;for(var r=Math.atan2(-c,h)/Math.PI*180,l=r<n?1:-1;r<n||r>a;)r+=l*360;return[u,r]},coordToPoint:function(v){var h=v[0],c=v[1]/180*Math.PI,o=Math.cos(c)*h+this.cx,i=-Math.sin(c)*h+this.cy;return[o,i]},getArea:function(){var v=this.getAngleAxis(),h=this.getRadiusAxis(),c=h.getExtent().slice();c[0]>c[1]&&c.reverse();var o=v.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:c[0],r:c[1],startAngle:-o[0]*i,endAngle:-o[1]*i,clockwise:v.inverse,contain:function(n,a){var u=n-this.cx,r=a-this.cy,l=u*u+r*r,t=this.r,s=this.r0;return l<=t*t&&l>=s*s}}}};var m=A;D.exports=m},"/WM3":function(D,_,e){var g=e("QuXc"),f=e("bYtY"),A=f.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,h){var c=v.getData(),o=(v.visualColorAccessPath||"itemStyle.color").split("."),i=v.get(o),n=A(i)&&!(i instanceof g)?i:null;(!i||n)&&(i=v.getColorFromPalette(v.name,null,h.getSeriesCount())),c.setVisual("color",i);var a=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=v.get(a);if(c.setVisual("borderColor",u),!h.isSeriesFiltered(v)){n&&c.each(function(l){c.setItemVisual(l,"color",n(v.getDataParams(l)))});var r=function(l,t){var s=l.getItemModel(t),d=s.get(o,!0),p=s.get(a,!0);d!=null&&l.setItemVisual(t,"color",d),p!=null&&l.setItemVisual(t,"borderColor",p)};return{dataEach:c.hasItemOption?r:null}}}};D.exports=m},"/d5a":function(D,_){var e={average:function(A){for(var m=0,v=0,h=0;h<A.length;h++)isNaN(A[h])||(m+=A[h],v++);return v===0?NaN:m/v},sum:function(A){for(var m=0,v=0;v<A.length;v++)m+=A[v]||0;return m},max:function(A){for(var m=-Infinity,v=0;v<A.length;v++)A[v]>m&&(m=A[v]);return isFinite(m)?m:NaN},min:function(A){for(var m=Infinity,v=0;v<A.length;v++)A[v]<m&&(m=A[v]);return isFinite(m)?m:NaN},nearest:function(A){return A[0]}},g=function(A,m){return Math.round(A.length/2)};function f(A){return{seriesType:A,modifyOutputEnd:!0,reset:function(m,v,h){var c=m.getData(),o=m.get("sampling"),i=m.coordinateSystem;if(i.type==="cartesian2d"&&o){var n=i.getBaseAxis(),a=i.getOtherAxis(n),u=n.getExtent(),r=u[1]-u[0],l=Math.round(c.count()/r);if(l>1){var t;typeof o=="string"?t=e[o]:typeof o=="function"&&(t=o),t&&m.setData(c.downSample(c.mapDimension(a.dim),1/l,t,g))}}}}}D.exports=f},"/ezw":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("cDf5"),h=e.n(v),c=e("q1tI"),o=e("TSYQ"),i=e.n(o),n=function(j){var P=j.prefixCls,K=j.className,V=j.width,z=j.style;return c.createElement("h3",{className:i()(P,K),style:m()({width:V},z)})},a=n,u=e("RIqP"),r=e.n(u),l=function(j){var P=function(Y){var me=j.width,we=j.rows,pe=we===void 0?2:we;return Array.isArray(me)?me[Y]:pe-1===Y?me:void 0},K=j.prefixCls,V=j.className,z=j.style,X=j.rows,G=r()(Array(X)).map(function(le,Y){return c.createElement("li",{key:Y,style:{width:P(Y)}})});return c.createElement("ul",{className:i()(K,V),style:z},G)},t=l,s=e("H84U"),d=function(j){var P,K,V=j.prefixCls,z=j.className,X=j.style,G=j.size,le=j.shape,Y=i()((P={},f()(P,"".concat(V,"-lg"),G==="large"),f()(P,"".concat(V,"-sm"),G==="small"),P)),me=i()((K={},f()(K,"".concat(V,"-circle"),le==="circle"),f()(K,"".concat(V,"-square"),le==="square"),f()(K,"".concat(V,"-round"),le==="round"),K)),we=typeof G=="number"?{width:G,height:G,lineHeight:"".concat(G,"px")}:{};return c.createElement("span",{className:i()(V,z,Y,me),style:m()(m()({},we),X)})},p=d,b=e("BGR+"),w=function(j){var P=function(V){var z=V.getPrefixCls,X=j.prefixCls,G=j.className,le=j.active,Y=z("skeleton",X),me=Object(b.default)(j,["prefixCls"]),we=i()(Y,G,"".concat(Y,"-element"),f()({},"".concat(Y,"-active"),le));return c.createElement("div",{className:we},c.createElement(p,m()({prefixCls:"".concat(Y,"-avatar")},me)))};return c.createElement(s.a,null,P)};w.defaultProps={size:"default",shape:"circle"};var E=w,S=function(j){var P=function(V){var z=V.getPrefixCls,X=j.prefixCls,G=j.className,le=j.active,Y=z("skeleton",X),me=Object(b.default)(j,["prefixCls"]),we=i()(Y,G,"".concat(Y,"-element"),f()({},"".concat(Y,"-active"),le));return c.createElement("div",{className:we},c.createElement(p,m()({prefixCls:"".concat(Y,"-button")},me)))};return c.createElement(s.a,null,P)};S.defaultProps={size:"default"};var x=S,T=function(j){var P=function(V){var z=V.getPrefixCls,X=j.prefixCls,G=j.className,le=j.active,Y=z("skeleton",X),me=Object(b.default)(j,["prefixCls"]),we=i()(Y,G,"".concat(Y,"-element"),f()({},"".concat(Y,"-active"),le));return c.createElement("div",{className:we},c.createElement(p,m()({prefixCls:"".concat(Y,"-input")},me)))};return c.createElement(s.a,null,P)};T.defaultProps={size:"default"};var L=T,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",C=function(j){var P=function(V){var z=V.getPrefixCls,X=j.prefixCls,G=j.className,le=j.style,Y=z("skeleton",X),me=i()(Y,G,"".concat(Y,"-element"));return c.createElement("div",{className:me},c.createElement("div",{className:i()("".concat(Y,"-image"),G),style:le},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(Y,"-image-svg")},c.createElement("path",{d:y,className:"".concat(Y,"-image-path")}))))};return c.createElement(s.a,null,P)},O=C;function N(U){return U&&h()(U)==="object"?U:{}}function k(U,j){return U&&!j?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function F(U,j){return!U&&j?{width:"38%"}:U&&j?{width:"50%"}:{}}function B(U,j){var P={};return(!U||!j)&&(P.width="61%"),!U&&j?P.rows=3:P.rows=2,P}var H=function(j){var P=function(V){var z=V.getPrefixCls,X=V.direction,G=j.prefixCls,le=j.loading,Y=j.className,me=j.children,we=j.avatar,pe=j.title,Fe=j.paragraph,Xe=j.active,dt=j.round,Ee=z("skeleton",G);if(le||!("loading"in j)){var Se,at=!!we,_e=!!pe,ce=!!Fe,ee;if(at){var se=m()(m()({prefixCls:"".concat(Ee,"-avatar")},k(_e,ce)),N(we));ee=c.createElement("div",{className:"".concat(Ee,"-header")},c.createElement(p,se))}var ke;if(_e||ce){var Ce;if(_e){var ze=m()(m()({prefixCls:"".concat(Ee,"-title")},F(at,ce)),N(pe));Ce=c.createElement(a,ze)}var Oe;if(ce){var ae=m()(m()({prefixCls:"".concat(Ee,"-paragraph")},B(at,_e)),N(Fe));Oe=c.createElement(t,ae)}ke=c.createElement("div",{className:"".concat(Ee,"-content")},Ce,Oe)}var ge=i()(Ee,Y,(Se={},f()(Se,"".concat(Ee,"-with-avatar"),at),f()(Se,"".concat(Ee,"-active"),Xe),f()(Se,"".concat(Ee,"-rtl"),X==="rtl"),f()(Se,"".concat(Ee,"-round"),dt),Se));return c.createElement("div",{className:ge},ee,ke)}return me};return c.createElement(s.a,null,P)};H.defaultProps={avatar:!1,title:!0,paragraph:!0},H.Button=x,H.Avatar=E,H.Input=L,H.Image=O;var W=H,R=_.a=W},"/iHx":function(D,_,e){var g=e("6GrX"),f=e("IwbS"),A=["textStyle","color"],m={getTextColor:function(v){var h=this.ecModel;return this.getShallow("color")||(!v&&h?h.get(A):null)},getFont:function(){return f.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(v){return g.getBoundingRect(v,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};D.exports=m},"/kpp":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("cDf5"),h=e.n(v),c=e("q1tI"),o=e.n(c),i=e("TSYQ"),n=e.n(i),a=e("o/2+"),u=e("H84U"),r=function(s,d){var p={};for(var b in s)Object.prototype.hasOwnProperty.call(s,b)&&d.indexOf(b)<0&&(p[b]=s[b]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,b=Object.getOwnPropertySymbols(s);w<b.length;w++)d.indexOf(b[w])<0&&Object.prototype.propertyIsEnumerable.call(s,b[w])&&(p[b[w]]=s[b[w]]);return p};function l(s){return typeof s=="number"?"".concat(s," ").concat(s," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(s)?"0 0 ".concat(s):s}var t=c.forwardRef(function(s,d){var p=function(w){var E,S=w.getPrefixCls,x=w.direction,T=s.prefixCls,L=s.span,y=s.order,C=s.offset,O=s.push,N=s.pull,k=s.className,F=s.children,B=s.flex,H=s.style,W=r(s,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),R=S("col",T),U={};["xs","sm","md","lg","xl","xxl"].forEach(function(P){var K,V={},z=s[P];typeof z=="number"?V.span=z:h()(z)==="object"&&(V=z||{}),delete W[P],U=m()(m()({},U),(K={},f()(K,"".concat(R,"-").concat(P,"-").concat(V.span),V.span!==void 0),f()(K,"".concat(R,"-").concat(P,"-order-").concat(V.order),V.order||V.order===0),f()(K,"".concat(R,"-").concat(P,"-offset-").concat(V.offset),V.offset||V.offset===0),f()(K,"".concat(R,"-").concat(P,"-push-").concat(V.push),V.push||V.push===0),f()(K,"".concat(R,"-").concat(P,"-pull-").concat(V.pull),V.pull||V.pull===0),f()(K,"".concat(R,"-rtl"),x==="rtl"),K))});var j=n()(R,(E={},f()(E,"".concat(R,"-").concat(L),L!==void 0),f()(E,"".concat(R,"-order-").concat(y),y),f()(E,"".concat(R,"-offset-").concat(C),C),f()(E,"".concat(R,"-push-").concat(O),O),f()(E,"".concat(R,"-pull-").concat(N),N),E),k,U);return c.createElement(a.a.Consumer,null,function(P){var K=P.gutter,V=m()({},H);return K&&(V=m()(m()(m()({},K[0]>0?{paddingLeft:K[0]/2,paddingRight:K[0]/2}:{}),K[1]>0?{paddingTop:K[1]/2,paddingBottom:K[1]/2}:{}),V)),B&&(V.flex=l(B)),c.createElement("div",m()({},W,{style:V,className:j,ref:d}),F)})};return c.createElement(u.a,null,p)});t.displayName="Col",_.a=t},"/ry/":function(D,_,e){var g=e("bYtY"),f=e("T4UG"),A=e("5GhG"),m=A.seriesModelMixin,v=f.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});g.mixin(v,m,!0);var h=v;D.exports=h},"/stD":function(D,_,e){var g=e("bYtY"),f=e("IUWy"),A=e("Kagy"),m=A.toolbox.brush;function v(o,i,n){this.model=o,this.ecModel=i,this.api=n,this._brushType,this._brushMode}v.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:g.clone(m.title)};var h=v.prototype;h.render=h.updateView=function(o,i,n){var a,u,r;i.eachComponent({mainType:"brush"},function(l){a=l.brushType,u=l.brushOption.brushMode||"single",r|=l.areas.length}),this._brushType=a,this._brushMode=u,g.each(o.get("type",!0),function(l){o.setIconStatus(l,(l==="keep"?u==="multiple":l==="clear"?r:l===a)?"emphasis":"normal")})},h.getIcons=function(){var o=this.model,i=o.get("icon",!0),n={};return g.each(o.get("type",!0),function(a){i[a]&&(n[a]=i[a])}),n},h.onclick=function(o,i,n){var a=this._brushType,u=this._brushMode;n==="clear"?(i.dispatchAction({type:"axisAreaSelect",intervals:[]}),i.dispatchAction({type:"brush",command:"clear",areas:[]})):i.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?a:a===n?!1:n,brushMode:n==="keep"?u==="multiple"?"single":"multiple":u}})},f.register("brush",v);var c=v;D.exports=c},"/wGt":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("PJYZ"),n=e.n(i),a=e("7W2i"),u=e.n(a),r=e("LQ03"),l=e.n(r),t=e("q1tI"),s=e("Ff2n"),d=e("1OyB"),p=e("vuIU"),b=e("Ji7U"),w=e("md7G"),E=e("foSv"),S=e("1W/9"),x=e("rePB"),T=e("JX7q"),L=e("TSYQ"),y=e.n(L),C=e("qx4F"),O=e("4IlW");function N(Ce){return Array.isArray(Ce)?Ce:[Ce]}var k={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},F=Object.keys(k).filter(function(Ce){if(typeof document=="undefined")return!1;var ze=document.getElementsByTagName("html")[0];return Ce in(ze?ze.style:{})})[0],B=k[F];function H(Ce,ze,Oe,ae){Ce.addEventListener?Ce.addEventListener(ze,Oe,ae):Ce.attachEvent&&Ce.attachEvent("on".concat(ze),Oe)}function W(Ce,ze,Oe,ae){Ce.removeEventListener?Ce.removeEventListener(ze,Oe,ae):Ce.attachEvent&&Ce.detachEvent("on".concat(ze),Oe)}function R(Ce,ze){var Oe=typeof Ce=="function"?Ce(ze):Ce;return Array.isArray(Oe)?Oe.length===2?Oe:[Oe[0],Oe[1]]:[Oe]}var U=function(ze){return!isNaN(parseFloat(ze))&&isFinite(ze)},j=!(typeof window!="undefined"&&window.document&&window.document.createElement),P=function Ce(ze,Oe,ae,ge){if(!Oe||Oe===document||Oe instanceof Document)return!1;if(Oe===ze.parentNode)return!0;var Le=Math.max(Math.abs(ae),Math.abs(ge))===Math.abs(ge),Ze=Math.max(Math.abs(ae),Math.abs(ge))===Math.abs(ae),vt=Oe.scrollHeight-Oe.clientHeight,Ct=Oe.scrollWidth-Oe.clientWidth,Be=document.defaultView.getComputedStyle(Oe),Rt=Be.overflowY==="auto"||Be.overflowY==="scroll",He=Be.overflowX==="auto"||Be.overflowX==="scroll",wt=vt&&Rt,Ge=Ct&&He;return Le&&(!wt||wt&&(Oe.scrollTop>=vt&&ge<0||Oe.scrollTop<=0&&ge>0))||Ze&&(!Ge||Ge&&(Oe.scrollLeft>=Ct&&ae<0||Oe.scrollLeft<=0&&ae>0))?Ce(ze,Oe.parentNode,ae,ge):!1};function K(Ce){var ze=V();return function(){var ae=Object(E.a)(Ce),ge;if(ze){var Le=Object(E.a)(this).constructor;ge=Reflect.construct(ae,arguments,Le)}else ge=ae.apply(this,arguments);return Object(w.a)(this,ge)}}function V(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ce){return!1}}var z={},X=function(Ce){Object(b.a)(Oe,Ce);var ze=K(Oe);function Oe(ae){var ge;return Object(d.a)(this,Oe),ge=ze.call(this,ae),ge.domFocus=function(){ge.dom&&ge.dom.focus()},ge.removeStartHandler=function(Le){if(Le.touches.length>1)return;ge.startPos={x:Le.touches[0].clientX,y:Le.touches[0].clientY}},ge.removeMoveHandler=function(Le){if(Le.changedTouches.length>1)return;var Ze=Le.currentTarget,vt=Le.changedTouches[0].clientX-ge.startPos.x,Ct=Le.changedTouches[0].clientY-ge.startPos.y;(Ze===ge.maskDom||Ze===ge.handlerDom||Ze===ge.contentDom&&P(Ze,Le.target,vt,Ct))&&Le.cancelable&&Le.preventDefault()},ge.transitionEnd=function(Le){var Ze=Le.target;W(Ze,B,ge.transitionEnd),Ze.style.transition=""},ge.onKeyDown=function(Le){if(Le.keyCode===O.a.ESC){var Ze=ge.props.onClose;Le.stopPropagation(),Ze&&Ze(Le)}},ge.onWrapperTransitionEnd=function(Le){var Ze=ge.props,vt=Ze.open,Ct=Ze.afterVisibleChange;Le.target===ge.contentWrapper&&Le.propertyName.match(/transform$/)&&(ge.dom.style.transition="",!vt&&ge.getCurrentDrawerSome()&&(document.body.style.overflowX="",ge.maskDom&&(ge.maskDom.style.left="",ge.maskDom.style.width="")),Ct&&Ct(!!vt))},ge.openLevelTransition=function(){var Le=ge.props,Ze=Le.open,vt=Le.width,Ct=Le.height,Be=ge.getHorizontalBoolAndPlacementName(),Rt=Be.isHorizontal,He=Be.placementName,wt=ge.contentDom?ge.contentDom.getBoundingClientRect()[Rt?"width":"height"]:0,Ge=(Rt?vt:Ct)||wt;ge.setLevelAndScrolling(Ze,He,Ge)},ge.setLevelTransform=function(Le,Ze,vt,Ct){var Be=ge.props,Rt=Be.placement,He=Be.levelMove,wt=Be.duration,Ge=Be.ease,et=Be.showMask;ge.levelDom.forEach(function(rt){rt.style.transition="transform ".concat(wt," ").concat(Ge),H(rt,B,ge.transitionEnd);var lt=Le?vt:0;if(He){var Ve=R(He,{target:rt,open:Le});lt=Le?Ve[0]:Ve[1]||0}var ie=typeof lt=="number"?"".concat(lt,"px"):lt,$=Rt==="left"||Rt==="top"?ie:"-".concat(ie);$=et&&Rt==="right"&&Ct?"calc(".concat($," + ").concat(Ct,"px)"):$,rt.style.transform=lt?"".concat(Ze,"(").concat($,")"):""})},ge.setLevelAndScrolling=function(Le,Ze,vt){var Ct=ge.props.onChange;if(!j){var Be=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;ge.setLevelTransform(Le,Ze,vt,Be),ge.toggleScrollingToDrawerAndBody(Be)}Ct&&Ct(Le)},ge.toggleScrollingToDrawerAndBody=function(Le){var Ze=ge.props,vt=Ze.getOpenCount,Ct=Ze.getContainer,Be=Ze.showMask,Rt=Ze.open,He=Ct&&Ct(),wt=vt&&vt();if(He&&He.parentNode===document.body&&Be){var Ge=["touchstart"],et=[document.body,ge.maskDom,ge.handlerDom,ge.contentDom];Rt&&document.body.style.overflow!=="hidden"?(Le&&ge.addScrollingEffect(Le),wt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",et.forEach(function(rt,lt){if(!rt)return;H(rt,Ge[lt]||"touchmove",lt?ge.removeMoveHandler:ge.removeStartHandler,ge.passive)})):ge.getCurrentDrawerSome()&&(wt||(document.body.style.overflow=""),document.body.style.touchAction="",Le&&ge.remScrollingEffect(Le),et.forEach(function(rt,lt){if(!rt)return;W(rt,Ge[lt]||"touchmove",lt?ge.removeMoveHandler:ge.removeStartHandler,ge.passive)}))}},ge.addScrollingEffect=function(Le){var Ze=ge.props,vt=Ze.placement,Ct=Ze.duration,Be=Ze.ease,Rt=Ze.getOpenCount,He=Ze.switchScrollingEffect,wt=Rt&&Rt();wt===1&&He();var Ge="width ".concat(Ct," ").concat(Be),et="transform ".concat(Ct," ").concat(Be);ge.dom.style.transition="none";switch(vt){case"right":ge.dom.style.transform="translateX(-".concat(Le,"px)");break;case"top":case"bottom":ge.dom.style.width="calc(100% - ".concat(Le,"px)"),ge.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(ge.timeout),ge.timeout=setTimeout(function(){ge.dom&&(ge.dom.style.transition="".concat(et,",").concat(Ge),ge.dom.style.width="",ge.dom.style.transform="")})},ge.remScrollingEffect=function(Le){var Ze=ge.props,vt=Ze.placement,Ct=Ze.duration,Be=Ze.ease,Rt=Ze.getOpenCount,He=Ze.switchScrollingEffect,wt=Rt&&Rt();wt||He(!0),F&&(document.body.style.overflowX="hidden"),ge.dom.style.transition="none";var Ge,et="width ".concat(Ct," ").concat(Be),rt="transform ".concat(Ct," ").concat(Be);switch(vt){case"left":{ge.dom.style.width="100%",et="width 0s ".concat(Be," ").concat(Ct);break}case"right":{ge.dom.style.transform="translateX(".concat(Le,"px)"),ge.dom.style.width="100%",et="width 0s ".concat(Be," ").concat(Ct),ge.maskDom&&(ge.maskDom.style.left="-".concat(Le,"px"),ge.maskDom.style.width="calc(100% + ".concat(Le,"px)"));break}case"top":case"bottom":{ge.dom.style.width="calc(100% + ".concat(Le,"px)"),ge.dom.style.height="100%",ge.dom.style.transform="translateZ(0)",Ge="height 0s ".concat(Be," ").concat(Ct);break}default:break}clearTimeout(ge.timeout),ge.timeout=setTimeout(function(){ge.dom&&(ge.dom.style.transition="".concat(rt,",").concat(Ge?"".concat(Ge,","):"").concat(et),ge.dom.style.transform="",ge.dom.style.width="",ge.dom.style.height="")})},ge.getCurrentDrawerSome=function(){return!Object.keys(z).some(function(Le){return z[Le]})},ge.getLevelDom=function(Le){var Ze=Le.level,vt=Le.getContainer;if(j)return;var Ct=vt&&vt(),Be=Ct?Ct.parentNode:null;if(ge.levelDom=[],Ze==="all"){var Rt=Be?Array.prototype.slice.call(Be.children):[];Rt.forEach(function(He){He.nodeName!=="SCRIPT"&&He.nodeName!=="STYLE"&&He.nodeName!=="LINK"&&He!==Ct&&ge.levelDom.push(He)})}else Ze&&N(Ze).forEach(function(He){document.querySelectorAll(He).forEach(function(wt){ge.levelDom.push(wt)})})},ge.getHorizontalBoolAndPlacementName=function(){var Le=ge.props.placement,Ze=Le==="left"||Le==="right",vt="translate".concat(Ze?"X":"Y");return{isHorizontal:Ze,placementName:vt}},ge.state={_self:Object(T.a)(ge)},ge}return Object(p.a)(Oe,[{key:"componentDidMount",value:function(){var ge=this;if(!j){var Le=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Le=!0,null}}))}catch(Rt){}this.passive=Le?{passive:!1}:!1}var Ze=this.props,vt=Ze.open,Ct=Ze.getContainer,Be=Ct&&Ct();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),vt&&(Be&&Be.parentNode===document.body&&(z[this.drawerId]=vt),this.openLevelTransition(),this.forceUpdate(function(){ge.domFocus()}))}},{key:"componentDidUpdate",value:function(ge){var Le=this.props,Ze=Le.open,vt=Le.getContainer,Ct=vt&&vt();Ze!==ge.open&&(Ze&&this.domFocus(),Ct&&Ct.parentNode===document.body&&(z[this.drawerId]=!!Ze),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var ge=this.props,Le=ge.getOpenCount,Ze=ge.open,vt=ge.switchScrollingEffect,Ct=typeof Le=="function"&&Le();delete z[this.drawerId],Ze&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Ct||(document.body.style.overflow="",vt(!0))}},{key:"render",value:function(){var ge,Le=this,Ze=this.props,vt=Ze.className,Ct=Ze.children,Be=Ze.style,Rt=Ze.width,He=Ze.height,wt=Ze.defaultOpen,Ge=Ze.open,et=Ze.prefixCls,rt=Ze.placement,lt=Ze.level,Ve=Ze.levelMove,ie=Ze.ease,$=Ze.duration,it=Ze.getContainer,Qe=Ze.handler,ye=Ze.onChange,Zt=Ze.afterVisibleChange,ht=Ze.showMask,ct=Ze.maskClosable,yt=Ze.maskStyle,It=Ze.onClose,or=Ze.onHandleClick,Bt=Ze.keyboard,Ae=Ze.getOpenCount,ve=Ze.switchScrollingEffect,fe=Object(s.a)(Ze,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),ue=this.dom?Ge:!1,Ne=y()(et,(ge={},Object(x.a)(ge,"".concat(et,"-").concat(rt),!0),Object(x.a)(ge,"".concat(et,"-open"),ue),Object(x.a)(ge,vt||"",!!vt),Object(x.a)(ge,"no-mask",!ht),ge)),je=this.getHorizontalBoolAndPlacementName(),Ke=je.placementName,Ye=rt==="left"||rt==="top"?"-100%":"100%",Pe=ue?"":"".concat(Ke,"(").concat(Ye,")"),nt=Qe&&t.cloneElement(Qe,{onClick:function(Ot){Qe.props.onClick&&Qe.props.onClick(),or&&or(Ot)},ref:function(Ot){Le.handlerDom=Ot}});return t.createElement("div",Object.assign({},fe,{tabIndex:-1,className:Ne,style:Be,ref:function(Ot){Le.dom=Ot},onKeyDown:ue&&Bt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),ht&&t.createElement("div",{className:"".concat(et,"-mask"),onClick:ct?It:void 0,style:yt,ref:function(Ot){Le.maskDom=Ot}}),t.createElement("div",{className:"".concat(et,"-content-wrapper"),style:{transform:Pe,msTransform:Pe,width:U(Rt)?"".concat(Rt,"px"):Rt,height:U(He)?"".concat(He,"px"):He},ref:function(Ot){Le.contentWrapper=Ot}},t.createElement("div",{className:"".concat(et,"-content"),ref:function(Ot){Le.contentDom=Ot},onTouchStart:ue&&ht?this.removeStartHandler:void 0,onTouchMove:ue&&ht?this.removeMoveHandler:void 0},Ct),nt))}}],[{key:"getDerivedStateFromProps",value:function(ge,Le){var Ze=Le.prevProps,vt=Le._self,Ct={prevProps:ge};if(Ze!==void 0){var Be=ge.placement,Rt=ge.level;Be!==Ze.placement&&(vt.contentDom=null),Rt!==Ze.level&&vt.getLevelDom(ge)}return Ct}}]),Oe}(t.Component);X.defaultProps={switchScrollingEffect:function(){}};var G=X;function le(Ce){var ze=Y();return function(){var ae=Object(E.a)(Ce),ge;if(ze){var Le=Object(E.a)(this).constructor;ge=Reflect.construct(ae,arguments,Le)}else ge=ae.apply(this,arguments);return Object(w.a)(this,ge)}}function Y(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ce){return!1}}var me=function(Ce){Object(b.a)(Oe,Ce);var ze=le(Oe);function Oe(ae){var ge;Object(d.a)(this,Oe),ge=ze.call(this,ae),ge.onHandleClick=function(Ze){var vt=ge.props,Ct=vt.onHandleClick,Be=vt.open;if(Ct&&Ct(Ze),typeof Be=="undefined"){var Rt=ge.state.open;ge.setState({open:!Rt})}},ge.onClose=function(Ze){var vt=ge.props,Ct=vt.onClose,Be=vt.open;Ct&&Ct(Ze),typeof Be=="undefined"&&ge.setState({open:!1})};var Le=typeof ae.open!="undefined"?ae.open:!!ae.defaultOpen;return ge.state={open:Le},"onMaskClick"in ae&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),ge}return Object(p.a)(Oe,[{key:"render",value:function(){var ge=this,Le=this.props,Ze=Le.defaultOpen,vt=Le.getContainer,Ct=Le.wrapperClassName,Be=Le.forceRender,Rt=Le.handler,He=Object(s.a)(Le,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),wt=this.state.open;if(!vt)return t.createElement("div",{className:Ct,ref:function(rt){ge.dom=rt}},t.createElement(G,Object.assign({},He,{open:wt,handler:Rt,getContainer:function(){return ge.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ge=!!Rt||Be;return t.createElement(S.a,{visible:wt,forceRender:Ge,getContainer:vt,wrapperClassName:Ct},function(et){var rt=et.visible,lt=et.afterClose,Ve=Object(s.a)(et,["visible","afterClose"]);return t.createElement(G,Object.assign({},He,Ve,{open:rt!==void 0?rt:wt,afterVisibleChange:lt!==void 0?lt:He.afterVisibleChange,handler:Rt,onClose:ge.onClose,onHandleClick:ge.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(ge,Le){var Ze=Le.prevProps,vt={prevProps:ge};return typeof Ze!="undefined"&&ge.open!==Ze.open&&(vt.open=ge.open),vt}}]),Oe}(t.Component);me.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var we=me,pe=we,Fe=e("V/uB"),Xe=e.n(Fe),dt=e("BGR+"),Ee=e("H84U"),Se=e("CWQg"),at=function(Ce,ze){var Oe={};for(var ae in Ce)Object.prototype.hasOwnProperty.call(Ce,ae)&&ze.indexOf(ae)<0&&(Oe[ae]=Ce[ae]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,ae=Object.getOwnPropertySymbols(Ce);ge<ae.length;ge++)ze.indexOf(ae[ge])<0&&Object.prototype.propertyIsEnumerable.call(Ce,ae[ge])&&(Oe[ae[ge]]=Ce[ae[ge]]);return Oe},_e=t.createContext(null),ce=Object(Se.a)("top","right","bottom","left"),ee={distance:180},se=function(Ce){u()(Oe,Ce);var ze=l()(Oe);function Oe(){var ae;return h()(this,Oe),ae=ze.apply(this,arguments),ae.state={push:!1},ae.push=function(){ae.props.push&&ae.setState({push:!0})},ae.pull=function(){ae.props.push&&ae.setState({push:!1})},ae.onDestroyTransitionEnd=function(){var ge=ae.getDestroyOnClose();if(!ge)return;ae.props.visible||(ae.destroyClose=!0,ae.forceUpdate())},ae.getDestroyOnClose=function(){return ae.props.destroyOnClose&&!ae.props.visible},ae.getPushDistance=function(){var ge=ae.props.push,Le;return typeof ge=="boolean"?Le=ge?ee.distance:0:Le=ge.distance,parseFloat(String(Le||0))},ae.getPushTransform=function(ge){var Le=ae.getPushDistance();if(ge==="left"||ge==="right")return"translateX(".concat(ge==="left"?Le:-Le,"px)");if(ge==="top"||ge==="bottom")return"translateY(".concat(ge==="top"?Le:-Le,"px)")},ae.getRcDrawerStyle=function(){var ge=ae.props,Le=ge.zIndex,Ze=ge.placement,vt=ge.mask,Ct=ge.style,Be=ae.state.push,Rt=vt?{}:ae.getOffsetStyle();return m()(m()({zIndex:Le,transform:Be?ae.getPushTransform(Ze):void 0},Rt),Ct)},ae.renderBody=function(){var ge=ae.props,Le=ge.bodyStyle,Ze=ge.drawerStyle,vt=ge.prefixCls,Ct=ge.visible;if(ae.destroyClose&&!Ct)return null;ae.destroyClose=!1;var Be={},Rt=ae.getDestroyOnClose();return Rt&&(Be.opacity=0,Be.transition="opacity .3s"),t.createElement("div",{className:"".concat(vt,"-wrapper-body"),style:m()(m()({},Be),Ze),onTransitionEnd:ae.onDestroyTransitionEnd},ae.renderHeader(),t.createElement("div",{className:"".concat(vt,"-body"),style:Le},ae.props.children),ae.renderFooter())},ae.renderProvider=function(ge){return ae.parentDrawer=ge,t.createElement(Ee.a,null,function(Le){var Ze=Le.getPopupContainer,vt=Le.getPrefixCls,Ct=ae.props,Be=Ct.prefixCls,Rt=Ct.placement,He=Ct.className,wt=Ct.mask,Ge=Ct.direction,et=Ct.visible,rt=at(Ct,["prefixCls","placement","className","mask","direction","visible"]),lt=vt("select",Be),Ve=y()(He,f()({"no-mask":!wt},"".concat(lt,"-rtl"),Ge==="rtl")),ie=wt?ae.getOffsetStyle():{};return t.createElement(_e.Provider,{value:n()(ae)},t.createElement(pe,m()({handler:!1},Object(dt.default)(rt,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:rt.getContainer===void 0&&Ze?function(){return Ze(document.body)}:rt.getContainer},ie,{prefixCls:lt,open:et,showMask:wt,placement:Rt,style:ae.getRcDrawerStyle(),className:Ve}),ae.renderBody()))})},ae}return o()(Oe,[{key:"componentDidMount",value:function(){var ge=this.props.visible;ge&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(ge){var Le=this.props.visible;ge.visible!==Le&&this.parentDrawer&&(Le?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var ge=this.props,Le=ge.placement,Ze=ge.width,vt=ge.height,Ct=ge.visible,Be=ge.mask;if(!Ct&&!Be)return{};var Rt={};return Le==="left"||Le==="right"?Rt.width=Ze:Rt.height=vt,Rt}},{key:"renderHeader",value:function(){var ge=this.props,Le=ge.title,Ze=ge.prefixCls,vt=ge.closable,Ct=ge.headerStyle;if(!Le&&!vt)return null;var Be=Le?"".concat(Ze,"-header"):"".concat(Ze,"-header-no-title");return t.createElement("div",{className:Be,style:Ct},Le&&t.createElement("div",{className:"".concat(Ze,"-title")},Le),vt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var ge=this.props,Le=ge.footer,Ze=ge.footerStyle,vt=ge.prefixCls;if(!Le)return null;var Ct="".concat(vt,"-footer");return t.createElement("div",{className:Ct,style:Ze},Le)}},{key:"renderCloseIcon",value:function(){var ge=this.props,Le=ge.closable,Ze=ge.closeIcon,vt=Ze===void 0?t.createElement(Xe.a,null):Ze,Ct=ge.prefixCls,Be=ge.onClose;return Le&&t.createElement("button",{onClick:Be,"aria-label":"Close",className:"".concat(Ct,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},vt)}},{key:"render",value:function(){return t.createElement(_e.Consumer,null,this.renderProvider)}}]),Oe}(t.Component);se.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:ee};var ke=_.a=Object(Ee.c)({prefixCls:"drawer"})(se)},"/y7N":function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("6GrX"),m=e("7aKB"),v=e("Fofx"),h=e("aX7z"),c=e("+rIm");function o(d){var p=d.get("type"),b=d.getModel(p+"Style"),w;return p==="line"?(w=b.getLineStyle(),w.fill=null):p==="shadow"&&(w=b.getAreaStyle(),w.stroke=null),w}function i(d,p,b,w,E){var S=b.get("value"),x=a(S,p.axis,p.ecModel,b.get("seriesDataIndices"),{precision:b.get("label.precision"),formatter:b.get("label.formatter")}),T=b.getModel("label"),L=m.normalizeCssArray(T.get("padding")||0),y=T.getFont(),C=A.getBoundingRect(x,y),O=E.position,N=C.width+L[1]+L[3],k=C.height+L[0]+L[2],F=E.align;F==="right"&&(O[0]-=N),F==="center"&&(O[0]-=N/2);var B=E.verticalAlign;B==="bottom"&&(O[1]-=k),B==="middle"&&(O[1]-=k/2),n(O,N,k,w);var H=T.get("backgroundColor");(!H||H==="auto")&&(H=p.get("axisLine.lineStyle.color")),d.label={shape:{x:0,y:0,width:N,height:k,r:T.get("borderRadius")},position:O.slice(),style:{text:x,textFont:y,textFill:T.getTextColor(),textPosition:"inside",textPadding:L,fill:H,stroke:T.get("borderColor")||"transparent",lineWidth:T.get("borderWidth")||0,shadowBlur:T.get("shadowBlur"),shadowColor:T.get("shadowColor"),shadowOffsetX:T.get("shadowOffsetX"),shadowOffsetY:T.get("shadowOffsetY")},z2:10}}function n(d,p,b,w){var E=w.getWidth(),S=w.getHeight();d[0]=Math.min(d[0]+p,E)-p,d[1]=Math.min(d[1]+b,S)-b,d[0]=Math.max(d[0],0),d[1]=Math.max(d[1],0)}function a(d,p,b,w,E){d=p.scale.parse(d);var S=p.scale.getLabel(d,{precision:E.precision}),x=E.formatter;if(x){var T={value:h.getAxisRawValue(p,d),axisDimension:p.dim,axisIndex:p.index,seriesData:[]};g.each(w,function(L){var y=b.getSeriesByIndex(L.seriesIndex),C=L.dataIndexInside,O=y&&y.getDataParams(C);O&&T.seriesData.push(O)}),g.isString(x)?S=x.replace("{value}",S):g.isFunction(x)&&(S=x(T))}return S}function u(d,p,b){var w=v.create();return v.rotate(w,w,b.rotation),v.translate(w,w,b.position),f.applyTransform([d.dataToCoord(p),(b.labelOffset||0)+(b.labelDirection||1)*(b.labelMargin||0)],w)}function r(d,p,b,w,E,S){var x=c.innerTextLayout(b.rotation,0,b.labelDirection);b.labelMargin=E.get("label.margin"),i(p,w,E,S,{position:u(w.axis,d,b),align:x.textAlign,verticalAlign:x.textVerticalAlign})}function l(d,p,b){return b=b||0,{x1:d[b],y1:d[1-b],x2:p[b],y2:p[1-b]}}function t(d,p,b){return b=b||0,{x:d[b],y:d[1-b],width:p[b],height:p[1-b]}}function s(d,p,b,w,E,S){return{cx:d,cy:p,r0:b,r:w,startAngle:E,endAngle:S,clockwise:!0}}_.buildElStyle=o,_.buildLabelElOption=i,_.getValueLabel=a,_.getTransformedPosition=u,_.buildCartesianSingleLabelElOption=r,_.makeLineShape=l,_.makeRectShape=t,_.makeSectorShape=s},"/zsF":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("bE4E"),m=e.n(A)},"0/Rx":function(D,_){function e(g){return{seriesType:g,reset:function(f,A){var m=A.findComponents({mainType:"legend"});if(!m||!m.length)return;var v=f.getData();v.filterSelf(function(h){for(var c=v.getName(h),o=0;o<m.length;o++)if(!m[o].isSelected(c))return!1;return!0})}}}D.exports=e},"01d+":function(D,_,e){var g=e("bYtY"),f=g.each,A=e("HF/U"),m=A.simpleLayout,v=A.simpleLayoutEdge;function h(c,o){c.eachSeriesByType("graph",function(i){var n=i.get("layout"),a=i.coordinateSystem;if(a&&a.type!=="view"){var u=i.getData(),r=[];f(a.dimensions,function(b){r=r.concat(u.mapDimension(b,!0))});for(var l=0;l<u.count();l++){for(var t=[],s=!1,d=0;d<r.length;d++){var p=u.get(r[d],l);isNaN(p)||(s=!0),t.push(p)}s?u.setItemLayout(l,a.dataToPoint(t)):u.setItemLayout(l,[NaN,NaN])}v(u.graph)}else(!n||n==="none")&&m(i)})}D.exports=h},"03A+":function(D,_,e){var g=e("JTzB"),f=e("ExA7"),A=Object.prototype,m=A.hasOwnProperty,v=A.propertyIsEnumerable,h=g(function(){return arguments}())?g:function(c){return f(c)&&m.call(c,"callee")&&!v.call(c,"callee")};D.exports=h},"06DH":function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("Kagy"),m=e("IUWy"),v=A.toolbox.magicType,h="__ec_magicType_stack__";function c(u){this.model=u}c.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:f.clone(v.title),option:{},seriesIndex:{}};var o=c.prototype;o.getIcons=function(){var u=this.model,r=u.get("icon"),l={};return f.each(u.get("type"),function(t){r[t]&&(l[t]=r[t])}),l};var i={line:function(u,r,l,t){if(u==="bar")return f.merge({id:r,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.line")||{},!0)},bar:function(u,r,l,t){if(u==="line")return f.merge({id:r,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.bar")||{},!0)},stack:function(u,r,l,t){var s=l.get("stack")===h;if(u==="line"||u==="bar")return t.setIconStatus("stack",s?"normal":"emphasis"),f.merge({id:r,stack:s?"":h},t.get("option.stack")||{},!0)}},n=[["line","bar"],["stack"]];o.onclick=function(u,r,l){var t=this.model,s=t.get("seriesIndex."+l);if(!i[l])return;var d={series:[]},p=function(E){var S=E.subType,x=E.id,T=i[l](S,x,E,t);T&&(f.defaults(T,E.option),d.series.push(T));var L=E.coordinateSystem;if(L&&L.type==="cartesian2d"&&(l==="line"||l==="bar")){var y=L.getAxesByScale("ordinal")[0];if(y){var C=y.dim,O=C+"Axis",N=u.queryComponents({mainType:O,index:E.get(name+"Index"),id:E.get(name+"Id")})[0],k=N.componentIndex;d[O]=d[O]||[];for(var F=0;F<=k;F++)d[O][k]=d[O][k]||{};d[O][k].boundaryGap=l==="bar"}}};f.each(n,function(E){f.indexOf(E,l)>=0&&f.each(E,function(S){t.setIconStatus(S,"normal")})}),t.setIconStatus(l,"emphasis"),u.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},p);var b;if(l==="stack"){var w=d.series&&d.series[0]&&d.series[0].stack===h;b=w?f.merge({stack:v.title.tiled},v.title):f.clone(v.title)}r.dispatchAction({type:"changeMagicType",currentType:l,newOption:d,newTitle:b,featureName:"magicType"})},g.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(u,r){r.mergeOption(u.newOption)}),m.register("magicType",c);var a=c;D.exports=a},"06Qe":function(D,_,e){var g=e("ItGF"),f="urn:schemas-microsoft-com:vml",A=typeof window=="undefined"?null:window,m=!1,v=A&&A.document;function h(i){return c(i)}var c;if(v&&!g.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",f),c=function(n){return v.createElement("<zrvml:"+n+' class="zrvml">')}}catch(i){c=function(a){return v.createElement("<"+a+' xmlns="'+f+'" class="zrvml">')}}function o(){if(m||!v)return;m=!0;var i=v.styleSheets;i.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):i[0].addRule(".zrvml","behavior:url(#default#VML)")}_.doc=v,_.createNode=h,_.initVML=o},"09Wf":function(D,_,e){"use strict";e.d(_,"b",function(){return f}),e.d(_,"a",function(){return A});var g=e("CWQg"),f=Object(g.a)("success","processing","error","default","warning"),A=Object(g.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(D,_,e){var g=e("T4UG"),f=e("I3/A"),A=e("7aKB"),m=A.encodeHTML,v=e("Qxkt"),h=e("Tghj"),c=h.__DEV__,o=g.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(n,a){for(var u=n.edges||n.links,r=n.data||n.nodes,l=n.levels,t=this.levelModels={},s=0;s<l.length;s++)l[s].depth!=null&&l[s].depth>=0&&(t[l[s].depth]=new v(l[s],this,a));if(r&&u){var d=f(r,u,this,!0,p);return d.data}function p(b,w){b.wrapMethod("getItemModel",function(E,S){return E.customizeGetParent(function(x){var T=this.parentModel,L=T.getData().getItemLayout(S).depth,y=T.levelModels[L];return y||this.parentModel}),E}),w.wrapMethod("getItemModel",function(E,S){return E.customizeGetParent(function(x){var T=this.parentModel,L=T.getGraph().getEdgeByIndex(S),y=L.node1.getLayout().depth,C=T.levelModels[y];return C||this.parentModel}),E})}},setNodePosition:function(n,a){var u=this.option.data[n];u.localX=a[0],u.localY=a[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(n,a,u){if(u==="edge"){var r=this.getDataParams(n,u),l=r.data,t=l.source+" -- "+l.target;return r.value&&(t+=" : "+r.value),m(t)}else if(u==="node"){var s=this.getGraph().getNodeByIndex(n),d=s.getLayout().value,p=this.getDataParams(n,u).data.name;if(d)var t=p+" : "+d;return m(t)}return o.superCall(this,"formatTooltip",n,a)},optionUpdated:function(){var n=this.option;n.focusNodeAdjacency===!0&&(n.focusNodeAdjacency="allEdges")},getDataParams:function(n,a){var u=o.superCall(this,"getDataParams",n,a);if(u.value==null&&a==="node"){var r=this.getGraph().getNodeByIndex(n),l=r.getLayout().value;u.value=l}return u},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),i=o;D.exports=i},"0Cz8":function(D,_,e){var g=e("Xi7e"),f=e("ebwN"),A=e("e4Nc"),m=200;function v(h,c){var o=this.__data__;if(o instanceof g){var i=o.__data__;if(!f||i.length<m-1)return i.push([h,c]),this.size=++o.size,this;o=this.__data__=new A(i)}return o.set(h,c),this.size=o.size,this}D.exports=v},"0HBW":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function A(m,v){v.update="updateView",g.registerAction(v,function(h,c){var o={};return c.eachComponent({mainType:"geo",query:h},function(i){i[m](h.name);var n=i.coordinateSystem;f.each(n.regions,function(a){o[a.name]=i.isSelected(a.name)||!1})}),{selected:o,name:h.name}})}A("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),A("select",{type:"geoSelect",event:"geoselected"}),A("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(D,_,e){var g=e("bYtY"),f=e("+TT/"),A=e("OELB"),m=e("IDmD"),v=864e5;function h(i,n,a){this._model=i}h.prototype={constructor:h,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(i){i=A.parseDate(i);var n=i.getFullYear(),a=i.getMonth()+1;a=a<10?"0"+a:a;var u=i.getDate();u=u<10?"0"+u:u;var r=i.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:n,m:a,d:u,day:r,time:i.getTime(),formatedDate:n+"-"+a+"-"+u,date:i}},getNextNDay:function(i,n){return n=n||0,n===0?this.getDateInfo(i):(i=new Date(this.getDateInfo(i).time),i.setDate(i.getDate()+n),this.getDateInfo(i))},update:function(i,n){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 a=this._rangeInfo.weeks||1,u=["width","height"],r=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[a,7]:[7,a];g.each([0,1],function(b){p(r,b)&&(l[u[b]]=r[b]*t[b])});var s={width:n.getWidth(),height:n.getHeight()},d=this._rect=f.getLayoutRect(l,s);g.each([0,1],function(b){p(r,b)||(r[b]=d[u[b]]/t[b])});function p(b,w){return b[w]!=null&&b[w]!=="auto"}this._sw=r[0],this._sh=r[1]},dataToPoint:function(i,n){g.isArray(i)&&(i=i[0]),n==null&&(n=!0);var a=this.getDateInfo(i),u=this._rangeInfo,r=a.formatedDate;if(n&&!(a.time>=u.start.time&&a.time<u.end.time+v))return[NaN,NaN];var l=a.day,t=this._getRangeInfo([u.start.time,r]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(i){var n=this.pointToDate(i);return n&&n.time},dataToRect:function(i,n){var a=this.dataToPoint(i,n);return{contentShape:{x:a[0]-(this._sw-this._lineWidth)/2,y:a[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:a,tl:[a[0]-this._sw/2,a[1]-this._sh/2],tr:[a[0]+this._sw/2,a[1]-this._sh/2],br:[a[0]+this._sw/2,a[1]+this._sh/2],bl:[a[0]-this._sw/2,a[1]+this._sh/2]}},pointToDate:function(i){var n=Math.floor((i[0]-this._rect.x)/this._sw)+1,a=Math.floor((i[1]-this._rect.y)/this._sh)+1,u=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(a,n-1,u):this._getDateByWeeksAndDay(n,a-1,u)},convertToPixel:g.curry(c,"dataToPoint"),convertFromPixel:g.curry(c,"pointToData"),_initRangeOption:function(){var i=this._model.get("range"),n=i;if(g.isArray(n)&&n.length===1&&(n=n[0]),/^\d{4}$/.test(n)&&(i=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var a=this.getDateInfo(n),u=a.date;u.setMonth(u.getMonth()+1);var r=this.getNextNDay(u,-1);i=[a.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(i=[n,n]);var l=this._getRangeInfo(i);return l.start.time>l.end.time&&i.reverse(),i},_getRangeInfo:function(i){i=[this.getDateInfo(i[0]),this.getDateInfo(i[1])];var n;i[0].time>i[1].time&&(n=!0,i.reverse());var a=Math.floor(i[1].time/v)-Math.floor(i[0].time/v)+1,u=new Date(i[0].time),r=u.getDate(),l=i[1].date.getDate();u.setDate(r+a-1);var t=u.getDate();if(t!==l)for(var s=u.getTime()-i[1].time>0?1:-1;(t=u.getDate())!==l&&(u.getTime()-i[1].time)*s>0;)a-=s,u.setDate(t-s);var d=Math.floor((a+i[0].day+6)/7),p=n?-d+1:d-1;return n&&i.reverse(),{range:[i[0].formatedDate,i[1].formatedDate],start:i[0],end:i[1],allDay:a,weeks:d,nthWeek:p,fweek:i[0].day,lweek:i[1].day}},_getDateByWeeksAndDay:function(i,n,a){var u=this._getRangeInfo(a);if(i>u.weeks||i===0&&n<u.fweek||i===u.weeks&&n>u.lweek)return!1;var r=(i-1)*7-u.fweek+n,l=new Date(u.start.time);return l.setDate(u.start.d+r),this.getDateInfo(l)}},h.dimensions=h.prototype.dimensions,h.getDimensionsInfo=h.prototype.getDimensionsInfo,h.create=function(i,n){var a=[];return i.eachComponent("calendar",function(u){var r=new h(u,i,n);a.push(r),u.coordinateSystem=r}),i.eachSeries(function(u){u.get("coordinateSystem")==="calendar"&&(u.coordinateSystem=a[u.get("calendarIndex")||0])}),a};function c(i,n,a,u){var r=a.calendarModel,l=a.seriesModel,t=r?r.coordinateSystem:l?l.coordinateSystem:null;return t===this?t[i](u):null}m.register("calendar",h);var o=h;D.exports=o},"0JQy":function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=g+f+A,v="\\ufe0e\\ufe0f",h="["+e+"]",c="["+m+"]",o="\\ud83c[\\udffb-\\udfff]",i="(?:"+c+"|"+o+")",n="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+r+"(?:"+[n,a,u].join("|")+")"+t+l+")*",d=t+l+s,p="(?:"+[n+c+"?",c,a,u,h].join("|")+")",b=RegExp(o+"(?="+o+")|"+p+d,"g");function w(E){return E.match(b)||[]}D.exports=w},"0NbB":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="CaretDownOutlined";var h=_.a=g.forwardRef(v)},"0V0F":function(D,_,e){var g=e("bYtY"),f=g.createHashMap,A=g.each;function m(h){var c=f();h.eachSeries(function(o){var i=o.get("stack");if(i){var n=c.get(i)||c.set(i,[]),a=o.getData(),u={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:o};if(!u.stackedDimension||!(u.isStackedByIndex||u.stackedByDimension))return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(u)}}),c.each(v)}function v(h){A(h,function(c,o){var i=[],n=[NaN,NaN],a=[c.stackResultDimension,c.stackedOverDimension],u=c.data,r=c.isStackedByIndex,l=u.map(a,function(t,s,d){var p=u.get(c.stackedDimension,d);if(isNaN(p))return n;var b,w;r?w=u.getRawIndex(d):b=u.get(c.stackedByDimension,d);for(var E=NaN,S=o-1;S>=0;S--){var x=h[S];if(r||(w=x.data.rawIndexOf(x.stackedByDimension,b)),w>=0){var T=x.data.getByRawIndex(x.stackResultDimension,w);if(p>=0&&T>0||p<=0&&T<0){p+=T,E=T;break}}}return i[0]=p,i[1]=E,i});u.hostModel.setData(l),c.data=l})}D.exports=m},"0XgM":function(D,_,e){},"0fbx":function(D,_,e){},"0o9m":function(D,_,e){var g=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var f=e("kDyi"),A=e("bLfw");g.registerProcessor(g.PRIORITY.PROCESSOR.SERIES_FILTER,f),A.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(D,_,e){var g=e("ProS");g.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),g.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(D,_){var e=arguments[3],g=arguments[4],f=arguments[5],A=JSON.stringify;D.exports=function(m,v){for(var h,c=Object.keys(f),o=0,i=c.length;o<i;o++){var n=c[o],a=f[n].exports;if(a===m||a&&a.default===m){h=n;break}}if(!h){h=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var u={},o=0,i=c.length;o<i;o++){var n=c[o];u[n]=n}g[h]=["function(require,module,exports){"+m+"(self); }",u]}var r=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[h]=h,g[r]=["function(require,module,exports){var f = require("+A(h)+");(f.default ? f.default : f)(self);}",l];var t={};s(r);function s(S){t[S]=!0;for(var x in g[S][1]){var T=g[S][1][x];t[T]||s(T)}}var d="("+e+")({"+Object.keys(t).map(function(S){return A(S)+":["+g[S][0]+","+A(g[S][1])+"]"}).join(",")+"},{},["+A(r)+"])",p=window.URL||window.webkitURL||window.mozURL||window.msURL,b=new Blob([d],{type:"text/javascript"});if(v&&v.bare)return b;var w=p.createObjectURL(b),E=new Worker(w);return E.objectURL=w,E}},"0s+r":function(D,_,e){var g=e("bYtY"),f=e("QBsz"),A=e("y23F"),m=e("H6uX"),v=e("YH21"),h=e("C0SR"),c="silent";function o(s,d,p){return{type:s,event:p,target:d.target,topTarget:d.topTarget,cancelBubble:!1,offsetX:p.zrX,offsetY:p.zrY,gestureEvent:p.gestureEvent,pinchX:p.pinchX,pinchY:p.pinchY,pinchScale:p.pinchScale,wheelDelta:p.zrDelta,zrByTouch:p.zrByTouch,which:p.which,stop:i}}function i(){v.stop(this.event)}function n(){}n.prototype.dispose=function(){};var a=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],u=function(d,p,b,w){m.call(this),this.storage=d,this.painter=p,this.painterRoot=w,b=b||new n,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,A.call(this),this.setHandlerProxy(b)};u.prototype={constructor:u,setHandlerProxy:function(d){this.proxy&&this.proxy.dispose(),d&&(g.each(a,function(p){d.on&&d.on(p,this[p],this)},this),d.handler=this),this.proxy=d},mousemove:function(d){var p=d.zrX,b=d.zrY,w=l(this,p,b),E=this._hovered,S=E.target;S&&!S.__zr&&(E=this.findHover(E.x,E.y),S=E.target);var x=this._hovered=w?{x:p,y:b}:this.findHover(p,b),T=x.target,L=this.proxy;L.setCursor&&L.setCursor(T?T.cursor:"default"),S&&T!==S&&this.dispatchToElement(E,"mouseout",d),this.dispatchToElement(x,"mousemove",d),T&&T!==S&&this.dispatchToElement(x,"mouseover",d)},mouseout:function(d){var p=d.zrEventControl,b=d.zrIsToLocalDOM;p!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",d),p!=="no_globalout"&&(!b&&this.trigger("globalout",{type:"globalout",event:d}))},resize:function(d){this._hovered={}},dispatch:function(d,p){var b=this[d];b&&b.call(this,p)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(d){var p=this.proxy;p.setCursor&&p.setCursor(d)},dispatchToElement:function(d,p,b){d=d||{};var w=d.target;if(w&&w.silent)return;for(var E="on"+p,S=o(p,d,b);w&&!(w[E]&&(S.cancelBubble=w[E].call(w,S)),w.trigger(p,S),w=w.parent,S.cancelBubble););S.cancelBubble||(this.trigger(p,S),this.painter&&this.painter.eachOtherLayer(function(x){typeof x[E]=="function"&&x[E].call(x,S),x.trigger&&x.trigger(p,S)}))},findHover:function(d,p,b){for(var w=this.storage.getDisplayList(),E={x:d,y:p},S=w.length-1;S>=0;S--){var x;if(w[S]!==b&&!w[S].ignore&&(x=r(w[S],d,p))&&(!E.topTarget&&(E.topTarget=w[S]),x!==c)){E.target=w[S];break}}return E},processGesture:function(d,p){this._gestureMgr||(this._gestureMgr=new h);var b=this._gestureMgr;p==="start"&&b.clear();var w=b.recognize(d,this.findHover(d.zrX,d.zrY,null).target,this.proxy.dom);if(p==="end"&&b.clear(),w){var E=w.type;d.gestureEvent=E,this.dispatchToElement({target:w.target},E,w.event)}}},g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){u.prototype[s]=function(d){var p=d.zrX,b=d.zrY,w=l(this,p,b),E,S;if((s!=="mouseup"||!w)&&(E=this.findHover(p,b),S=E.target),s==="mousedown")this._downEl=S,this._downPoint=[d.zrX,d.zrY],this._upEl=S;else if(s==="mouseup")this._upEl=S;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||f.dist(this._downPoint,[d.zrX,d.zrY])>4)return;this._downPoint=null}this.dispatchToElement(E,s,d)}});function r(s,d,p){if(s[s.rectHover?"rectContain":"contain"](d,p)){for(var b=s,w;b;){if(b.clipPath&&!b.clipPath.contain(d,p))return!1;b.silent&&(w=!0),b=b.parent}return w?c:!0}return!1}function l(s,d,p){var b=s.painter;return d<0||d>b.getWidth()||p<0||p>b.getHeight()}g.mixin(u,m),g.mixin(u,A);var t=u;D.exports=t},"0ycA":function(D,_){function e(){return[]}D.exports=e},"10cm":function(D,_,e){var g=e("ProS"),f=e("2B6p"),A=f.updateCenterAndZoom;e("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};g.registerAction(m,function(v,h){h.eachComponent({mainType:"series",query:v},function(c){var o=c.coordinateSystem,i=A(o,v);c.setCenter&&c.setCenter(i.center),c.setZoom&&c.setZoom(i.zoom)})})},"14J3":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("1GLa")},"15/o":function(D,_,e){},"19Vz":function(D,_,e){(function(g){g(e("VrN/"))})(function(g){g.defineOption("placeholder","",function(o,i,n){var a=n&&n!=g.Init;if(i&&!a)o.on("blur",v),o.on("change",h),o.on("swapDoc",h),g.on(o.getInputField(),"compositionupdate",o.state.placeholderCompose=function(){m(o)}),h(o);else if(!i&&a){o.off("blur",v),o.off("change",h),o.off("swapDoc",h),g.off(o.getInputField(),"compositionupdate",o.state.placeholderCompose),f(o);var u=o.getWrapperElement();u.className=u.className.replace(" CodeMirror-empty","")}i&&!o.hasFocus()&&v(o)});function f(o){o.state.placeholder&&(o.state.placeholder.parentNode.removeChild(o.state.placeholder),o.state.placeholder=null)}function A(o){f(o);var i=o.state.placeholder=document.createElement("pre");i.style.cssText="height: 0; overflow: visible",i.style.direction=o.getOption("direction"),i.className="CodeMirror-placeholder CodeMirror-line-like";var n=o.getOption("placeholder");typeof n=="string"&&(n=document.createTextNode(n)),i.appendChild(n),o.display.lineSpace.insertBefore(i,o.display.lineSpace.firstChild)}function m(o){setTimeout(function(){var i=!1,n=o.getInputField();n.nodeName=="TEXTAREA"?i=!n.value:o.lineCount()==1&&(i=!/[^\u200b]/.test(n.querySelector(".CodeMirror-line").textContent)),i?A(o):f(o)},20)}function v(o){c(o)&&A(o)}function h(o){var i=o.getWrapperElement(),n=c(o);i.className=i.className.replace(" CodeMirror-empty","")+(n?" CodeMirror-empty":""),n?A(o):f(o)}function c(o){return o.lineCount()===1&&o.getLine(0)===""}})},"1GLa":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("FIfw"),m=e.n(A)},"1Jh7":function(D,_,e){var g=e("y+Vt"),f=e("T6xi"),A=g.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,h){f.buildPath(v,h,!1)}});D.exports=A},"1LEl":function(D,_,e){var g=e("ProS"),f=e("F9bG"),A=g.extendComponentView({type:"axisPointer",render:function(v,h,c){var o=h.getComponent("tooltip"),i=v.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";f.register("axisPointer",c,function(n,a,u){i!=="none"&&(n==="leave"||i.indexOf(n)>=0)&&u({type:"updateAxisPointer",currTrigger:n,x:a&&a.offsetX,y:a&&a.offsetY})})},remove:function(v,h){f.unregister(h.getZr(),"axisPointer"),A.superApply(this._model,"remove",arguments)},dispose:function(v,h){f.unregister("axisPointer",h),A.superApply(this._model,"dispose",arguments)}}),m=A;D.exports=m},"1MYJ":function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,v=this.shape.paths,h=0;h<v.length;h++)m=m||v[h].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],v=this.getGlobalScale(),h=0;h<m.length;h++)m[h].path||m[h].createPathProxy(),m[h].path.setScale(v[0],v[1],m[h].segmentIgnoreThreshold)},buildPath:function(m,v){for(var h=v.paths||[],c=0;c<h.length;c++)h[c].buildPath(m,h[c].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],v=0;v<m.length;v++)m[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),g.prototype.getBoundingRect.call(this)}});D.exports=f},"1NG9":function(D,_,e){var g=e("y+Vt"),f=e("QBsz"),A=e("iXp4"),m=f.min,v=f.max,h=f.scaleAndAdd,c=f.copy,o=[],i=[],n=[];function a(p){return isNaN(p[0])||isNaN(p[1])}function u(p,b,w,E,S,x,T,L,y,C,O){return C==="none"||!C?l.apply(this,arguments):r.apply(this,arguments)}function r(p,b,w,E,S,x,T,L,y,C,O){for(var N=0,k=w,F=0;F<E;F++){var B=b[k];if(k>=S||k<0)break;if(a(B)){if(O){k+=x;continue}break}if(k===w)p[x>0?"moveTo":"lineTo"](B[0],B[1]);else if(y>0){var H=b[N],W=C==="y"?1:0,R=(B[W]-H[W])*y;c(i,H),i[W]=H[W]+R,c(n,B),n[W]=B[W]-R,p.bezierCurveTo(i[0],i[1],n[0],n[1],B[0],B[1])}else p.lineTo(B[0],B[1]);N=k,k+=x}return F}function l(p,b,w,E,S,x,T,L,y,C,O){for(var N=0,k=w,F=0;F<E;F++){var B=b[k];if(k>=S||k<0)break;if(a(B)){if(O){k+=x;continue}break}if(k===w)p[x>0?"moveTo":"lineTo"](B[0],B[1]),c(i,B);else if(y>0){var H=k+x,W=b[H];if(O)for(;W&&a(b[H]);)H+=x,W=b[H];var R=.5,U=b[N],W=b[H];if(!W||a(W))c(n,B);else{a(W)&&!O&&(W=B),f.sub(o,W,U);var j,P;if(C==="x"||C==="y"){var K=C==="x"?0:1;j=Math.abs(B[K]-U[K]),P=Math.abs(B[K]-W[K])}else j=f.dist(B,U),P=f.dist(B,W);R=P/(P+j),h(n,B,o,-y*(1-R))}m(i,i,L),v(i,i,T),m(n,n,L),v(n,n,T),p.bezierCurveTo(i[0],i[1],n[0],n[1],B[0],B[1]),h(i,B,o,y*R)}else p.lineTo(B[0],B[1]);N=k,k+=x}return F}function t(p,b){var w=[Infinity,Infinity],E=[-Infinity,-Infinity];if(b)for(var S=0;S<p.length;S++){var x=p[S];x[0]<w[0]&&(w[0]=x[0]),x[1]<w[1]&&(w[1]=x[1]),x[0]>E[0]&&(E[0]=x[0]),x[1]>E[1]&&(E[1]=x[1])}return{min:b?w:E,max:b?E:w}}var s=g.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:A(g.prototype.brush),buildPath:function(p,b){var w=b.points,E=0,S=w.length,x=t(w,b.smoothConstraint);if(b.connectNulls){for(;S>0&&a(w[S-1]);S--);for(;E<S&&a(w[E]);E++);}for(;E<S;)E+=u(p,w,E,S,S,1,x.min,x.max,b.smooth,b.smoothMonotone,b.connectNulls)+1}}),d=g.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:A(g.prototype.brush),buildPath:function(p,b){var w=b.points,E=b.stackedOnPoints,S=0,x=w.length,T=b.smoothMonotone,L=t(w,b.smoothConstraint),y=t(E,b.smoothConstraint);if(b.connectNulls){for(;x>0&&a(w[x-1]);x--);for(;S<x&&a(w[S]);S++);}for(;S<x;){var C=u(p,w,S,x,x,1,L.min,L.max,b.smooth,T,b.connectNulls);u(p,E,S+C-1,C,x,-1,y.min,y.max,b.stackedOnSmooth,T,b.connectNulls),S+=C+1,p.closePath()}}});_.Polyline=s,_.Polygon=d},"1RvN":function(D,_){var e=function(){this.head=null,this.tail=null,this._len=0},g=e.prototype;g.insert=function(h){var c=new f(h);return this.insertEntry(c),c},g.insertEntry=function(h){this.head?(this.tail.next=h,h.prev=this.tail,h.next=null,this.tail=h):this.head=this.tail=h,this._len++},g.remove=function(h){var c=h.prev,o=h.next;c?c.next=o:this.head=o,o?o.prev=c:this.tail=c,h.next=h.prev=null,this._len--},g.len=function(){return this._len},g.clear=function(){this.head=this.tail=null,this._len=0};var f=function(c){this.value=c,this.next,this.prev},A=function(c){this._list=new e,this._map={},this._maxSize=c||10,this._lastRemovedEntry=null},m=A.prototype;m.put=function(h,c){var o=this._list,i=this._map,n=null;if(i[h]==null){var a=o.len(),u=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var r=o.head;o.remove(r),delete i[r.key],n=r.value,this._lastRemovedEntry=r}u?u.value=c:u=new f(c),u.key=h,o.insertEntry(u),i[h]=u}return n},m.get=function(h){var c=this._map[h],o=this._list;if(c!=null)return c!==o.tail&&(o.remove(c),o.insertEntry(c)),c.value},m.clear=function(){this._list.clear(),this._map={}};var v=A;D.exports=v},"1bdT":function(D,_,e){var g=e("3gBT"),f=e("H6uX"),A=e("DN4a"),m=e("vWvF"),v=e("bYtY"),h=function(i){A.call(this,i),f.call(this,i),m.call(this,i),this.id=i.id||g()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(i,n){switch(this.draggable){case"horizontal":n=0;break;case"vertical":i=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=i,a[5]+=n,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(i,n){},attrKV:function(i,n){if(i==="position"||i==="scale"||i==="origin"){if(n){var a=this[i];a||(a=this[i]=[]),a[0]=n[0],a[1]=n[1]}}else this[i]=n},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(i,n){if(typeof i=="string")this.attrKV(i,n);else if(v.isObject(i))for(var a in i)i.hasOwnProperty(a)&&this.attrKV(a,i[a]);return this.dirty(!1),this},setClipPath:function(i){var n=this.__zr;n&&i.addSelfToZr(n),this.clipPath&&this.clipPath!==i&&this.removeClipPath(),this.clipPath=i,i.__zr=n,i.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var i=this.clipPath;i&&(i.__zr&&i.removeSelfFromZr(i.__zr),i.__zr=null,i.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(i){this.__zr=i;var n=this.animators;if(n)for(var a=0;a<n.length;a++)i.animation.addAnimator(n[a]);this.clipPath&&this.clipPath.addSelfToZr(i)},removeSelfFromZr:function(i){this.__zr=null;var n=this.animators;if(n)for(var a=0;a<n.length;a++)i.animation.removeAnimator(n[a]);this.clipPath&&this.clipPath.removeSelfFromZr(i)}},v.mixin(h,m),v.mixin(h,A),v.mixin(h,f);var c=h;D.exports=c},"1dTM":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("GQ8N"),f=C(e("Lo0S")),A=e("VSMT"),m=e("GdRQ"),v=e("SZEN"),h=e("vewr"),c=L(e("YJ9k")),o=L(e("MZdM")),i=L(e("ItS6")),n=L(e("whVF")),a=L(e("Fv0C")),u=L(e("LCi9")),r=L(e("rwxt")),l=L(e("Mmt2")),t=L(e("iUHT")),s=L(e("mHUz")),d=L(e("P2ho")),p=e("NBmB");e("mdZa");var b=L(e("34/K")),w=L(e("hXwI")),E=L(e("SgaC")),S=L(e("3690")),x=L(e("8K/p")),T=L(e("xO64"));function L(ke){return ke&&ke.__esModule?ke:{default:ke}}function y(){if(typeof WeakMap!="function")return null;var ke=new WeakMap;return y=function(){return ke},ke}function C(ke){if(ke&&ke.__esModule)return ke;if(ke===null||O(ke)!=="object"&&typeof ke!="function")return{default:ke};var Ce=y();if(Ce&&Ce.has(ke))return Ce.get(ke);var ze={},Oe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in ke)if(Object.prototype.hasOwnProperty.call(ke,ae)){var ge=Oe?Object.getOwnPropertyDescriptor(ke,ae):null;ge&&(ge.get||ge.set)?Object.defineProperty(ze,ae,ge):ze[ae]=ke[ae]}return ze.default=ke,Ce&&Ce.set(ke,ze),ze}function O(ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(ze){return typeof ze}:O=function(ze){return ze&&typeof Symbol=="function"&&ze.constructor===Symbol&&ze!==Symbol.prototype?"symbol":typeof ze},O(ke)}function N(ke,Ce){if(!(ke instanceof Ce))throw new TypeError("Cannot call a class as a function")}function k(ke,Ce){for(var ze=0;ze<Ce.length;ze++){var Oe=Ce[ze];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(ke,Oe.key,Oe)}}function F(ke,Ce,ze){return Ce&&k(ke.prototype,Ce),ze&&k(ke,ze),ke}function B(ke,Ce){if(typeof Ce!="function"&&Ce!==null)throw new TypeError("Super expression must either be null or a function");ke.prototype=Object.create(Ce&&Ce.prototype,{constructor:{value:ke,writable:!0,configurable:!0}}),Ce&&H(ke,Ce)}function H(ke,Ce){return H=Object.setPrototypeOf||function(Oe,ae){return Oe.__proto__=ae,Oe},H(ke,Ce)}function W(ke){var Ce=j();return function(){var Oe=P(ke),ae;if(Ce){var ge=P(this).constructor;ae=Reflect.construct(Oe,arguments,ge)}else ae=Oe.apply(this,arguments);return R(this,ae)}}function R(ke,Ce){return Ce&&(O(Ce)==="object"||typeof Ce=="function")?Ce:U(ke)}function U(ke){if(ke===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ke}function j(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ke){return!1}}function P(ke){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(ze){return ze.__proto__||Object.getPrototypeOf(ze)},P(ke)}var K=3,V="rgb(40, 40, 40)",z=17,X=50,G=19,le=75,Y=50,me=1e3,we=50,pe=1,Fe=1<<1,Xe=1<<2,dt=1<<3,Ee=1<<4,Se=1<<24,at=1<<25,_e=1<<26,ce=1<<27,ee=1<<28,se=function(ke){B(ze,ke);var Ce=W(ze);function ze(Oe,ae,ge){var Le;if(N(this,ze),!Oe)throw new Error("Must specify target");if(!ae)throw new Error("Must specify URL");Le=Ce.call(this),Le._target=Oe,Le._url=ae,ge=ge||{},Le._rfbCredentials=ge.credentials||{},Le._shared="shared"in ge?!!ge.shared:!0,Le._repeaterID=ge.repeaterID||"",Le._wsProtocols=ge.wsProtocols||[],Le._rfbConnectionState="",Le._rfbInitState="",Le._rfbAuthScheme=-1,Le._rfbCleanDisconnect=!0,Le._rfbVersion=0,Le._rfbMaxVersion=3.8,Le._rfbTightVNC=!1,Le._rfbVeNCryptState=0,Le._rfbXvpVer=0,Le._fbWidth=0,Le._fbHeight=0,Le._fbName="",Le._capabilities={power:!1},Le._supportsFence=!1,Le._supportsContinuousUpdates=!1,Le._enabledContinuousUpdates=!1,Le._supportsSetDesktopSize=!1,Le._screenID=0,Le._screenFlags=0,Le._qemuExtKeyEventSupported=!1,Le._clipboardText=null,Le._clipboardServerCapabilitiesActions={},Le._clipboardServerCapabilitiesFormats={},Le._sock=null,Le._display=null,Le._flushing=!1,Le._keyboard=null,Le._gestures=null,Le._disconnTimer=null,Le._resizeTimeout=null,Le._mouseMoveTimer=null,Le._decoders={},Le._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},Le._mousePos={},Le._mouseButtonMask=0,Le._mouseLastMoveTime=0,Le._viewportDragging=!1,Le._viewportDragPos={},Le._viewportHasMoved=!1,Le._accumulatedWheelDeltaX=0,Le._accumulatedWheelDeltaY=0,Le._gestureLastTapTime=null,Le._gestureFirstDoubleTapEv=null,Le._gestureLastMagnitudeX=0,Le._gestureLastMagnitudeY=0,Le._eventHandlers={focusCanvas:Le._focusCanvas.bind(U(Le)),windowResize:Le._windowResize.bind(U(Le)),handleMouse:Le._handleMouse.bind(U(Le)),handleWheel:Le._handleWheel.bind(U(Le)),handleGesture:Le._handleGesture.bind(U(Le))},f.Debug(">> RFB.constructor"),Le._screen=document.createElement("div"),Le._screen.style.display="flex",Le._screen.style.width="100%",Le._screen.style.height="100%",Le._screen.style.overflow="auto",Le._screen.style.background=V,Le._canvas=document.createElement("canvas"),Le._canvas.style.margin="auto",Le._canvas.style.outline="none",Le._canvas.style.flexShrink="0",Le._canvas.width=0,Le._canvas.height=0,Le._canvas.tabIndex=-1,Le._screen.appendChild(Le._canvas),Le._cursor=new r.default,Le._cursorImage=ze.cursors.none,Le._decoders[p.encodings.encodingRaw]=new b.default,Le._decoders[p.encodings.encodingCopyRect]=new w.default,Le._decoders[p.encodings.encodingRRE]=new E.default,Le._decoders[p.encodings.encodingHextile]=new S.default,Le._decoders[p.encodings.encodingTight]=new x.default,Le._decoders[p.encodings.encodingTightPNG]=new T.default;try{Le._display=new o.default(Le._canvas)}catch(Ze){throw f.Error("Display exception: "+Ze),Ze}return Le._display.onflush=Le._onFlush.bind(U(Le)),Le._keyboard=new a.default(Le._canvas),Le._keyboard.onkeyevent=Le._handleKeyEvent.bind(U(Le)),Le._gestures=new u.default,Le._sock=new l.default,Le._sock.on("message",function(){Le._handleMessage()}),Le._sock.on("open",function(){Le._rfbConnectionState==="connecting"&&Le._rfbInitState===""?(Le._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):Le._fail("Unexpected server connection while "+Le._rfbConnectionState)}),Le._sock.on("close",function(Ze){f.Debug("WebSocket on-close event");var vt="";Ze.code&&(vt="(code: "+Ze.code,Ze.reason&&(vt+=", reason: "+Ze.reason),vt+=")");switch(Le._rfbConnectionState){case"connecting":Le._fail("Connection closed "+vt);break;case"connected":Le._updateConnectionState("disconnecting"),Le._updateConnectionState("disconnected");break;case"disconnecting":Le._updateConnectionState("disconnected");break;case"disconnected":Le._fail("Unexpected server disconnect when already disconnected "+vt);break;default:Le._fail("Unexpected server disconnect before connecting "+vt);break}Le._sock.off("close")}),Le._sock.on("error",function(Ze){return f.Warn("WebSocket on-error event")}),setTimeout(Le._updateConnectionState.bind(U(Le),"connecting")),f.Debug("<< RFB.constructor"),Le.dragViewport=!1,Le.focusOnClick=!0,Le._viewOnly=!1,Le._clipViewport=!1,Le._scaleViewport=!1,Le._resizeSession=!1,Le._showDotCursor=!1,ge.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Le._showDotCursor=ge.showDotCursor),Le._qualityLevel=6,Le._compressionLevel=2,Le}return F(ze,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(ae){this._rfbCredentials=ae,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;f.Info("Sending Ctrl-Alt-Del"),this.sendKey(s.default.XK_Control_L,"ControlLeft",!0),this.sendKey(s.default.XK_Alt_L,"AltLeft",!0),this.sendKey(s.default.XK_Delete,"Delete",!0),this.sendKey(s.default.XK_Delete,"Delete",!1),this.sendKey(s.default.XK_Alt_L,"AltLeft",!1),this.sendKey(s.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(ae,ge,Le){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Le===void 0){this.sendKey(ae,ge,!0),this.sendKey(ae,ge,!1);return}var Ze=d.default[ge];if(this._qemuExtKeyEventSupported&&Ze)ae=ae||0,f.Info("Sending key ("+(Le?"down":"up")+"): keysym "+ae+", scancode "+Ze),ze.messages.QEMUExtendedKeyEvent(this._sock,ae,Le,Ze);else{if(!ae)return;f.Info("Sending keysym ("+(Le?"down":"up")+"): "+ae),ze.messages.keyEvent(this._sock,ae,Le?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(ae){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[pe]&&this._clipboardServerCapabilitiesActions[ce])this._clipboardText=ae,ze.messages.extendedClipboardNotify(this._sock,[pe]);else{for(var ge=new Uint8Array(ae.length),Le=0;Le<ae.length;Le++)ge[Le]=ae.charCodeAt(Le);ze.messages.clientCutText(this._sock,ge)}}},{key:"_connect",value:function(){f.Debug(">> RFB.connect"),f.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(ae){ae.name==="SyntaxError"?this._fail("Invalid host or port ("+ae+")"):this._fail("Error when opening socket ("+ae+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),f.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){f.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(ae){if(!(ae.name==="NotFoundError"))throw ae}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),f.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(ae){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(ae){this._fbName=ae,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(ae){var ge=this;window.requestAnimationFrame(function(){ge._updateClip(),ge._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var ae=this._display.clipViewport,ge=this._clipViewport;if(this._scaleViewport&&(ge=!1),ae!==ge&&(this._display.clipViewport=ge),ge){var Le=this._screenSize();this._display.viewportChangeSize(Le.w,Le.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var ae=this._screenSize();this._display.autoscale(ae.w,ae.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var ae=this._screenSize();ze.messages.setDesktopSize(this._sock,Math.floor(ae.w),Math.floor(ae.h),this._screenID,this._screenFlags),f.Debug("Requested new desktop size: "+ae.w+"x"+ae.h)}},{key:"_screenSize",value:function(){var ae=this._screen.getBoundingClientRect();return{w:ae.width,h:ae.height}}},{key:"_fixScrollbars",value:function(){var ae=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=ae}},{key:"_updateConnectionState",value:function(ae){var ge=this,Le=this._rfbConnectionState;if(ae===Le){f.Debug("Already in state '"+ae+"', ignoring");return}if(Le==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(ae){case"connected":if(Le!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+Le);return}break;case"disconnected":if(Le!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+Le);return}break;case"connecting":if(Le!==""){f.Error("Bad transition to connecting state, previous connection state: "+Le);return}break;case"disconnecting":if(Le!=="connected"&&Le!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+Le);return}break;default:f.Error("Unknown connection state: "+ae);return}this._rfbConnectionState=ae,f.Debug("New state '"+ae+"', was '"+Le+"'."),this._disconnTimer&&ae!=="disconnecting"&&(f.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(ae){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){f.Error("Disconnection timed out."),ge._updateConnectionState("disconnected")},K*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(ae){switch(this._rfbConnectionState){case"disconnecting":f.Error("Failed when disconnecting: "+ae);break;case"connected":f.Error("Failed while connected: "+ae);break;case"connecting":f.Error("Failed when connecting: "+ae);break;default:f.Error("RFB failure: "+ae);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(ae,ge){this._capabilities[ae]=ge,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){f.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":f.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(ae,ge,Le){this.sendKey(ae,ge,Le)}},{key:"_handleMouse",value:function(ae){if(ae.type==="click"&&ae.target!==this._canvas)return;if(ae.stopPropagation(),ae.preventDefault(),ae.type==="click"||ae.type==="contextmenu")return;var ge=(0,v.clientToElement)(ae.clientX,ae.clientY,this._canvas);switch(ae.type){case"mousedown":(0,h.setCapture)(this._canvas),this._handleMouseButton(ge.x,ge.y,!0,1<<ae.button);break;case"mouseup":this._handleMouseButton(ge.x,ge.y,!1,1<<ae.button);break;case"mousemove":this._handleMouseMove(ge.x,ge.y);break}}},{key:"_handleMouseButton",value:function(ae,ge,Le,Ze){if(this.dragViewport)if(Le&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:ae,y:ge},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(ae,ge,Ze)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(ae,ge,this._mouseButtonMask)),Le?this._mouseButtonMask|=Ze:this._mouseButtonMask&=~Ze,this._sendMouse(ae,ge,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(ae,ge){var Le=this;if(this._viewportDragging){var Ze=this._viewportDragPos.x-ae,vt=this._viewportDragPos.y-ge;(this._viewportHasMoved||Math.abs(Ze)>m.dragThreshold||Math.abs(vt)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:ae,y:ge},this._display.viewportChangePos(Ze,vt));return}if(this._mousePos={x:ae,y:ge},this._mouseMoveTimer==null){var Ct=Date.now()-this._mouseLastMoveTime;Ct>z?(this._sendMouse(ae,ge,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Le._handleDelayedMouseMove()},z-Ct)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(ae,ge,Le){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ze.messages.pointerEvent(this._sock,this._display.absX(ae),this._display.absY(ge),Le)}},{key:"_handleWheel",value:function(ae){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ae.stopPropagation(),ae.preventDefault();var ge=(0,v.clientToElement)(ae.clientX,ae.clientY,this._canvas),Le=ae.deltaX,Ze=ae.deltaY;ae.deltaMode!==0&&(Le*=G,Ze*=G),this._accumulatedWheelDeltaX+=Le,this._accumulatedWheelDeltaY+=Ze,Math.abs(this._accumulatedWheelDeltaX)>=X&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(ge.x,ge.y,!0,1<<5),this._handleMouseButton(ge.x,ge.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(ge.x,ge.y,!0,1<<6),this._handleMouseButton(ge.x,ge.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=X&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(ge.x,ge.y,!0,1<<3),this._handleMouseButton(ge.x,ge.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(ge.x,ge.y,!0,1<<4),this._handleMouseButton(ge.x,ge.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(ae,ge,Le){this._handleMouseMove(ge,Le),this._cursor.move(ae.detail.clientX,ae.detail.clientY)}},{key:"_handleTapEvent",value:function(ae,ge){var Le=(0,v.clientToElement)(ae.detail.clientX,ae.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<me&&this._gestureFirstDoubleTapEv.detail.type===ae.detail.type){var Ze=this._gestureFirstDoubleTapEv.detail.clientX-ae.detail.clientX,vt=this._gestureFirstDoubleTapEv.detail.clientY-ae.detail.clientY,Ct=Math.hypot(Ze,vt);Ct<we?Le=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=ae}else this._gestureFirstDoubleTapEv=ae;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,ge),this._handleMouseButton(Le.x,Le.y,!1,ge)}},{key:"_handleGesture",value:function(ae){var ge,Le=(0,v.clientToElement)(ae.detail.clientX,ae.detail.clientY,this._canvas);switch(ae.type){case"gesturestart":switch(ae.detail.type){case"onetap":this._handleTapEvent(ae,1);break;case"twotap":this._handleTapEvent(ae,4);break;case"threetap":this._handleTapEvent(ae,2);break;case"drag":this._fakeMouseMove(ae,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,1);break;case"longpress":this._fakeMouseMove(ae,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=ae.detail.magnitudeX,this._gestureLastMagnitudeY=ae.detail.magnitudeY,this._fakeMouseMove(ae,Le.x,Le.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),this._fakeMouseMove(ae,Le.x,Le.y);break}break;case"gesturemove":switch(ae.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(ae,Le.x,Le.y);break;case"twodrag":for(this._fakeMouseMove(ae,Le.x,Le.y);ae.detail.magnitudeY-this._gestureLastMagnitudeY>Y;)this._handleMouseButton(Le.x,Le.y,!0,8),this._handleMouseButton(Le.x,Le.y,!1,8),this._gestureLastMagnitudeY+=Y;for(;ae.detail.magnitudeY-this._gestureLastMagnitudeY<-Y;)this._handleMouseButton(Le.x,Le.y,!0,16),this._handleMouseButton(Le.x,Le.y,!1,16),this._gestureLastMagnitudeY-=Y;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX>Y;)this._handleMouseButton(Le.x,Le.y,!0,32),this._handleMouseButton(Le.x,Le.y,!1,32),this._gestureLastMagnitudeX+=Y;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX<-Y;)this._handleMouseButton(Le.x,Le.y,!0,64),this._handleMouseButton(Le.x,Le.y,!1,64),this._gestureLastMagnitudeX-=Y;break;case"pinch":if(this._fakeMouseMove(ae,Le.x,Le.y),ge=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),Math.abs(ge-this._gestureLastMagnitudeX)>le){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);ge-this._gestureLastMagnitudeX>le;)this._handleMouseButton(Le.x,Le.y,!0,8),this._handleMouseButton(Le.x,Le.y,!1,8),this._gestureLastMagnitudeX+=le;for(;ge-this._gestureLastMagnitudeX<-le;)this._handleMouseButton(Le.x,Le.y,!0,16),this._handleMouseButton(Le.x,Le.y,!1,16),this._gestureLastMagnitudeX-=le}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(ae.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(ae,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!1,1);break;case"longpress":this._fakeMouseMove(ae,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var ae=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+ae);var ge=0;switch(ae){case"000.000":ge=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 "+ae)}if(ge){for(var Le="ID:"+this._repeaterID;Le.length<250;)Le+="\0";return this._sock.sendString(Le),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Ze="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Ze+`
`),f.Debug("Sent ProtocolVersion: "+Ze),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function ae(Ze,vt){for(var Ct=0;Ct<vt.length;Ct++)if(vt[Ct]===Ze)return!0;return!1}if(this._rfbVersion>=3.7){var ge=this._sock.rQshift8();if(this._sock.rQwait("security type",ge,1))return!1;if(ge===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Le=this._sock.rQshiftBytes(ge);if(f.Debug("Server security types: "+Le),ae(1,Le))this._rfbAuthScheme=1;else if(ae(22,Le))this._rfbAuthScheme=22;else if(ae(16,Le))this._rfbAuthScheme=16;else if(ae(2,Le))this._rfbAuthScheme=2;else if(ae(19,Le))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Le+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",f.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var ae=this._sock.rQshift32(),ge="";if(ae>0){if(this._sock.rQwait("reason",ae,4))return!1;ge=this._sock.rQshiftStr(ae)}return ge!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:ge}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+ge+")")):(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 ae=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(ae),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var ae=this._sock.rQshift8(),ge=this._sock.rQshift8();if(!(ae==0&&ge==2))return this._fail("Unsupported VeNCrypt version "+ae+"."+ge);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Le=this._sock.rQshift8();if(Le!=0)return this._fail("VeNCrypt failure "+Le);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Ze=this._sock.rQshift8();if(Ze<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Ze,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var vt=[],Ct=0;Ct<this._rfbVeNCryptSubtypesLength;Ct++)vt.push(this._sock.rQshift32());if(vt.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 Be=(0,A.encodeUTF8)(this._rfbCredentials.username),Rt=(0,A.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Be.length]),this._sock.send([0,0,0,Rt.length]),this._sock.sendString(Be),this._sock.sendString(Rt),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var ae=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),ge=ze.genDES(this._rfbCredentials.password,ae);return this._sock.send(ge),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(ae){for(var ge={0:{vendor:"TGHT",signature:"NOTUNNEL"}},Le={},Ze=0;Ze<ae;Ze++){var vt=this._sock.rQshift32(),Ct=this._sock.rQshiftStr(4),Be=this._sock.rQshiftStr(8);Le[vt]={vendor:Ct,signature:Be}}return f.Debug("Server Tight tunnel types: "+Le),Le[1]&&Le[1].vendor==="SICR"&&Le[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),Le[0]={vendor:"TGHT",signature:"NOTUNNEL"}),Le[0]?Le[0].vendor!=ge[0].vendor||Le[0].signature!=ge[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+ge[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 ae=this._sock.rQshift32();if(ae>0&&this._sock.rQwait("tunnel capabilities",16*ae,4))return!1;if(this._rfbTightVNC=!0,ae>0)return this._negotiateTightTunnels(ae),!1}if(this._sock.rQwait("sub auth count",4))return!1;var ge=this._sock.rQshift32();if(ge===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*ge,4))return!1;for(var Le={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Ze=[],vt=0;vt<ge;vt++){this._sock.rQshift32();var Ct=this._sock.rQshiftStr(12);Ze.push(Ct)}f.Debug("Server Tight authentication types: "+Ze);for(var Be in Le)if(Ze.indexOf(Be)!=-1){this._sock.send([0,0,0,Le[Be]]),f.Debug("Selected authentication type: "+Be);switch(Be){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: "+Be+")")}}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 ae=this._sock.rQshift32();return ae===0?(this._rfbInitState="ClientInitialisation",f.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=ae,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:ae}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var ae=this._sock.rQshift16(),ge=this._sock.rQshift16(),Le=this._sock.rQshift8(),Ze=this._sock.rQshift8(),vt=this._sock.rQshift8(),Ct=this._sock.rQshift8(),Be=this._sock.rQshift16(),Rt=this._sock.rQshift16(),He=this._sock.rQshift16(),wt=this._sock.rQshift8(),Ge=this._sock.rQshift8(),et=this._sock.rQshift8();this._sock.rQskipBytes(3);var rt=this._sock.rQshift32();if(this._sock.rQwait("server init name",rt,24))return!1;var lt=this._sock.rQshiftStr(rt);if(lt=(0,A.decodeUTF8)(lt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+rt))return!1;var Ve=this._sock.rQshift16(),ie=this._sock.rQshift16(),$=this._sock.rQshift16();this._sock.rQskipBytes(2);var it=(Ve+ie+$)*16;if(this._sock.rQwait("TightVNC extended server init header",it,32+rt))return!1;this._sock.rQskipBytes(16*Ve),this._sock.rQskipBytes(16*ie),this._sock.rQskipBytes(16*$)}return f.Info("Screen: "+ae+"x"+ge+", bpp: "+Le+", depth: "+Ze+", bigEndian: "+vt+", trueColor: "+Ct+", redMax: "+Be+", greenMax: "+Rt+", blueMax: "+He+", redShift: "+wt+", greenShift: "+Ge+", blueShift: "+et),this._setDesktopName(lt),this._resize(ae,ge),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(f.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),ze.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),ze.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var ae=[];ae.push(p.encodings.encodingCopyRect),this._fbDepth==24&&(ae.push(p.encodings.encodingTight),ae.push(p.encodings.encodingTightPNG),ae.push(p.encodings.encodingHextile),ae.push(p.encodings.encodingRRE)),ae.push(p.encodings.encodingRaw),ae.push(p.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),ae.push(p.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),ae.push(p.encodings.pseudoEncodingDesktopSize),ae.push(p.encodings.pseudoEncodingLastRect),ae.push(p.encodings.pseudoEncodingQEMUExtendedKeyEvent),ae.push(p.encodings.pseudoEncodingExtendedDesktopSize),ae.push(p.encodings.pseudoEncodingXvp),ae.push(p.encodings.pseudoEncodingFence),ae.push(p.encodings.pseudoEncodingContinuousUpdates),ae.push(p.encodings.pseudoEncodingDesktopName),ae.push(p.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(ae.push(p.encodings.pseudoEncodingVMwareCursor),ae.push(p.encodings.pseudoEncodingCursor)),ze.messages.clientEncodings(this._sock,ae)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return f.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(f.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var ae=this._sock.rQshift32();if(ae=(0,g.toSigned32bit)(ae),this._sock.rQwait("ServerCutText content",Math.abs(ae),8))return!1;if(ae>=0){var ge=this._sock.rQshiftStr(ae);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ge}}))}else{ae=Math.abs(ae);var Le=this._sock.rQshift32(),Ze=Le&65535,vt=Le&4278190080,Ct=!!(vt&Se);if(Ct){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Be=0;Be<=15;Be++){var Rt=1<<Be;Ze&Rt&&(this._clipboardServerCapabilitiesFormats[Rt]=!0,this._sock.rQshift32())}for(var He=24;He<=31;He++){var wt=1<<He;this._clipboardServerCapabilitiesActions[wt]=!!(vt&wt)}var Ge=[Se,at,_e,ce,ee];ze.messages.extendedClipboardCaps(this._sock,Ge,{extendedClipboardFormatText:0})}else if(vt===at){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[ee]&&(Ze&pe&&ze.messages.extendedClipboardProvide(this._sock,[pe],[this._clipboardText]))}else if(vt===_e){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[ce]&&(this._clipboardText!=null?ze.messages.extendedClipboardNotify(this._sock,[pe]):ze.messages.extendedClipboardNotify(this._sock,[]))}else if(vt===ce){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[at]&&(Ze&pe&&ze.messages.extendedClipboardRequest(this._sock,[pe]))}else if(vt===ee){if(this._viewOnly)return!0;if(!(Ze&pe))return!0;this._clipboardText=null;var et=this._sock.rQshiftBytes(ae-4),rt=new i.default,lt=null;rt.setInput(et);for(var Ve=0;Ve<=15;Ve++){var ie=1<<Ve;if(Ze&ie){var $=0,it=rt.inflate(4);$|=it[0]<<24,$|=it[1]<<16,$|=it[2]<<8,$|=it[3];var Qe=rt.inflate($);ie===pe&&(lt=Qe)}}if(rt.setInput(null),lt!==null){for(var ye="",Zt=0;Zt<lt.length;Zt++)ye+=String.fromCharCode(lt[Zt]);lt=ye,lt=(0,A.decodeUTF8)(lt),lt.length>0&&lt.charAt(lt.length-1)==="\0"&&(lt=lt.slice(0,-1)),lt=lt.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:lt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+vt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var ae=this._sock.rQshift32(),ge=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",ge,9))return!1;ge>64&&(f.Warn("Bad payload length ("+ge+") in fence response"),ge=64);var Le=this._sock.rQshiftStr(ge);return this._supportsFence=!0,ae&1<<31?(ae&=1<<0|1<<1,ze.messages.clientFence(this._sock,ae,Le),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var ae=this._sock.rQshift8(),ge=this._sock.rQshift8();switch(ge){case 0:f.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=ae,f.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+ge+")");break}return!0}},{key:"_normalMsg",value:function(){var ae;this._FBU.rects>0?ae=0:ae=this._sock.rQshift8();var ge,Le;switch(ae){case 0:return Le=this._framebufferUpdate(),Le&&!this._enabledContinuousUpdates&&ze.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Le;case 1:return this._handleSetColourMapMsg();case 2:return f.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return ge=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,ge&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),f.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+ae+")"),f.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var ae=this._sock.rQshiftBytes(12);this._FBU.x=(ae[0]<<8)+ae[1],this._FBU.y=(ae[2]<<8)+ae[3],this._FBU.width=(ae[4]<<8)+ae[5],this._FBU.height=(ae[6]<<8)+ae[7],this._FBU.encoding=parseInt((ae[8]<<24)+(ae[9]<<16)+(ae[10]<<8)+ae[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case p.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case p.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case p.encodings.pseudoEncodingCursor:return this._handleCursor();case p.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var ae=document.createEvent("keyboardEvent");ae.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(ge){}return!0;case p.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case p.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case p.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var ae=this._FBU.x,ge=this._FBU.y,Le=this._FBU.width,Ze=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var vt=this._sock.rQshift8();this._sock.rQshift8();var Ct,Be=4;if(vt==0){var Rt=4294967040|0;if(Ct=new Array(Le*Ze*Be),this._sock.rQwait("VMware cursor classic encoding",Le*Ze*Be*2,2))return!1;for(var He=new Array(Le*Ze),wt=0;wt<Le*Ze;wt++)He[wt]=this._sock.rQshift32();for(var Ge=new Array(Le*Ze),et=0;et<Le*Ze;et++)Ge[et]=this._sock.rQshift32();for(var rt=0;rt<Le*Ze;rt++)if(He[rt]==0){var lt=Ge[rt],Ve=lt>>8&255,ie=lt>>16&255,$=lt>>24&255;Ct[rt*Be]=Ve,Ct[rt*Be+1]=ie,Ct[rt*Be+2]=$,Ct[rt*Be+3]=255}else(He[rt]&Rt)==Rt?Ge[rt]==0?(Ct[rt*Be]=0,Ct[rt*Be+1]=0,Ct[rt*Be+2]=0,Ct[rt*Be+3]=0):((Ge[rt]&Rt)==Rt,Ct[rt*Be]=0,Ct[rt*Be+1]=0,Ct[rt*Be+2]=0,Ct[rt*Be+3]=255):(Ct[rt*Be]=0,Ct[rt*Be+1]=0,Ct[rt*Be+2]=0,Ct[rt*Be+3]=255)}else if(vt==1){if(this._sock.rQwait("VMware cursor alpha encoding",Le*Ze*4,2))return!1;Ct=new Array(Le*Ze*Be);for(var it=0;it<Le*Ze;it++){var Qe=this._sock.rQshift32();Ct[it*4]=Qe>>24&255,Ct[it*4+1]=Qe>>16&255,Ct[it*4+2]=Qe>>8&255,Ct[it*4+3]=Qe&255}}else return f.Warn("The given cursor type is not supported: "+vt+" given."),!1;return this._updateCursor(Ct,ae,ge,Le,Ze),!0}},{key:"_handleCursor",value:function(){var ae=this._FBU.x,ge=this._FBU.y,Le=this._FBU.width,Ze=this._FBU.height,vt=Le*Ze*4,Ct=Math.ceil(Le/8)*Ze,Be=vt+Ct;if(this._sock.rQwait("cursor encoding",Be))return!1;for(var Rt=this._sock.rQshiftBytes(vt),He=this._sock.rQshiftBytes(Ct),wt=new Uint8Array(Le*Ze*4),Ge=0,et=0;et<Ze;et++)for(var rt=0;rt<Le;rt++){var lt=et*Math.ceil(Le/8)+Math.floor(rt/8),Ve=He[lt]<<rt%8&128?255:0;wt[Ge]=Rt[Ge+2],wt[Ge+1]=Rt[Ge+1],wt[Ge+2]=Rt[Ge],wt[Ge+3]=Ve,Ge+=4}return this._updateCursor(wt,ae,ge,Le,Ze),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var ae=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",ae,4))return!1;var ge=this._sock.rQshiftStr(ae);return ge=(0,A.decodeUTF8)(ge,!0),this._setDesktopName(ge),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var ae=this._sock.rQpeek8(),ge=4+ae*16;if(this._sock.rQwait("ExtendedDesktopSize",ge))return!1;var Le=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,Le&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Ze=0;Ze<ae;Ze+=1)Ze===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 vt="";switch(this._FBU.y){case 1:vt="Resize is administratively prohibited";break;case 2:vt="Out of resources";break;case 3:vt="Invalid screen layout";break;default:vt="Unknown reason";break}f.Warn("Server did not accept the resize request: "+vt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var ae=this._decoders[this._FBU.encoding];if(!ae)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return ae.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(ge){return this._fail("Error decoding rect: "+ge),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;ze.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(ae,ge){this._fbWidth=ae,this._fbHeight=ge,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(ae,ge){if(this._rfbXvpVer<ae)return;f.Info("Sending XVP operation "+ge+" (version "+ae+")"),ze.messages.xvpOp(this._sock,ae,ge)}},{key:"_updateCursor",value:function(ae,ge,Le,Ze,vt){this._cursorImage={rgbaPixels:ae,hotx:ge,hoty:Le,w:Ze,h:vt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var ae=3;ae<this._cursorImage.rgbaPixels.length;ae+=4)if(this._cursorImage.rgbaPixels[ae])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var ae=this._shouldShowDotCursor()?ze.cursors.dot:this._cursorImage;this._cursor.change(ae.rgbaPixels,ae.hotx,ae.hoty,ae.w,ae.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(ae){this._viewOnly=ae,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(ae?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(ae){f.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(ae){this._clipViewport=ae,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(ae){this._scaleViewport=ae,ae&&this._clipViewport&&this._updateClip(),this._updateScale(),!ae&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(ae){this._resizeSession=ae,ae&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(ae){this._showDotCursor=ae,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(ae){this._screen.style.background=ae}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(ae){if(!Number.isInteger(ae)||ae<0||ae>9){f.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===ae)return;this._qualityLevel=ae,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(ae){if(!Number.isInteger(ae)||ae<0||ae>9){f.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===ae)return;this._compressionLevel=ae,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(ae,ge){var Le=ae.split("").map(function(Ze){return Ze.charCodeAt(0)});return new t.default(Le).encrypt(ge)}}]),ze}(c.default);_.default=se,se.messages={keyEvent:function(Ce,ze,Oe){var ae=Ce._sQ,ge=Ce._sQlen;ae[ge]=4,ae[ge+1]=Oe,ae[ge+2]=0,ae[ge+3]=0,ae[ge+4]=ze>>24,ae[ge+5]=ze>>16,ae[ge+6]=ze>>8,ae[ge+7]=ze,Ce._sQlen+=8,Ce.flush()},QEMUExtendedKeyEvent:function(Ce,ze,Oe,ae){function ge(Ct){var Be=ae>>8,Rt=ae&255;return Be===224&&Rt<127?Rt|128:Ct}var Le=Ce._sQ,Ze=Ce._sQlen;Le[Ze]=255,Le[Ze+1]=0,Le[Ze+2]=Oe>>8,Le[Ze+3]=Oe,Le[Ze+4]=ze>>24,Le[Ze+5]=ze>>16,Le[Ze+6]=ze>>8,Le[Ze+7]=ze;var vt=ge(ae);Le[Ze+8]=vt>>24,Le[Ze+9]=vt>>16,Le[Ze+10]=vt>>8,Le[Ze+11]=vt,Ce._sQlen+=12,Ce.flush()},pointerEvent:function(Ce,ze,Oe,ae){var ge=Ce._sQ,Le=Ce._sQlen;ge[Le]=5,ge[Le+1]=ae,ge[Le+2]=ze>>8,ge[Le+3]=ze,ge[Le+4]=Oe>>8,ge[Le+5]=Oe,Ce._sQlen+=6,Ce.flush()},_buildExtendedClipboardFlags:function(Ce,ze){for(var Oe=new Uint8Array(4),ae=0,ge=0,Le=0;Le<Ce.length;Le++)ge|=Ce[Le];for(var Ze=0;Ze<ze.length;Ze++)ae|=ze[Ze];return Oe[0]=ge>>24,Oe[1]=0,Oe[2]=0,Oe[3]=ae,Oe},extendedClipboardProvide:function(Ce,ze,Oe){for(var ae=new n.default,ge=[],Le=0;Le<ze.length;Le++){if(ze[Le]!=pe)throw new Error("Unsupported extended clipboard format for Provide message.");Oe[Le]=Oe[Le].replace(/\r\n|\r|\n/gm,`\r
`);var Ze=(0,A.encodeUTF8)(Oe[Le]+"\0");ge.push(Ze.length>>24&255,Ze.length>>16&255,Ze.length>>8&255,Ze.length&255);for(var vt=0;vt<Ze.length;vt++)ge.push(Ze.charCodeAt(vt))}var Ct=ae.deflate(new Uint8Array(ge)),Be=new Uint8Array(4+Ct.length);Be.set(se.messages._buildExtendedClipboardFlags([ee],ze)),Be.set(Ct,4),se.messages.clientCutText(Ce,Be,!0)},extendedClipboardNotify:function(Ce,ze){var Oe=se.messages._buildExtendedClipboardFlags([ce],ze);se.messages.clientCutText(Ce,Oe,!0)},extendedClipboardRequest:function(Ce,ze){var Oe=se.messages._buildExtendedClipboardFlags([at],ze);se.messages.clientCutText(Ce,Oe,!0)},extendedClipboardCaps:function(Ce,ze,Oe){var ae=Object.keys(Oe),ge=new Uint8Array(4+4*ae.length);ae.map(function(vt){return parseInt(vt)}),ae.sort(function(vt,Ct){return vt-Ct}),ge.set(se.messages._buildExtendedClipboardFlags(ze,[]));for(var Le=4,Ze=0;Ze<ae.length;Ze++)ge[Le]=Oe[ae[Ze]]>>24,ge[Le+1]=Oe[ae[Ze]]>>16,ge[Le+2]=Oe[ae[Ze]]>>8,ge[Le+3]=Oe[ae[Ze]]>>0,Le+=4,ge[3]|=1<<ae[Ze];se.messages.clientCutText(Ce,ge,!0)},clientCutText:function(Ce,ze){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ae=Ce._sQ,ge=Ce._sQlen;ae[ge]=6,ae[ge+1]=0,ae[ge+2]=0,ae[ge+3]=0;var Le;Oe?Le=(0,g.toUnsigned32bit)(-ze.length):Le=ze.length,ae[ge+4]=Le>>24,ae[ge+5]=Le>>16,ae[ge+6]=Le>>8,ae[ge+7]=Le,Ce._sQlen+=8;for(var Ze=0,vt=ze.length;vt>0;){for(var Ct=Math.min(vt,Ce._sQbufferSize-Ce._sQlen),Be=0;Be<Ct;Be++)ae[Ce._sQlen+Be]=ze[Ze+Be];Ce._sQlen+=Ct,Ce.flush(),vt-=Ct,Ze+=Ct}},setDesktopSize:function(Ce,ze,Oe,ae,ge){var Le=Ce._sQ,Ze=Ce._sQlen;Le[Ze]=251,Le[Ze+1]=0,Le[Ze+2]=ze>>8,Le[Ze+3]=ze,Le[Ze+4]=Oe>>8,Le[Ze+5]=Oe,Le[Ze+6]=1,Le[Ze+7]=0,Le[Ze+8]=ae>>24,Le[Ze+9]=ae>>16,Le[Ze+10]=ae>>8,Le[Ze+11]=ae,Le[Ze+12]=0,Le[Ze+13]=0,Le[Ze+14]=0,Le[Ze+15]=0,Le[Ze+16]=ze>>8,Le[Ze+17]=ze,Le[Ze+18]=Oe>>8,Le[Ze+19]=Oe,Le[Ze+20]=ge>>24,Le[Ze+21]=ge>>16,Le[Ze+22]=ge>>8,Le[Ze+23]=ge,Ce._sQlen+=24,Ce.flush()},clientFence:function(Ce,ze,Oe){var ae=Ce._sQ,ge=Ce._sQlen;ae[ge]=248,ae[ge+1]=0,ae[ge+2]=0,ae[ge+3]=0,ae[ge+4]=ze>>24,ae[ge+5]=ze>>16,ae[ge+6]=ze>>8,ae[ge+7]=ze;var Le=Oe.length;ae[ge+8]=Le;for(var Ze=0;Ze<Le;Ze++)ae[ge+9+Ze]=Oe.charCodeAt(Ze);Ce._sQlen+=9+Le,Ce.flush()},enableContinuousUpdates:function(Ce,ze,Oe,ae,ge,Le){var Ze=Ce._sQ,vt=Ce._sQlen;Ze[vt]=150,Ze[vt+1]=ze,Ze[vt+2]=Oe>>8,Ze[vt+3]=Oe,Ze[vt+4]=ae>>8,Ze[vt+5]=ae,Ze[vt+6]=ge>>8,Ze[vt+7]=ge,Ze[vt+8]=Le>>8,Ze[vt+9]=Le,Ce._sQlen+=10,Ce.flush()},pixelFormat:function(Ce,ze,Oe){var ae=Ce._sQ,ge=Ce._sQlen,Le;ze>16?Le=32:ze>8?Le=16:Le=8;var Ze=Math.floor(ze/3);ae[ge]=0,ae[ge+1]=0,ae[ge+2]=0,ae[ge+3]=0,ae[ge+4]=Le,ae[ge+5]=ze,ae[ge+6]=0,ae[ge+7]=Oe?1:0,ae[ge+8]=0,ae[ge+9]=(1<<Ze)-1,ae[ge+10]=0,ae[ge+11]=(1<<Ze)-1,ae[ge+12]=0,ae[ge+13]=(1<<Ze)-1,ae[ge+14]=Ze*2,ae[ge+15]=Ze*1,ae[ge+16]=Ze*0,ae[ge+17]=0,ae[ge+18]=0,ae[ge+19]=0,Ce._sQlen+=20,Ce.flush()},clientEncodings:function(Ce,ze){var Oe=Ce._sQ,ae=Ce._sQlen;Oe[ae]=2,Oe[ae+1]=0,Oe[ae+2]=ze.length>>8,Oe[ae+3]=ze.length;for(var ge=ae+4,Le=0;Le<ze.length;Le++){var Ze=ze[Le];Oe[ge]=Ze>>24,Oe[ge+1]=Ze>>16,Oe[ge+2]=Ze>>8,Oe[ge+3]=Ze,ge+=4}Ce._sQlen+=ge-ae,Ce.flush()},fbUpdateRequest:function(Ce,ze,Oe,ae,ge,Le){var Ze=Ce._sQ,vt=Ce._sQlen;typeof Oe=="undefined"&&(Oe=0),typeof ae=="undefined"&&(ae=0),Ze[vt]=3,Ze[vt+1]=ze?1:0,Ze[vt+2]=Oe>>8&255,Ze[vt+3]=Oe&255,Ze[vt+4]=ae>>8&255,Ze[vt+5]=ae&255,Ze[vt+6]=ge>>8&255,Ze[vt+7]=ge&255,Ze[vt+8]=Le>>8&255,Ze[vt+9]=Le&255,Ce._sQlen+=10,Ce.flush()},xvpOp:function(Ce,ze,Oe){var ae=Ce._sQ,ge=Ce._sQlen;ae[ge]=250,ae[ge+1]=0,ae[ge+2]=ze,ae[ge+3]=Oe,Ce._sQlen+=4,Ce.flush()}},se.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(D,_,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},A={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};g.defineMode("xml",function(m,v){var h=m.indentUnit,c={},o=v.htmlMode?f:A;for(var i in o)c[i]=o[i];for(var i in v)c[i]=v[i];var n,a;function u(N,k){function F(W){return k.tokenize=W,W(N,k)}var B=N.next();if(B=="<")return N.eat("!")?N.eat("[")?N.match("CDATA[")?F(t("atom","]]>")):null:N.match("--")?F(t("comment","-->")):N.match("DOCTYPE",!0,!0)?(N.eatWhile(/[\w\._\-]/),F(s(1))):null:N.eat("?")?(N.eatWhile(/[\w\._\-]/),k.tokenize=t("meta","?>"),"meta"):(n=N.eat("/")?"closeTag":"openTag",k.tokenize=r,"tag bracket");if(B=="&"){var H;return N.eat("#")?N.eat("x")?H=N.eatWhile(/[a-fA-F\d]/)&&N.eat(";"):H=N.eatWhile(/[\d]/)&&N.eat(";"):H=N.eatWhile(/[\w\.\-:]/)&&N.eat(";"),H?"atom":"error"}else return N.eatWhile(/[^&<]/),null}u.isInText=!0;function r(N,k){var F=N.next();if(F==">"||F=="/"&&N.eat(">"))return k.tokenize=u,n=F==">"?"endTag":"selfcloseTag","tag bracket";if(F=="=")return n="equals",null;if(F=="<"){k.tokenize=u,k.state=w,k.tagName=k.tagStart=null;var B=k.tokenize(N,k);return B?B+" tag error":"tag error"}else return/[\'\"]/.test(F)?(k.tokenize=l(F),k.stringStartCol=N.column(),k.tokenize(N,k)):(N.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(N){var k=function(B,H){for(;!B.eol();)if(B.next()==N){H.tokenize=r;break}return"string"};return k.isInAttribute=!0,k}function t(N,k){return function(F,B){for(;!F.eol();){if(F.match(k)){B.tokenize=u;break}F.next()}return N}}function s(N){return function(k,F){for(var B;(B=k.next())!=null;){if(B=="<")return F.tokenize=s(N+1),F.tokenize(k,F);if(B==">")if(N==1){F.tokenize=u;break}else return F.tokenize=s(N-1),F.tokenize(k,F)}return"meta"}}function d(N,k,F){this.prev=N.context,this.tagName=k,this.indent=N.indented,this.startOfLine=F,(c.doNotIndent.hasOwnProperty(k)||N.context&&N.context.noIndent)&&(this.noIndent=!0)}function p(N){N.context&&(N.context=N.context.prev)}function b(N,k){for(var F;;){if(!N.context)return;if(F=N.context.tagName,!c.contextGrabbers.hasOwnProperty(F)||!c.contextGrabbers[F].hasOwnProperty(k))return;p(N)}}function w(N,k,F){return N=="openTag"?(F.tagStart=k.column(),E):N=="closeTag"?S:w}function E(N,k,F){return N=="word"?(F.tagName=k.current(),a="tag",L):c.allowMissingTagName&&N=="endTag"?(a="tag bracket",L(N,k,F)):(a="error",E)}function S(N,k,F){if(N=="word"){var B=k.current();return F.context&&F.context.tagName!=B&&c.implicitlyClosed.hasOwnProperty(F.context.tagName)&&p(F),F.context&&F.context.tagName==B||c.matchClosing===!1?(a="tag",x):(a="tag error",T)}else return c.allowMissingTagName&&N=="endTag"?(a="tag bracket",x(N,k,F)):(a="error",T)}function x(N,k,F){return N!="endTag"?(a="error",x):(p(F),w)}function T(N,k,F){return a="error",x(N,k,F)}function L(N,k,F){if(N=="word")return a="attribute",y;if(N=="endTag"||N=="selfcloseTag"){var B=F.tagName,H=F.tagStart;return F.tagName=F.tagStart=null,N=="selfcloseTag"||c.autoSelfClosers.hasOwnProperty(B)?b(F,B):(b(F,B),F.context=new d(F,B,H==F.indented)),w}return a="error",L}function y(N,k,F){return N=="equals"?C:(c.allowMissing||(a="error"),L(N,k,F))}function C(N,k,F){return N=="string"?O:N=="word"&&c.allowUnquoted?(a="string",L):(a="error",L(N,k,F))}function O(N,k,F){return N=="string"?O:L(N,k,F)}return{startState:function(k){var F={tokenize:u,state:w,indented:k||0,tagName:null,tagStart:null,context:null};return k!=null&&(F.baseIndent=k),F},token:function(k,F){if(!F.tagName&&k.sol()&&(F.indented=k.indentation()),k.eatSpace())return null;n=null;var B=F.tokenize(k,F);return(B||n)&&B!="comment"&&(a=null,F.state=F.state(n||B,k,F),a&&(B=a=="error"?B+" error":a)),B},indent:function(k,F,B){var H=k.context;if(k.tokenize.isInAttribute)return k.tagStart==k.indented?k.stringStartCol+1:k.indented+h;if(H&&H.noIndent)return g.Pass;if(k.tokenize!=r&&k.tokenize!=u)return B?B.match(/^(\s*)/)[0].length:0;if(k.tagName)return c.multilineTagIndentPastTag!==!1?k.tagStart+k.tagName.length+2:k.tagStart+h*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(F))return 0;var W=F&&/^<(\/)?([\w_:\.-]*)/.exec(F);if(W&&W[1])for(;H;)if(H.tagName==W[2]){H=H.prev;break}else if(c.implicitlyClosed.hasOwnProperty(H.tagName))H=H.prev;else break;else if(W)for(;H;){var R=c.contextGrabbers[H.tagName];if(R&&R.hasOwnProperty(W[2]))H=H.prev;else break}for(;H&&H.prev&&!H.startOfLine;)H=H.prev;return H?H.indent+h:k.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(k){k.state==C&&(k.state=L)},xmlCurrentTag:function(k){return k.tagName?{name:k.tagName,close:k.type=="closeTag"}:null},xmlCurrentContext:function(k){for(var F=[],B=k.context;B;B=B.prev)B.tagName&&F.push(B.tagName);return F.reverse()}}}),g.defineMIME("text/xml","xml"),g.defineMIME("application/xml","xml"),g.mimeModes.hasOwnProperty("text/html")||g.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(D,_,e){var g=e("e4Nc"),f=e("ftKO"),A=e("3A9y");function m(v){var h=-1,c=v==null?0:v.length;for(this.__data__=new g;++h<c;)this.add(v[h])}m.prototype.add=m.prototype.push=f,m.prototype.has=A,D.exports=m},"1j5w":function(D,_,e){"use strict";e.d(_,"e",function(){return Ge}),e.d(_,"b",function(){return fe}),e.d(_,"d",function(){return fe}),e.d(_,"c",function(){return Ne}),e.d(_,"a",function(){return Ke});var g=e("VTBJ"),f=e("1OyB"),A=e("vuIU"),m=e("JX7q"),v=e("Ji7U"),h=e("LK+K"),c=e("q1tI"),o=function(){var Pe=function(At,Ot){return Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,he){ne.__proto__=he}||function(ne,he){for(var Q in he)he.hasOwnProperty(Q)&&(ne[Q]=he[Q])},Pe(At,Ot)};return function(nt,At){Pe(nt,At);function Ot(){this.constructor=nt}nt.prototype=At===null?Object.create(At):(Ot.prototype=At.prototype,new Ot)}}(),i=c.createContext(null),n=function(Pe){o(nt,Pe);function nt(){return Pe!==null&&Pe.apply(this,arguments)||this}return nt.prototype.render=function(){return c.createElement(i.Provider,{value:this.props.store},this.props.children)},nt}(c.Component),a=e("Gytx"),u=e.n(a),r=e("2mql"),l=e.n(r),t=function(){var Pe=function(At,Ot){return Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,he){ne.__proto__=he}||function(ne,he){for(var Q in he)he.hasOwnProperty(Q)&&(ne[Q]=he[Q])},Pe(At,Ot)};return function(nt,At){Pe(nt,At);function Ot(){this.constructor=nt}nt.prototype=At===null?Object.create(At):(Ot.prototype=At.prototype,new Ot)}}(),s=function(){return s=Object.assign||function(Pe){for(var nt,At=1,Ot=arguments.length;At<Ot;At++){nt=arguments[At];for(var ne in nt)Object.prototype.hasOwnProperty.call(nt,ne)&&(Pe[ne]=nt[ne])}return Pe},s.apply(this,arguments)};function d(Pe){return Pe.displayName||Pe.name||"Component"}var p=function(){return{}};function b(Pe,nt){nt===void 0&&(nt={});var At=!!Pe,Ot=Pe||p;return function(he){var Q=function(be){t(Ie,be);function Ie(Re,$e){var gt=be.call(this,Re,$e)||this;return gt.unsubscribe=null,gt.handleChange=function(){if(!gt.unsubscribe)return;var Wt=Ot(gt.store.getState(),gt.props);gt.setState({subscribed:Wt})},gt.store=gt.context,gt.state={subscribed:Ot(gt.store.getState(),Re),store:gt.store,props:Re},gt}return Ie.getDerivedStateFromProps=function(Re,$e){return Pe&&Pe.length===2&&Re!==$e.props?{subscribed:Ot($e.store.getState(),Re),props:Re}:{props:Re}},Ie.prototype.componentDidMount=function(){this.trySubscribe()},Ie.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},Ie.prototype.shouldComponentUpdate=function(Re,$e){return!u()(this.props,Re)||!u()(this.state.subscribed,$e.subscribed)},Ie.prototype.trySubscribe=function(){At&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},Ie.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},Ie.prototype.render=function(){var Re=s(s(s({},this.props),this.state.subscribed),{store:this.store});return c.createElement(he,s({},Re,{ref:this.props.miniStoreForwardedRef}))},Ie.displayName="Connect("+d(he)+")",Ie.contextType=i,Ie}(c.Component);if(nt.forwardRef){var te=c.forwardRef(function(be,Ie){return c.createElement(Q,s({},be,{miniStoreForwardedRef:Ie}))});return l()(te,he)}return l()(Q,he)}}var w=function(){return w=Object.assign||function(Pe){for(var nt,At=1,Ot=arguments.length;At<Ot;At++){nt=arguments[At];for(var ne in nt)Object.prototype.hasOwnProperty.call(nt,ne)&&(Pe[ne]=nt[ne])}return Pe},w.apply(this,arguments)};function E(Pe){var nt=Pe,At=[];function Ot(Q){nt=w(w({},nt),Q);for(var te=0;te<At.length;te++)At[te]()}function ne(){return nt}function he(Q){return At.push(Q),function(){var be=At.indexOf(Q);At.splice(be,1)}}return{setState:Ot,getState:ne,subscribe:he}}var S=e("BGR+"),x=e("wx14"),T=e("rePB"),L=e("4IlW"),y=e("2GS6"),C=e("TSYQ"),O=e.n(C),N=e("U8pU"),k=e("ODXe"),F=/iPhone/i,B=/iPod/i,H=/iPad/i,W=/\bAndroid(?:.+)Mobile\b/i,R=/Android/i,U=/\bAndroid(?:.+)SD4930UR\b/i,j=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,P=/Windows Phone/i,K=/\bWindows(?:.+)ARM\b/i,V=/BlackBerry/i,z=/BB10/i,X=/Opera Mini/i,G=/\b(CriOS|Chrome)(?:.+)Mobile/i,le=/Mobile(?:.+)Firefox\b/i;function Y(Pe,nt){return Pe.test(nt)}function me(Pe){var nt=Pe||(typeof navigator!="undefined"?navigator.userAgent:""),At=nt.split("[FBAN");if(typeof At[1]!="undefined"){var Ot=At,ne=Object(k.a)(Ot,1);nt=ne[0]}if(At=nt.split("Twitter"),typeof At[1]!="undefined"){var he=At,Q=Object(k.a)(he,1);nt=Q[0]}var te={apple:{phone:Y(F,nt)&&!Y(P,nt),ipod:Y(B,nt),tablet:!Y(F,nt)&&Y(H,nt)&&!Y(P,nt),device:(Y(F,nt)||Y(B,nt)||Y(H,nt))&&!Y(P,nt)},amazon:{phone:Y(U,nt),tablet:!Y(U,nt)&&Y(j,nt),device:Y(U,nt)||Y(j,nt)},android:{phone:!Y(P,nt)&&Y(U,nt)||!Y(P,nt)&&Y(W,nt),tablet:!Y(P,nt)&&!Y(U,nt)&&!Y(W,nt)&&(Y(j,nt)||Y(R,nt)),device:!Y(P,nt)&&(Y(U,nt)||Y(j,nt)||Y(W,nt)||Y(R,nt))||Y(/\bokhttp\b/i,nt)},windows:{phone:Y(P,nt),tablet:Y(K,nt),device:Y(P,nt)||Y(K,nt)},other:{blackberry:Y(V,nt),blackberry10:Y(z,nt),opera:Y(X,nt),firefox:Y(le,nt),chrome:Y(G,nt),device:Y(V,nt)||Y(z,nt)||Y(X,nt)||Y(le,nt)||Y(G,nt)},any:null,phone:null,tablet:null};return te.any=te.apple.device||te.android.device||te.windows.device||te.other.device,te.phone=te.apple.phone||te.android.phone||te.windows.phone,te.tablet=te.apple.tablet||te.android.tablet||te.windows.tablet,te}var we=Object(g.a)(Object(g.a)({},me()),{},{isMobile:me}),pe=we;function Fe(){}function Xe(Pe,nt,At){var Ot=nt||"";return Pe.key||"".concat(Ot,"item_").concat(At)}function dt(Pe){return"".concat(Pe,"-menu-")}function Ee(Pe,nt){var At=-1;c.Children.forEach(Pe,function(Ot){At+=1,Ot&&Ot.type&&Ot.type.isMenuItemGroup?c.Children.forEach(Ot.props.children,function(ne){At+=1,nt(ne,At)}):nt(Ot,At)})}function Se(Pe,nt,At){if(!Pe||At.find)return;c.Children.forEach(Pe,function(Ot){if(Ot){var ne=Ot.type;if(!ne||!(ne.isSubMenu||ne.isMenuItem||ne.isMenuItemGroup))return;nt.indexOf(Ot.key)!==-1?At.find=!0:Ot.props.children&&Se(Ot.props.children,nt,At)}})}var at=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],_e=function(nt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ot=nt&&typeof nt.getBoundingClientRect=="function"&&nt.getBoundingClientRect().width;if(Ot){if(At){var ne=getComputedStyle(nt),he=ne.marginLeft,Q=ne.marginRight;Ot+=+he.replace("px","")+ +Q.replace("px","")}Ot=+Ot.toFixed(6)}return Ot||0},ce=function(nt,At,Ot){nt&&Object(N.a)(nt.style)==="object"&&(nt.style[At]=Ot)},ee=function(){return pe.any},se=e("KQm4"),ke=e("Ff2n"),Ce=e("i8i4"),ze=e("bdgK"),Oe=e("uciX"),ae=e("8XRh"),ge={adjustX:1,adjustY:1},Le={topLeft:{points:["bl","tl"],overflow:ge,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ge,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:ge,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:ge,offset:[4,0]}},Ze={topLeft:{points:["bl","tl"],overflow:ge,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ge,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:ge,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:ge,offset:[4,0]}},vt=Le,Ct=0,Be={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Rt=function(nt,At,Ot){var ne=dt(At),he=nt.getState();nt.setState({defaultActiveFirst:Object(g.a)(Object(g.a)({},he.defaultActiveFirst),{},Object(T.a)({},ne,Ot))})},He=function(Pe){Object(v.a)(At,Pe);var nt=Object(h.a)(At);function At(Ot){var ne;Object(f.a)(this,At),ne=nt.call(this,Ot),ne.onDestroy=function(Re){ne.props.onDestroy(Re)},ne.onKeyDown=function(Re){var $e=Re.keyCode,gt=ne.menuInstance,Wt=ne.props,$t=Wt.isOpen,Dt=Wt.store;if($e===L.a.ENTER)return ne.onTitleClick(Re),Rt(Dt,ne.props.eventKey,!0),!0;if($e===L.a.RIGHT)return $t?gt.onKeyDown(Re):(ne.triggerOpenChange(!0),Rt(Dt,ne.props.eventKey,!0)),!0;if($e===L.a.LEFT){var Kt;if($t)Kt=gt.onKeyDown(Re);else return;return Kt||(ne.triggerOpenChange(!1),Kt=!0),Kt}return $t&&($e===L.a.UP||$e===L.a.DOWN)?gt.onKeyDown(Re):void 0},ne.onOpenChange=function(Re){ne.props.onOpenChange(Re)},ne.onPopupVisibleChange=function(Re){ne.triggerOpenChange(Re,Re?"mouseenter":"mouseleave")},ne.onMouseEnter=function(Re){var $e=ne.props,gt=$e.eventKey,Wt=$e.onMouseEnter,$t=$e.store;Rt($t,ne.props.eventKey,!1),Wt({key:gt,domEvent:Re})},ne.onMouseLeave=function(Re){var $e=ne.props,gt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onMouseLeave;gt.subMenuInstance=Object(m.a)(ne),$t({key:Wt,domEvent:Re})},ne.onTitleMouseEnter=function(Re){var $e=ne.props,gt=$e.eventKey,Wt=$e.onItemHover,$t=$e.onTitleMouseEnter;Wt({key:gt,hover:!0}),$t({key:gt,domEvent:Re})},ne.onTitleMouseLeave=function(Re){var $e=ne.props,gt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onItemHover,Dt=$e.onTitleMouseLeave;gt.subMenuInstance=Object(m.a)(ne),$t({key:Wt,hover:!1}),Dt({key:Wt,domEvent:Re})},ne.onTitleClick=function(Re){var $e=Object(m.a)(ne),gt=$e.props;if(gt.onTitleClick({key:gt.eventKey,domEvent:Re}),gt.triggerSubMenuAction==="hover")return;ne.triggerOpenChange(!gt.isOpen,"click"),Rt(gt.store,ne.props.eventKey,!1)},ne.onSubMenuClick=function(Re){typeof ne.props.onClick=="function"&&ne.props.onClick(ne.addKeyPath(Re))},ne.onSelect=function(Re){ne.props.onSelect(Re)},ne.onDeselect=function(Re){ne.props.onDeselect(Re)},ne.getPrefixCls=function(){return"".concat(ne.props.rootPrefixCls,"-submenu")},ne.getActiveClassName=function(){return"".concat(ne.getPrefixCls(),"-active")},ne.getDisabledClassName=function(){return"".concat(ne.getPrefixCls(),"-disabled")},ne.getSelectedClassName=function(){return"".concat(ne.getPrefixCls(),"-selected")},ne.getOpenClassName=function(){return"".concat(ne.props.rootPrefixCls,"-submenu-open")},ne.saveMenuInstance=function(Re){ne.menuInstance=Re},ne.addKeyPath=function(Re){return Object(g.a)(Object(g.a)({},Re),{},{keyPath:(Re.keyPath||[]).concat(ne.props.eventKey)})},ne.triggerOpenChange=function(Re,$e){var gt=ne.props.eventKey,Wt=function(){ne.onOpenChange({key:gt,item:Object(m.a)(ne),trigger:$e,open:Re})};$e==="mouseenter"?ne.mouseenterTimeout=setTimeout(function(){Wt()},0):Wt()},ne.isChildrenSelected=function(){var Re={find:!1};return Se(ne.props.children,ne.props.selectedKeys,Re),Re.find},ne.isOpen=function(){return ne.props.openKeys.indexOf(ne.props.eventKey)!==-1},ne.adjustWidth=function(){if(!ne.subMenuTitle||!ne.menuInstance)return;var Re=Ce.findDOMNode(ne.menuInstance);if(Re.offsetWidth>=ne.subMenuTitle.offsetWidth)return;Re.style.minWidth="".concat(ne.subMenuTitle.offsetWidth,"px")},ne.saveSubMenuTitle=function(Re){ne.subMenuTitle=Re},ne.getBaseProps=function(){var Re=Object(m.a)(ne),$e=Re.props;return{mode:$e.mode==="horizontal"?"vertical":$e.mode,visible:ne.props.isOpen,level:$e.level+1,inlineIndent:$e.inlineIndent,focusable:!1,onClick:ne.onSubMenuClick,onSelect:ne.onSelect,onDeselect:ne.onDeselect,onDestroy:ne.onDestroy,selectedKeys:$e.selectedKeys,eventKey:"".concat($e.eventKey,"-menu-"),openKeys:$e.openKeys,motion:$e.motion,onOpenChange:ne.onOpenChange,subMenuOpenDelay:$e.subMenuOpenDelay,parentMenu:Object(m.a)(ne),subMenuCloseDelay:$e.subMenuCloseDelay,forceSubMenuRender:$e.forceSubMenuRender,triggerSubMenuAction:$e.triggerSubMenuAction,builtinPlacements:$e.builtinPlacements,defaultActiveFirst:$e.store.getState().defaultActiveFirst[dt($e.eventKey)],multiple:$e.multiple,prefixCls:$e.rootPrefixCls,id:ne.internalMenuId,manualRef:ne.saveMenuInstance,itemIcon:$e.itemIcon,expandIcon:$e.expandIcon,direction:$e.direction}},ne.getMotion=function(Re,$e){var gt=Object(m.a)(ne),Wt=gt.haveRendered,$t=ne.props,Dt=$t.motion,Kt=$t.rootPrefixCls,Gt=Object(g.a)(Object(g.a)({},Dt),{},{leavedClassName:"".concat(Kt,"-hidden"),removeOnLeave:!1,motionAppear:Wt||!$e||Re!=="inline"});return Gt};var he=Ot.store,Q=Ot.eventKey,te=he.getState(),be=te.defaultActiveFirst;ne.isRootMenu=!1;var Ie=!1;return be&&(Ie=be[Q]),Rt(he,Q,Ie),ne}return Object(A.a)(At,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ne=this,he=this.props,Q=he.mode,te=he.parentMenu,be=he.manualRef;if(be&&be(this),Q!=="horizontal"||!te.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ne.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ne=this.props,he=ne.onDestroy,Q=ne.eventKey;he&&he(Q),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ne){var he=this,Q=this.getBaseProps(),te=this.getMotion(Q.mode,Q.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Q.visible||Q.forceSubMenuRender,!this.haveOpened)return c.createElement("div",null);var be=Q.direction;return c.createElement(ae.default,Object.assign({visible:Q.visible},te),function(Ie){var Re=Ie.className,$e=Ie.style,gt=O()("".concat(Q.prefixCls,"-sub"),Re,Object(T.a)({},"".concat(Q.prefixCls,"-rtl"),be==="rtl"));return c.createElement(ct,Object.assign({},Q,{id:he.internalMenuId,className:gt,style:$e}),ne)})}},{key:"render",value:function(){var ne,he=Object(g.a)({},this.props),Q=he.isOpen,te=this.getPrefixCls(),be=he.mode==="inline",Ie=O()(te,"".concat(te,"-").concat(he.mode),(ne={},Object(T.a)(ne,he.className,!!he.className),Object(T.a)(ne,this.getOpenClassName(),Q),Object(T.a)(ne,this.getActiveClassName(),he.active||Q&&!be),Object(T.a)(ne,this.getDisabledClassName(),he.disabled),Object(T.a)(ne,this.getSelectedClassName(),this.isChildrenSelected()),ne));this.internalMenuId||(he.eventKey?this.internalMenuId="".concat(he.eventKey,"$Menu"):(Ct+=1,this.internalMenuId="$__$".concat(Ct,"$Menu")));var Re={},$e={},gt={};he.disabled||(Re={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},$e={onClick:this.onTitleClick},gt={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Wt={},$t=he.direction;be&&($t==="rtl"?Wt.paddingRight=he.inlineIndent*he.level:Wt.paddingLeft=he.inlineIndent*he.level);var Dt={};this.props.isOpen&&(Dt={"aria-owns":this.internalMenuId});var Kt=null;he.mode!=="horizontal"&&(Kt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Kt=c.createElement(this.props.expandIcon,Object(g.a)({},this.props))));var Gt=c.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Wt,className:"".concat(te,"-title"),role:"button"},gt,$e,{"aria-expanded":Q},Dt,{"aria-haspopup":"true",title:typeof he.title=="string"?he.title:void 0}),he.title,Kt||c.createElement("i",{className:"".concat(te,"-arrow")})),Qt=this.renderChildren(he.children),Mt=he.parentMenu.isRootMenu?he.parentMenu.props.getPopupContainer:function(kt){return kt.parentNode},dr=Be[he.mode],er=he.popupOffset?{offset:he.popupOffset}:{},st=he.mode==="inline"?"":he.popupClassName;st+=$t==="rtl"?" ".concat(te,"-rtl"):"";var xt=he.disabled,ut=he.triggerSubMenuAction,pt=he.subMenuOpenDelay,_t=he.forceSubMenuRender,Tt=he.subMenuCloseDelay,ft=he.builtinPlacements;at.forEach(function(kt){return delete he[kt]}),delete he.onClick;var Ht=$t==="rtl"?Object.assign({},Ze,ft):Object.assign({},Le,ft);return delete he.direction,c.createElement("li",Object.assign({},he,Re,{className:Ie,role:"menuitem"}),be&&Gt,be&&Qt,!be&&c.createElement(Oe.a,{prefixCls:te,popupClassName:O()("".concat(te,"-popup"),st),getPopupContainer:Mt,builtinPlacements:Ht,popupPlacement:dr,popupVisible:Q,popupAlign:er,popup:Qt,action:xt?[]:[ut],mouseEnterDelay:pt,mouseLeaveDelay:Tt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:_t},Gt))}}]),At}(c.Component);He.defaultProps={onMouseEnter:Fe,onMouseLeave:Fe,onTitleMouseEnter:Fe,onTitleMouseLeave:Fe,onTitleClick:Fe,manualRef:Fe,mode:"vertical",title:""};var wt=b(function(Pe,nt){var At=Pe.openKeys,Ot=Pe.activeKey,ne=Pe.selectedKeys,he=nt.eventKey,Q=nt.subMenuKey;return{isOpen:At.indexOf(he)>-1,active:Ot[Q]===he,selectedKeys:ne}})(He);wt.isSubMenu=!0;var Ge=wt,et="menuitem-overflowed",rt=.5,lt=function(Pe){Object(v.a)(At,Pe);var nt=Object(h.a)(At);function At(){var Ot;return Object(f.a)(this,At),Ot=nt.apply(this,arguments),Ot.resizeObserver=null,Ot.mutationObserver=null,Ot.originalTotalWidth=0,Ot.overflowedItems=[],Ot.menuItemSizes=[],Ot.cancelFrameId=null,Ot.state={lastVisibleIndex:void 0},Ot.getMenuItemNodes=function(){var ne=Ot.props.prefixCls,he=Ce.findDOMNode(Object(m.a)(Ot));return he?[].slice.call(he.children).filter(function(Q){return Q.className.split(" ").indexOf("".concat(ne,"-overflowed-submenu"))<0}):[]},Ot.getOverflowedSubMenuItem=function(ne,he,Q){var te=Ot.props,be=te.overflowedIndicator,Ie=te.level,Re=te.mode,$e=te.prefixCls,gt=te.theme;if(Ie!==1||Re!=="horizontal")return null;var Wt=Ot.props.children[0],$t=Wt.props,Dt=$t.children,Kt=$t.title,Gt=$t.style,Qt=Object(ke.a)($t,["children","title","style"]),Mt=Object(g.a)({},Gt),dr="".concat(ne,"-overflowed-indicator"),er="".concat(ne,"-overflowed-indicator");he.length===0&&Q!==!0?Mt=Object(g.a)(Object(g.a)({},Mt),{},{display:"none"}):Q&&(Mt=Object(g.a)(Object(g.a)({},Mt),{},{visibility:"hidden",position:"absolute"}),dr="".concat(dr,"-placeholder"),er="".concat(er,"-placeholder"));var st=gt?"".concat($e,"-").concat(gt):"",xt={};return at.forEach(function(ut){Qt[ut]!==void 0&&(xt[ut]=Qt[ut])}),c.createElement(Ge,Object.assign({title:be,className:"".concat($e,"-overflowed-submenu"),popupClassName:st},xt,{key:dr,eventKey:er,disabled:!1,style:Mt}),he)},Ot.setChildrenWidthAndResize=function(){if(Ot.props.mode!=="horizontal")return;var ne=Ce.findDOMNode(Object(m.a)(Ot));if(!ne)return;var he=ne.children;if(!he||he.length===0)return;var Q=ne.children[he.length-1];ce(Q,"display","inline-block");var te=Ot.getMenuItemNodes(),be=te.filter(function(Ie){return Ie.className.split(" ").indexOf(et)>=0});be.forEach(function(Ie){ce(Ie,"display","inline-block")}),Ot.menuItemSizes=te.map(function(Ie){return _e(Ie,!0)}),be.forEach(function(Ie){ce(Ie,"display","none")}),Ot.overflowedIndicatorWidth=_e(ne.children[ne.children.length-1],!0),Ot.originalTotalWidth=Ot.menuItemSizes.reduce(function(Ie,Re){return Ie+Re},0),Ot.handleResize(),ce(Q,"display","none")},Ot.handleResize=function(){if(Ot.props.mode!=="horizontal")return;var ne=Ce.findDOMNode(Object(m.a)(Ot));if(!ne)return;var he=_e(ne);Ot.overflowedItems=[];var Q=0,te;Ot.originalTotalWidth>he+rt&&(te=-1,Ot.menuItemSizes.forEach(function(be){Q+=be,Q+Ot.overflowedIndicatorWidth<=he&&(te+=1)})),Ot.setState({lastVisibleIndex:te})},Ot}return Object(A.a)(At,[{key:"componentDidMount",value:function(){var ne=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var he=Ce.findDOMNode(this);if(!he)return;this.resizeObserver=new ze.default(function(Q){Q.forEach(function(){var te=ne.cancelFrameId;cancelAnimationFrame(te),ne.cancelFrameId=requestAnimationFrame(ne.setChildrenWidthAndResize)})}),[].slice.call(he.children).concat(he).forEach(function(Q){ne.resizeObserver.observe(Q)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ne.resizeObserver.disconnect(),[].slice.call(he.children).concat(he).forEach(function(Q){ne.resizeObserver.observe(Q)}),ne.setChildrenWidthAndResize()}),this.mutationObserver.observe(he,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(ne){var he=this,Q=this.state.lastVisibleIndex;return(ne||[]).reduce(function(te,be,Ie){var Re=be;if(he.props.mode==="horizontal"){var $e=he.getOverflowedSubMenuItem(be.props.eventKey,[]);Q!==void 0&&he.props.className.indexOf("".concat(he.props.prefixCls,"-root"))!==-1&&(Ie>Q&&(Re=c.cloneElement(be,{style:{display:"none"},eventKey:"".concat(be.props.eventKey,"-hidden"),className:"".concat(et)})),Ie===Q+1&&(he.overflowedItems=ne.slice(Q+1).map(function(Wt){return c.cloneElement(Wt,{key:Wt.props.eventKey,mode:"vertical-left"})}),$e=he.getOverflowedSubMenuItem(be.props.eventKey,he.overflowedItems)));var gt=[].concat(Object(se.a)(te),[$e,Re]);return Ie===ne.length-1&&gt.push(he.getOverflowedSubMenuItem(be.props.eventKey,[],!0)),gt}return[].concat(Object(se.a)(te),[Re])},[])}},{key:"render",value:function(){var ne=this.props,he=ne.visible,Q=ne.prefixCls,te=ne.overflowedIndicator,be=ne.mode,Ie=ne.level,Re=ne.tag,$e=ne.children,gt=ne.theme,Wt=Object(ke.a)(ne,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$t=Re;return c.createElement($t,Object.assign({},Wt),this.renderChildren($e))}}]),At}(c.Component);lt.defaultProps={tag:"div",className:""};var Ve=lt;function ie(Pe){return Pe.length?Pe.every(function(nt){return!!nt.props.disabled}):!0}function $(Pe,nt,At){var Ot=Pe.getState();Pe.setState({activeKey:Object(g.a)(Object(g.a)({},Ot.activeKey),{},Object(T.a)({},nt,At))})}function it(Pe){return Pe.eventKey||"0-menu-"}function Qe(Pe,nt){var At=nt,Ot=Pe.children,ne=Pe.eventKey;if(At){var he;if(Ee(Ot,function(Q,te){Q&&Q.props&&!Q.props.disabled&&At===Xe(Q,ne,te)&&(he=!0)}),he)return At}return At=null,Pe.defaultActiveFirst&&Ee(Ot,function(Q,te){!At&&Q&&!Q.props.disabled&&(At=Xe(Q,ne,te))}),At}function ye(Pe){if(Pe){var nt=this.instanceArray.indexOf(Pe);nt!==-1?this.instanceArray[nt]=Pe:this.instanceArray.push(Pe)}}var Zt=function(Pe){Object(v.a)(At,Pe);var nt=Object(h.a)(At);function At(Ot){var ne;return Object(f.a)(this,At),ne=nt.call(this,Ot),ne.onKeyDown=function(he,Q){var te=he.keyCode,be;if(ne.getFlatInstanceArray().forEach(function(Re){Re&&Re.props.active&&Re.onKeyDown&&(be=Re.onKeyDown(he))}),be)return 1;var Ie=null;return(te===L.a.UP||te===L.a.DOWN)&&(Ie=ne.step(te===L.a.UP?-1:1)),Ie?(he.preventDefault(),$(ne.props.store,it(ne.props),Ie.props.eventKey),typeof Q=="function"&&Q(Ie),1):void 0},ne.onItemHover=function(he){var Q=he.key,te=he.hover;$(ne.props.store,it(ne.props),te?Q:null)},ne.onDeselect=function(he){ne.props.onDeselect(he)},ne.onSelect=function(he){ne.props.onSelect(he)},ne.onClick=function(he){ne.props.onClick(he)},ne.onOpenChange=function(he){ne.props.onOpenChange(he)},ne.onDestroy=function(he){ne.props.onDestroy(he)},ne.getFlatInstanceArray=function(){return ne.instanceArray},ne.step=function(he){var Q=ne.getFlatInstanceArray(),te=ne.props.store.getState().activeKey[it(ne.props)],be=Q.length;if(!be)return null;he<0&&(Q=Q.concat().reverse());var Ie=-1;if(Q.every(function(Wt,$t){return Wt&&Wt.props.eventKey===te?(Ie=$t,!1):!0}),!ne.props.defaultActiveFirst&&Ie!==-1&&ie(Q.slice(Ie,be-1)))return;var Re=(Ie+1)%be,$e=Re;do{var gt=Q[$e];if(!gt||gt.props.disabled)$e=($e+1)%be;else return gt}while($e!==Re);return null},ne.renderCommonMenuItem=function(he,Q,te){var be=ne.props.store.getState(),Ie=Object(m.a)(ne),Re=Ie.props,$e=Xe(he,Re.eventKey,Q),gt=he.props;if(!gt||typeof he.type=="string")return he;var Wt=$e===be.activeKey,$t=Object(g.a)(Object(g.a)({mode:gt.mode||Re.mode,level:Re.level,inlineIndent:Re.inlineIndent,renderMenuItem:ne.renderMenuItem,rootPrefixCls:Re.prefixCls,index:Q,parentMenu:Re.parentMenu,manualRef:gt.disabled?void 0:Object(y.a)(he.ref,ye.bind(Object(m.a)(ne))),eventKey:$e,active:!gt.disabled&&Wt,multiple:Re.multiple,onClick:function(Kt){(gt.onClick||Fe)(Kt),ne.onClick(Kt)},onItemHover:ne.onItemHover,motion:Re.motion,subMenuOpenDelay:Re.subMenuOpenDelay,subMenuCloseDelay:Re.subMenuCloseDelay,forceSubMenuRender:Re.forceSubMenuRender,onOpenChange:ne.onOpenChange,onDeselect:ne.onDeselect,onSelect:ne.onSelect,builtinPlacements:Re.builtinPlacements,itemIcon:gt.itemIcon||ne.props.itemIcon,expandIcon:gt.expandIcon||ne.props.expandIcon},te),{},{direction:Re.direction});return(Re.mode==="inline"||ee())&&($t.triggerSubMenuAction="click"),c.cloneElement(he,$t)},ne.renderMenuItem=function(he,Q,te){if(!he)return null;var be=ne.props.store.getState(),Ie={openKeys:be.openKeys,selectedKeys:be.selectedKeys,triggerSubMenuAction:ne.props.triggerSubMenuAction,subMenuKey:te};return ne.renderCommonMenuItem(he,Q,Ie)},Ot.store.setState({activeKey:Object(g.a)(Object(g.a)({},Ot.store.getState().activeKey),{},Object(T.a)({},Ot.eventKey,Qe(Ot,Ot.activeKey)))}),ne.instanceArray=[],ne}return Object(A.a)(At,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ne){return this.props.visible||ne.visible||this.props.className!==ne.className||!u()(this.props.style,ne.style)}},{key:"componentDidUpdate",value:function(ne){var he=this.props,Q="activeKey"in he?he.activeKey:he.store.getState().activeKey[it(he)],te=Qe(he,Q);if(te!==Q)$(he.store,it(he),te);else if("activeKey"in ne){var be=Qe(ne,ne.activeKey);te!==be&&$(he.store,it(he),te)}}},{key:"render",value:function(){var ne=this,he=Object(x.a)({},this.props);this.instanceArray=[];var Q=O()(he.prefixCls,he.className,"".concat(he.prefixCls,"-").concat(he.mode)),te={className:Q,role:he.role||"menu"};he.id&&(te.id=he.id),he.focusable&&(te.tabIndex=0,te.onKeyDown=this.onKeyDown);var be=he.prefixCls,Ie=he.eventKey,Re=he.visible,$e=he.level,gt=he.mode,Wt=he.overflowedIndicator,$t=he.theme;return at.forEach(function(Dt){return delete he[Dt]}),delete he.onClick,c.createElement(Ve,Object.assign({},he,{prefixCls:be,mode:gt,tag:"ul",level:$e,theme:$t,visible:Re,overflowedIndicator:Wt},te),c.Children.map(he.children,function(Dt,Kt){return ne.renderMenuItem(Dt,Kt,Ie||"0-menu-")}))}}]),At}(c.Component);Zt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Fe};var ht=b()(Zt),ct=ht,yt=e("Kwbf");function It(Pe,nt,At){var Ot=Pe.prefixCls,ne=Pe.motion,he=Pe.defaultMotions,Q=he===void 0?{}:he,te=Pe.openAnimation,be=Pe.openTransitionName,Ie=nt.switchingModeFromInline;if(ne)return ne;if(Object(N.a)(te)==="object"&&te)Object(yt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof te=="string")return{motionName:"".concat(Ot,"-open-").concat(te)};if(be)return{motionName:be};var Re=Q[At];return Re||(Ie?null:Q.other)}var or=function(Pe){Object(v.a)(At,Pe);var nt=Object(h.a)(At);function At(Ot){var ne;Object(f.a)(this,At),ne=nt.call(this,Ot),ne.inlineOpenKeys=[],ne.onSelect=function(te){var be=Object(m.a)(ne),Ie=be.props;if(Ie.selectable){var Re=ne.store.getState(),$e=Re.selectedKeys,gt=te.key;Ie.multiple?$e=$e.concat([gt]):$e=[gt],"selectedKeys"in Ie||ne.store.setState({selectedKeys:$e}),Ie.onSelect(Object(g.a)(Object(g.a)({},te),{},{selectedKeys:$e}))}},ne.onClick=function(te){var be=ne.getRealMenuMode(),Ie=Object(m.a)(ne),Re=Ie.store,$e=Ie.props.onOpenChange;be!=="inline"&&!("openKeys"in ne.props)&&(Re.setState({openKeys:[]}),$e([])),ne.props.onClick(te)},ne.onKeyDown=function(te,be){ne.innerMenu.getWrappedInstance().onKeyDown(te,be)},ne.onOpenChange=function(te){var be=Object(m.a)(ne),Ie=be.props,Re=ne.store.getState().openKeys.concat(),$e=!1,gt=function($t){var Dt=!1;if($t.open)Dt=Re.indexOf($t.key)===-1,Dt&&Re.push($t.key);else{var Kt=Re.indexOf($t.key);Dt=Kt!==-1,Dt&&Re.splice(Kt,1)}$e=$e||Dt};Array.isArray(te)?te.forEach(gt):gt(te),$e&&("openKeys"in ne.props||ne.store.setState({openKeys:Re}),Ie.onOpenChange(Re))},ne.onDeselect=function(te){var be=Object(m.a)(ne),Ie=be.props;if(Ie.selectable){var Re=ne.store.getState().selectedKeys.concat(),$e=te.key,gt=Re.indexOf($e);gt!==-1&&Re.splice(gt,1),"selectedKeys"in Ie||ne.store.setState({selectedKeys:Re}),Ie.onDeselect(Object(g.a)(Object(g.a)({},te),{},{selectedKeys:Re}))}},ne.onMouseEnter=function(te){ne.restoreModeVerticalFromInline();var be=ne.props.onMouseEnter;be&&be(te)},ne.onTransitionEnd=function(te){var be=te.propertyName==="width"&&te.target===te.currentTarget,Ie=te.target.className,Re=Object.prototype.toString.call(Ie)==="[object SVGAnimatedString]"?Ie.animVal:Ie,$e=te.propertyName==="font-size"&&Re.indexOf("anticon")>=0;(be||$e)&&ne.restoreModeVerticalFromInline()},ne.setInnerMenu=function(te){ne.innerMenu=te},ne.isRootMenu=!0;var he=Ot.defaultSelectedKeys,Q=Ot.defaultOpenKeys;return"selectedKeys"in Ot&&(he=Ot.selectedKeys||[]),"openKeys"in Ot&&(Q=Ot.openKeys||[]),ne.store=E({selectedKeys:he,openKeys:Q,activeKey:{"0-menu-":Qe(Ot,Ot.activeKey)}}),ne.state={switchingModeFromInline:!1},ne}return Object(A.a)(At,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ne){this.updateOpentKeysWhenSwitchMode(ne),this.updateMiniStore();var he=this.props,Q=he.siderCollapsed,te=he.inlineCollapsed,be=he.onOpenChange;(!ne.inlineCollapsed&&te||!ne.siderCollapsed&&Q)&&be([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ne){var he=this.props,Q=this.store,te=this.inlineOpenKeys,be=Q.getState(),Ie={};ne.mode==="inline"&&he.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in he||((he.inlineCollapsed&&!ne.inlineCollapsed||he.siderCollapsed&&!ne.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=be.openKeys.concat(),Ie.openKeys=[]),(!he.inlineCollapsed&&ne.inlineCollapsed||!he.siderCollapsed&&ne.siderCollapsed)&&(Ie.openKeys=te,this.inlineOpenKeys=[])),Object.keys(Ie).length&&Q.setState(Ie)}},{key:"updateMenuDisplay",value:function(){var ne=this.props.collapsedWidth,he=this.store,Q=this.prevOpenKeys,te=this.getInlineCollapsed()&&(ne===0||ne==="0"||ne==="0px");te?(this.prevOpenKeys=he.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Q&&(this.store.setState({openKeys:Q}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ne=this.props.mode,he=this.state.switchingModeFromInline,Q=this.getInlineCollapsed();return he&&Q?"inline":Q?"vertical":ne}},{key:"getInlineCollapsed",value:function(){var ne=this.props,he=ne.inlineCollapsed,Q=ne.siderCollapsed;return Q!==void 0?Q:he}},{key:"restoreModeVerticalFromInline",value:function(){var ne=this.state.switchingModeFromInline;ne&&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 ne=Object(g.a)({},Object(S.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),he=this.getRealMenuMode();return ne.className+=" ".concat(ne.prefixCls,"-root"),ne.direction==="rtl"&&(ne.className+=" ".concat(ne.prefixCls,"-rtl")),ne=Object(g.a)(Object(g.a)({},ne),{},{mode:he,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:It(this.props,this.state,he)}),delete ne.openAnimation,delete ne.openTransitionName,c.createElement(n,{store:this.store},c.createElement(ct,Object.assign({},ne,{ref:this.setInnerMenu}),this.props.children))}}]),At}(c.Component);or.defaultProps={selectable:!0,onClick:Fe,onSelect:Fe,onOpenChange:Fe,onDeselect:Fe,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 Bt=or,Ae=function(Pe){Object(v.a)(At,Pe);var nt=Object(h.a)(At);function At(){var Ot;return Object(f.a)(this,At),Ot=nt.apply(this,arguments),Ot.onKeyDown=function(ne){var he=ne.keyCode;return he===L.a.ENTER?(Ot.onClick(ne),!0):void 0},Ot.onMouseLeave=function(ne){var he=Ot.props,Q=he.eventKey,te=he.onItemHover,be=he.onMouseLeave;te({key:Q,hover:!1}),be({key:Q,domEvent:ne})},Ot.onMouseEnter=function(ne){var he=Ot.props,Q=he.eventKey,te=he.onItemHover,be=he.onMouseEnter;te({key:Q,hover:!0}),be({key:Q,domEvent:ne})},Ot.onClick=function(ne){var he=Ot.props,Q=he.eventKey,te=he.multiple,be=he.onClick,Ie=he.onSelect,Re=he.onDeselect,$e=he.isSelected,gt={key:Q,keyPath:[Q],item:Object(m.a)(Ot),domEvent:ne};be(gt),te?$e?Re(gt):Ie(gt):$e||Ie(gt)},Ot.saveNode=function(ne){Ot.node=ne},Ot}return Object(A.a)(At,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ne=this.props;ne.onDestroy&&ne.onDestroy(ne.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 ne,he=Object(g.a)({},this.props),Q=O()(this.getPrefixCls(),he.className,(ne={},Object(T.a)(ne,this.getActiveClassName(),!he.disabled&&he.active),Object(T.a)(ne,this.getSelectedClassName(),he.isSelected),Object(T.a)(ne,this.getDisabledClassName(),he.disabled),ne)),te=Object(g.a)(Object(g.a)({},he.attribute),{},{title:typeof he.title=="string"?he.title:void 0,className:Q,role:he.role||"menuitem","aria-disabled":he.disabled});he.role==="option"?te=Object(g.a)(Object(g.a)({},te),{},{role:"option","aria-selected":he.isSelected}):(he.role===null||he.role==="none")&&(te.role="none");var be={onClick:he.disabled?null:this.onClick,onMouseLeave:he.disabled?null:this.onMouseLeave,onMouseEnter:he.disabled?null:this.onMouseEnter},Ie=Object(g.a)({},he.style);he.mode==="inline"&&(he.direction==="rtl"?Ie.paddingRight=he.inlineIndent*he.level:Ie.paddingLeft=he.inlineIndent*he.level),at.forEach(function($e){return delete he[$e]}),delete he.direction;var Re=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Re=c.createElement(this.props.itemIcon,this.props)),c.createElement("li",Object.assign({},Object(S.default)(he,["onClick","onMouseEnter","onMouseLeave","onSelect"]),te,be,{style:Ie,ref:this.saveNode}),he.children,Re)}}]),At}(c.Component);Ae.isMenuItem=!0,Ae.defaultProps={onSelect:Fe,onMouseEnter:Fe,onMouseLeave:Fe,manualRef:Fe};var ve=b(function(Pe,nt){var At=Pe.activeKey,Ot=Pe.selectedKeys,ne=nt.eventKey,he=nt.subMenuKey;return{active:At[he]===ne,isSelected:Ot.indexOf(ne)!==-1}})(Ae),fe=ve,ue=function(Pe){Object(v.a)(At,Pe);var nt=Object(h.a)(At);function At(){var Ot;return Object(f.a)(this,At),Ot=nt.apply(this,arguments),Ot.renderInnerMenuItem=function(ne){var he=Ot.props,Q=he.renderMenuItem,te=he.index;return Q(ne,te,Ot.props.subMenuKey)},Ot}return Object(A.a)(At,[{key:"render",value:function(){var ne=Object(x.a)({},this.props),he=ne.className,Q=he===void 0?"":he,te=ne.rootPrefixCls,be="".concat(te,"-item-group-title"),Ie="".concat(te,"-item-group-list"),Re=ne.title,$e=ne.children;return at.forEach(function(gt){return delete ne[gt]}),delete ne.onClick,delete ne.direction,c.createElement("li",Object.assign({},ne,{className:"".concat(Q," ").concat(te,"-item-group")}),c.createElement("div",{className:be,title:typeof Re=="string"?Re:void 0},Re),c.createElement("ul",{className:Ie},c.Children.map($e,this.renderInnerMenuItem)))}}]),At}(c.Component);ue.isMenuItemGroup=!0,ue.defaultProps={disabled:!0};var Ne=ue,je=function(nt){var At=nt.className,Ot=nt.rootPrefixCls,ne=nt.style;return c.createElement("li",{className:"".concat(At," ").concat(Ot,"-item-divider"),style:ne})};je.defaultProps={disabled:!0,className:"",style:{}};var Ke=je,Ye=_.f=Bt},"1n7x":function(D,_,e){(function(g,f){(function(A,m){D.exports=m(e("5RHE"),e("wOnQ"))})(this,function(A,m){"use strict";A=A&&A.hasOwnProperty("default")?A.default:A,m=m&&m.hasOwnProperty("default")?m.default:m;var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},h=Object.assign||function(S){for(var x=1;x<arguments.length;x++){var T=arguments[x];for(var L in T)Object.prototype.hasOwnProperty.call(T,L)&&(S[L]=T[L])}return S},c=function(x){var T=typeof x=="undefined"?"undefined":v(x);return T==="undefined"?"undefined":T==="string"||x instanceof String?"string":T==="number"||x instanceof Number?"number":T==="function"||x instanceof Function?"function":!!x&&x.constructor===Array?"array":x&&x.nodeType===1?"element":T==="object"?"object":"unknown"},o=function(x,T){var L=document.createElement(x);if(T.className&&(L.className=T.className),T.innerHTML){L.innerHTML=T.innerHTML;for(var y=L.getElementsByTagName("script"),C=y.length;C-- >0;null)y[C].parentNode.removeChild(y[C])}for(var O in T.style)L.style[O]=T.style[O];return L},i=function S(x,T){for(var L=x.nodeType===3?document.createTextNode(x.nodeValue):x.cloneNode(!1),y=x.firstChild;y;y=y.nextSibling)(T===!0||y.nodeType!==1||y.nodeName!=="SCRIPT")&&L.appendChild(S(y,T));return x.nodeType===1&&(x.nodeName==="CANVAS"?(L.width=x.width,L.height=x.height,L.getContext("2d").drawImage(x,0,0)):(x.nodeName==="TEXTAREA"||x.nodeName==="SELECT")&&(L.value=x.value),L.addEventListener("load",function(){L.scrollTop=x.scrollTop,L.scrollLeft=x.scrollLeft},!0)),L},n=function(x,T){if(c(x)==="number")return x*72/96/T;var L={};for(var y in x)L[y]=x[y]*72/96/T;return L},a=function(x,T){return Math.floor(x*T/72*96)},u=typeof window!="undefined"?window:typeof g!="undefined"?g:typeof self!="undefined"?self:{};function r(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function l(S,x){return x={exports:{}},S(x,x.exports),x.exports}var t=l(function(S,x){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.5+7f2b526d
*/(function(T,L){S.exports=L()})(u,function(){function T(ht){var ct=typeof ht;return ht!==null&&(ct==="object"||ct==="function")}function L(ht){return typeof ht=="function"}var y=void 0;Array.isArray?y=Array.isArray:y=function(ct){return Object.prototype.toString.call(ct)==="[object Array]"};var C=y,O=0,N=void 0,k=void 0,F=function(ct,yt){le[O]=ct,le[O+1]=yt,O+=2,O===2&&(k?k(Y):we())};function B(ht){k=ht}function H(ht){F=ht}var W=typeof window!="undefined"?window:void 0,R=W||{},U=R.MutationObserver||R.WebKitMutationObserver,j=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",P=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function K(){return function(){return f.nextTick(Y)}}function V(){return typeof N!="undefined"?function(){N(Y)}:G()}function z(){var ht=0,ct=new U(Y),yt=document.createTextNode("");return ct.observe(yt,{characterData:!0}),function(){yt.data=ht=++ht%2}}function X(){var ht=new MessageChannel;return ht.port1.onmessage=Y,function(){return ht.port2.postMessage(0)}}function G(){var ht=setTimeout;return function(){return ht(Y,1)}}var le=new Array(1e3);function Y(){for(var ht=0;ht<O;ht+=2){var ct=le[ht],yt=le[ht+1];ct(yt),le[ht]=void 0,le[ht+1]=void 0}O=0}function me(){try{var ht=Function("return this")().require("vertx");return N=ht.runOnLoop||ht.runOnContext,V()}catch(ct){return G()}}var we=void 0;j?we=K():U?we=z():P?we=X():W===void 0&&typeof r=="function"?we=me():we=G();function pe(ht,ct){var yt=this,It=new this.constructor(dt);It[Xe]===void 0&&et(It);var or=yt._state;if(or){var Bt=arguments[or-1];F(function(){return Rt(or,It,Bt,yt._result)})}else vt(yt,It,ht,ct);return It}function Fe(ht){var ct=this;if(ht&&typeof ht=="object"&&ht.constructor===ct)return ht;var yt=new ct(dt);return ae(yt,ht),yt}var Xe=Math.random().toString(36).substring(2);function dt(){}var Ee=void 0,Se=1,at=2,_e={error:null};function ce(){return new TypeError("You cannot resolve a promise with itself")}function ee(){return new TypeError("A promises callback cannot return that same promise.")}function se(ht){try{return ht.then}catch(ct){return _e.error=ct,_e}}function ke(ht,ct,yt,It){try{ht.call(ct,yt,It)}catch(or){return or}}function Ce(ht,ct,yt){F(function(It){var or=!1,Bt=ke(yt,ct,function(Ae){if(or)return;or=!0,ct!==Ae?ae(It,Ae):Le(It,Ae)},function(Ae){if(or)return;or=!0,Ze(It,Ae)},"Settle: "+(It._label||" unknown promise"));!or&&Bt&&(or=!0,Ze(It,Bt))},ht)}function ze(ht,ct){ct._state===Se?Le(ht,ct._result):ct._state===at?Ze(ht,ct._result):vt(ct,void 0,function(yt){return ae(ht,yt)},function(yt){return Ze(ht,yt)})}function Oe(ht,ct,yt){ct.constructor===ht.constructor&&yt===pe&&ct.constructor.resolve===Fe?ze(ht,ct):yt===_e?(Ze(ht,_e.error),_e.error=null):yt===void 0?Le(ht,ct):L(yt)?Ce(ht,ct,yt):Le(ht,ct)}function ae(ht,ct){ht===ct?Ze(ht,ce()):T(ct)?Oe(ht,ct,se(ct)):Le(ht,ct)}function ge(ht){ht._onerror&&ht._onerror(ht._result),Ct(ht)}function Le(ht,ct){if(ht._state!==Ee)return;ht._result=ct,ht._state=Se,ht._subscribers.length!==0&&F(Ct,ht)}function Ze(ht,ct){if(ht._state!==Ee)return;ht._state=at,ht._result=ct,F(ge,ht)}function vt(ht,ct,yt,It){var or=ht._subscribers,Bt=or.length;ht._onerror=null,or[Bt]=ct,or[Bt+Se]=yt,or[Bt+at]=It,Bt===0&&ht._state&&F(Ct,ht)}function Ct(ht){var ct=ht._subscribers,yt=ht._state;if(ct.length===0)return;for(var It=void 0,or=void 0,Bt=ht._result,Ae=0;Ae<ct.length;Ae+=3)It=ct[Ae],or=ct[Ae+yt],It?Rt(yt,It,or,Bt):or(Bt);ht._subscribers.length=0}function Be(ht,ct){try{return ht(ct)}catch(yt){return _e.error=yt,_e}}function Rt(ht,ct,yt,It){var or=L(yt),Bt=void 0,Ae=void 0,ve=void 0,fe=void 0;if(or){if(Bt=Be(yt,It),Bt===_e?(fe=!0,Ae=Bt.error,Bt.error=null):ve=!0,ct===Bt){Ze(ct,ee());return}}else Bt=It,ve=!0;ct._state!==Ee||(or&&ve?ae(ct,Bt):fe?Ze(ct,Ae):ht===Se?Le(ct,Bt):ht===at&&Ze(ct,Bt))}function He(ht,ct){try{ct(function(It){ae(ht,It)},function(It){Ze(ht,It)})}catch(yt){Ze(ht,yt)}}var wt=0;function Ge(){return wt++}function et(ht){ht[Xe]=wt++,ht._state=void 0,ht._result=void 0,ht._subscribers=[]}function rt(){return new Error("Array Methods must be provided an Array")}var lt=function(){function ht(ct,yt){this._instanceConstructor=ct,this.promise=new ct(dt),this.promise[Xe]||et(this.promise),C(yt)?(this.length=yt.length,this._remaining=yt.length,this._result=new Array(this.length),this.length===0?Le(this.promise,this._result):(this.length=this.length||0,this._enumerate(yt),this._remaining===0&&Le(this.promise,this._result))):Ze(this.promise,rt())}return ht.prototype._enumerate=function(yt){for(var It=0;this._state===Ee&&It<yt.length;It++)this._eachEntry(yt[It],It)},ht.prototype._eachEntry=function(yt,It){var or=this._instanceConstructor,Bt=or.resolve;if(Bt===Fe){var Ae=se(yt);if(Ae===pe&&yt._state!==Ee)this._settledAt(yt._state,It,yt._result);else if(typeof Ae!="function")this._remaining--,this._result[It]=yt;else if(or===ye){var ve=new or(dt);Oe(ve,yt,Ae),this._willSettleAt(ve,It)}else this._willSettleAt(new or(function(fe){return fe(yt)}),It)}else this._willSettleAt(Bt(yt),It)},ht.prototype._settledAt=function(yt,It,or){var Bt=this.promise;Bt._state===Ee&&(this._remaining--,yt===at?Ze(Bt,or):this._result[It]=or),this._remaining===0&&Le(Bt,this._result)},ht.prototype._willSettleAt=function(yt,It){var or=this;vt(yt,void 0,function(Bt){return or._settledAt(Se,It,Bt)},function(Bt){return or._settledAt(at,It,Bt)})},ht}();function Ve(ht){return new lt(this,ht).promise}function ie(ht){var ct=this;return C(ht)?new ct(function(yt,It){for(var or=ht.length,Bt=0;Bt<or;Bt++)ct.resolve(ht[Bt]).then(yt,It)}):new ct(function(yt,It){return It(new TypeError("You must pass an array to race."))})}function $(ht){var ct=this,yt=new ct(dt);return Ze(yt,ht),yt}function it(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Qe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ye=function(){function ht(ct){this[Xe]=Ge(),this._result=this._state=void 0,this._subscribers=[],dt!==ct&&(typeof ct!="function"&&it(),this instanceof ht?He(this,ct):Qe())}return ht.prototype.catch=function(yt){return this.then(null,yt)},ht.prototype.finally=function(yt){var It=this,or=It.constructor;return L(yt)?It.then(function(Bt){return or.resolve(yt()).then(function(){return Bt})},function(Bt){return or.resolve(yt()).then(function(){throw Bt})}):It.then(yt,yt)},ht}();ye.prototype.then=pe,ye.all=Ve,ye.race=ie,ye.resolve=Fe,ye.reject=$,ye._setScheduler=B,ye._setAsap=H,ye._asap=F;function Zt(){var ht=void 0;if(typeof u!="undefined")ht=u;else if(typeof self!="undefined")ht=self;else try{ht=Function("return this")()}catch(It){throw new Error("polyfill failed because global object is unavailable in this environment")}var ct=ht.Promise;if(ct){var yt=null;try{yt=Object.prototype.toString.call(ct.resolve())}catch(It){}if(yt==="[object Promise]"&&!ct.cast)return}ht.Promise=ye}return ye.polyfill=Zt,ye.Promise=ye,ye})}),s=t.Promise,d=function S(x){var T=h(S.convert(s.resolve()),JSON.parse(JSON.stringify(S.template))),L=S.convert(s.resolve(),T);return L=L.setProgress(1,S,1,[S]),L=L.set(x),L};d.prototype=Object.create(s.prototype),d.prototype.constructor=d,d.convert=function(x,T){return x.__proto__=T||d.prototype,x},d.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:{}}},d.prototype.from=function(x,T){function L(y){switch(c(y)){case"string":return"string";case"element":return y.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){T=T||L(x);switch(T){case"string":return this.set({src:o("div",{innerHTML:x})});case"element":return this.set({src:x});case"canvas":return this.set({canvas:x});case"img":return this.set({img:x});default:return this.error("Unknown source type.")}})},d.prototype.to=function(x){switch(x){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.")}},d.prototype.toContainer=function(){var x=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(x).then(function(){var L={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};L.opacity=0;var C=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=o("div",{className:"html2pdf__overlay",style:L}),this.prop.container=o("div",{className:"html2pdf__container",style:y}),this.prop.container.appendChild(C),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},d.prototype.toCanvas=function(){var x=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(x).then(function(){var L=h({},this.opt.html2canvas);return delete L.onrendered,m(this.prop.container,L)}).then(function(L){var y=this.opt.html2canvas.onrendered||function(){};y(L),this.prop.canvas=L,document.body.removeChild(this.prop.overlay)})},d.prototype.toImg=function(){var x=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(x).then(function(){var L=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=L})},d.prototype.toPdf=function(){var x=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(x).then(function(){var L=this.prop.canvas,y=this.opt,C=L.height,O=Math.floor(L.width*this.prop.pageSize.inner.ratio),N=Math.ceil(C/O),k=this.prop.pageSize.inner.height,F=document.createElement("canvas"),B=F.getContext("2d");F.width=L.width,F.height=O,this.prop.pdf=this.prop.pdf||new A(y.jsPDF);for(var H=0;H<N;H++){H===N-1&&C%O!==0&&(F.height=C%O,k=F.height*this.prop.pageSize.inner.width/F.width);var W=F.width,R=F.height;B.fillStyle="white",B.fillRect(0,0,W,R),B.drawImage(L,0,H*O,W,R,0,0,W,R),H&&this.prop.pdf.addPage();var U=F.toDataURL("image/"+y.image.type,y.image.quality);this.prop.pdf.addImage(U,y.image.type,y.margin[1],y.margin[0],this.prop.pageSize.inner.width,k)}})},d.prototype.output=function(x,T,L){return L=L||"pdf",L.toLowerCase()==="img"||L.toLowerCase()==="image"?this.outputImg(x,T):this.outputPdf(x,T)},d.prototype.outputPdf=function(x,T){var L=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(L).then(function(){return this.prop.pdf.output(x,T)})},d.prototype.outputImg=function(x,T){var L=[function(){return this.prop.img||this.toImg()}];return this.thenList(L).then(function(){switch(x){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 "'+x+'" is not supported.'}})},d.prototype.save=function(x){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).set(x?{filename:x}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},d.prototype.set=function(x){if(c(x)!=="object")return this;var T=Object.keys(x||{}).map(function(L){if(L in d.template.prop)return function(){this.prop[L]=x[L]};switch(L){case"margin":return this.setMargin.bind(this,x.margin);case"jsPDF":return function(){return this.opt.jsPDF=x.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,x.pageSize);default:return function(){this.opt[L]=x[L]}}},this);return this.then(function(){return this.thenList(T)})},d.prototype.get=function(x,T){return this.then(function(){var y=x in d.template.prop?this.prop[x]:this.opt[x];return T?T(y):y})},d.prototype.setMargin=function(x){return this.then(function(){switch(c(x)){case"number":x=[x,x,x,x];case"array":if(x.length===2&&(x=[x[0],x[1],x[0],x[1]]),x.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=x}).then(this.setPageSize)},d.prototype.setPageSize=function(x){return this.then(function(){x=x||A.getPageSize(this.opt.jsPDF),x.hasOwnProperty("inner")||(x.inner={width:x.width-this.opt.margin[1]-this.opt.margin[3],height:x.height-this.opt.margin[0]-this.opt.margin[2]},x.inner.px={width:a(x.inner.width,x.k),height:a(x.inner.height,x.k)},x.inner.ratio=x.inner.height/x.inner.width),this.prop.pageSize=x})},d.prototype.setProgress=function(x,T,L,y){return x!=null&&(this.progress.val=x),T!=null&&(this.progress.state=T),L!=null&&(this.progress.n=L),y!=null&&(this.progress.stack=y),this.progress.ratio=this.progress.val/this.progress.state,this},d.prototype.updateProgress=function(x,T,L,y){return this.setProgress(x?this.progress.val+x:null,T||null,L?this.progress.n+L:null,y?this.progress.stack.concat(y):null)},d.prototype.then=function(x,T){var L=this;return this.thenCore(x,T,function(C,O){return L.updateProgress(null,null,1,[C]),s.prototype.then.call(this,function(k){return L.updateProgress(null,C),k}).then(C,O).then(function(k){return L.updateProgress(1),k})})},d.prototype.thenCore=function(x,T,L){L=L||s.prototype.then;var y=this;x&&(x=x.bind(y)),T&&(T=T.bind(y));var C=s.toString().indexOf("[native code]")!==-1&&s.name==="Promise",O=C?y:d.convert(h({},y),s.prototype),N=L.call(O,x,T);return d.convert(N,y.__proto__)},d.prototype.thenExternal=function(x,T){return s.prototype.then.call(this,x,T)},d.prototype.thenList=function(x){var T=this;return x.forEach(function(y){T=T.thenCore(y)}),T},d.prototype.catch=function(S){S&&(S=S.bind(this));var x=s.prototype.catch.call(this,S);return d.convert(x,this)},d.prototype.catchExternal=function(x){return s.prototype.catch.call(this,x)},d.prototype.error=function(x){return this.then(function(){throw new Error(x)})},d.prototype.using=d.prototype.set,d.prototype.saveAs=d.prototype.save,d.prototype.export=d.prototype.output,d.prototype.run=d.prototype.then,A.getPageSize=function(S,x,T){if((typeof S=="undefined"?"undefined":v(S))==="object"){var L=S;S=L.orientation,x=L.unit||x,T=L.format||T}x=x||"mm",T=T||"a4",S=(""+(S||"P")).toLowerCase();var y=(""+T).toLowerCase(),C={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(x){case"pt":var O=1;break;case"mm":var O=72/25.4;break;case"cm":var O=72/2.54;break;case"in":var O=72;break;case"px":var O=72/96;break;case"pc":var O=12;break;case"em":var O=12;break;case"ex":var O=6;break;default:throw"Invalid unit: "+x}if(C.hasOwnProperty(y))var N=C[y][1]/O,k=C[y][0]/O;else try{var N=T[1],k=T[0]}catch(H){throw new Error("Invalid format: "+T)}if(S==="p"||S==="portrait"){if(S="p",k>N){var F=k;k=N,N=F}}else if(S==="l"||S==="landscape"){if(S="l",N>k){var F=k;k=N,N=F}}else throw"Invalid orientation: "+S;var B={width:k,height:N,unit:x,k:O};return B};var p={toContainer:d.prototype.toContainer};d.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},d.prototype.toContainer=function(){return p.toContainer.call(this).then(function(){var T=this.prop.container,L=this.prop.pageSize.inner.px.height,y=[].concat(this.opt.pagebreak.mode),C={avoidAll:y.indexOf("avoid-all")!==-1,css:y.indexOf("css")!==-1,legacy:y.indexOf("legacy")!==-1},O={},N=this;["before","after","avoid"].forEach(function(B){var H=C.avoidAll&&B==="avoid";O[B]=H?[]:[].concat(N.opt.pagebreak[B]||[]),O[B].length>0&&(O[B]=Array.prototype.slice.call(T.querySelectorAll(O[B].join(", "))))});var k=T.querySelectorAll(".html2pdf__page-break");k=Array.prototype.slice.call(k);var F=T.querySelectorAll("*");Array.prototype.forEach.call(F,function(H){var W={before:!1,after:C.legacy&&k.indexOf(H)!==-1,avoid:C.avoidAll};if(C.css){var R=window.getComputedStyle(H),U=["always","page","left","right"],j=["avoid","avoid-page"];W={before:W.before||U.indexOf(R.breakBefore||R.pageBreakBefore)!==-1,after:W.after||U.indexOf(R.breakAfter||R.pageBreakAfter)!==-1,avoid:W.avoid||j.indexOf(R.breakInside||R.pageBreakInside)!==-1}}Object.keys(W).forEach(function(G){W[G]=W[G]||O[G].indexOf(H)!==-1});var P=H.getBoundingClientRect();if(W.avoid&&!W.before){var K=Math.floor(P.top/L),V=Math.floor(P.bottom/L),z=Math.abs(P.bottom-P.top)/L;V!==K&&z<=1&&(W.before=!0)}if(W.before){var X=o("div",{style:{display:"block",height:L-P.top%L+"px"}});H.parentNode.insertBefore(X,H)}if(W.after){var X=o("div",{style:{display:"block",height:L-P.bottom%L+"px"}});H.parentNode.insertBefore(X,H.nextSibling)}})})};var b=[],w={toContainer:d.prototype.toContainer,toPdf:d.prototype.toPdf};d.prototype.toContainer=function(){return w.toContainer.call(this).then(function(){if(this.opt.enableLinks){var T=this.prop.container,L=T.querySelectorAll("a"),y=n(T.getBoundingClientRect(),this.prop.pageSize.k);b=[],Array.prototype.forEach.call(L,function(C){for(var O=C.getClientRects(),N=0;N<O.length;N++){var k=n(O[N],this.prop.pageSize.k);k.left-=y.left,k.top-=y.top;var F=Math.floor(k.top/this.prop.pageSize.inner.height)+1,B=this.opt.margin[0]+k.top%this.prop.pageSize.inner.height,H=this.opt.margin[1]+k.left;b.push({page:F,top:B,left:H,clientRect:k,link:C})}},this)}})},d.prototype.toPdf=function(){return w.toPdf.call(this).then(function(){if(this.opt.enableLinks){b.forEach(function(L){this.prop.pdf.setPage(L.page),this.prop.pdf.link(L.left,L.top,L.clientRect.width,L.clientRect.height,{url:L.link.href})},this);var T=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(T)}})};var E=function S(x,T){var L=new S.Worker(T);return x?L.from(x).save():L};return E.Worker=d,E})}).call(this,e("yLpj"),e("Q2Ig"))},"1q3G":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(D,_,e){var g=e("MBQ8"),f=g.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(m){return m.stack=null,f.superApply(this,"getInitialData",arguments)}}),A=f;D.exports=A},"1u/T":function(D,_,e){var g=e("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};g.registerAction(f,function(A,m){m.eachComponent({mainType:"visualMap",query:A},function(v){v.setSelected(A.selected)})})},"1vzs":function(D,_,e){"use strict";e.d(_,"a",function(){return t});var g=e("q1tI"),f=e.n(g),A=e("HQEm"),m=e.n(A),v=e("gZBC"),h=e.n(v),c=e("NAnI"),o=e.n(c),i=e("V/uB"),n=e.n(i),a=e("kbBi"),u=e.n(a),r=e("w6Tc"),l=e.n(r);function t(s){var d=s.suffixIcon,p=s.clearIcon,b=s.menuItemSelectedIcon,w=s.removeIcon,E=s.loading,S=s.multiple,x=s.prefixCls,T=p;p||(T=g.createElement(u.a,null));var L=null;if(d!==void 0)L=d;else if(E)L=g.createElement(h.a,{spin:!0});else{var y="".concat(x,"-suffix");L=function(k){var F=k.open,B=k.showSearch;return F&&B?g.createElement(l.a,{className:y}):g.createElement(m.a,{className:y})}}var C=null;b!==void 0?C=b:S?C=g.createElement(o.a,null):C=null;var O=null;return w!==void 0?O=w:O=g.createElement(n.a,null),{clearIcon:T,suffixIcon:L,itemIcon:C,removeIcon:O}}},"1xaR":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var A=e("mOdp"),m=e("y3NT"),v=e("0/Rx");g.registerVisual(f.curry(A,"sunburst")),g.registerLayout(f.curry(m,"sunburst")),g.registerProcessor(f.curry(v,"sunburst"))},"24YM":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SensorTabIndex=_.SensorClassName=_.SizeSensorId=void 0;var g="size-sensor-id";_.SizeSensorId=g;var f="size-sensor-object";_.SensorClassName=f;var A="-1";_.SensorTabIndex=A},"2548":function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("6GrX"),m=e("IUWy"),v=e("IwbS"),h=e("Qxkt"),c=e("gPAo"),o=e("eRkO"),i=g.extendComponentView({type:"toolbox",render:function(a,u,r,l){var t=this.group;if(t.removeAll(),!a.get("show"))return;var s=+a.get("itemSize"),d=a.get("feature")||{},p=this._features||(this._features={}),b=[];f.each(d,function(S,x){b.push(x)}),new c(this._featureNames||[],b).add(w).update(w).remove(f.curry(w,null)).execute(),this._featureNames=b;function w(S,x){var T=b[S],L=b[x],y=d[T],C=new h(y,a,a.ecModel),O;if(l&&l.newTitle!=null&&l.featureName===T&&(y.title=l.newTitle),T&&!L){if(n(T))O={model:C,onclick:C.option.onclick,featureName:T};else{var N=m.get(T);if(!N)return;O=new N(C,u,r)}p[T]=O}else{if(O=p[L],!O)return;O.model=C,O.ecModel=u,O.api=r}if(!T&&L){O.dispose&&O.dispose(u,r);return}if(!C.get("show")||O.unusable){O.remove&&O.remove(u,r);return}E(C,O,T),C.setIconStatus=function(k,F){var B=this.option,H=this.iconPaths;B.iconStatus=B.iconStatus||{},B.iconStatus[k]=F,H[k]&&H[k].trigger(F)},O.render&&O.render(C,u,r,l)}function E(S,x,T){var L=S.getModel("iconStyle"),y=S.getModel("emphasis.iconStyle"),C=x.getIcons?x.getIcons():S.get("icon"),O=S.get("title")||{};if(typeof C=="string"){var N=C,k=O;C={},O={},C[T]=N,O[T]=k}var F=S.iconPaths={};f.each(C,function(B,H){var W=v.createIcon(B,{},{x:-s/2,y:-s/2,width:s,height:s});W.setStyle(L.getItemStyle()),W.hoverStyle=y.getItemStyle(),W.setStyle({text:O[H],textAlign:y.get("textAlign"),textBorderRadius:y.get("textBorderRadius"),textPadding:y.get("textPadding"),textFill:null});var R=a.getModel("tooltip");R&&R.get("show")&&W.attr("tooltip",f.extend({content:O[H],formatter:R.get("formatter",!0)||function(){return O[H]},formatterParams:{componentType:"toolbox",name:H,title:O[H],$vars:["name","title"]},position:R.get("position",!0)||"bottom"},R.option)),v.setHoverStyle(W),a.get("showTitle")&&(W.__title=O[H],W.on("mouseover",function(){var U=y.getItemStyle(),j=a.get("orient")==="vertical"?a.get("right")==null?"right":"left":a.get("bottom")==null?"bottom":"top";W.setStyle({textFill:y.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:y.get("textBackgroundColor"),textPosition:y.get("textPosition")||j})}).on("mouseout",function(){W.setStyle({textFill:null,textBackgroundColor:null})})),W.trigger(S.get("iconStatus."+H)||"normal"),t.add(W),W.on("click",f.bind(x.onclick,x,u,r,H)),F[H]=W})}o.layout(t,a,r),t.add(o.makeBackground(t.getBoundingRect(),a)),t.eachChild(function(S){var x=S.__title,T=S.hoverStyle;if(T&&x){var L=A.getBoundingRect(x,A.makeFont(T)),y=S.position[0]+t.position[0],C=S.position[1]+t.position[1]+s,O=!1;C+L.height>r.getHeight()&&(T.textPosition="top",O=!0);var N=O?-5-L.height:s+8;y+L.width/2>r.getWidth()?(T.textPosition=["100%",N],T.textAlign="right"):y-L.width/2<0&&(T.textPosition=[0,N],T.textAlign="left")}})},updateView:function(a,u,r,l){f.each(this._features,function(t){t.updateView&&t.updateView(t.model,u,r,l)})},remove:function(a,u){f.each(this._features,function(r){r.remove&&r.remove(a,u)}),this.group.removeAll()},dispose:function(a,u){f.each(this._features,function(r){r.dispose&&r.dispose(a,u)})}});function n(a){return a.indexOf("my")===0}D.exports=i},"2B6p":function(D,_){function e(g,f,A){var m=g.getZoom(),v=g.getCenter(),h=f.zoom,c=g.dataToPoint(v);if(f.dx!=null&&f.dy!=null){c[0]-=f.dx,c[1]-=f.dy;var v=g.pointToData(c);g.setCenter(v)}if(h!=null){if(A){var o=A.min||0,i=A.max||Infinity;h=Math.max(Math.min(m*h,i),o)/m}g.scale[0]*=h,g.scale[1]*=h;var n=g.position,a=(f.originX-n[0])*(h-1),u=(f.originY-n[1])*(h-1);n[0]-=a,n[1]-=u,g.updateTransform();var v=g.pointToData(c);g.setCenter(v),g.setZoom(h*m)}return{center:g.getCenter(),zoom:g.getZoom()}}_.updateCenterAndZoom=e},"2BaD":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="CloseCircleOutlined";var h=_.a=g.forwardRef(v)},"2DNl":function(D,_,e){var g=e("IMiH"),f=e("loD1"),A=e("59Ip"),m=e("aKvl"),v=e("n1HI"),h=e("hX1E"),c=h.normalizeRadian,o=e("Sj9i"),i=e("hyiK"),n=g.CMD,a=Math.PI*2,u=1e-4;function r(x,T){return Math.abs(x-T)<u}var l=[-1,-1,-1],t=[-1,-1];function s(){var x=t[0];t[0]=t[1],t[1]=x}function d(x,T,L,y,C,O,N,k,F,B){if(B>T&&B>y&&B>O&&B>k||B<T&&B<y&&B<O&&B<k)return 0;var H=o.cubicRootAt(T,y,O,k,B,l);if(H===0)return 0;for(var W=0,R=-1,U,j,P=0;P<H;P++){var K=l[P],V=K===0||K===1?.5:1,z=o.cubicAt(x,L,C,N,K);if(z<F)continue;R<0&&(R=o.cubicExtrema(T,y,O,k,t),t[1]<t[0]&&R>1&&s(),U=o.cubicAt(T,y,O,k,t[0]),R>1&&(j=o.cubicAt(T,y,O,k,t[1]))),R===2?K<t[0]?W+=U<T?V:-V:K<t[1]?W+=j<U?V:-V:W+=k<j?V:-V:K<t[0]?W+=U<T?V:-V:W+=k<U?V:-V}return W}function p(x,T,L,y,C,O,N,k){if(k>T&&k>y&&k>O||k<T&&k<y&&k<O)return 0;var F=o.quadraticRootAt(T,y,O,k,l);if(F===0)return 0;var B=o.quadraticExtremum(T,y,O);if(B>=0&&B<=1){for(var H=0,W=o.quadraticAt(T,y,O,B),R=0;R<F;R++){var U=l[R]===0||l[R]===1?.5:1,j=o.quadraticAt(x,L,C,l[R]);if(j<N)continue;l[R]<B?H+=W<T?U:-U:H+=O<W?U:-U}return H}else{var U=l[0]===0||l[0]===1?.5:1,j=o.quadraticAt(x,L,C,l[0]);return j<N?0:O<T?U:-U}}function b(x,T,L,y,C,O,N,k){if(k-=T,k>L||k<-L)return 0;var F=Math.sqrt(L*L-k*k);l[0]=-F,l[1]=F;var B=Math.abs(y-C);if(B<1e-4)return 0;if(B%a<1e-4){y=0,C=a;var H=O?1:-1;return N>=l[0]+x&&N<=l[1]+x?H:0}if(O){var F=y;y=c(C),C=c(F)}else y=c(y),C=c(C);y>C&&(C+=a);for(var W=0,R=0;R<2;R++){var U=l[R];if(U+x>N){var j=Math.atan2(k,U),H=O?1:-1;j<0&&(j=a+j),(j>=y&&j<=C||j+a>=y&&j+a<=C)&&(j>Math.PI/2&&j<Math.PI*1.5&&(H=-H),W+=H)}}return W}function w(x,T,L,y,C){for(var O=0,N=0,k=0,F=0,B=0,H=0;H<x.length;){var W=x[H++];W===n.M&&H>1&&(L||(O+=i(N,k,F,B,y,C))),H===1&&(N=x[H],k=x[H+1],F=N,B=k);switch(W){case n.M:F=x[H++],B=x[H++],N=F,k=B;break;case n.L:if(L){if(f.containStroke(N,k,x[H],x[H+1],T,y,C))return!0}else O+=i(N,k,x[H],x[H+1],y,C)||0;N=x[H++],k=x[H++];break;case n.C:if(L){if(A.containStroke(N,k,x[H++],x[H++],x[H++],x[H++],x[H],x[H+1],T,y,C))return!0}else O+=d(N,k,x[H++],x[H++],x[H++],x[H++],x[H],x[H+1],y,C)||0;N=x[H++],k=x[H++];break;case n.Q:if(L){if(m.containStroke(N,k,x[H++],x[H++],x[H],x[H+1],T,y,C))return!0}else O+=p(N,k,x[H++],x[H++],x[H],x[H+1],y,C)||0;N=x[H++],k=x[H++];break;case n.A:var R=x[H++],U=x[H++],j=x[H++],P=x[H++],K=x[H++],V=x[H++];H+=1;var z=1-x[H++],X=Math.cos(K)*j+R,G=Math.sin(K)*P+U;H>1?O+=i(N,k,X,G,y,C):(F=X,B=G);var le=(y-R)*P/j+R;if(L){if(v.containStroke(R,U,P,K,K+V,z,T,le,C))return!0}else O+=b(R,U,P,K,K+V,z,le,C);N=Math.cos(K+V)*j+R,k=Math.sin(K+V)*P+U;break;case n.R:F=N=x[H++],B=k=x[H++];var Y=x[H++],me=x[H++],X=F+Y,G=B+me;if(L){if(f.containStroke(F,B,X,B,T,y,C)||f.containStroke(X,B,X,G,T,y,C)||f.containStroke(X,G,F,G,T,y,C)||f.containStroke(F,G,F,B,T,y,C))return!0}else O+=i(X,B,X,G,y,C),O+=i(F,G,F,B,y,C);break;case n.Z:if(L){if(f.containStroke(N,k,F,B,T,y,C))return!0}else O+=i(N,k,F,B,y,C);N=F,k=B;break}}return!L&&!r(k,B)&&(O+=i(N,k,F,B,y,C)||0),O!==0}function E(x,T,L){return w(x,0,!1,T,L)}function S(x,T,L,y){return w(x,T,!0,L,y)}_.contain=E,_.containStroke=S},"2Qr1":function(D,_,e){"use strict";e.d(_,"d",function(){return r}),e.d(_,"c",function(){return t}),e.d(_,"e",function(){return s}),e.d(_,"b",function(){return b}),e.d(_,"f",function(){return w}),e.d(_,"g",function(){return E}),e.d(_,"a",function(){return S});var g=e("rePB"),f=e("KQm4"),A=e("DSFK"),m=e("25BE"),v=e("BsWD"),h=e("PYwp");function c(x){return Object(A.a)(x)||Object(m.a)(x)||Object(v.a)(x)||Object(h.a)()}var o=e("U8pU"),i=e("VTBJ"),n=e("Kwbf"),a=e("WKfj");function u(x,T){var L=x.key,y;return"value"in x&&(y=x.value),L!=null?L:y!==void 0?y:"rc-index-key-".concat(T)}function r(x){var T=[];function L(y,C){y.forEach(function(O){C||!("options"in O)?T.push({key:u(O,T.length),groupOption:C,data:O}):(T.push({key:u(O,T.length),group:!0,data:O}),L(O.options,!0))})}return L(x,!1),T}function l(x){var T=Object(i.a)({},x);return"props"in T||Object.defineProperty(T,"props",{get:function(){return Object(n.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),T}}),T}function t(x,T){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=L.prevValueOptions,C=y===void 0?[]:y,O=new Map;return T.forEach(function(N){if(!N.group){var k=N.data;O.set(k.value,k)}}),x.map(function(N){var k=O.get(N);return k||(k=Object(i.a)({},C.find(function(F){return F._INTERNAL_OPTION_VALUE_===N}))),l(k)})}var s=function(T,L){var y=L.options,C=L.prevValue,O=L.labelInValue,N=L.optionLabelProp,k=t([T],y)[0],F={value:T},B,H=Object(a.d)(C);return O&&(B=H.find(function(W){return Object(o.a)(W)==="object"&&"value"in W?W.value===T:W.key===T})),B&&Object(o.a)(B)==="object"&&"label"in B?(F.label=B.label,k&&typeof B.label=="string"&&typeof k[N]=="string"&&B.label.trim()!==k[N].trim()&&Object(n.a)(!1,"`label` of `value` is not same as `label` in Select options.")):k&&N in k?F.label=k[N]:F.label=T,F.key=F.value,F};function d(x){return Object(a.d)(x).join("")}function p(x){return function(T,L){var y=T.toLowerCase();if("options"in L)return d(L.label).toLowerCase().includes(y);var C=L[x],O=d(C).toLowerCase();return O.includes(y)&&!L.disabled}}function b(x,T,L){var y=L.optionFilterProp,C=L.filterOption,O=[],N;return C===!1?T:(typeof C=="function"?N=C:N=p(y),T.forEach(function(k){if("options"in k){var F=N(x,k);if(F)O.push(k);else{var B=k.options.filter(function(H){return N(x,H)});B.length&&O.push(Object(i.a)(Object(i.a)({},k),{},{options:B}))}return}N(x,l(k))&&O.push(k)}),O)}function w(x,T){if(!T||!T.length)return null;var L=!1;function y(O,N){var k=c(N),F=k[0],B=k.slice(1);if(!F)return[O];var H=O.split(F);return L=L||H.length>1,H.reduce(function(W,R){return[].concat(Object(f.a)(W),Object(f.a)(y(R,B)))},[]).filter(function(W){return W})}var C=y(x,T);return L?C:null}function E(x,T){var L=t([x],T)[0];return L.disabled}function S(x,T,L,y){var C=Object(a.d)(T).slice().sort(),O=Object(f.a)(x),N=new Set;return x.forEach(function(k){k.options?k.options.forEach(function(F){N.add(F.value)}):N.add(k.value)}),C.forEach(function(k){var F=y?k.value:k;if(!N.has(F)){var B;O.push(y?(B={},Object(g.a)(B,L,k.label),Object(g.a)(B,"value",F),B):{value:F})}}),O}},"2dDv":function(D,_,e){var g=e("bYtY"),f=e("Fofx"),A=e("+TT/"),m=e("aX7z"),v=e("D1WM"),h=e("IwbS"),c=e("OELB"),o=e("72pK"),i=g.each,n=Math.min,a=Math.max,u=Math.floor,r=Math.ceil,l=c.round,t=Math.PI;function s(E,S,x){this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=E.dimensions,this._rect,this._model=E,this._init(E,S,x)}s.prototype={type:"parallel",constructor:s,_init:function(E,S,x){var T=E.dimensions,L=E.parallelAxisIndex;i(T,function(y,C){var O=L[C],N=S.getComponent("parallelAxis",O),k=this._axesMap.set(y,new v(y,m.createScaleByModel(N),[0,0],N.get("type"),O)),F=k.type==="category";k.onBand=F&&N.get("boundaryGap"),k.inverse=N.get("inverse"),N.axis=k,k.model=N,k.coordinateSystem=N.coordinateSystem=this},this)},update:function(E,S){this._updateAxesFromSeries(this._model,E)},containPoint:function(E){var S=this._makeLayoutInfo(),x=S.axisBase,T=S.layoutBase,L=S.pixelDimIndex,y=E[1-L],C=E[L];return y>=x&&y<=x+S.axisLength&&C>=T&&C<=T+S.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(E,S){S.eachSeries(function(x){if(!E.contains(x,S))return;var T=x.getData();i(this.dimensions,function(L){var y=this._axesMap.get(L);y.scale.unionExtentFromData(T,T.mapDimension(L)),m.niceScaleExtent(y.scale,y.model)},this)},this)},resize:function(E,S){this._rect=A.getLayoutRect(E.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var E=this._model,S=this._rect,x=["x","y"],T=["width","height"],L=E.get("layout"),y=L==="horizontal"?0:1,C=S[T[y]],O=[0,C],N=this.dimensions.length,k=d(E.get("axisExpandWidth"),O),F=d(E.get("axisExpandCount")||0,[0,N]),B=E.get("axisExpandable")&&N>3&&N>F&&F>1&&k>0&&C>0,H=E.get("axisExpandWindow"),W;if(H)W=d(H[1]-H[0],O),H[1]=H[0]+W;else{W=d(k*(F-1),O);var R=E.get("axisExpandCenter")||u(N/2);H=[k*R-W/2],H[1]=H[0]+W}var U=(C-W)/(N-F);U<3&&(U=0);var j=[u(l(H[0]/k,1))+1,r(l(H[1]/k,1))-1],P=U/k*H[0];return{layout:L,pixelDimIndex:y,layoutBase:S[x[y]],layoutLength:C,axisBase:S[x[1-y]],axisLength:S[T[1-y]],axisExpandable:B,axisExpandWidth:k,axisCollapseWidth:U,axisExpandWindow:H,axisCount:N,winInnerIndices:j,axisExpandWindow0Pos:P}},_layoutAxes:function(){var E=this._rect,S=this._axesMap,x=this.dimensions,T=this._makeLayoutInfo(),L=T.layout;S.each(function(y){var C=[0,T.axisLength],O=y.inverse?1:0;y.setExtent(C[O],C[1-O])}),i(x,function(y,C){var O=(T.axisExpandable?b:p)(C,T),N={horizontal:{x:O.position,y:T.axisLength},vertical:{x:0,y:O.position}},k={horizontal:t/2,vertical:0},F=[N[L].x+E.x,N[L].y+E.y],B=k[L],H=f.create();f.rotate(H,H,B),f.translate(H,H,F),this._axesLayout[y]={position:F,rotation:B,transform:H,axisNameAvailableWidth:O.axisNameAvailableWidth,axisLabelShow:O.axisLabelShow,nameTruncateMaxWidth:O.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(E){return this._axesMap.get(E)},dataToPoint:function(E,S){return this.axisCoordToPoint(this._axesMap.get(S).dataToCoord(E),S)},eachActiveState:function(E,S,x,T){x==null&&(x=0),T==null&&(T=E.count());var L=this._axesMap,y=this.dimensions,C=[],O=[];g.each(y,function(U){C.push(E.mapDimension(U)),O.push(L.get(U).model)});for(var N=this.hasAxisBrushed(),k=x;k<T;k++){var F;if(!N)F="normal";else{F="active";for(var B=E.getValues(C,k),H=0,W=y.length;H<W;H++){var R=O[H].getActiveState(B[H]);if(R==="inactive"){F="inactive";break}}}S(F,k)}},hasAxisBrushed:function(){for(var E=this.dimensions,S=this._axesMap,x=!1,T=0,L=E.length;T<L;T++)S.get(E[T]).model.getActiveState()!=="normal"&&(x=!0);return x},axisCoordToPoint:function(E,S){var x=this._axesLayout[S];return h.applyTransform([E,0],x.transform)},getAxisLayout:function(E){return g.clone(this._axesLayout[E])},getSlidedAxisExpandWindow:function(E){var S=this._makeLayoutInfo(),x=S.pixelDimIndex,T=S.axisExpandWindow.slice(),L=T[1]-T[0],y=[0,S.axisExpandWidth*(S.axisCount-1)];if(!this.containPoint(E))return{behavior:"none",axisExpandWindow:T};var C=E[x]-S.layoutBase-S.axisExpandWindow0Pos,O,N="slide",k=S.axisCollapseWidth,F=this._model.get("axisExpandSlideTriggerArea"),B=F[0]!=null;if(k)B&&k&&C<L*F[0]?(N="jump",O=C-L*F[2]):B&&k&&C>L*(1-F[0])?(N="jump",O=C-L*(1-F[2])):(O=C-L*F[1])>=0&&(O=C-L*(1-F[1]))<=0&&(O=0),O*=S.axisExpandWidth/k,O?o(O,T,y,"all"):N="none";else{var L=T[1]-T[0],H=y[1]*C/L;T=[a(0,H-L/2)],T[1]=n(y[1],T[0]+L),T[0]=T[1]-L}return{axisExpandWindow:T,behavior:N}}};function d(E,S){return n(a(E,S[0]),S[1])}function p(E,S){var x=S.layoutLength/(S.axisCount-1);return{position:x*E,axisNameAvailableWidth:x,axisLabelShow:!0}}function b(E,S){var x=S.layoutLength,T=S.axisExpandWidth,L=S.axisCount,y=S.axisCollapseWidth,C=S.winInnerIndices,O,N=y,k=!1,F;return E<C[0]?(O=E*y,F=y):E<=C[1]?(O=S.axisExpandWindow0Pos+E*T-S.axisExpandWindow[0],N=T,k=!0):(O=x-(L-1-E)*y,F=y),{position:O,axisNameAvailableWidth:N,axisLabelShow:k,nameTruncateMaxWidth:F}}var w=s;D.exports=w},"2fGM":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),A=e("nkfE"),m=e("ICMv"),v=f.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});g.merge(v.prototype,m);var h={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(o,i){return i.type||(i.data?"category":"value")}A("angle",v,c,h.angle),A("radius",v,c,h.radius)},"2fM7":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("7W2i"),n=e.n(i),a=e("LQ03"),u=e.n(a),r=e("q1tI"),l=e("BGR+"),t=e("TSYQ"),s=e.n(t),d=e("1OyB"),p=e("vuIU"),b=e("Ji7U"),w=e("LK+K"),E=e("rePB"),S=e("Ff2n"),x=e("ODXe"),T=e("4IlW"),L=e("bX4T"),y=e("YrtM"),C=e("+nKL"),O=e("8OUc"),N=function(ee,se){var ke=ee.prefixCls,Ce=ee.id,ze=ee.flattenOptions,Oe=ee.childrenAsData,ae=ee.values,ge=ee.searchValue,Le=ee.multiple,Ze=ee.defaultActiveFirstOption,vt=ee.height,Ct=ee.itemHeight,Be=ee.notFoundContent,Rt=ee.open,He=ee.menuItemSelectedIcon,wt=ee.virtual,Ge=ee.onSelect,et=ee.onToggleOpen,rt=ee.onActiveValue,lt=ee.onScroll,Ve=ee.onMouseEnter,ie="".concat(ke,"-item"),$=Object(y.a)(function(){return ze},[Rt,ze],function(ve,fe){return fe[0]&&ve[1]!==fe[1]}),it=r.useRef(null),Qe=function(fe){fe.preventDefault()},ye=function(fe){it.current&&it.current.scrollTo({index:fe})},Zt=function(fe){for(var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ne=$.length,je=0;je<Ne;je+=1){var Ke=(fe+je*ue+Ne)%Ne,Ye=$[Ke],Pe=Ye.group,nt=Ye.data;if(!Pe&&!nt.disabled)return Ke}return-1},ht=r.useState(function(){return Zt(0)}),ct=Object(x.a)(ht,2),yt=ct[0],It=ct[1],or=function(fe){It(fe);var ue=$[fe];if(!ue){rt(null,-1);return}rt(ue.data.value,fe)};r.useEffect(function(){or(Ze!==!1?Zt(0):-1)},[$.length,ge]),r.useEffect(function(){var ve=setTimeout(function(){if(!Le&&Rt&&ae.size===1){var fe=Array.from(ae)[0],ue=$.findIndex(function(Ne){var je=Ne.data;return je.value===fe});or(ue),ye(ue)}});return function(){return clearTimeout(ve)}},[Rt]);var Bt=function(fe){fe!==void 0&&Ge(fe,{selected:!ae.has(fe)}),Le||et(!1)};if(r.useImperativeHandle(se,function(){return{onKeyDown:function(fe){var ue=fe.which;switch(ue){case T.a.UP:case T.a.DOWN:{var Ne=0;if(ue===T.a.UP?Ne=-1:ue===T.a.DOWN&&(Ne=1),Ne!==0){var je=Zt(yt+Ne,Ne);ye(je),or(je)}break}case T.a.ENTER:{var Ke=$[yt];Ke&&!Ke.data.disabled?Bt(Ke.data.value):Bt(void 0),Rt&&fe.preventDefault();break}case T.a.ESC:et(!1)}},onKeyUp:function(){},scrollTo:function(fe){ye(fe)}}}),$.length===0)return r.createElement("div",{role:"listbox",id:"".concat(Ce,"_list"),className:"".concat(ie,"-empty"),onMouseDown:Qe},Be);function Ae(ve){var fe=$[ve];if(!fe)return null;var ue=fe.data||{},Ne=ue.value,je=ue.label,Ke=ue.children,Ye=Object(L.a)(ue,!0),Pe=Oe?Ke:je;return fe?r.createElement("div",Object.assign({"aria-label":typeof Pe=="string"?Pe:null},Ye,{key:ve,role:"option",id:"".concat(Ce,"_list_").concat(ve),"aria-selected":ae.has(Ne)}),Ne):null}return r.createElement(r.Fragment,null,r.createElement("div",{role:"listbox",id:"".concat(Ce,"_list"),style:{height:0,width:0,overflow:"hidden"}},Ae(yt-1),Ae(yt),Ae(yt+1)),r.createElement(C.a,{itemKey:"key",ref:it,data:$,height:vt,itemHeight:Ct,fullHeight:!1,onMouseDown:Qe,onScroll:lt,virtual:wt,onMouseEnter:Ve},function(ve,fe){var ue,Ne=ve.group,je=ve.groupOption,Ke=ve.data,Ye=Ke.label,Pe=Ke.key;if(Ne)return r.createElement("div",{className:s()(ie,"".concat(ie,"-group"))},Ye!==void 0?Ye:Pe);var nt=Ke.disabled,At=Ke.value,Ot=Ke.title,ne=Ke.children,he=Ke.style,Q=Ke.className,te=Object(S.a)(Ke,["disabled","value","title","children","style","className"]),be=ae.has(At),Ie="".concat(ie,"-option"),Re=s()(ie,Ie,Q,(ue={},Object(E.a)(ue,"".concat(Ie,"-grouped"),je),Object(E.a)(ue,"".concat(Ie,"-active"),yt===fe&&!nt),Object(E.a)(ue,"".concat(Ie,"-disabled"),nt),Object(E.a)(ue,"".concat(Ie,"-selected"),be),ue)),$e=Oe?ne:Ye,gt=!He||typeof He=="function"||be;return r.createElement("div",Object.assign({},te,{"aria-selected":be,className:Re,title:Ot,onMouseMove:function(){if(yt===fe||nt)return;or(fe)},onClick:function(){nt||Bt(At)},style:he}),r.createElement("div",{className:"".concat(Ie,"-content")},$e||At),r.isValidElement(He)||be,gt&&r.createElement(O.a,{className:"".concat(ie,"-option-state"),customizeIcon:He,customizeIconProps:{isSelected:be}},be?"\u2713":null))}))},k=r.forwardRef(N);k.displayName="OptionList";var F=k,B=function(){return null};B.isSelectOption=!0;var H=B,W=function(){return null};W.isSelectOptGroup=!0;var R=W,U=e("VTBJ"),j=e("Zm9Q");function P(ce){var ee=ce.key,se=ce.props,ke=se.children,Ce=se.value,ze=Object(S.a)(se,["children","value"]);return Object(U.a)({key:ee,value:Ce!==void 0?Ce:ee,children:ke},ze)}function K(ce){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(j.a)(ce).map(function(se,ke){if(!r.isValidElement(se)||!se.type)return null;var Ce=se.type.isSelectOptGroup,ze=se.key,Oe=se.props,ae=Oe.children,ge=Object(S.a)(Oe,["children"]);return ee||!Ce?P(se):Object(U.a)(Object(U.a)({key:"__RC_SELECT_GRP__".concat(ze===null?ke:ze,"__"),label:ze},ge),{},{options:K(ae)})}).filter(function(se){return se})}var V=e("2Qr1"),z=e("qNPg"),X=e("U8pU"),G=e("Kwbf"),le=e("WKfj");function Y(ce){var ee=ce.mode,se=ce.options,ke=ce.children,Ce=ce.backfill,ze=ce.allowClear,Oe=ce.placeholder,ae=ce.getInputElement,ge=ce.showSearch,Le=ce.onSearch,Ze=ce.defaultOpen,vt=ce.autoFocus,Ct=ce.labelInValue,Be=ce.value,Rt=ce.inputValue,He=ce.optionLabelProp,wt=ee==="multiple"||ee==="tags",Ge=ge!==void 0?ge:wt||ee==="combobox",et=se||K(ke);if(Object(G.a)(ee!=="tags"||et.every(function(ie){return!ie.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),ee==="tags"||ee==="combobox"){var rt=et.some(function(ie){return ie.options?ie.options.some(function($){return typeof("value"in $?$.value:$.key)=="number"}):typeof("value"in ie?ie.value:ie.key)=="number"});Object(G.a)(!rt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(G.a)(ee!=="combobox"||!He,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(G.a)(ee==="combobox"||!Ce,"`backfill` only works with `combobox` mode."),Object(G.a)(ee==="combobox"||!ae,"`getInputElement` only work with `combobox` mode."),Object(G.b)(ee!=="combobox"||!ae||!ze||!Oe,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Le&&!Ge&&ee!=="combobox"&&ee!=="tags"&&Object(G.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(G.b)(!Ze||vt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Be!=null){var lt=Object(le.d)(Be);Object(G.a)(!Ct||lt.every(function(ie){return Object(X.a)(ie)==="object"&&("key"in ie||"value"in ie)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(G.a)(!wt||Array.isArray(Be),"`value` should be array when `mode` is `multiple` or `tags`")}if(ke){var Ve=null;Object(j.a)(ke).some(function(ie){if(!r.isValidElement(ie)||!ie.type)return!1;var $=ie.type;if($.isSelectOption)return!1;if($.isSelectOptGroup){var it=Object(j.a)(ie.props.children).every(function(Qe){return!r.isValidElement(Qe)||!ie.type||Qe.type.isSelectOption?!0:(Ve=Qe.type,!1)});return!it}return Ve=$,!0}),Ve&&Object(G.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ve.displayName||Ve.name||Ve,"`.")),Object(G.a)(Rt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var me=Y,we=Object(z.a)({prefixCls:"rc-select",components:{optionList:F},convertChildrenToData:K,flattenOptions:V.d,getLabeledValue:V.e,filterOptions:V.b,isValueDisabled:V.g,findValueOption:V.c,warningProps:me,fillOptionsWithMissingValue:V.a}),pe=function(ce){Object(b.a)(se,ce);var ee=Object(w.a)(se);function se(){var ke;return Object(d.a)(this,se),ke=ee.apply(this,arguments),ke.selectRef=r.createRef(),ke.focus=function(){ke.selectRef.current.focus()},ke.blur=function(){ke.selectRef.current.blur()},ke}return Object(p.a)(se,[{key:"render",value:function(){return r.createElement(we,Object.assign({ref:this.selectRef},this.props))}}]),se}(r.Component);pe.Option=H,pe.OptGroup=R;var Fe=pe,Xe=Fe,dt=e("H84U"),Ee=e("1vzs"),Se=e("3Nzz"),at=function(ce){n()(se,ce);var ee=u()(se);function se(){var ke;return h()(this,se),ke=ee.apply(this,arguments),ke.selectRef=r.createRef(),ke.focus=function(){ke.selectRef.current&&ke.selectRef.current.focus()},ke.blur=function(){ke.selectRef.current&&ke.selectRef.current.blur()},ke.getMode=function(){var Ce=ke.props.mode;return Ce==="combobox"?void 0:Ce===se.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Ce},ke.renderSelect=function(Ce){var ze=Ce.getPopupContainer,Oe=Ce.getPrefixCls,ae=Ce.renderEmpty,ge=Ce.direction,Le=Ce.virtual,Ze=Ce.dropdownMatchSelectWidth,vt=ke.props,Ct=vt.prefixCls,Be=vt.notFoundContent,Rt=vt.className,He=vt.size,wt=vt.listHeight,Ge=wt===void 0?256:wt,et=vt.listItemHeight,rt=et===void 0?24:et,lt=vt.getPopupContainer,Ve=vt.dropdownClassName,ie=vt.bordered,$=Oe("select",Ct),it=ke.getMode(),Qe=it==="multiple"||it==="tags",ye;Be!==void 0?ye=Be:it==="combobox"?ye=null:ye=ae("Select");var Zt=Object(Ee.a)(m()(m()({},ke.props),{multiple:Qe,prefixCls:$})),ht=Zt.suffixIcon,ct=Zt.itemIcon,yt=Zt.removeIcon,It=Zt.clearIcon,or=Object(l.default)(ke.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Bt=s()(Ve,f()({},"".concat($,"-dropdown-").concat(ge),ge==="rtl"));return r.createElement(Se.b.Consumer,null,function(Ae){var ve,fe=He||Ae,ue=s()(Rt,(ve={},f()(ve,"".concat($,"-lg"),fe==="large"),f()(ve,"".concat($,"-sm"),fe==="small"),f()(ve,"".concat($,"-rtl"),ge==="rtl"),f()(ve,"".concat($,"-borderless"),!ie),ve));return r.createElement(Xe,m()({ref:ke.selectRef,virtual:Le,dropdownMatchSelectWidth:Ze},or,{listHeight:Ge,listItemHeight:rt,mode:it,prefixCls:$,direction:ge,inputIcon:ht,menuItemSelectedIcon:ct,removeIcon:yt,clearIcon:It,notFoundContent:ye,className:ue,getPopupContainer:lt||ze,dropdownClassName:Bt}))})},ke}return o()(se,[{key:"render",value:function(){return r.createElement(dt.a,null,this.renderSelect)}}]),se}(r.Component);at.Option=H,at.OptGroup=R,at.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",at.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var _e=_.a=at},"2fw6":function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,v,h){h&&m.moveTo(v.cx+v.r,v.cy),m.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});D.exports=f},"2gN3":function(D,_,e){var g=e("Kz5y"),f=g["__core-js_shared__"];D.exports=f},"2jpz":function(D,_,e){"use strict";e.d(_,"a",function(){return p});var g=e("cDf5"),f=e.n(g),A=e("q1tI"),m=e.n(A),v=e("TSYQ"),h=e.n(v),c=e("gZBC"),o=e.n(c),i=e("vk+C"),n=e.n(i),a=e("pG52"),u=e.n(a),r=e("Csr3"),l=e.n(r),t=e("e5VY"),s=e.n(t),d=e("0n0R");function p(b,w,E,S){var x=S.isLeaf,T=S.expanded,L=S.loading;if(L)return A.createElement(o.a,{className:"".concat(b,"-switcher-loading-icon")});var y;if(E&&f()(E)==="object"&&(y=E.showLeafIcon),x)return E?f()(E)==="object"&&!y?A.createElement("span",{className:"".concat(b,"-switcher-leaf-line")}):A.createElement(n.a,{className:"".concat(b,"-switcher-line-icon")}):null;var C="".concat(b,"-switcher-icon");return Object(d.b)(w)?Object(d.a)(w,{className:h()(w.props.className||"",C)}):w||(E?T?A.createElement(u.a,{className:"".concat(b,"-switcher-line-icon")}):A.createElement(l.a,{className:"".concat(b,"-switcher-line-icon")}):A.createElement(s.a,{className:C}))}},"2oIt":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};_.default=g},"2uGb":function(D,_,e){var g=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var f=e("kMLO"),A=e("nKiI");g.registerVisual(f),g.registerLayout(A)},"2w7y":function(D,_,e){var g=e("ProS");e("qMZE"),e("g0SD"),g.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(D,_,e){var g=e("ProS"),f=e("b9oc"),A=e("Kagy"),m=e("IUWy"),v=A.toolbox.restore;function h(i){this.model=i}h.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:v.title};var c=h.prototype;c.onclick=function(i,n,a){f.clear(i),n.dispatchAction({type:"restore",from:this.uid})},m.register("restore",h),g.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(i,n){n.resetOption("recreate")});var o=h;D.exports=o},"34/K":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function A(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._lines=0}return A(v,[{key:"decodeRect",value:function(c,o,i,n,a,u,r){this._lines===0&&(this._lines=n);var l=r==8?1:4,t=i*l;if(a.rQwait("RAW",t))return!1;var s=o+(n-this._lines),d=Math.min(this._lines,Math.floor(a.rQlen/t)),p=a.rQ,b=a.rQi;if(r==8){for(var w=i*d,E=new Uint8Array(w*4),S=0;S<w;S++)E[S*4+0]=(p[b+S]>>0&3)*255/3,E[S*4+1]=(p[b+S]>>2&3)*255/3,E[S*4+2]=(p[b+S]>>4&3)*255/3,E[S*4+4]=0;p=E,b=0}return u.blitImage(c,s,i,d,p,b),a.rQskipBytes(d*t),this._lines-=d,!(this._lines>0)}}]),v}();_.default=m},"3690":function(D,_,e){"use strict";function g(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(a){return typeof a}:g=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},g(i)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return A=function(){return i},i}function m(i){if(i&&i.__esModule)return i;if(i===null||g(i)!=="object"&&typeof i!="function")return{default:i};var n=A();if(n&&n.has(i))return n.get(i);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var l=u?Object.getOwnPropertyDescriptor(i,r):null;l&&(l.get||l.set)?Object.defineProperty(a,r,l):a[r]=i[r]}return a.default=i,n&&n.set(i,a),a}function v(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function h(i,n){for(var a=0;a<n.length;a++){var u=n[a];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}function c(i,n,a){return n&&h(i.prototype,n),a&&h(i,a),i}var o=function(){function i(){v(this,i),this._tiles=0,this._lastsubencoding=0}return c(i,[{key:"decodeRect",value:function(a,u,r,l,t,s,d){for(this._tiles===0&&(this._tilesX=Math.ceil(r/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var p=1;if(t.rQwait("HEXTILE",p))return!1;var b=t.rQ,w=t.rQi,E=b[w];if(E>30)throw new Error("Illegal hextile subencoding (subencoding: "+E+")");var S=this._totalTiles-this._tiles,x=S%this._tilesX,T=Math.floor(S/this._tilesX),L=a+x*16,y=u+T*16,C=Math.min(16,a+r-L),O=Math.min(16,u+l-y);if(E&1)p+=C*O*4;else if(E&2&&(p+=4),E&4&&(p+=4),E&8){if(p++,t.rQwait("HEXTILE",p))return!1;var N=b[w+p-1];E&16?p+=N*(4+2):p+=N*2}if(t.rQwait("HEXTILE",p))return!1;if(w++,E===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):s.fillRect(L,y,C,O,this._background);else if(E&1)s.blitImage(L,y,C,O,b,w),w+=p-1;else{if(E&2&&(this._background=[b[w],b[w+1],b[w+2],b[w+3]],w+=4),E&4&&(this._foreground=[b[w],b[w+1],b[w+2],b[w+3]],w+=4),s.startTile(L,y,C,O,this._background),E&8){var k=b[w];w++;for(var F=0;F<k;F++){var B=void 0;E&16?(B=[b[w],b[w+1],b[w+2],b[w+3]],w+=4):B=this._foreground;var H=b[w];w++;var W=H>>4,R=H&15,U=b[w];w++;var j=(U>>4)+1,P=(U&15)+1;s.subTile(W,R,j,P,B)}}s.finishTile()}t.rQi=w,this._lastsubencoding=E,this._tiles--}return!0}}]),i}();_.default=o},"3A9y":function(D,_){function e(g){return this.__data__.has(g)}D.exports=e},"3C/r":function(D,_){var e=function(A,m){this.image=A,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var g=e;D.exports=g},"3CBa":function(D,_,e){var g=e("hydK"),f=g.createElement,A=e("bYtY"),m=e("SUKs"),v=e("y+Vt"),h=e("Dagg"),c=e("dqUG"),o=e("DBLp"),i=e("sW+o"),n=e("n6Mw"),a=e("vKoX"),u=e("P47w"),r=u.path,l=u.image,t=u.text;function s(C){return parseInt(C,10)}function d(C){return C instanceof v?r:C instanceof h?l:C instanceof c?t:r}function p(C,O){return O&&C&&O.parentNode!==C}function b(C,O,N){if(p(C,O)&&N){var k=N.nextSibling;k?C.insertBefore(O,k):C.appendChild(O)}}function w(C,O){if(p(C,O)){var N=C.firstChild;N?C.insertBefore(O,N):C.appendChild(O)}}function E(C,O){O&&C&&O.parentNode===C&&C.removeChild(O)}function S(C){return C.__textSvgEl}function x(C){return C.__svgEl}var T=function(O,N,k,F){this.root=O,this.storage=N,this._opts=k=A.extend({},k||{});var B=f("svg");B.setAttribute("xmlns","http://www.w3.org/2000/svg"),B.setAttribute("version","1.1"),B.setAttribute("baseProfile","full"),B.style.cssText="user-select:none;position:absolute;left:0;top:0;";var H=f("g");B.appendChild(H);var W=f("g");B.appendChild(W),this.gradientManager=new i(F,W),this.clipPathManager=new n(F,W),this.shadowManager=new a(F,W);var R=document.createElement("div");R.style.cssText="overflow:hidden;position:relative",this._svgDom=B,this._svgRoot=W,this._backgroundRoot=H,this._viewport=R,O.appendChild(R),R.appendChild(B),this.resize(k.width,k.height),this._visibleList=[]};T.prototype={constructor:T,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var O=this.getViewportRoot();if(O)return{offsetLeft:O.offsetLeft||0,offsetTop:O.offsetTop||0}},refresh:function(){var O=this.storage.getDisplayList(!0);this._paintList(O)},setBackgroundColor:function(O){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var N=f("rect");N.setAttribute("width",this.getWidth()),N.setAttribute("height",this.getHeight()),N.setAttribute("x",0),N.setAttribute("y",0),N.setAttribute("id",0),N.style.fill=O,this._backgroundRoot.appendChild(N),this._backgroundNode=N},_paintList:function(O){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var N=this._svgRoot,k=this._visibleList,F=O.length,B=[],H;for(H=0;H<F;H++){var W=O[H],R=d(W),U=x(W)||S(W);W.invisible||(W.__dirty&&(R&&R.brush(W),this.clipPathManager.update(W),W.style&&(this.gradientManager.update(W.style.fill),this.gradientManager.update(W.style.stroke),this.shadowManager.update(U,W)),W.__dirty=!1),B.push(W))}var j=o(k,B),P;for(H=0;H<j.length;H++){var K=j[H];if(K.removed)for(var V=0;V<K.count;V++){var W=k[K.indices[V]],U=x(W),z=S(W);E(N,U),E(N,z)}}for(H=0;H<j.length;H++){var K=j[H];if(K.added)for(var V=0;V<K.count;V++){var W=B[K.indices[V]],U=x(W),z=S(W);P?b(N,U,P):w(N,U),U?b(N,z,U):P?b(N,z,P):w(N,z),b(N,z,U),P=z||U||P,this.gradientManager.addWithoutUpdate(U||z,W),this.shadowManager.addWithoutUpdate(U||z,W),this.clipPathManager.markUsed(W)}else if(!K.removed)for(var V=0;V<K.count;V++){var W=B[K.indices[V]],U=x(W),z=S(W),U=x(W),z=S(W);this.gradientManager.markUsed(W),this.gradientManager.addWithoutUpdate(U||z,W),this.shadowManager.markUsed(W),this.shadowManager.addWithoutUpdate(U||z,W),this.clipPathManager.markUsed(W),z&&b(N,z,U),P=U||z||P}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=B},_getDefs:function(O){var N=this._svgDom,k=N.getElementsByTagName("defs");if(k.length===0)if(O){var k=N.insertBefore(f("defs"),N.firstChild);return k.contains||(k.contains=function(B){var H=k.children;if(!H)return!1;for(var W=H.length-1;W>=0;--W)if(H[W]===B)return!0;return!1}),k}else return null;else return k[0]},resize:function(O,N){var k=this._viewport;k.style.display="none";var F=this._opts;if(O!=null&&(F.width=O),N!=null&&(F.height=N),O=this._getSize(0),N=this._getSize(1),k.style.display="",this._width!==O||this._height!==N){this._width=O,this._height=N;var B=k.style;B.width=O+"px",B.height=N+"px";var H=this._svgDom;H.setAttribute("width",O),H.setAttribute("height",N)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",O),this._backgroundNode.setAttribute("height",N))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(O){var N=this._opts,k=["width","height"][O],F=["clientWidth","clientHeight"][O],B=["paddingLeft","paddingTop"][O],H=["paddingRight","paddingBottom"][O];if(N[k]!=null&&N[k]!=="auto")return parseFloat(N[k]);var W=this.root,R=document.defaultView.getComputedStyle(W);return(W[F]||s(R[k])||s(W.style[k]))-(s(R[B])||0)-(s(R[H])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var O=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
\r<`));return"data:image/svg+xml;charset=UTF-8,"+O}};function L(C){return function(){m('In SVG mode painter not support method "'+C+'"')}}A.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){T.prototype[C]=L(C)});var y=T;D.exports=y},"3Fdi":function(D,_){var e=Function.prototype,g=e.toString;function f(A){if(A!=null){try{return g.call(A)}catch(m){}try{return A+""}catch(m){}}return""}D.exports=f},"3Fjq":function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.NextArrow=_.PrevArrow=void 0;var f=g(e("pVnL")),A=g(e("3tO9")),m=g(e("lwsE")),v=g(e("W8MJ")),h=g(e("7W2i")),c=g(e("LQ03")),o=g(e("q1tI")),i=g(e("TSYQ")),n=e("3K4p"),a=function(r){(0,h.default)(t,r);var l=(0,c.default)(t);function t(){return(0,m.default)(this,t),l.apply(this,arguments)}return(0,v.default)(t,[{key:"clickHandler",value:function(d,p){p&&p.preventDefault(),this.props.clickHandler(d,p)}},{key:"render",value:function(){var d={"slick-arrow":!0,"slick-prev":!0},p=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(d["slick-disabled"]=!0,p=null);var b={key:"0","data-role":"none",className:(0,i.default)(d),style:{display:"block"},onClick:p},w={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},E;return this.props.prevArrow?E=o.default.cloneElement(this.props.prevArrow,(0,A.default)((0,A.default)({},b),w)):E=o.default.createElement("button",(0,f.default)({key:"0",type:"button"},b)," ","Previous"),E}}]),t}(o.default.PureComponent);_.PrevArrow=a;var u=function(r){(0,h.default)(t,r);var l=(0,c.default)(t);function t(){return(0,m.default)(this,t),l.apply(this,arguments)}return(0,v.default)(t,[{key:"clickHandler",value:function(d,p){p&&p.preventDefault(),this.props.clickHandler(d,p)}},{key:"render",value:function(){var d={"slick-arrow":!0,"slick-next":!0},p=this.clickHandler.bind(this,{message:"next"});(0,n.canGoNext)(this.props)||(d["slick-disabled"]=!0,p=null);var b={key:"1","data-role":"none",className:(0,i.default)(d),style:{display:"block"},onClick:p},w={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},E;return this.props.nextArrow?E=o.default.cloneElement(this.props.nextArrow,(0,A.default)((0,A.default)({},b),w)):E=o.default.createElement("button",(0,f.default)({key:"1",type:"button"},b)," ","Next"),E}}]),t}(o.default.PureComponent);_.NextArrow=u},"3I+P":function(D,_,e){"use strict";e.d(_,"a",function(){return S});var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("7W2i"),n=e.n(i),a=e("LQ03"),u=e.n(a),r=e("q1tI"),l=e.n(r),t=e("sEfC"),s=e.n(t),d=e("N/JB"),p=e.n(d),b=e("TSYQ"),w=e.n(b),E=e("H84U"),S=function(x){n()(L,x);var T=u()(L);function L(y){var C;return h()(this,L),C=T.call(this,y),C.saveSlick=function(O){C.slick=O},C.onWindowResized=function(){var O=C.props.autoplay;O&&C.slick&&C.slick.innerSlider&&C.slick.innerSlider.autoPlay&&C.slick.innerSlider.autoPlay()},C.renderCarousel=function(O){var N,k=O.getPrefixCls,F=O.direction,B,H=m()({},C.props);H.effect==="fade"&&(H.fade=!0);var W=k("carousel",H.prefixCls),R="slick-dots",U=C.getDotPosition();H.vertical=U==="left"||U==="right";var j=!!H.dots,P=w()(R,"".concat(R,"-").concat(U||"bottom"),typeof H.dots=="boolean"?!1:(B=H.dots)===null||B===void 0?void 0:B.className),K=w()(W,(N={},f()(N,"".concat(W,"-rtl"),F==="rtl"),f()(N,"".concat(W,"-vertical"),H.vertical),N));return r.createElement("div",{className:K},r.createElement(p.a,m()({ref:C.saveSlick},H,{dots:j,dotsClass:P})))},C.onWindowResized=s()(C.onWindowResized,500,{leading:!1}),C}return o()(L,[{key:"componentDidMount",value:function(){var C=this.props.autoplay;C&&window.addEventListener("resize",this.onWindowResized),this.innerSlider=this.slick&&this.slick.innerSlider}},{key:"componentDidUpdate",value:function(C){r.Children.count(this.props.children)!==r.Children.count(C.children)&&this.goTo(this.props.initialSlide||0,!1)}},{key:"componentWillUnmount",value:function(){var C=this.props.autoplay;C&&(window.removeEventListener("resize",this.onWindowResized),this.onWindowResized.cancel())}},{key:"getDotPosition",value:function(){var C=this.props.dotPosition,O=C===void 0?"bottom":C;return O}},{key:"next",value:function(){this.slick.slickNext()}},{key:"prev",value:function(){this.slick.slickPrev()}},{key:"goTo",value:function(C){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.slick.slickGoTo(C,O)}},{key:"render",value:function(){return r.createElement(E.a,null,this.renderCarousel)}}]),L}(r.Component);S.defaultProps={dots:!0,arrows:!1,draggable:!1}},"3K4p":function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.clamp=m,_.canUseDOM=_.slidesOnLeft=_.slidesOnRight=_.siblingDirection=_.getTotalSlides=_.getPostClones=_.getPreClones=_.getTrackLeft=_.getTrackAnimateCSS=_.getTrackCSS=_.checkSpecKeys=_.getSlideCount=_.checkNavigable=_.getNavigableIndexes=_.swipeEnd=_.swipeMove=_.swipeStart=_.keyHandler=_.changeSlide=_.slideHandler=_.initializedState=_.extractObject=_.canGoNext=_.getSwipeDirection=_.getHeight=_.getWidth=_.lazySlidesOnRight=_.lazySlidesOnLeft=_.lazyEndIndex=_.lazyStartIndex=_.getRequiredLazySlides=_.getOnDemandLazySlides=void 0;var f=g(e("3tO9")),A=g(e("q1tI"));function m(j,P,K){return Math.max(P,Math.min(j,K))}var v=function(P){for(var K=[],V=c(P),z=o(P),X=V;X<z;X++)P.lazyLoadedList.indexOf(X)<0&&K.push(X);return K};_.getOnDemandLazySlides=v;var h=function(P){for(var K=[],V=c(P),z=o(P),X=V;X<z;X++)K.push(X);return K};_.getRequiredLazySlides=h;var c=function(P){return P.currentSlide-i(P)};_.lazyStartIndex=c;var o=function(P){return P.currentSlide+n(P)};_.lazyEndIndex=o;var i=function(P){return P.centerMode?Math.floor(P.slidesToShow/2)+(parseInt(P.centerPadding)>0?1:0):0};_.lazySlidesOnLeft=i;var n=function(P){return P.centerMode?Math.floor((P.slidesToShow-1)/2)+1+(parseInt(P.centerPadding)>0?1:0):P.slidesToShow};_.lazySlidesOnRight=n;var a=function(P){return P&&P.offsetWidth||0};_.getWidth=a;var u=function(P){return P&&P.offsetHeight||0};_.getHeight=u;var r=function(P){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V,z,X,G;return V=P.startX-P.curX,z=P.startY-P.curY,X=Math.atan2(z,V),G=Math.round(X*180/Math.PI),G<0&&(G=360-Math.abs(G)),G<=45&&G>=0||G<=360&&G>=315?"left":G>=135&&G<=225?"right":K===!0?G>=35&&G<=135?"up":"down":"vertical"};_.getSwipeDirection=r;var l=function(P){var K=!0;return P.infinite||(P.centerMode&&P.currentSlide>=P.slideCount-1||(P.slideCount<=P.slidesToShow||P.currentSlide>=P.slideCount-P.slidesToShow))&&(K=!1),K};_.canGoNext=l;var t=function(P,K){var V={};return K.forEach(function(z){return V[z]=P[z]}),V};_.extractObject=t;var s=function(P){var K=A.default.Children.count(P.children),V=P.listRef,z=Math.ceil(a(V)),X=P.trackRef&&P.trackRef.node,G=Math.ceil(a(X)),le;if(P.vertical)le=z;else{var Y=P.centerMode&&parseInt(P.centerPadding)*2;typeof P.centerPadding=="string"&&P.centerPadding.slice(-1)==="%"&&(Y*=z/100),le=Math.ceil((z-Y)/P.slidesToShow)}var me=V&&u(V.querySelector('[data-index="0"]')),we=me*P.slidesToShow,pe=P.currentSlide===void 0?P.initialSlide:P.currentSlide;P.rtl&&P.currentSlide===void 0&&(pe=K-1-P.initialSlide);var Fe=P.lazyLoadedList||[],Xe=v((0,f.default)((0,f.default)({},P),{},{currentSlide:pe,lazyLoadedList:Fe}));Fe.concat(Xe);var dt={slideCount:K,slideWidth:le,listWidth:z,trackWidth:G,currentSlide:pe,slideHeight:me,listHeight:we,lazyLoadedList:Fe};return P.autoplaying===null&&P.autoplay&&(dt.autoplaying="playing"),dt};_.initializedState=s;var d=function(P){var K=P.waitForAnimate,V=P.animating,z=P.fade,X=P.infinite,G=P.index,le=P.slideCount,Y=P.lazyLoadedList,me=P.lazyLoad,we=P.currentSlide,pe=P.centerMode,Fe=P.slidesToScroll,Xe=P.slidesToShow,dt=P.useCSS;if(K&&V)return{};var Ee=G,Se,at,_e,ce={},ee={},se=X?G:m(G,0,le-1);if(z){if(!X&&(G<0||G>=le))return{};G<0?Ee=G+le:G>=le&&(Ee=G-le),me&&Y.indexOf(Ee)<0&&Y.push(Ee),ce={animating:!0,currentSlide:Ee,lazyLoadedList:Y},ee={animating:!1}}else Se=Ee,Ee<0?(Se=Ee+le,X?le%Fe!==0&&(Se=le-le%Fe):Se=0):!l(P)&&Ee>we?Ee=Se=we:pe&&Ee>=le?(Ee=X?le:le-1,Se=X?0:le-1):Ee>=le&&(Se=Ee-le,X?le%Fe!==0&&(Se=0):Se=le-Xe),!X&&Ee+Xe>=le&&(Se=le-Xe),at=N((0,f.default)((0,f.default)({},P),{},{slideIndex:Ee})),_e=N((0,f.default)((0,f.default)({},P),{},{slideIndex:Se})),X||(at===_e&&(Ee=Se),at=_e),me&&Y.concat(v((0,f.default)((0,f.default)({},P),{},{currentSlide:Ee}))),dt?(ce={animating:!0,currentSlide:Se,trackStyle:O((0,f.default)((0,f.default)({},P),{},{left:at})),lazyLoadedList:Y,targetSlide:se},ee={animating:!1,currentSlide:Se,trackStyle:C((0,f.default)((0,f.default)({},P),{},{left:_e})),swipeLeft:null,targetSlide:se}):ce={currentSlide:Se,trackStyle:C((0,f.default)((0,f.default)({},P),{},{left:_e})),lazyLoadedList:Y,targetSlide:se};return{state:ce,nextState:ee}};_.slideHandler=d;var p=function(P,K){var V,z,X,G,le,Y=P.slidesToScroll,me=P.slidesToShow,we=P.slideCount,pe=P.currentSlide,Fe=P.targetSlide,Xe=P.lazyLoad,dt=P.infinite;if(G=we%Y!==0,V=G?0:(we-pe)%Y,K.message==="previous")X=V===0?Y:me-V,le=pe-X,Xe&&!dt&&(z=pe-X,le=z===-1?we-1:z),dt||(le=Fe-Y);else if(K.message==="next")X=V===0?Y:V,le=pe+X,Xe&&!dt&&(le=(pe+Y)%we+V),dt||(le=Fe+Y);else if(K.message==="dots")le=K.index*K.slidesToScroll;else if(K.message==="children"){if(le=K.index,dt){var Ee=H((0,f.default)((0,f.default)({},P),{},{targetSlide:le}));le>K.currentSlide&&Ee==="left"?le=le-we:le<K.currentSlide&&Ee==="right"&&(le=le+we)}}else K.message==="index"&&(le=Number(K.index));return le};_.changeSlide=p;var b=function(P,K,V){return P.target.tagName.match("TEXTAREA|INPUT|SELECT")||!K?"":P.keyCode===37?V?"next":"previous":P.keyCode===39?V?"previous":"next":""};_.keyHandler=b;var w=function(P,K,V){return P.target.tagName==="IMG"&&P.preventDefault(),!K||!V&&P.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:P.touches?P.touches[0].pageX:P.clientX,startY:P.touches?P.touches[0].pageY:P.clientY,curX:P.touches?P.touches[0].pageX:P.clientX,curY:P.touches?P.touches[0].pageY:P.clientY}}};_.swipeStart=w;var E=function(P,K){var V=K.scrolling,z=K.animating,X=K.vertical,G=K.swipeToSlide,le=K.verticalSwiping,Y=K.rtl,me=K.currentSlide,we=K.edgeFriction,pe=K.edgeDragged,Fe=K.onEdge,Xe=K.swiped,dt=K.swiping,Ee=K.slideCount,Se=K.slidesToScroll,at=K.infinite,_e=K.touchObject,ce=K.swipeEvent,ee=K.listHeight,se=K.listWidth;if(V)return;if(z)return P.preventDefault();X&&G&&le&&P.preventDefault();var ke,Ce={},ze=N(K);_e.curX=P.touches?P.touches[0].pageX:P.clientX,_e.curY=P.touches?P.touches[0].pageY:P.clientY,_e.swipeLength=Math.round(Math.sqrt(Math.pow(_e.curX-_e.startX,2)));var Oe=Math.round(Math.sqrt(Math.pow(_e.curY-_e.startY,2)));if(!le&&!dt&&Oe>10)return{scrolling:!0};le&&(_e.swipeLength=Oe);var ae=(Y?-1:1)*(_e.curX>_e.startX?1:-1);le&&(ae=_e.curY>_e.startY?1:-1);var ge=Math.ceil(Ee/Se),Le=r(K.touchObject,le),Ze=_e.swipeLength;return at||(me===0&&Le==="right"||me+1>=ge&&Le==="left"||!l(K)&&Le==="left")&&(Ze=_e.swipeLength*we,pe===!1&&Fe&&(Fe(Le),Ce.edgeDragged=!0)),!Xe&&ce&&(ce(Le),Ce.swiped=!0),X?ke=ze+Ze*(ee/se)*ae:Y?ke=ze-Ze*ae:ke=ze+Ze*ae,le&&(ke=ze+Ze*ae),Ce=(0,f.default)((0,f.default)({},Ce),{},{touchObject:_e,swipeLeft:ke,trackStyle:C((0,f.default)((0,f.default)({},K),{},{left:ke}))}),Math.abs(_e.curX-_e.startX)<Math.abs(_e.curY-_e.startY)*.8||_e.swipeLength>10&&(Ce.swiping=!0,P.preventDefault()),Ce};_.swipeMove=E;var S=function(P,K){var V=K.dragging,z=K.swipe,X=K.touchObject,G=K.listWidth,le=K.touchThreshold,Y=K.verticalSwiping,me=K.listHeight,we=K.swipeToSlide,pe=K.scrolling,Fe=K.onSwipe,Xe=K.targetSlide,dt=K.currentSlide,Ee=K.infinite;if(!V)return z&&P.preventDefault(),{};var Se=Y?me/le:G/le,at=r(X,Y),_e={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(pe)return _e;if(!X.swipeLength)return _e;if(X.swipeLength>Se){P.preventDefault(),Fe&&Fe(at);var ce,ee,se=Ee?dt:Xe;switch(at){case"left":case"up":ee=se+L(K),ce=we?T(K,ee):ee,_e.currentDirection=0;break;case"right":case"down":ee=se-L(K),ce=we?T(K,ee):ee,_e.currentDirection=1;break;default:ce=se}_e.triggerSlideHandler=ce}else{var ke=N(K);_e.trackStyle=O((0,f.default)((0,f.default)({},K),{},{left:ke}))}return _e};_.swipeEnd=S;var x=function(P){for(var K=P.infinite?P.slideCount*2:P.slideCount,V=P.infinite?P.slidesToShow*-1:0,z=P.infinite?P.slidesToShow*-1:0,X=[];V<K;)X.push(V),V=z+P.slidesToScroll,z+=Math.min(P.slidesToScroll,P.slidesToShow);return X};_.getNavigableIndexes=x;var T=function(P,K){var V=x(P),z=0;if(K>V[V.length-1])K=V[V.length-1];else for(var X in V){if(K<V[X]){K=z;break}z=V[X]}return K};_.checkNavigable=T;var L=function(P){var K=P.centerMode?P.slideWidth*Math.floor(P.slidesToShow/2):0;if(P.swipeToSlide){var V,z=P.listRef,X=z.querySelectorAll(".slick-slide");if(Array.from(X).every(function(Y){if(P.vertical){if(Y.offsetTop+u(Y)/2>P.swipeLeft*-1)return V=Y,!1}else if(Y.offsetLeft-K+a(Y)/2>P.swipeLeft*-1)return V=Y,!1;return!0}),!V)return 0;var G=P.rtl===!0?P.slideCount-P.currentSlide:P.currentSlide,le=Math.abs(V.dataset.index-G)||1;return le}else return P.slidesToScroll};_.getSlideCount=L;var y=function(P,K){return K.reduce(function(V,z){return V&&P.hasOwnProperty(z)},!0)?null:console.error("Keys Missing:",P)};_.checkSpecKeys=y;var C=function(P){y(P,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var K,V,z=P.slideCount+2*P.slidesToShow;P.vertical?V=z*P.slideHeight:K=B(P)*P.slideWidth;var X={opacity:1,transition:"",WebkitTransition:""};if(P.useTransform){var G=P.vertical?"translate3d(0px, "+P.left+"px, 0px)":"translate3d("+P.left+"px, 0px, 0px)",le=P.vertical?"translate3d(0px, "+P.left+"px, 0px)":"translate3d("+P.left+"px, 0px, 0px)",Y=P.vertical?"translateY("+P.left+"px)":"translateX("+P.left+"px)";X=(0,f.default)((0,f.default)({},X),{},{WebkitTransform:G,transform:le,msTransform:Y})}else P.vertical?X.top=P.left:X.left=P.left;return P.fade&&(X={opacity:1}),K&&(X.width=K),V&&(X.height=V),window&&!window.addEventListener&&window.attachEvent&&(P.vertical?X.marginTop=P.left+"px":X.marginLeft=P.left+"px"),X};_.getTrackCSS=C;var O=function(P){y(P,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var K=C(P);return P.useTransform?(K.WebkitTransition="-webkit-transform "+P.speed+"ms "+P.cssEase,K.transition="transform "+P.speed+"ms "+P.cssEase):P.vertical?K.transition="top "+P.speed+"ms "+P.cssEase:K.transition="left "+P.speed+"ms "+P.cssEase,K};_.getTrackAnimateCSS=O;var N=function(P){if(P.unslick)return 0;y(P,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var K=P.slideIndex,V=P.trackRef,z=P.infinite,X=P.centerMode,G=P.slideCount,le=P.slidesToShow,Y=P.slidesToScroll,me=P.slideWidth,we=P.listWidth,pe=P.variableWidth,Fe=P.slideHeight,Xe=P.fade,dt=P.vertical,Ee=0,Se,at,_e=0;if(Xe||P.slideCount===1)return 0;var ce=0;if(z?(ce=-k(P),G%Y!==0&&K+Y>G&&(ce=-(K>G?le-(K-G):G%Y)),X&&(ce+=parseInt(le/2))):(G%Y!==0&&K+Y>G&&(ce=le-G%Y),X&&(ce=parseInt(le/2))),Ee=ce*me,_e=ce*Fe,dt?Se=K*Fe*-1+_e:Se=K*me*-1+Ee,pe===!0){var ee,se=V&&V.node;if(ee=K+k(P),at=se&&se.childNodes[ee],Se=at?at.offsetLeft*-1:0,X===!0){ee=z?K+k(P):K,at=se&&se.children[ee],Se=0;for(var ke=0;ke<ee;ke++)Se-=se&&se.children[ke]&&se.children[ke].offsetWidth;Se-=parseInt(P.centerPadding),Se+=at&&(we-at.offsetWidth)/2}}return Se};_.getTrackLeft=N;var k=function(P){return P.unslick||!P.infinite?0:P.variableWidth?P.slideCount:P.slidesToShow+(P.centerMode?1:0)};_.getPreClones=k;var F=function(P){return P.unslick||!P.infinite?0:P.slideCount};_.getPostClones=F;var B=function(P){return P.slideCount===1?1:k(P)+P.slideCount+F(P)};_.getTotalSlides=B;var H=function(P){return P.targetSlide>P.currentSlide?P.targetSlide>P.currentSlide+W(P)?"left":"right":P.targetSlide<P.currentSlide-R(P)?"right":"left"};_.siblingDirection=H;var W=function(P){var K=P.slidesToShow,V=P.centerMode,z=P.rtl,X=P.centerPadding;if(V){var G=(K-1)/2+1;return parseInt(X)>0&&(G+=1),z&&K%2===0&&(G+=1),G}return z?0:K-1};_.slidesOnRight=W;var R=function(P){var K=P.slidesToShow,V=P.centerMode,z=P.rtl,X=P.centerPadding;if(V){var G=(K-1)/2+1;return parseInt(X)>0&&(G+=1),!z&&K%2===0&&(G+=1),G}return z?K-1:0};_.slidesOnLeft=R;var U=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)};_.canUseDOM=U},"3LNs":function(D,_,e){var g=e("bYtY"),f=e("Yl7c"),A=e("IwbS"),m=e("zTMp"),v=e("YH21"),h=e("iLNv"),c=e("4NO4"),o=c.makeInner,i=o(),n=g.clone,a=g.bind;function u(){}u.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(b,w,E,S){var x=w.get("value"),T=w.get("status");if(this._axisModel=b,this._axisPointerModel=w,this._api=E,!S&&this._lastValue===x&&this._lastStatus===T)return;this._lastValue=x,this._lastStatus=T;var L=this._group,y=this._handle;if(!T||T==="hide"){L&&L.hide(),y&&y.hide();return}L&&L.show(),y&&y.show();var C={};this.makeElOption(C,x,b,w,E);var O=C.graphicKey;O!==this._lastGraphicKey&&this.clear(E),this._lastGraphicKey=O;var N=this._moveAnimation=this.determineAnimation(b,w);if(!L)L=this._group=new A.Group,this.createPointerEl(L,C,b,w),this.createLabelEl(L,C,b,w),E.getZr().add(L);else{var k=g.curry(r,w,N);this.updatePointerEl(L,C,k,w),this.updateLabelEl(L,C,k,w)}d(L,w,!0),this._renderHandle(x)},remove:function(b){this.clear(b)},dispose:function(b){this.clear(b)},determineAnimation:function(b,w){var E=w.get("animation"),S=b.axis,x=S.type==="category",T=w.get("snap");if(!T&&!x)return!1;if(E==="auto"||E==null){var L=this.animationThreshold;if(x&&S.getBandWidth()>L)return!0;if(T){var y=m.getAxisInfo(b).seriesDataCount,C=S.getExtent();return Math.abs(C[0]-C[1])/y>L}return!1}return E===!0},makeElOption:function(b,w,E,S,x){},createPointerEl:function(b,w,E,S){var x=w.pointer;if(x){var T=i(b).pointerEl=new A[x.type](n(w.pointer));b.add(T)}},createLabelEl:function(b,w,E,S){if(w.label){var x=i(b).labelEl=new A.Rect(n(w.label));b.add(x),t(x,S)}},updatePointerEl:function(b,w,E){var S=i(b).pointerEl;S&&w.pointer&&(S.setStyle(w.pointer.style),E(S,{shape:w.pointer.shape}))},updateLabelEl:function(b,w,E,S){var x=i(b).labelEl;x&&(x.setStyle(w.label.style),E(x,{shape:w.label.shape,position:w.label.position}),t(x,S))},_renderHandle:function(b){if(this._dragging||!this.updateHandleTransform)return;var w=this._axisPointerModel,E=this._api.getZr(),S=this._handle,x=w.getModel("handle"),T=w.get("status");if(!x.get("show")||!T||T==="hide"){S&&E.remove(S),this._handle=null;return}var L;this._handle||(L=!0,S=this._handle=A.createIcon(x.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(O){v.stop(O.event)},onmousedown:a(this._onHandleDragMove,this,0,0),drift:a(this._onHandleDragMove,this),ondragend:a(this._onHandleDragEnd,this)}),E.add(S)),d(S,w,!1);var y=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];S.setStyle(x.getItemStyle(null,y));var C=x.get("size");g.isArray(C)||(C=[C,C]),S.attr("scale",[C[0]/2,C[1]/2]),h.createOrUpdate(this,"_doDispatchAxisPointer",x.get("throttle")||0,"fixRate"),this._moveHandleToValue(b,L)},_moveHandleToValue:function(b,w){r(this._axisPointerModel,!w&&this._moveAnimation,this._handle,s(this.getHandleTransform(b,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(b,w){var E=this._handle;if(!E)return;this._dragging=!0;var S=this.updateHandleTransform(s(E),[b,w],this._axisModel,this._axisPointerModel);this._payloadInfo=S,E.stopAnimation(),E.attr(s(S)),i(E).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var b=this._handle;if(!b)return;var w=this._payloadInfo,E=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:w.cursorPoint[0],y:w.cursorPoint[1],tooltipOption:w.tooltipOption,axesInfo:[{axisDim:E.axis.dim,axisIndex:E.componentIndex}]})},_onHandleDragEnd:function(b){this._dragging=!1;var w=this._handle;if(!w)return;var E=this._axisPointerModel.get("value");this._moveHandleToValue(E),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(b){this._lastValue=null,this._lastStatus=null;var w=b.getZr(),E=this._group,S=this._handle;w&&E&&(this._lastGraphicKey=null,E&&w.remove(E),S&&w.remove(S),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(b,w,E){return E=E||0,{x:b[E],y:b[1-E],width:w[E],height:w[1-E]}}},u.prototype.constructor=u;function r(b,w,E,S){l(i(E).lastProp,S)||(i(E).lastProp=S,w?A.updateProps(E,S,b):(E.stopAnimation(),E.attr(S)))}function l(b,w){if(g.isObject(b)&&g.isObject(w)){var E=!0;return g.each(w,function(S,x){E=E&&l(b[x],S)}),!!E}else return b===w}function t(b,w){b[w.get("label.show")?"show":"hide"]()}function s(b){return{position:b.position.slice(),rotation:b.rotation||0}}function d(b,w,E){var S=w.get("z"),x=w.get("zlevel");b&&b.traverse(function(T){T.type!=="group"&&(S!=null&&(T.z=S),x!=null&&(T.zlevel=x),T.silent=E)})}f.enableClassExtend(u);var p=u;D.exports=p},"3OrL":function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),A=e("IwbS"),m=e("y+Vt"),v=["itemStyle"],h=["emphasis","itemStyle"],c=f.extend({type:"boxplot",render:function(r,l,t){var s=r.getData(),d=this.group,p=this._data;this._data||d.removeAll();var b=r.get("layout")==="horizontal"?1:0;s.diff(p).add(function(w){if(s.hasValue(w)){var E=s.getItemLayout(w),S=i(E,s,w,b,!0);s.setItemGraphicEl(w,S),d.add(S)}}).update(function(w,E){var S=p.getItemGraphicEl(E);if(!s.hasValue(w)){d.remove(S);return}var x=s.getItemLayout(w);S?n(x,S,s,w):S=i(x,s,w,b),d.add(S),s.setItemGraphicEl(w,S)}).remove(function(w){var E=p.getItemGraphicEl(w);E&&d.remove(E)}).execute(),this._data=s},remove:function(r){var l=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(s){s&&l.remove(s)})},dispose:g.noop}),o=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(r,l){var t=l.points,s=0;for(r.moveTo(t[s][0],t[s][1]),s++;s<4;s++)r.lineTo(t[s][0],t[s][1]);for(r.closePath();s<t.length;s++)r.moveTo(t[s][0],t[s][1]),s++,r.lineTo(t[s][0],t[s][1])}});function i(r,l,t,s,d){var p=r.ends,b=new o({shape:{points:d?a(p,s,r):p}});return n(r,b,l,t,d),b}function n(r,l,t,s,d){var p=t.hostModel,b=A[d?"initProps":"updateProps"];b(l,{shape:{points:r.ends}},p,s);var w=t.getItemModel(s),E=w.getModel(v),S=t.getItemVisual(s,"color"),x=E.getItemStyle(["borderColor"]);x.stroke=S,x.strokeNoScale=!0,l.useStyle(x),l.z2=100;var T=w.getModel(h).getItemStyle();A.setHoverStyle(l,T)}function a(r,l,t){return g.map(r,function(s){return s=s.slice(),s[l]=t.initBaseline,s})}var u=c;D.exports=u},"3S7+":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("J4zp"),m=e.n(A),v=e("pVnL"),h=e.n(v),c=e("q1tI"),o=e.n(c),i=e("uciX"),n={adjustX:1,adjustY:1},a=[0,0],u={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:a},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:a},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:a},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:a},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:a},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:a},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:a},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:a},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:a},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:a},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:a},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:a}},r=u,l=function(z){var X=z.overlay,G=z.prefixCls,le=z.id,Y=z.overlayInnerStyle;return o.a.createElement("div",{className:"".concat(G,"-inner"),id:le,role:"tooltip",style:Y},typeof X=="function"?X():X)},t=l;function s(V){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(X){return typeof X}:s=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},s(V)}function d(V,z){var X=Object.keys(V);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(V);z&&(G=G.filter(function(le){return Object.getOwnPropertyDescriptor(V,le).enumerable})),X.push.apply(X,G)}return X}function p(V){for(var z=1;z<arguments.length;z++){var X=arguments[z]!=null?arguments[z]:{};z%2?d(Object(X),!0).forEach(function(G){b(V,G,X[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(X)):d(Object(X)).forEach(function(G){Object.defineProperty(V,G,Object.getOwnPropertyDescriptor(X,G))})}return V}function b(V,z,X){return z in V?Object.defineProperty(V,z,{value:X,enumerable:!0,configurable:!0,writable:!0}):V[z]=X,V}function w(V,z){if(V==null)return{};var X=E(V,z),G,le;if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(V);for(le=0;le<Y.length;le++){if(G=Y[le],z.indexOf(G)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(V,G))continue;X[G]=V[G]}}return X}function E(V,z){if(V==null)return{};var X={},G=Object.keys(V),le,Y;for(Y=0;Y<G.length;Y++){if(le=G[Y],z.indexOf(le)>=0)continue;X[le]=V[le]}return X}var S=function(z,X){var G=z.overlayClassName,le=z.trigger,Y=le===void 0?["hover"]:le,me=z.mouseEnterDelay,we=me===void 0?0:me,pe=z.mouseLeaveDelay,Fe=pe===void 0?.1:pe,Xe=z.overlayStyle,dt=z.prefixCls,Ee=dt===void 0?"rc-tooltip":dt,Se=z.children,at=z.onVisibleChange,_e=z.afterVisibleChange,ce=z.transitionName,ee=z.animation,se=z.placement,ke=se===void 0?"right":se,Ce=z.align,ze=Ce===void 0?{}:Ce,Oe=z.destroyTooltipOnHide,ae=Oe===void 0?!1:Oe,ge=z.defaultVisible,Le=z.getTooltipContainer,Ze=z.overlayInnerStyle,vt=w(z,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Ct=Object(c.useRef)(null);Object(c.useImperativeHandle)(X,function(){return Ct.current});var Be=p({},vt);"visible"in z&&(Be.popupVisible=z.visible);var Rt=function(){var rt=z.arrowContent,lt=rt===void 0?null:rt,Ve=z.overlay,ie=z.id;return[o.a.createElement("div",{className:"".concat(Ee,"-arrow"),key:"arrow"},lt),o.a.createElement(t,{key:"content",prefixCls:Ee,id:ie,overlay:Ve,overlayInnerStyle:Ze})]},He=!1,wt=!1;if(typeof ae=="boolean")He=ae;else if(ae&&s(ae)==="object"){var Ge=ae.keepParent;He=Ge===!0,wt=Ge===!1}return o.a.createElement(i.a,Object.assign({popupClassName:G,prefixCls:Ee,popup:Rt,action:Y,builtinPlacements:u,popupPlacement:ke,ref:Ct,popupAlign:ze,getPopupContainer:Le,onPopupVisibleChange:at,afterPopupVisibleChange:_e,popupTransitionName:ce,popupAnimation:ee,defaultPopupVisible:ge,destroyPopupOnHide:He,autoDestroy:wt,mouseLeaveDelay:Fe,popupStyle:Xe,mouseEnterDelay:we},Be),Se)},x=Object(c.forwardRef)(S),T=x,L=e("TSYQ"),y=e.n(L),C={adjustX:1,adjustY:1},O={adjustX:0,adjustY:0},N=[0,0];function k(V){return typeof V=="boolean"?V?C:O:h()(h()({},O),V)}function F(V){var z=V.arrowWidth,X=z===void 0?5:z,G=V.horizontalArrowShift,le=G===void 0?16:G,Y=V.verticalArrowShift,me=Y===void 0?8:Y,we=V.autoAdjustOverflow,pe={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:[-(le+X),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(me+X)]},topRight:{points:["br","tc"],offset:[le+X,-4]},rightTop:{points:["tl","cr"],offset:[4,-(me+X)]},bottomRight:{points:["tr","bc"],offset:[le+X,4]},rightBottom:{points:["bl","cr"],offset:[4,me+X]},bottomLeft:{points:["tl","bc"],offset:[-(le+X),4]},leftBottom:{points:["br","cl"],offset:[-4,me+X]}};return Object.keys(pe).forEach(function(Fe){pe[Fe]=V.arrowPointAtCenter?h()(h()({},pe[Fe]),{overflow:k(we),targetOffset:N}):h()(h()({},u[Fe]),{overflow:k(we)}),pe[Fe].ignoreShake=!0}),pe}var B=e("0n0R"),H=e("H84U"),W=e("09Wf"),R=function(z,X){var G={},le=h()({},z);return X.forEach(function(Y){z&&Y in z&&(G[Y]=z[Y],delete le[Y])}),{picked:G,omitted:le}},U=new RegExp("^(".concat(W.a.join("|"),")(-inverse)?$"));function j(V,z){var X=V.type;if((X.__ANT_BUTTON===!0||X.__ANT_SWITCH===!0||X.__ANT_CHECKBOX===!0||V.type==="button")&&V.props.disabled){var G=R(V.props.style,["position","left","right","top","bottom","float","display","zIndex"]),le=G.picked,Y=G.omitted,me=h()(h()({display:"inline-block"},le),{cursor:"not-allowed",width:V.props.block?"100%":null}),we=h()(h()({},Y),{pointerEvents:"none"}),pe=Object(B.a)(V,{style:we,className:null});return c.createElement("span",{style:me,className:y()(V.props.className,"".concat(z,"-disabled-compatible-wrapper"))},pe)}return V}var P=c.forwardRef(function(V,z){var X,G=c.useContext(H.b),le=G.getPopupContainer,Y=G.getPrefixCls,me=G.direction,we=c.useState(!!V.visible||!!V.defaultVisible),pe=m()(we,2),Fe=pe[0],Xe=pe[1];c.useEffect(function(){"visible"in V&&Xe(V.visible)},[V.visible]);var dt=function(){var Ge=V.title,et=V.overlay;return!Ge&&!et&&Ge!==0},Ee=function(Ge){"visible"in V||Xe(dt()?!1:Ge),V.onVisibleChange&&!dt()&&V.onVisibleChange(Ge)},Se=function(){var Ge=V.builtinPlacements,et=V.arrowPointAtCenter,rt=V.autoAdjustOverflow;return Ge||F({arrowPointAtCenter:et,autoAdjustOverflow:rt})},at=function(Ge,et){var rt=Se(),lt=Object.keys(rt).filter(function($){return rt[$].points[0]===et.points[0]&&rt[$].points[1]===et.points[1]})[0];if(!lt)return;var Ve=Ge.getBoundingClientRect(),ie={top:"50%",left:"50%"};lt.indexOf("top")>=0||lt.indexOf("Bottom")>=0?ie.top="".concat(Ve.height-et.offset[1],"px"):(lt.indexOf("Top")>=0||lt.indexOf("bottom")>=0)&&(ie.top="".concat(-et.offset[1],"px")),lt.indexOf("left")>=0||lt.indexOf("Right")>=0?ie.left="".concat(Ve.width-et.offset[0],"px"):(lt.indexOf("right")>=0||lt.indexOf("Left")>=0)&&(ie.left="".concat(-et.offset[0],"px")),Ge.style.transformOrigin="".concat(ie.left," ").concat(ie.top)},_e=function(){var Ge=V.title,et=V.overlay;return Ge===0?Ge:et||Ge||""},ce=V.prefixCls,ee=V.openClassName,se=V.getPopupContainer,ke=V.getTooltipContainer,Ce=V.overlayClassName,ze=V.color,Oe=V.overlayInnerStyle,ae=V.children,ge=Y("tooltip",ce),Le=Fe;!("visible"in V)&&dt()&&(Le=!1);var Ze=j(Object(B.b)(ae)?ae:c.createElement("span",null,ae),ge),vt=Ze.props,Ct=y()(vt.className,f()({},ee||"".concat(ge,"-open"),!0)),Be=y()(Ce,(X={},f()(X,"".concat(ge,"-rtl"),me==="rtl"),f()(X,"".concat(ge,"-").concat(ze),ze&&U.test(ze)),X)),Rt,He;return ze&&!U.test(ze)&&(Rt=h()(h()({},Oe),{background:ze}),He={background:ze}),c.createElement(T,h()({},V,{prefixCls:ge,overlayClassName:Be,getTooltipContainer:se||ke||le,ref:z,builtinPlacements:Se(),overlay:_e(),visible:Le,onVisibleChange:Ee,onPopupAlign:at,overlayInnerStyle:Rt,arrowContent:c.createElement("span",{className:"".concat(ge,"-arrow-content"),style:He})}),Le?Object(B.a)(Ze,{className:Ct}):Ze)});P.displayName="Tooltip",P.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var K=_.a=P},"3TkU":function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(D,_,e){var g=e("bYtY"),f=e("7a+S"),A=e("OKJ2"),m=f.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});g.mixin(m,A);var v=m;D.exports=v},"3e3G":function(D,_,e){var g=e("bYtY"),f=e("QuXc"),A=function(h,c,o,i,n){this.x=h==null?.5:h,this.y=c==null?.5:c,this.r=o==null?.5:o,this.type="radial",this.global=n||!1,f.call(this,i)};A.prototype={constructor:A},g.inherits(A,f);var m=A;D.exports=m},"3gBT":function(D,_){var e=2311;function g(){return e++}D.exports=g},"3hzK":function(D,_){var e={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};D.exports=e},"3m61":function(D,_){function e(f){return f instanceof Array||(f=[f,f]),f}function g(f){f.eachSeriesByType("graph",function(A){var m=A.getGraph(),v=A.getEdgeData(),h=e(A.get("edgeSymbol")),c=e(A.get("edgeSymbolSize")),o="lineStyle.color".split("."),i="lineStyle.opacity".split(".");v.setVisual("fromSymbol",h&&h[0]),v.setVisual("toSymbol",h&&h[1]),v.setVisual("fromSymbolSize",c&&c[0]),v.setVisual("toSymbolSize",c&&c[1]),v.setVisual("color",A.get(o)),v.setVisual("opacity",A.get(i)),v.each(function(n){var a=v.getItemModel(n),u=m.getEdgeByIndex(n),r=e(a.getShallow("symbol",!0)),l=e(a.getShallow("symbolSize",!0)),t=a.get(o),s=a.get(i);switch(t){case"source":t=u.node1.getVisual("color");break;case"target":t=u.node2.getVisual("color");break}r[0]&&u.setVisual("fromSymbol",r[0]),r[1]&&u.setVisual("toSymbol",r[1]),l[0]&&u.setVisual("fromSymbolSize",l[0]),l[1]&&u.setVisual("toSymbolSize",l[1]),u.setVisual("color",t),u.setVisual("opacity",s)})})}D.exports=g},"3ouR":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="CloseSquareOutlined";var h=_.a=g.forwardRef(v)},"3zoK":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),A=e("KCsZ"),m=e("nkfE"),v=e("OELB"),h=e("ICMv"),c=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return A([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(a){var u=this.activeIntervals=g.clone(a);if(u)for(var r=u.length-1;r>=0;r--)v.asc(u[r])},getActiveState:function(a){var u=this.activeIntervals;if(!u.length)return"normal";if(a==null||isNaN(a))return"inactive";if(u.length===1){var r=u[0];if(r[0]<=a&&a<=r[1])return"active"}else for(var l=0,t=u.length;l<t;l++)if(u[l][0]<=a&&a<=u[l][1])return"active";return"inactive"}}),o={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};g.merge(c.prototype,h);function i(a,u){return u.type||(u.data?"category":"value")}m("parallel",c,i,o);var n=c;D.exports=n},"4Feb":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("IwbS"),v=e("x3X8"),h=v.getDefaultLabel,c=e("MwEJ"),o=e("nVfU"),i=o.getLayoutOnAxis,n=e("gPAo"),a=e("T4UG"),u=e("Qxkt"),r=e("6Ic6"),l=e("sK/D"),t=l.createClipPath,s=e("qj72"),d=e("ANjR"),p=e("MHtr"),b=e("6usn"),w=e("Rx6q"),E=m.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],x=["emphasis","itemStyle"],T=["label"],L=["emphasis","label"],y="e\0\0",C={cartesian2d:s,geo:d,singleAxis:p,polar:b,calendar:w};a.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(Y,me){return c(this.getSource(),this)},getDataParams:function(Y,me,we){var pe=a.prototype.getDataParams.apply(this,arguments);return we&&(pe.info=we.info),pe}}),r.extend({type:"custom",_data:null,render:function(Y,me,we,pe){var Fe=this._data,Xe=Y.getData(),dt=this.group,Ee=F(Y,Xe,me,we);Xe.diff(Fe).add(function(at){H(null,at,Ee(at,pe),Y,dt,Xe)}).update(function(at,_e){var ce=Fe.getItemGraphicEl(_e);H(ce,at,Ee(at,pe),Y,dt,Xe)}).remove(function(at){var _e=Fe.getItemGraphicEl(at);_e&&dt.remove(_e)}).execute();var Se=Y.get("clip",!0)?t(Y.coordinateSystem,!1,Y):null;Se?dt.setClipPath(Se):dt.removeClipPath(),this._data=Xe},incrementalPrepareRender:function(Y,me,we){this.group.removeAll(),this._data=null},incrementalRender:function(Y,me,we,pe,Fe){var Xe=me.getData(),dt=F(me,Xe,we,pe);function Ee(_e){_e.isGroup||(_e.incremental=!0,_e.useHoverLayer=!0)}for(var Se=Y.start;Se<Y.end;Se++){var at=H(null,Se,dt(Se,Fe),me,this.group,Xe);at.traverse(Ee)}},dispose:A.noop,filterForExposedEvent:function(Y,me,we,pe){var Fe=me.element;if(Fe==null||we.name===Fe)return!0;for(;(we=we.parent)&&we!==this.group;)if(we.name===Fe)return!0;return!1}});function O(Y){var me=Y.type,we;if(me==="path"){var pe=Y.shape,Fe=pe.width!=null&&pe.height!=null?{x:pe.x||0,y:pe.y||0,width:pe.width,height:pe.height}:null,Xe=X(pe);we=m.makePath(Xe,null,Fe,pe.layout||"center"),we.__customPathData=Xe}else if(me==="image")we=new m.Image({}),we.__customImagePath=Y.style.image;else if(me==="text")we=new m.Text({}),we.__customText=Y.style.text;else if(me==="group")we=new m.Group;else{if(me==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var dt=m.getShapeClass(me);we=new dt}return we.__customGraphicType=me,we.name=Y.name,we}function N(Y,me,we,pe,Fe,Xe,dt){var Ee={},Se=we.style||{};if(we.shape&&(Ee.shape=A.clone(we.shape)),we.position&&(Ee.position=we.position.slice()),we.scale&&(Ee.scale=we.scale.slice()),we.origin&&(Ee.origin=we.origin.slice()),we.rotation&&(Ee.rotation=we.rotation),Y.type==="image"&&we.style){var at=Ee.style={};A.each(["x","y","width","height"],function(ee){k(ee,at,Se,Y.style,Xe)})}if(Y.type==="text"&&we.style){var at=Ee.style={};A.each(["x","y"],function(se){k(se,at,Se,Y.style,Xe)}),!Se.hasOwnProperty("textFill")&&Se.fill&&(Se.textFill=Se.fill),!Se.hasOwnProperty("textStroke")&&Se.stroke&&(Se.textStroke=Se.stroke)}if(Y.type!=="group"&&(Y.useStyle(Se),Xe)){Y.style.opacity=0;var _e=Se.opacity;_e==null&&(_e=1),m.initProps(Y,{style:{opacity:_e}},pe,me)}Xe?Y.attr(Ee):m.updateProps(Y,Ee,pe,me),we.hasOwnProperty("z2")&&Y.attr("z2",we.z2||0),we.hasOwnProperty("silent")&&Y.attr("silent",we.silent),we.hasOwnProperty("invisible")&&Y.attr("invisible",we.invisible),we.hasOwnProperty("ignore")&&Y.attr("ignore",we.ignore),we.hasOwnProperty("info")&&Y.attr("info",we.info);var ce=we.styleEmphasis;m.setElementHoverStyle(Y,ce),dt&&m.setAsHighDownDispatcher(Y,ce!==!1)}function k(Y,me,we,pe,Fe){we[Y]!=null&&!Fe&&(me[Y]=we[Y],we[Y]=pe[Y])}function F(Y,me,we,pe){var Fe=Y.get("renderItem"),Xe=Y.coordinateSystem,dt={};Xe&&(dt=Xe.prepareCustoms?Xe.prepareCustoms():C[Xe.type](Xe));var Ee=A.defaults({getWidth:pe.getWidth,getHeight:pe.getHeight,getZr:pe.getZr,getDevicePixelRatio:pe.getDevicePixelRatio,value:ze,style:Oe,styleEmphasis:ae,visual:ge,barLayout:Le,currentSeriesIndices:Ze,font:vt},dt.api||{}),Se={context:{},seriesId:Y.id,seriesName:Y.name,seriesIndex:Y.seriesIndex,coordSys:dt.coordSys,dataInsideLength:me.count(),encode:B(Y.getData())},at,_e=!0,ce,ee,se,ke;return function(Ct,Be){return at=Ct,_e=!0,Fe&&Fe(A.defaults({dataIndexInside:Ct,dataIndex:me.getRawIndex(Ct),actionType:Be?Be.type:null},Se),Ee)};function Ce(Ct){Ct==null&&(Ct=at),_e&&(ce=me.getItemModel(Ct),ee=ce.getModel(T),se=ce.getModel(L),ke=me.getItemVisual(Ct,"color"),_e=!1)}function ze(Ct,Be){return Be==null&&(Be=at),me.get(me.getDimension(Ct||0),Be)}function Oe(Ct,Be){Be==null&&(Be=at),Ce(Be);var Rt=ce.getModel(S).getItemStyle();ke!=null&&(Rt.fill=ke);var He=me.getItemVisual(Be,"opacity");He!=null&&(Rt.opacity=He);var wt=Ct?K(Ct,ee):ee;return m.setTextStyle(Rt,wt,null,{autoColor:ke,isRectText:!0}),Rt.text=wt.getShallow("show")?A.retrieve2(Y.getFormattedLabel(Be,"normal"),h(me,Be)):null,Ct&&V(Rt,Ct),Rt}function ae(Ct,Be){Be==null&&(Be=at),Ce(Be);var Rt=ce.getModel(x).getItemStyle(),He=Ct?K(Ct,se):se;return m.setTextStyle(Rt,He,null,{isRectText:!0},!0),Rt.text=He.getShallow("show")?A.retrieve3(Y.getFormattedLabel(Be,"emphasis"),Y.getFormattedLabel(Be,"normal"),h(me,Be)):null,Ct&&V(Rt,Ct),Rt}function ge(Ct,Be){return Be==null&&(Be=at),me.getItemVisual(Be,Ct)}function Le(Ct){if(Xe.getBaseAxis){var Be=Xe.getBaseAxis();return i(A.defaults({axis:Be},Ct),pe)}}function Ze(){return we.getCurrentSeriesIndices()}function vt(Ct){return m.getFont(Ct,we)}}function B(Y){var me={};return A.each(Y.dimensions,function(we,pe){var Fe=Y.getDimensionInfo(we);if(!Fe.isExtraCoord){var Xe=Fe.coordDim,dt=me[Xe]=me[Xe]||[];dt[Fe.coordDimIndex]=pe}}),me}function H(Y,me,we,pe,Fe,Xe){return Y=W(Y,me,we,pe,Fe,Xe,!0),Y&&Xe.setItemGraphicEl(me,Y),Y}function W(Y,me,we,pe,Fe,Xe,dt){var Ee=!we;we=we||{};var Se=we.type,at=we.shape,_e=we.style;if(Y&&(Ee||Se!=null&&Se!==Y.__customGraphicType||Se==="path"&&G(at)&&X(at)!==Y.__customPathData||Se==="image"&&le(_e,"image")&&_e.image!==Y.__customImagePath||Se==="text"&&le(at,"text")&&_e.text!==Y.__customText)&&(Fe.remove(Y),Y=null),Ee)return;var ce=!Y;return!Y&&(Y=O(we)),N(Y,me,we,pe,Xe,ce,dt),Se==="group"&&R(Y,me,we,pe,Xe),Fe.add(Y),Y}function R(Y,me,we,pe,Fe){var Xe=we.children,dt=Xe?Xe.length:0,Ee=we.$mergeChildren,Se=Ee==="byName"||we.diffChildrenByName,at=Ee===!1;if(!dt&&!Se&&!at)return;if(Se){U({oldChildren:Y.children()||[],newChildren:Xe||[],dataIndex:me,animatableModel:pe,group:Y,data:Fe});return}at&&Y.removeAll();for(var _e=0;_e<dt;_e++)Xe[_e]&&W(Y.childAt(_e),me,Xe[_e],pe,Y,Fe)}function U(Y){new n(Y.oldChildren,Y.newChildren,j,j,Y).add(P).update(P).remove(z).execute()}function j(Y,me){var we=Y&&Y.name;return we!=null?we:y+me}function P(Y,me){var we=this.context,pe=Y!=null?we.newChildren[Y]:null,Fe=me!=null?we.oldChildren[me]:null;W(Fe,we.dataIndex,pe,we.animatableModel,we.group,we.data)}function K(Y,me){var we=new u({},me);return A.each(E,function(pe,Fe){Y.hasOwnProperty(pe)&&(we.option[Fe]=Y[pe])}),we}function V(Y,me){for(var we in me)(me.hasOwnProperty(we)||!E.hasOwnProperty(we))&&(Y[we]=me[we])}function z(Y){var me=this.context,we=me.oldChildren[Y];we&&me.group.remove(we)}function X(Y){return Y&&(Y.pathData||Y.d)}function G(Y){return Y&&(Y.hasOwnProperty("pathData")||Y.hasOwnProperty("d"))}function le(Y,me){return Y&&Y.hasOwnProperty(me)}},"4HMb":function(D,_,e){var g=e("bYtY"),f=e("6GrX"),A=e("4NO4"),m=A.makeInner,v=e("aX7z"),h=v.makeLabelFormatter,c=v.getOptionCategoryInterval,o=v.shouldShowAllLabels,i=m();function n(T){return T.type==="category"?u(T):t(T)}function a(T,L){return T.type==="category"?l(T,L):{ticks:T.scale.getTicks()}}function u(T){var L=T.getLabelModel(),y=r(T,L);return!L.get("show")||T.scale.isBlank()?{labels:[],labelCategoryInterval:y.labelCategoryInterval}:y}function r(T,L){var y=s(T,"labels"),C=c(L),O=d(y,C);if(O)return O;var N,k;return g.isFunction(C)?N=x(T,C):(k=C==="auto"?b(T):C,N=S(T,k)),p(y,C,{labels:N,labelCategoryInterval:k})}function l(T,L){var y=s(T,"ticks"),C=c(L),O=d(y,C);if(O)return O;var N,k;if((!L.get("show")||T.scale.isBlank())&&(N=[]),g.isFunction(C))N=x(T,C,!0);else if(C==="auto"){var F=r(T,T.getLabelModel());k=F.labelCategoryInterval,N=g.map(F.labels,function(B){return B.tickValue})}else k=C,N=S(T,k,!0);return p(y,C,{ticks:N,tickCategoryInterval:k})}function t(T){var L=T.scale.getTicks(),y=h(T);return{labels:g.map(L,function(C,O){return{formattedLabel:y(C,O),rawLabel:T.scale.getLabel(C),tickValue:C}})}}function s(T,L){return i(T)[L]||(i(T)[L]=[])}function d(T,L){for(var y=0;y<T.length;y++)if(T[y].key===L)return T[y].value}function p(T,L,y){return T.push({key:L,value:y}),y}function b(T){var L=i(T).autoInterval;return L!=null?L:i(T).autoInterval=T.calculateCategoryInterval()}function w(T){var L=E(T),y=h(T),C=(L.axisRotate-L.labelRotate)/180*Math.PI,O=T.scale,N=O.getExtent(),k=O.count();if(N[1]-N[0]<1)return 0;var F=1;k>40&&(F=Math.max(1,Math.floor(k/40)));for(var B=N[0],H=T.dataToCoord(B+1)-T.dataToCoord(B),W=Math.abs(H*Math.cos(C)),R=Math.abs(H*Math.sin(C)),U=0,j=0;B<=N[1];B+=F){var P=0,K=0,V=f.getBoundingRect(y(B),L.font,"center","top");P=V.width*1.3,K=V.height*1.3,U=Math.max(U,P,7),j=Math.max(j,K,7)}var z=U/W,X=j/R;isNaN(z)&&(z=Infinity),isNaN(X)&&(X=Infinity);var G=Math.max(0,Math.floor(Math.min(z,X))),le=i(T.model),Y=T.getExtent(),me=le.lastAutoInterval,we=le.lastTickCount;return me!=null&&we!=null&&Math.abs(me-G)<=1&&Math.abs(we-k)<=1&&me>G&&le.axisExtend0===Y[0]&&le.axisExtend1===Y[1]?G=me:(le.lastTickCount=k,le.lastAutoInterval=G,le.axisExtend0=Y[0],le.axisExtend1=Y[1]),G}function E(T){var L=T.getLabelModel();return{axisRotate:T.getRotate?T.getRotate():T.isHorizontal&&!T.isHorizontal()?90:0,labelRotate:L.get("rotate")||0,font:L.getFont()}}function S(T,L,y){var C=h(T),O=T.scale,N=O.getExtent(),k=T.getLabelModel(),F=[],B=Math.max((L||0)+1,1),H=N[0],W=O.count();H!==0&&B>1&&W/B>2&&(H=Math.round(Math.ceil(H/B)*B));var R=o(T),U=k.get("showMinLabel")||R,j=k.get("showMaxLabel")||R;U&&H!==N[0]&&K(N[0]);for(var P=H;P<=N[1];P+=B)K(P);j&&P-B!==N[1]&&K(N[1]);function K(V){F.push(y?V:{formattedLabel:C(V),rawLabel:O.getLabel(V),tickValue:V})}return F}function x(T,L,y){var C=T.scale,O=h(T),N=[];return g.each(C.getTicks(),function(k){var F=C.getLabel(k);L(k,F)&&N.push(y?k:{formattedLabel:O(k),rawLabel:F,tickValue:k})}),N}_.createAxisLabels=n,_.createAxisTicks=a,_.calculateCategoryInterval=w},"4NO4":function(D,_,e){var g=e("bYtY"),f=e("ItGF"),A=g.each,m=g.isObject,v=g.isArray,h="series\0";function c(y){return y instanceof Array?y:y==null?[]:[y]}function o(y,C,O){if(y){y[C]=y[C]||{},y.emphasis=y.emphasis||{},y.emphasis[C]=y.emphasis[C]||{};for(var N=0,k=O.length;N<k;N++){var F=O[N];!y.emphasis[C].hasOwnProperty(F)&&y[C].hasOwnProperty(F)&&(y.emphasis[C][F]=y[C][F])}}}var i=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function n(y){return m(y)&&!v(y)&&!(y instanceof Date)?y.value:y}function a(y){return m(y)&&!(y instanceof Array)}function u(y,C){C=(C||[]).slice();var O=g.map(y||[],function(N,k){return{exist:N}});return A(C,function(N,k){if(!m(N))return;for(var F=0;F<O.length;F++)if(!O[F].option&&N.id!=null&&O[F].exist.id===N.id+""){O[F].option=N,C[k]=null;return}for(var F=0;F<O.length;F++){var B=O[F].exist;if(!O[F].option&&(B.id==null||N.id==null)&&N.name!=null&&!t(N)&&!t(B)&&B.name===N.name+""){O[F].option=N,C[k]=null;return}}}),A(C,function(N,k){if(!m(N))return;for(var F=0;F<O.length;F++){var B=O[F].exist;if(!O[F].option&&!t(B)&&N.id==null){O[F].option=N;break}}F>=O.length&&O.push({option:N})}),O}function r(y){var C=g.createHashMap();A(y,function(O,N){var k=O.exist;k&&C.set(k.id,O)}),A(y,function(O,N){var k=O.option;g.assert(!k||k.id==null||!C.get(k.id)||C.get(k.id)===O,"id duplicates: "+(k&&k.id)),k&&k.id!=null&&C.set(k.id,O),!O.keyInfo&&(O.keyInfo={})}),A(y,function(O,N){var k=O.exist,F=O.option,B=O.keyInfo;if(!m(F))return;if(B.name=F.name!=null?F.name+"":k?k.name:h+N,k)B.id=k.id;else if(F.id!=null)B.id=F.id+"";else{var H=0;do B.id="\0"+B.name+"\0"+H++;while(C.get(B.id))}C.set(B.id,O)})}function l(y){var C=y.name;return!!(C&&C.indexOf(h))}function t(y){return m(y)&&y.id&&(y.id+"").indexOf("\0_ec_\0")===0}function s(y,C){var O={},N={};return k(y||[],O),k(C||[],N,O),[F(O),F(N)];function k(B,H,W){for(var R=0,U=B.length;R<U;R++)for(var j=B[R].seriesId,P=c(B[R].dataIndex),K=W&&W[j],V=0,z=P.length;V<z;V++){var X=P[V];K&&K[X]?K[X]=null:(H[j]||(H[j]={}))[X]=1}}function F(B,H){var W=[];for(var R in B)if(B.hasOwnProperty(R)&&B[R]!=null)if(H)W.push(+R);else{var U=F(B[R],!0);U.length&&W.push({seriesId:R,dataIndex:U})}return W}}function d(y,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return g.isArray(C.dataIndex)?g.map(C.dataIndex,function(O){return y.indexOfRawIndex(O)}):y.indexOfRawIndex(C.dataIndex);if(C.name!=null)return g.isArray(C.name)?g.map(C.name,function(O){return y.indexOfName(O)}):y.indexOfName(C.name)}function p(){var y="__\0ec_inner_"+b+++"_"+Math.random().toFixed(5);return function(C){return C[y]||(C[y]={})}}var b=0;function w(y,C,O){if(g.isString(C)){var N={};N[C+"Index"]=0,C=N}var k=O&&O.defaultMainType;k&&!E(C,k+"Index")&&!E(C,k+"Id")&&!E(C,k+"Name")&&(C[k+"Index"]=0);var F={};return A(C,function(B,H){var B=C[H];if(H==="dataIndex"||H==="dataIndexInside"){F[H]=B;return}var W=H.match(/^(\w+)(Index|Id|Name)$/)||[],R=W[1],U=(W[2]||"").toLowerCase();if(!R||!U||B==null||U==="index"&&B==="none"||O&&O.includeMainTypes&&g.indexOf(O.includeMainTypes,R)<0)return;var j={mainType:R};(U!=="index"||B!=="all")&&(j[U]=B);var P=y.queryComponents(j);F[R+"Models"]=P,F[R+"Model"]=P[0]}),F}function E(y,C){return y&&y.hasOwnProperty(C)}function S(y,C,O){y.setAttribute?y.setAttribute(C,O):y[C]=O}function x(y,C){return y.getAttribute?y.getAttribute(C):y[C]}function T(y){return y==="auto"?f.domSupported?"html":"richText":y||"html"}function L(y,C){var O=g.createHashMap(),N=[];return g.each(y,function(k){var F=C(k);(O.get(F)||(N.push(F),O.set(F,[]))).push(k)}),{keys:N,buckets:O}}_.normalizeToArray=c,_.defaultEmphasis=o,_.TEXT_STYLE_OPTIONS=i,_.getDataItemValue=n,_.isDataItemOption=a,_.mappingToExists=u,_.makeIdAndName=r,_.isNameSpecified=l,_.isIdInner=t,_.compressBatches=s,_.queryDataIndex=d,_.makeInner=p,_.parseFinder=w,_.setAttribute=S,_.getAttribute=x,_.getTooltipRenderMode=T,_.groupData=L},"4NgU":function(D,_,e){var g=e("Yl7c");function f(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}f.prototype.parse=function(m){return m},f.prototype.getSetting=function(m){return this._setting[m]},f.prototype.contain=function(m){var v=this._extent;return m>=v[0]&&m<=v[1]},f.prototype.normalize=function(m){var v=this._extent;return v[1]===v[0]?.5:(m-v[0])/(v[1]-v[0])},f.prototype.scale=function(m){var v=this._extent;return m*(v[1]-v[0])+v[0]},f.prototype.unionExtent=function(m){var v=this._extent;m[0]<v[0]&&(v[0]=m[0]),m[1]>v[1]&&(v[1]=m[1])},f.prototype.unionExtentFromData=function(m,v){this.unionExtent(m.getApproximateExtent(v))},f.prototype.getExtent=function(){return this._extent.slice()},f.prototype.setExtent=function(m,v){var h=this._extent;isNaN(m)||(h[0]=m),isNaN(v)||(h[1]=v)},f.prototype.isBlank=function(){return this._isBlank},f.prototype.setBlank=function(m){this._isBlank=m},f.prototype.getLabel=null,g.enableClassExtend(f),g.enableClassManagement(f,{registerWhenExtend:!0});var A=f;D.exports=A},"4fz+":function(D,_,e){var g=e("bYtY"),f=e("1bdT"),A=e("mFDi"),m=function(c){c=c||{},f.call(this,c);for(var o in c)c.hasOwnProperty(o)&&(this[o]=c[o]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(c){return this._children[c]},childOfName:function(c){for(var o=this._children,i=0;i<o.length;i++)if(o[i].name===c)return o[i]},childCount:function(){return this._children.length},add:function(c){return c&&c!==this&&c.parent!==this&&(this._children.push(c),this._doAdd(c)),this},addBefore:function(c,o){if(c&&c!==this&&c.parent!==this&&o&&o.parent===this){var i=this._children,n=i.indexOf(o);n>=0&&(i.splice(n,0,c),this._doAdd(c))}return this},_doAdd:function(c){c.parent&&c.parent.remove(c),c.parent=this;var o=this.__storage,i=this.__zr;o&&o!==c.__storage&&(o.addToStorage(c),c instanceof m&&c.addChildrenToStorage(o)),i&&i.refresh()},remove:function(c){var o=this.__zr,i=this.__storage,n=this._children,a=g.indexOf(n,c);return a<0?this:(n.splice(a,1),c.parent=null,i&&(i.delFromStorage(c),c instanceof m&&c.delChildrenFromStorage(i)),o&&o.refresh(),this)},removeAll:function(){var c=this._children,o=this.__storage,i,n;for(n=0;n<c.length;n++)i=c[n],o&&(o.delFromStorage(i),i instanceof m&&i.delChildrenFromStorage(o)),i.parent=null;return c.length=0,this},eachChild:function(c,o){for(var i=this._children,n=0;n<i.length;n++){var a=i[n];c.call(o,a,n)}return this},traverse:function(c,o){for(var i=0;i<this._children.length;i++){var n=this._children[i];c.call(o,n),n.type==="group"&&n.traverse(c,o)}return this},addChildrenToStorage:function(c){for(var o=0;o<this._children.length;o++){var i=this._children[o];c.addToStorage(i),i instanceof m&&i.addChildrenToStorage(c)}},delChildrenFromStorage:function(c){for(var o=0;o<this._children.length;o++){var i=this._children[o];c.delFromStorage(i),i instanceof m&&i.delChildrenFromStorage(c)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(c){for(var o=null,i=new A(0,0,0,0),n=c||this._children,a=[],u=0;u<n.length;u++){var r=n[u];if(r.ignore||r.invisible)continue;var l=r.getBoundingRect(),t=r.getLocalTransform(a);t?(i.copy(l),i.applyTransform(t),o=o||i.clone(),o.union(i)):(o=o||l.clone(),o.union(l))}return o||i}},g.inherits(m,f);var v=m;D.exports=v},"4i/N":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="CloseOutlined";var h=_.a=g.forwardRef(v)},"4kuk":function(D,_,e){var g=e("SfRM"),f=e("Hvzi"),A=e("u8Dt"),m=e("ekgI"),v=e("JSQU");function h(c){var o=-1,i=c==null?0:c.length;for(this.clear();++o<i;){var n=c[o];this.set(n[0],n[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=A,h.prototype.has=m,h.prototype.set=v,D.exports=h},"4mN7":function(D,_,e){var g=e("QBsz"),f=e("Sj9i"),A=Math.min,m=Math.max,v=Math.sin,h=Math.cos,c=Math.PI*2,o=g.create(),i=g.create(),n=g.create();function a(p,b,w){if(p.length===0)return;var E=p[0],S=E[0],x=E[0],T=E[1],L=E[1],y;for(y=1;y<p.length;y++)E=p[y],S=A(S,E[0]),x=m(x,E[0]),T=A(T,E[1]),L=m(L,E[1]);b[0]=S,b[1]=T,w[0]=x,w[1]=L}function u(p,b,w,E,S,x){S[0]=A(p,w),S[1]=A(b,E),x[0]=m(p,w),x[1]=m(b,E)}var r=[],l=[];function t(p,b,w,E,S,x,T,L,y,C){var O=f.cubicExtrema,N=f.cubicAt,k,F=O(p,w,S,T,r);for(y[0]=Infinity,y[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,k=0;k<F;k++){var B=N(p,w,S,T,r[k]);y[0]=A(B,y[0]),C[0]=m(B,C[0])}for(F=O(b,E,x,L,l),k=0;k<F;k++){var H=N(b,E,x,L,l[k]);y[1]=A(H,y[1]),C[1]=m(H,C[1])}y[0]=A(p,y[0]),C[0]=m(p,C[0]),y[0]=A(T,y[0]),C[0]=m(T,C[0]),y[1]=A(b,y[1]),C[1]=m(b,C[1]),y[1]=A(L,y[1]),C[1]=m(L,C[1])}function s(p,b,w,E,S,x,T,L){var y=f.quadraticExtremum,C=f.quadraticAt,O=m(A(y(p,w,S),1),0),N=m(A(y(b,E,x),1),0),k=C(p,w,S,O),F=C(b,E,x,N);T[0]=A(p,S,k),T[1]=A(b,x,F),L[0]=m(p,S,k),L[1]=m(b,x,F)}function d(p,b,w,E,S,x,T,L,y){var C=g.min,O=g.max,N=Math.abs(S-x);if(N%c<1e-4&&N>1e-4){L[0]=p-w,L[1]=b-E,y[0]=p+w,y[1]=b+E;return}if(o[0]=h(S)*w+p,o[1]=v(S)*E+b,i[0]=h(x)*w+p,i[1]=v(x)*E+b,C(L,o,i),O(y,o,i),S=S%c,S<0&&(S=S+c),x=x%c,x<0&&(x=x+c),S>x&&!T?x+=c:S<x&&T&&(S+=c),T){var k=x;x=S,S=k}for(var F=0;F<x;F+=Math.PI/2)F>S&&(n[0]=h(F)*w+p,n[1]=v(F)*E+b,C(L,n,L),O(y,n,y))}_.fromPoints=a,_.fromLine=u,_.fromCubic=t,_.fromQuadratic=s,_.fromArc=d},"4vCz":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("X2/X")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="PlusSquareOutlined";var c=A.forwardRef(h);_.default=c},"4xFK":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};_.default=g},"56rv":function(D,_,e){var g=e("IwbS"),f=e("x3X8"),A=f.getDefaultLabel;function m(h,c,o,i,n,a,u){var r=o.getModel("label"),l=o.getModel("emphasis.label");g.setLabelStyle(h,c,r,l,{labelFetcher:n,labelDataIndex:a,defaultText:A(n.getData(),a),isRectText:!0,autoColor:i}),v(h),v(c)}function v(h,c){h.textPosition==="outside"&&(h.textPosition=c)}_.setLabel=m},"59Ip":function(D,_,e){var g=e("Sj9i");function f(A,m,v,h,c,o,i,n,a,u,r){if(a===0)return!1;var l=a;if(r>m+l&&r>h+l&&r>o+l&&r>n+l||r<m-l&&r<h-l&&r<o-l&&r<n-l||u>A+l&&u>v+l&&u>c+l&&u>i+l||u<A-l&&u<v-l&&u<c-l&&u<i-l)return!1;var t=g.cubicProjectPoint(A,m,v,h,c,o,i,n,u,r,null);return t<=l/2}_.containStroke=f},"5Dmo":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("5YgA"),m=e.n(A)},"5GOC":function(D,_,e){"use strict";var g=e("cIOH"),f=e("b56q"),A=e("15/o")},"5GhG":function(D,_,e){var g=e("5GtS"),f=e("bYtY"),A=e("L0Ub"),m=A.getDimensionTypeByAxis,v=e("D5nY"),h=v.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(o,i){var n,a=i.getComponent("xAxis",this.get("xAxisIndex")),u=i.getComponent("yAxis",this.get("yAxisIndex")),r=a.get("type"),l=u.get("type"),t;r==="category"?(o.layout="horizontal",n=a.getOrdinalMeta(),t=!0):l==="category"?(o.layout="vertical",n=u.getOrdinalMeta(),t=!0):o.layout=o.layout||"horizontal";var s=["x","y"],d=o.layout==="horizontal"?0:1,p=this._baseAxisDim=s[d],b=s[1-d],w=[a,u],E=w[d].get("type"),S=w[1-d].get("type"),x=o.data;if(x&&t){var T=[];f.each(x,function(C,O){var N;C.value&&f.isArray(C.value)?(N=C.value.slice(),C.value.unshift(O)):f.isArray(C)?(N=C.slice(),C.unshift(O)):N=C,T.push(N)}),o.data=T}var L=this.defaultValueDimensions,y=[{name:p,type:m(E),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:b,type:m(S),dimsDef:L.slice()}];return g(this,{coordDimensions:y,dimensionsCount:L.length+1,encodeDefaulter:f.curry(h,y,this)})},getBaseAxis:function(){var o=this._baseAxisDim;return this.ecModel.getComponent(o+"Axis",this.get(o+"AxisIndex")).axis}};_.seriesModelMixin=c},"5GtS":function(D,_,e){var g=e("sdST"),f=e("YXkt"),A=e("bYtY"),m=A.extend,v=A.isArray;function h(c,o,i){o=v(o)&&{coordDimensions:o}||m({},o);var n=c.getSource(),a=g(n,o),u=new f(a,c);return u.initData(n,i),u}D.exports=h},"5Hur":function(D,_,e){var g=e("4NO4"),f=g.makeInner,A=g.normalizeToArray,m=f();function v(c,o){for(var i=c.length,n=0;n<i;n++)if(c[n].length>o)return c[n];return c[i-1]}var h={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(c,o,i){o=o||this;var n=m(o),a=n.colorIdx||0,u=n.colorNameMap=n.colorNameMap||{};if(u.hasOwnProperty(c))return u[c];var r=A(this.get("color",!0)),l=this.get("colorLayer",!0),t=i==null||!l?r:v(l,i);if(t=t||r,!t||!t.length)return;var s=t[a];return c&&(u[c]=s),n.colorIdx=(a+1)%t.length,s}};D.exports=h},"5NDa":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("OnYD"),m=e.n(A),v=e("+L6B")},"5NHt":function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(D,_,e){"use strict";var g=e("J4zp"),f=e.n(g),A=e("q1tI"),m=e.n(A),v=e("ACnJ");function h(){var c=Object(A.useState)({}),o=f()(c,2),i=o[0],n=o[1];return Object(A.useEffect)(function(){var a=v.a.subscribe(function(u){n(u)});return function(){return v.a.unsubscribe(a)}},[]),i}_.a=h},"5RHE":function(D,_,e){(function(g){var f,A,A;!function(m){!(f=m,A=typeof f=="function"?f.call(_,e,_,D):f,A!==void 0&&(D.exports=A))}(function(){"use strict";/** @license
* jsPDF - PDF Document creation from JavaScript
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
* CommitID d93d28db14
*
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
* 2010 Aaron Spike, https://github.com/acspike
* 2012 Willow Systems Corporation, willow-systems.com
* 2012 Pablo Hess, https://github.com/pablohess
* 2012 Florian Jenett, https://github.com/fjenett
* 2013 Warren Weckesser, https://github.com/warrenweckesser
* 2013 Youssef Beddad, https://github.com/lifof
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2013 Stefan Slonevskiy, https://github.com/stefslon
* 2013 Jeremy Morel, https://github.com/jmorel
* 2013 Christoph Hartmann, https://github.com/chris-rock
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 James Makes, https://github.com/dollaruw
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 Steven Spungin, https://github.com/Flamenco
* 2014 Kenneth Glassey, https://github.com/Gavvers
*
* Licensed under the MIT License
*
* Contributor(s):
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
* kim3er, mfo, alnorth, Flamenco
*/function m(Ae){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(Ae)}!function(Ae){if(m(Ae.console)!=="object"){Ae.console={};for(var ve,fe,ue=Ae.console,Ne=function(){},je=["memory"],Ke="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");ve=je.pop();)ue[ve]||(ue[ve]={});for(;fe=Ke.pop();)ue[fe]||(ue[fe]=Ne)}var Ye,Pe,nt,At,Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Ae.btoa===void 0&&(Ae.btoa=function(ne){var he,Q,te,be,Ie,Re=0,$e=0,gt="",Wt=[];if(!ne)return ne;for(;he=(Ie=ne.charCodeAt(Re++)<<16|ne.charCodeAt(Re++)<<8|ne.charCodeAt(Re++))>>18&63,Q=Ie>>12&63,te=Ie>>6&63,be=63&Ie,Wt[$e++]=Ot.charAt(he)+Ot.charAt(Q)+Ot.charAt(te)+Ot.charAt(be),Re<ne.length;);gt=Wt.join("");var $t=ne.length%3;return($t?gt.slice(0,$t-3):gt)+"===".slice($t||3)}),Ae.atob===void 0&&(Ae.atob=function(ne){var he,Q,te,be,Ie,Re,$e=0,gt=0,Wt=[];if(!ne)return ne;for(ne+="";he=(Re=Ot.indexOf(ne.charAt($e++))<<18|Ot.indexOf(ne.charAt($e++))<<12|(be=Ot.indexOf(ne.charAt($e++)))<<6|(Ie=Ot.indexOf(ne.charAt($e++))))>>16&255,Q=Re>>8&255,te=255&Re,Wt[gt++]=be==64?String.fromCharCode(he):Ie==64?String.fromCharCode(he,Q):String.fromCharCode(he,Q,te),$e<ne.length;);return Wt.join("")}),Array.prototype.map||(Array.prototype.map=function(ne){if(this==null||typeof ne!="function")throw new TypeError;for(var he=Object(this),Q=he.length>>>0,te=new Array(Q),be=1<arguments.length?arguments[1]:void 0,Ie=0;Ie<Q;Ie++)Ie in he&&(te[Ie]=ne.call(be,he[Ie],Ie,he));return te}),Array.isArray||(Array.isArray=function(ne){return Object.prototype.toString.call(ne)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ne,he){if(this==null||typeof ne!="function")throw new TypeError;for(var Q=Object(this),te=Q.length>>>0,be=0;be<te;be++)be in Q&&ne.call(he,Q[be],be,Q)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(he){if(this==null)throw new TypeError('"this" is null or not defined');var Q=Object(this),te=Q.length>>>0;if(typeof he!="function")throw new TypeError("predicate must be a function");for(var be=arguments[1],Ie=0;Ie<te;){var Re=Q[Ie];if(he.call(be,Re,Ie,Q))return Re;Ie++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Ye=Object.prototype.hasOwnProperty,Pe=!{toString:null}.propertyIsEnumerable("toString"),At=(nt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ne){if(m(ne)!=="object"&&(typeof ne!="function"||ne===null))throw new TypeError;var he,Q,te=[];for(he in ne)Ye.call(ne,he)&&te.push(he);if(Pe)for(Q=0;Q<At;Q++)Ye.call(ne,nt[Q])&&te.push(nt[Q]);return te})),typeof Object.assign!="function"&&(Object.assign=function(ne){if(ne==null)throw new TypeError("Cannot convert undefined or null to object");ne=Object(ne);for(var he=1;he<arguments.length;he++){var Q=arguments[he];if(Q!=null)for(var te in Q)Object.prototype.hasOwnProperty.call(Q,te)&&(ne[te]=Q[te])}return ne}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(ne){return typeof ne=="number"&&isFinite(ne)&&Math.floor(ne)===ne}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var v,h,c,o,i,n,a,u,r,l,t,s,d,p,b,w,E,S,x,T,L,y,C,O,N,k,F,B,H,W,R,U,j,P,K,V,z,X,G,le,Y,me,we,pe,Fe,Xe,dt,Ee,Se,at,_e,ce,ee,se,ke,Ce,ze,Oe,ae,ge,Le,Ze,vt=function(Ae){function ve(ue){if(m(ue)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Ne={};this.subscribe=function(je,Ke,Ye){if(Ye=Ye||!1,typeof je!="string"||typeof Ke!="function"||typeof Ye!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Ne.hasOwnProperty(je)||(Ne[je]={});var Pe=Math.random().toString(35);return Ne[je][Pe]=[Ke,!!Ye],Pe},this.unsubscribe=function(je){for(var Ke in Ne)if(Ne[Ke][je])return delete Ne[Ke][je],Object.keys(Ne[Ke]).length===0&&delete Ne[Ke],!0;return!1},this.publish=function(je){if(Ne.hasOwnProperty(je)){var Ke=Array.prototype.slice.call(arguments,1),Ye=[];for(var Pe in Ne[je]){var nt=Ne[je][Pe];try{nt[0].apply(ue,Ke)}catch(At){Ae.console&&console.error("jsPDF PubSub Error",At.message,At)}nt[1]&&Ye.push(Pe)}Ye.length&&Ye.forEach(this.unsubscribe)}},this.getTopics=function(){return Ne}}function fe(ue,Ne,je,Ke){var Ye={},Pe=[],nt=1;m(ue)==="object"&&(ue=(Ye=ue).orientation,Ne=Ye.unit||Ne,je=Ye.format||je,Ke=Ye.compress||Ye.compressPdf||Ke,Pe=Ye.filters||(Ke===!0?["FlateEncode"]:Pe),nt=typeof Ye.userUnit=="number"?Math.abs(Ye.userUnit):1),Ne=Ne||"mm",ue=(""+(ue||"P")).toLowerCase();var At=Ye.putOnlyUsedFonts||!0,Ot={},ne={internal:{},__private__:{}};ne.__private__.PubSub=ve;var he="1.3",Q=ne.__private__.getPdfVersion=function(){return he},te=(ne.__private__.setPdfVersion=function(St){he=St},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),be=(ne.__private__.getPageFormats=function(){return te},ne.__private__.getPageFormat=function(St){return te[St]});typeof je=="string"&&(je=be(je)),je=je||be("a4");var Ie,Re=ne.f2=ne.__private__.f2=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f2");return St.toFixed(2)},$e=ne.__private__.f3=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f3");return St.toFixed(3)},gt="00000000000000000000000000000000",Wt=ne.__private__.getFileId=function(){return gt},$t=ne.__private__.setFileId=function(St){return St=St||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),gt=St};ne.setFileId=function(St){return $t(St),this},ne.getFileId=function(){return Wt()};var Dt=ne.__private__.convertDateToPDFDate=function(St){var Vt=St.getTimezoneOffset(),sr=Vt<0?"+":"-",br=Math.floor(Math.abs(Vt/60)),Mr=Math.abs(Vt%60),Dr=[sr,Tt(br),"'",Tt(Mr),"'"].join("");return["D:",St.getFullYear(),Tt(St.getMonth()+1),Tt(St.getDate()),Tt(St.getHours()),Tt(St.getMinutes()),Tt(St.getSeconds()),Dr].join("")},Kt=ne.__private__.convertPDFDateToDate=function(St){var Vt=parseInt(St.substr(2,4),10),sr=parseInt(St.substr(6,2),10)-1,br=parseInt(St.substr(8,2),10),Mr=parseInt(St.substr(10,2),10),Dr=parseInt(St.substr(12,2),10),rn=parseInt(St.substr(14,2),10);return parseInt(St.substr(16,2),10),parseInt(St.substr(20,2),10),new Date(Vt,sr,br,Mr,Dr,rn,0)},Gt=ne.__private__.setCreationDate=function(St){var Vt;if(St===void 0&&(St=new Date),m(St)==="object"&&Object.prototype.toString.call(St)==="[object Date]")Vt=Dt(St);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(St))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Vt=St}return Ie=Vt},Qt=ne.__private__.getCreationDate=function(St){var Vt=Ie;return St==="jsDate"&&(Vt=Kt(Ie)),Vt};ne.setCreationDate=function(St){return Gt(St),this},ne.getCreationDate=function(St){return Qt(St)};var Mt,dr,er,st,xt,ut,pt,_t,Tt=ne.__private__.padd2=function(St){return("0"+parseInt(St)).slice(-2)},ft=!1,Ht=[],kt=[],ir=0,Xt=(ne.__private__.setCustomOutputDestination=function(St){dr=St},ne.__private__.resetCustomOutputDestination=function(St){dr=void 0},ne.__private__.out=function(St){var Vt;return St=typeof St=="string"?St:St.toString(),(Vt=dr===void 0?ft?Ht[Mt]:kt:dr).push(St),ft||(ir+=St.length+1),Vt}),mr=ne.__private__.write=function(St){return Xt(arguments.length===1?St.toString():Array.prototype.join.call(arguments," "))},Ar=ne.__private__.getArrayBuffer=function(St){for(var Vt=St.length,sr=new ArrayBuffer(Vt),br=new Uint8Array(sr);Vt--;)br[Vt]=St.charCodeAt(Vt);return sr},Nr=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],kr=(ne.__private__.getStandardFonts=function(St){return Nr},Ye.fontSize||16),tn=(ne.__private__.setFontSize=ne.setFontSize=function(St){return kr=St,this},ne.__private__.getFontSize=ne.getFontSize=function(){return kr}),qr=Ye.R2L||!1,Lr=(ne.__private__.setR2L=ne.setR2L=function(St){return qr=St,this},ne.__private__.getR2L=ne.getR2L=function(St){return qr},ne.__private__.setZoomMode=function(St){var Vt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(St))er=St;else if(isNaN(St)){if(Vt.indexOf(St)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+St+'" is not recognized.');er=St}else er=parseInt(St,10)}),Qr=(ne.__private__.getZoomMode=function(){return er},ne.__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.');st=St}),Ir=(ne.__private__.getPageMode=function(){return st},ne.__private__.setLayoutMode=function(St){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(St)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+St+'" is not recognized.');xt=St}),ur=(ne.__private__.getLayoutMode=function(){return xt},ne.__private__.setDisplayMode=ne.setDisplayMode=function(St,Vt,sr){return Lr(St),Ir(Vt),Qr(sr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(ne.__private__.getDocumentProperty=function(St){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ur[St]},ne.__private__.getDocumentProperties=function(St){return ur},ne.__private__.setDocumentProperties=ne.setProperties=ne.setDocumentProperties=function(St){for(var Vt in ur)ur.hasOwnProperty(Vt)&&St[Vt]&&(ur[Vt]=St[Vt]);return this},ne.__private__.setDocumentProperty=function(St,Vt){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ur[St]=Vt},0),cr=[],fr={},xr={},Yr=0,un=[],Nn=[],jr=new ve(ne),Tn=Ye.hotfixes||[],gn=ne.__private__.newObject=function(){var St=Pn();return zn(St,!0),St},Pn=ne.__private__.newObjectDeferred=function(){return cr[++pr]=function(){return ir},pr},zn=function(Vt,sr){return sr=typeof sr=="boolean"&&sr,cr[Vt]=ir,sr&&Xt(Vt+" 0 obj"),Vt},qn=ne.__private__.newAdditionalObject=function(){var St={objId:Pn(),content:""};return Nn.push(St),St},Yn=Pn(),Vn=Pn(),An=ne.__private__.decodeColorString=function(St){var Vt=St.split(" ");if(Vt.length===2&&(Vt[1]==="g"||Vt[1]==="G")){var sr=parseFloat(Vt[0]);Vt=[sr,sr,sr,"r"]}for(var br="#",Mr=0;Mr<3;Mr++)br+=("0"+Math.floor(255*parseFloat(Vt[Mr])).toString(16)).slice(-2);return br},on=ne.__private__.encodeColorString=function(St){var Vt;typeof St=="string"&&(St={ch1:St});var sr=St.ch1,br=St.ch2,Mr=St.ch3,Dr=St.ch4,rn=(St.precision,St.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof sr=="string"&&sr.charAt(0)!=="#"){var fn=new RGBColor(sr);if(fn.ok)sr=fn.toHex();else if(!/^\d*\.?\d*$/.test(sr))throw new Error('Invalid color "'+sr+'" passed to jsPDF.encodeColorString.')}if(typeof sr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(sr)&&(sr="#"+sr[1]+sr[1]+sr[2]+sr[2]+sr[3]+sr[3]),typeof sr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(sr)){var wn=parseInt(sr.substr(1),16);sr=wn>>16&255,br=wn>>8&255,Mr=255&wn}if(br===void 0||Dr===void 0&&sr===br&&br===Mr)if(typeof sr=="string")Vt=sr+" "+rn[0];else switch(St.precision){case 2:Vt=Re(sr/255)+" "+rn[0];break;case 3:default:Vt=$e(sr/255)+" "+rn[0]}else if(Dr===void 0||m(Dr)==="object"){if(Dr&&!isNaN(Dr.a)&&Dr.a===0)return Vt=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof sr=="string")Vt=[sr,br,Mr,rn[1]].join(" ");else switch(St.precision){case 2:Vt=[Re(sr/255),Re(br/255),Re(Mr/255),rn[1]].join(" ");break;default:case 3:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),rn[1]].join(" ")}}else if(typeof sr=="string")Vt=[sr,br,Mr,Dr,rn[2]].join(" ");else switch(St.precision){case 2:Vt=[Re(sr/255),Re(br/255),Re(Mr/255),Re(Dr/255),rn[2]].join(" ");break;case 3:default:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),$e(Dr/255),rn[2]].join(" ")}return Vt},ia=ne.__private__.getFilters=function(){return Pe},xa=ne.__private__.putStream=function(St){var Vt=(St=St||{}).data||"",sr=St.filters||ia(),br=St.alreadyAppliedFilters||[],Mr=St.addLength1||!1,Dr=Vt.length,rn={};sr===!0&&(sr=["FlateEncode"]);var fn=St.additionalKeyValues||[],wn=(rn=fe.API.processDataByFilters!==void 0?fe.API.processDataByFilters(Vt,sr):{data:Vt,reverseChain:[]}).reverseChain+(Array.isArray(br)?br.join(" "):br.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Mr===!0&&fn.push({key:"Length1",value:Dr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Xt("<<");for(var Hn=0;Hn<fn.length;Hn++)Xt("/"+fn[Hn].key+" "+fn[Hn].value);Xt(">>"),rn.data.length!==0&&(Xt("stream"),Xt(rn.data),Xt("endstream"))},ta=ne.__private__.putPage=function(St){St.mediaBox;var Vt=St.number,sr=St.data,br=St.objId,Mr=St.contentsObjId;zn(br,!0),un[Mt].mediaBox.topRightX,un[Mt].mediaBox.bottomLeftX,un[Mt].mediaBox.topRightY,un[Mt].mediaBox.bottomLeftY,Xt("<</Type /Page"),Xt("/Parent "+St.rootDictionaryObjId+" 0 R"),Xt("/Resources "+St.resourceDictionaryObjId+" 0 R"),Xt("/MediaBox ["+parseFloat(Re(St.mediaBox.bottomLeftX))+" "+parseFloat(Re(St.mediaBox.bottomLeftY))+" "+Re(St.mediaBox.topRightX)+" "+Re(St.mediaBox.topRightY)+"]"),St.cropBox!==null&&Xt("/CropBox ["+Re(St.cropBox.bottomLeftX)+" "+Re(St.cropBox.bottomLeftY)+" "+Re(St.cropBox.topRightX)+" "+Re(St.cropBox.topRightY)+"]"),St.bleedBox!==null&&Xt("/BleedBox ["+Re(St.bleedBox.bottomLeftX)+" "+Re(St.bleedBox.bottomLeftY)+" "+Re(St.bleedBox.topRightX)+" "+Re(St.bleedBox.topRightY)+"]"),St.trimBox!==null&&Xt("/TrimBox ["+Re(St.trimBox.bottomLeftX)+" "+Re(St.trimBox.bottomLeftY)+" "+Re(St.trimBox.topRightX)+" "+Re(St.trimBox.topRightY)+"]"),St.artBox!==null&&Xt("/ArtBox ["+Re(St.artBox.bottomLeftX)+" "+Re(St.artBox.bottomLeftY)+" "+Re(St.artBox.topRightX)+" "+Re(St.artBox.topRightY)+"]"),typeof St.userUnit=="number"&&St.userUnit!==1&&Xt("/UserUnit "+St.userUnit),jr.publish("putPage",{objId:br,pageContext:un[Vt],pageNumber:Vt,page:sr}),Xt("/Contents "+Mr+" 0 R"),Xt(">>"),Xt("endobj");var Dr=sr.join(`
`);return zn(Mr,!0),xa({data:Dr,filters:ia()}),Xt("endobj"),br},Ii=ne.__private__.putPages=function(){var St,Vt,sr=[];for(St=1;St<=Yr;St++)un[St].objId=Pn(),un[St].contentsObjId=Pn();for(St=1;St<=Yr;St++)sr.push(ta({number:St,data:Ht[St],objId:un[St].objId,contentsObjId:un[St].contentsObjId,mediaBox:un[St].mediaBox,cropBox:un[St].cropBox,bleedBox:un[St].bleedBox,trimBox:un[St].trimBox,artBox:un[St].artBox,userUnit:un[St].userUnit,rootDictionaryObjId:Yn,resourceDictionaryObjId:Vn}));zn(Yn,!0),Xt("<</Type /Pages");var br="/Kids [";for(Vt=0;Vt<Yr;Vt++)br+=sr[Vt]+" 0 R ";Xt(br+"]"),Xt("/Count "+Yr),Xt(">>"),Xt("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var Vt in fr)fr.hasOwnProperty(Vt)&&(At===!1||At===!0&&Ot.hasOwnProperty(Vt))&&(sr=fr[Vt],jr.publish("putFont",{font:sr,out:Xt,newObject:gn,putStream:xa}),sr.isAlreadyPutted!==!0&&(sr.objectNumber=gn(),Xt("<<"),Xt("/Type /Font"),Xt("/BaseFont /"+sr.postScriptName),Xt("/Subtype /Type1"),typeof sr.encoding=="string"&&Xt("/Encoding /"+sr.encoding),Xt("/FirstChar 32"),Xt("/LastChar 255"),Xt(">>"),Xt("endobj")));var sr}(),jr.publish("putResources"),zn(Vn,!0),Xt("<<"),function(){for(var Vt in Xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Xt("/Font <<"),fr)fr.hasOwnProperty(Vt)&&(At===!1||At===!0&&Ot.hasOwnProperty(Vt))&&Xt("/"+Vt+" "+fr[Vt].objectNumber+" 0 R");Xt(">>"),Xt("/XObject <<"),jr.publish("putXobjectDict"),Xt(">>")}(),Xt(">>"),Xt("endobj"),jr.publish("postPutResources")},Gn=function(Vt,sr,br){xr.hasOwnProperty(sr)||(xr[sr]={}),xr[sr][br]=Vt},Oa=function(Vt,sr,br,Mr,Dr){Dr=Dr||!1;var rn="F"+(Object.keys(fr).length+1).toString(10),fn={id:rn,postScriptName:Vt,fontName:sr,fontStyle:br,encoding:Mr,isStandardFont:Dr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(fr[rn]=fn,Gn(rn,sr,br)),rn},mn=ne.__private__.pdfEscape=ne.pdfEscape=function(St,Vt){return function(sr,br){var Mr,Dr,rn,fn,wn,Hn,Sn,bn,Mn;if(rn=(br=br||{}).sourceEncoding||"Unicode",wn=br.outputEncoding,(br.autoencode||wn)&&fr[ut].metadata&&fr[ut].metadata[rn]&&fr[ut].metadata[rn].encoding&&(fn=fr[ut].metadata[rn].encoding,!wn&&fr[ut].encoding&&(wn=fr[ut].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Mr=0,Dr=sr.length;Mr<Dr;Mr++)(bn=wn[sr.charCodeAt(Mr)])?Hn.push(String.fromCharCode(bn)):Hn.push(sr[Mr]),Hn[Mr].charCodeAt(0)>>8&&(Sn=!0);sr=Hn.join("")}for(Mr=sr.length;Sn===void 0&&Mr!==0;)sr.charCodeAt(Mr-1)>>8&&(Sn=!0),Mr--;if(!Sn)return sr;for(Hn=br.noBOM?[]:[254,255],Mr=0,Dr=sr.length;Mr<Dr;Mr++){if((Mn=(bn=sr.charCodeAt(Mr))>>8)>>8)throw new Error("Character at position "+Mr+" of string '"+sr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Mn),Hn.push(bn-(Mn<<8))}return String.fromCharCode.apply(void 0,Hn)}(St,Vt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},On=ne.__private__.beginPage=function(St,Vt){var sr,br=typeof Vt=="string"&&Vt.toLowerCase();if(typeof St=="string"&&(sr=be(St.toLowerCase()))&&(St=sr[0],Vt=sr[1]),Array.isArray(St)&&(Vt=St[1],St=St[0]),(isNaN(St)||isNaN(Vt))&&(St=je[0],Vt=je[1]),br){switch(br.substr(0,1)){case"l":St<Vt&&(br="s");break;case"p":Vt<St&&(br="s")}br==="s"&&(sr=St,St=Vt,Vt=sr)}(14400<St||14400<Vt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),St=Math.min(14400,St),Vt=Math.min(14400,Vt)),je=[St,Vt],ft=!0,Ht[++Yr]=[],un[Yr]={objId:0,contentsObjId:0,userUnit:Number(nt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(St),topRightY:Number(Vt)}},In(Yr)},Ln=function(){On.apply(this,arguments),To(eo),Xt(jt),zr!==0&&Xt(zr+" J"),Zr!==0&&Xt(Zr+" j"),jr.publish("addPage",{pageNumber:Yr})},In=function(Vt){0<Vt&&Vt<=Yr&&(Mt=Vt)},jn=ne.__private__.getNumberOfPages=ne.getNumberOfPages=function(){return Ht.length-1},ni=function(Vt,sr,br){var Mr,Dr=void 0;return br=br||{},Vt=Vt!==void 0?Vt:fr[ut].fontName,sr=sr!==void 0?sr:fr[ut].fontStyle,Mr=Vt.toLowerCase(),xr[Mr]!==void 0&&xr[Mr][sr]!==void 0?Dr=xr[Mr][sr]:xr[Vt]!==void 0&&xr[Vt][sr]!==void 0?Dr=xr[Vt][sr]:br.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Vt+"', '"+sr+"'. Refer to getFontList() for available fonts."),Dr||br.noFallback||(Dr=xr.times[sr])==null&&(Dr=xr.times.normal),Dr},di=ne.__private__.putInfo=function(){for(var St in gn(),Xt("<<"),Xt("/Producer (jsPDF "+fe.version+")"),ur)ur.hasOwnProperty(St)&&ur[St]&&Xt("/"+St.substr(0,1).toUpperCase()+St.substr(1)+" ("+mn(ur[St])+")");Xt("/CreationDate ("+Ie+")"),Xt(">>"),Xt("endobj")},Na=ne.__private__.putCatalog=function(St){var Vt=(St=St||{}).rootDictionaryObjId||Yn;switch(gn(),Xt("<<"),Xt("/Type /Catalog"),Xt("/Pages "+Vt+" 0 R"),er||(er="fullwidth"),er){case"fullwidth":Xt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Xt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Xt("/OpenAction [3 0 R /Fit]");break;case"original":Xt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var sr=""+er;sr.substr(sr.length-1)==="%"&&(er=parseInt(er)/100),typeof er=="number"&&Xt("/OpenAction [3 0 R /XYZ null null "+Re(er)+"]")}switch(xt||(xt="continuous"),xt){case"continuous":Xt("/PageLayout /OneColumn");break;case"single":Xt("/PageLayout /SinglePage");break;case"two":case"twoleft":Xt("/PageLayout /TwoColumnLeft");break;case"tworight":Xt("/PageLayout /TwoColumnRight")}st&&Xt("/PageMode /"+st),jr.publish("putCatalog"),Xt(">>"),Xt("endobj")},Qi=ne.__private__.putTrailer=function(){Xt("trailer"),Xt("<<"),Xt("/Size "+(pr+1)),Xt("/Root "+pr+" 0 R"),Xt("/Info "+(pr-1)+" 0 R"),Xt("/ID [ <"+gt+"> <"+gt+"> ]"),Xt(">>")},ma=ne.__private__.putHeader=function(){Xt("%PDF-"+he),Xt("%\xBA\xDF\xAC\xE0")},Ba=ne.__private__.putXRef=function(){var St=1,Vt="0000000000";for(Xt("xref"),Xt("0 "+(pr+1)),Xt("0000000000 65535 f "),St=1;St<=pr;St++)typeof cr[St]=="function"?Xt((Vt+cr[St]()).slice(-10)+" 00000 n "):cr[St]!==void 0?Xt((Vt+cr[St]).slice(-10)+" 00000 n "):Xt("0000000000 00000 n ")},Qa=ne.__private__.buildDocument=function(){ft=!1,ir=pr=0,kt=[],cr=[],Nn=[],Yn=Pn(),Vn=Pn(),jr.publish("buildDocument"),ma(),Ii(),function(){jr.publish("putAdditionalObjects");for(var Vt=0;Vt<Nn.length;Vt++){var sr=Nn[Vt];zn(sr.objId,!0),Xt(sr.content),Xt("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Na();var St=ir;return Ba(),Qi(),Xt("startxref"),Xt(""+St),Xt("%%EOF"),ft=!0,kt.join(`
`)},Wi=ne.__private__.getBlob=function(St){return new Blob([Ar(St)],{type:"application/pdf"})},Co=ne.output=ne.__private__.output=((_t=function(Vt,sr){sr=sr||{};var br=Qa();switch(typeof sr=="string"?sr={filename:sr}:sr.filename=sr.filename||"generated.pdf",Vt){case void 0:return br;case"save":ne.save(sr.filename);break;case"arraybuffer":return Ar(br);case"blob":return Wi(br);case"bloburi":case"bloburl":if(Ae.URL!==void 0&&typeof Ae.URL.createObjectURL=="function")return Ae.URL&&Ae.URL.createObjectURL(Wi(br))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);case"dataurlnewwindow":var Mr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Dr=Ae.open();if(Dr!==null&&Dr.document.write(Mr),Dr||typeof safari=="undefined")return Dr;case"datauri":case"dataurl":return Ae.document.location.href="data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);default:return null}}).foo=function(){try{return _t.apply(this,arguments)}catch(sr){var St=sr.stack||"";~St.indexOf(" at ")&&(St=St.split(" at ")[1]);var Vt="Error in function "+St.split(`
`)[0].split("<")[0]+": "+sr.message;if(!Ae.console)throw new Error(Vt);Ae.console.error(Vt,sr),Ae.alert&&alert(Vt)}},(_t.foo.bar=_t).foo),aa=function(Vt){return Array.isArray(Tn)===!0&&-1<Tn.indexOf(Vt)};switch(Ne){case"pt":pt=1;break;case"mm":pt=72/25.4;break;case"cm":pt=72/2.54;break;case"in":pt=72;break;case"px":pt=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":pt=12;break;case"ex":pt=6;break;default:throw new Error("Invalid unit: "+Ne)}Gt(),$t();var Hi=ne.__private__.getPageInfo=function(St){if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:un[St].objId,pageNumber:St,pageContext:un[St]}},ga=ne.__private__.getPageInfoByObjId=function(St){for(var Vt in un)if(un[Vt].objId===St)break;if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(Vt)},ha=ne.__private__.getCurrentPageInfo=function(){return{objId:un[Mt].objId,pageNumber:Mt,pageContext:un[Mt]}};ne.addPage=function(){return Ln.apply(this,arguments),this},ne.setPage=function(){return In.apply(this,arguments),this},ne.insertPage=function(St){return this.addPage(),this.movePage(Mt,St),this},ne.movePage=function(St,Vt){if(Vt<St){for(var sr=Ht[St],br=un[St],Mr=St;Vt<Mr;Mr--)Ht[Mr]=Ht[Mr-1],un[Mr]=un[Mr-1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}else if(St<Vt){for(sr=Ht[St],br=un[St],Mr=St;Mr<Vt;Mr++)Ht[Mr]=Ht[Mr+1],un[Mr]=un[Mr+1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}return this},ne.deletePage=function(){return function(St){0<St&&St<=Yr&&(Ht.splice(St,1),--Yr<Mt&&(Mt=Yr),this.setPage(Mt))}.apply(this,arguments),this},ne.__private__.text=ne.text=function(St,Vt,sr,br){var Mr;typeof St!="number"||typeof Vt!="number"||typeof sr!="string"&&!Array.isArray(sr)||(Mr=sr,sr=Vt,Vt=St,St=Mr);var Dr=arguments[3],rn=arguments[4],fn=arguments[5];if(m(Dr)==="object"&&Dr!==null||(typeof rn=="string"&&(fn=rn,rn=null),typeof Dr=="string"&&(fn=Dr,Dr=null),typeof Dr=="number"&&(rn=Dr,Dr=null),br={flags:Dr,angle:rn,align:fn}),(Dr=Dr||{}).noBOM=Dr.noBOM||!0,Dr.autoencode=Dr.autoencode||!0,isNaN(Vt)||isNaN(sr)||St==null)throw new Error("Invalid arguments passed to jsPDF.text");if(St.length===0)return bn;var wn,Hn="",Sn=typeof br.lineHeightFactor=="number"?br.lineHeightFactor:$i,bn=br.scope||this;function Mn(ra){for(var Yi,Xa=ra.concat(),Ki=[],zi=Xa.length;zi--;)typeof(Yi=Xa.shift())=="string"?Ki.push(Yi):Array.isArray(ra)&&Yi.length===1?Ki.push(Yi[0]):Ki.push([Yi[0],Yi[1],Yi[2]]);return Ki}function vn(ra,Yi){var Xa;if(typeof ra=="string")Xa=Yi(ra)[0];else if(Array.isArray(ra)){for(var Ki,zi,ba=ra.concat(),Ua=[],wa=ba.length;wa--;)typeof(Ki=ba.shift())=="string"?Ua.push(Yi(Ki)[0]):Array.isArray(Ki)&&Ki[0]==="string"&&(zi=Yi(Ki[0],Ki[1],Ki[2]),Ua.push([zi[0],zi[1],zi[2]]));Xa=Ua}return Xa}var Rn=!1,En=!0;if(typeof St=="string")Rn=!0;else if(Array.isArray(St)){for(var _n,Xn=St.concat(),ai=[],ri=Xn.length;ri--;)(typeof(_n=Xn.shift())!="string"||Array.isArray(_n)&&typeof _n[0]!="string")&&(En=!1);Rn=En}if(Rn===!1)throw new Error('Type of text must be string or Array. "'+St+'" is not recognized.');var Di=fr[ut].encoding;Di!=="WinAnsiEncoding"&&Di!=="StandardEncoding"||(St=vn(St,function(ra,Yi,Xa){return[(Ki=ra,Ki=Ki.split(" ").join(Array(br.TabLen||9).join(" ")),mn(Ki,Dr)),Yi,Xa];var Ki})),typeof St=="string"&&(St=St.match(/[\r?\n]/)?St.split(/\r\n|\r|\n/g):[St]);var yi=kr/bn.internal.scaleFactor,xi=yi*($i-1);switch(br.baseline){case"bottom":sr-=xi;break;case"top":sr+=yi-xi;break;case"hanging":sr+=yi-2*xi;break;case"middle":sr+=yi/2-xi}0<(sa=br.maxWidth||0)&&(typeof St=="string"?St=bn.splitTextToSize(St,sa):Object.prototype.toString.call(St)==="[object Array]"&&(St=bn.splitTextToSize(St.join(" "),sa)));var Li={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:kr}};jr.publish("preProcessText",Li),St=Li.text,rn=(br=Li.options).angle;var Un=bn.internal.scaleFactor,Ri=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),Ui=Math.sin(rn);Ri=[Re(fa),Re(Ui),Re(-1*Ui),Re(fa)]}(oa=br.charSpace)!==void 0&&(Hn+=$e(oa*Un)+` Tc
`),br.lang;var Mi=-1,mi=br.renderingMode!==void 0?br.renderingMode:br.stroke,hi=bn.internal.getCurrentPageInfo().pageContext;switch(mi){case 0:case!1:case"fill":Mi=0;break;case 1:case!0:case"stroke":Mi=1;break;case 2:case"fillThenStroke":Mi=2;break;case 3:case"invisible":Mi=3;break;case 4:case"fillAndAddForClipping":Mi=4;break;case 5:case"strokeAndAddPathForClipping":Mi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Mi=6;break;case 7:case"addToPathForClipping":Mi=7}var qi=hi.usedRenderingMode!==void 0?hi.usedRenderingMode:-1;Mi!==-1?Hn+=Mi+` Tr
`:qi!==-1&&(Hn+=`0 Tr
`),Mi!==-1&&(hi.usedRenderingMode=Mi),fn=br.align||"left";var va=kr*Sn,Ea=bn.internal.pageSize.getWidth(),ya=(Un=bn.internal.scaleFactor,fr[ut]),oa=br.charSpace||wr,sa=br.maxWidth||0,Ni=(Dr={},[]);if(Object.prototype.toString.call(St)==="[object Array]"){var $n,Ai;ai=Mn(St),fn!=="left"&&(Ai=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:ya,charSpace:oa,fontSize:kr})*kr/Un}));var _i,Vi=Math.max.apply(Math,Ai),Xi=0;if(fn==="right"){Vt-=Ai[0],St=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-Ai[bi],$n=bi===0?(_i=Pr(Vt),Wr(sr)):(_i=(Xi-Ai[bi])*Un,-va),St.push([ai[bi],_i,$n]),Xi=Ai[bi]}else if(fn==="center")for(Vt-=Ai[0]/2,St=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-Ai[bi])/2,$n=bi===0?(_i=Pr(Vt),Wr(sr)):(_i=(Xi-Ai[bi])/2*Un,-va),St.push([ai[bi],_i,$n]),Xi=Ai[bi];else if(fn==="left")for(St=[],bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,_i=bi===0?Pr(Vt):0,St.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(St=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,_i=bi===0?Pr(Vt):0,bi<ri-1&&Ni.push(((sa-Ai[bi])/(ai[bi].split(" ").length-1)*Un).toFixed(2)),St.push([ai[bi],_i,$n])}}(typeof br.R2L=="boolean"?br.R2L:qr)===!0&&(St=vn(St,function(ra,Yi,Xa){return[ra.split("").reverse().join(""),Yi,Xa]})),Li={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:kr}},jr.publish("postProcessText",Li),St=Li.text,wn=Li.mutex.isHex,ai=Mn(St),St=[];var Aa,ca,la,gi=0,Pa=(ri=ai.length,"");for(bi=0;bi<ri;bi++)Pa="",Array.isArray(ai[bi])?(Aa=parseFloat(ai[bi][1]),ca=parseFloat(ai[bi][2]),la=(wn?"<":"(")+ai[bi][0]+(wn?">":")"),gi=1):(Aa=Pr(Vt),ca=Wr(sr),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Ni!==void 0&&Ni[bi]!==void 0&&(Pa=Ni[bi]+` Tw
`),Ri.length!==0&&bi===0?St.push(Pa+Ri.join(" ")+" "+Aa.toFixed(2)+" "+ca.toFixed(2)+` Tm
`+la):gi===1||gi===0&&bi===0?St.push(Pa+Aa.toFixed(2)+" "+ca.toFixed(2)+` Td
`+la):St.push(Pa+la);St=gi===0?St.join(` Tj
T* `):St.join(` Tj
`),St+=` Tj
`;var Ma=`BT
/`+ut+" "+kr+` Tf
`+(kr*Sn).toFixed(2)+` TL
`+nr+`
`;return Ma+=Hn,Ma+=St,Xt(Ma+="ET"),Ot[ut]=!0,bn},ne.__private__.lstext=ne.lstext=function(St,Vt,sr,br){return console.warn("jsPDF.lstext is deprecated"),this.text(St,Vt,sr,{charSpace:br})},ne.__private__.clip=ne.clip=function(St){Xt(St==="evenodd"?"W*":"W"),Xt("n")},ne.__private__.clip_fixed=ne.clip_fixed=function(St){console.log("clip_fixed is deprecated"),ne.clip(St)};var mo=ne.__private__.isValidStyle=function(St){var Vt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(St)!==-1&&(Vt=!0),Vt},Fn=ne.__private__.getStyle=function(St){var Vt="S";return St==="F"?Vt="f":St==="FD"||St==="DF"?Vt="B":St!=="f"&&St!=="f*"&&St!=="B"&&St!=="B*"||(Vt=St),Vt};ne.__private__.line=ne.line=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[sr-St,br-Vt]],St,Vt)},ne.__private__.lines=ne.lines=function(St,Vt,sr,br,Mr,Dr){var rn,fn,wn,Hn,Sn,bn,Mn,vn,Rn,En,_n,Xn;if(typeof St=="number"&&(Xn=sr,sr=Vt,Vt=St,St=Xn),br=br||[1,1],Dr=Dr||!1,isNaN(Vt)||isNaN(sr)||!Array.isArray(St)||!Array.isArray(br)||!mo(Mr)||typeof Dr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Xt($e(Pr(Vt))+" "+$e(Wr(sr))+" m "),rn=br[0],fn=br[1],Hn=St.length,En=Vt,_n=sr,wn=0;wn<Hn;wn++)(Sn=St[wn]).length===2?(En=Sn[0]*rn+En,_n=Sn[1]*fn+_n,Xt($e(Pr(En))+" "+$e(Wr(_n))+" l")):(bn=Sn[0]*rn+En,Mn=Sn[1]*fn+_n,vn=Sn[2]*rn+En,Rn=Sn[3]*fn+_n,En=Sn[4]*rn+En,_n=Sn[5]*fn+_n,Xt($e(Pr(bn))+" "+$e(Wr(Mn))+" "+$e(Pr(vn))+" "+$e(Wr(Rn))+" "+$e(Pr(En))+" "+$e(Wr(_n))+" c"));return Dr&&Xt(" h"),Mr!==null&&Xt(Fn(Mr)),this},ne.__private__.rect=ne.rect=function(St,Vt,sr,br,Mr){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.rect");return Xt([Re(Pr(St)),Re(Wr(Vt)),Re(sr*pt),Re(-br*pt),"re"].join(" ")),Mr!==null&&Xt(Fn(Mr)),this},ne.__private__.triangle=ne.triangle=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[sr-St,br-Vt],[Mr-sr,Dr-br],[St-Mr,Vt-Dr]],St,Vt,[1,1],rn,!0),this},ne.__private__.roundedRect=ne.roundedRect=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var fn=4/3*(Math.SQRT2-1);return this.lines([[sr-2*Mr,0],[Mr*fn,0,Mr,Dr-Dr*fn,Mr,Dr],[0,br-2*Dr],[0,Dr*fn,-Mr*fn,Dr,-Mr,Dr],[2*Mr-sr,0],[-Mr*fn,0,-Mr,-Dr*fn,-Mr,-Dr],[0,2*Dr-br],[0,-Dr*fn,Mr*fn,-Dr,Mr,-Dr]],St+Mr,Vt,[1,1],rn),this},ne.__private__.ellipse=ne.ellipse=function(St,Vt,sr,br,Mr){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Dr=4/3*(Math.SQRT2-1)*sr,rn=4/3*(Math.SQRT2-1)*br;return Xt([Re(Pr(St+sr)),Re(Wr(Vt)),"m",Re(Pr(St+sr)),Re(Wr(Vt-rn)),Re(Pr(St+Dr)),Re(Wr(Vt-br)),Re(Pr(St)),Re(Wr(Vt-br)),"c"].join(" ")),Xt([Re(Pr(St-Dr)),Re(Wr(Vt-br)),Re(Pr(St-sr)),Re(Wr(Vt-rn)),Re(Pr(St-sr)),Re(Wr(Vt)),"c"].join(" ")),Xt([Re(Pr(St-sr)),Re(Wr(Vt+rn)),Re(Pr(St-Dr)),Re(Wr(Vt+br)),Re(Pr(St)),Re(Wr(Vt+br)),"c"].join(" ")),Xt([Re(Pr(St+Dr)),Re(Wr(Vt+br)),Re(Pr(St+sr)),Re(Wr(Vt+rn)),Re(Pr(St+sr)),Re(Wr(Vt)),"c"].join(" ")),Mr!==null&&Xt(Fn(Mr)),this},ne.__private__.circle=ne.circle=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||!mo(br))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(St,Vt,sr,sr,br)},ne.setFont=function(St,Vt){return ut=ni(St,Vt,{disableWarning:!1}),this},ne.setFontStyle=ne.setFontType=function(St){return ut=ni(void 0,St),this},ne.__private__.getFontList=ne.getFontList=function(){var St,Vt,sr,br={};for(St in xr)if(xr.hasOwnProperty(St))for(Vt in br[St]=sr=[],xr[St])xr[St].hasOwnProperty(Vt)&&sr.push(Vt);return br},ne.addFont=function(St,Vt,sr,br){Oa.call(this,St,Vt,sr,br=br||"Identity-H")};var $i,eo=Ye.lineWidth||.200025,To=ne.__private__.setLineWidth=ne.setLineWidth=function(St){return Xt((St*pt).toFixed(2)+" w"),this},uo=(ne.__private__.setLineDash=fe.API.setLineDash=function(St,Vt){if(St=St||[],Vt=Vt||0,isNaN(Vt)||!Array.isArray(St))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return St=St.map(function(sr){return(sr*pt).toFixed(3)}).join(" "),Vt=parseFloat((Vt*pt).toFixed(3)),Xt("["+St+"] "+Vt+" d"),this},ne.__private__.getLineHeight=ne.getLineHeight=function(){return kr*$i}),rr=(uo=ne.__private__.getLineHeight=ne.getLineHeight=function(){return kr*$i},ne.__private__.setLineHeightFactor=ne.setLineHeightFactor=function(St){return typeof(St=St||1.15)=="number"&&($i=St),this}),Tr=ne.__private__.getLineHeightFactor=ne.getLineHeightFactor=function(){return $i};rr(Ye.lineHeight);var Pr=ne.__private__.getHorizontalCoordinate=function(St){return St*pt},Wr=ne.__private__.getVerticalCoordinate=function(St){return un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*pt},hn=ne.__private__.getHorizontalCoordinateString=function(St){return Re(St*pt)},tt=ne.__private__.getVerticalCoordinateString=function(St){return Re(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*pt)},jt=Ye.strokeColor||"0 G",Jt=(ne.__private__.getStrokeColor=ne.getDrawColor=function(){return An(jt)},ne.__private__.setStrokeColor=ne.setDrawColor=function(St,Vt,sr,br){return jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"draw",precision:2}),Xt(jt),this},Ye.fillColor||"0 g"),nr=(ne.__private__.getFillColor=ne.getFillColor=function(){return An(Jt)},ne.__private__.setFillColor=ne.setFillColor=function(St,Vt,sr,br){return Jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"fill",precision:2}),Xt(Jt),this},Ye.textColor||"0 g"),Or=ne.__private__.getTextColor=ne.getTextColor=function(){return An(nr)},wr=(ne.__private__.setTextColor=ne.setTextColor=function(St,Vt,sr,br){return nr=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"text",precision:3}),this},Ye.charSpace||0),Er=ne.__private__.getCharSpace=ne.getCharSpace=function(){return wr},zr=(ne.__private__.setCharSpace=ne.setCharSpace=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return wr=St,this},0);ne.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},ne.__private__.setLineCap=ne.setLineCap=function(St){var Vt=ne.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line cap style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((zr=Vt)+" J"),this};var Jr,Zr=0;ne.__private__.setLineJoin=ne.setLineJoin=function(St){var Vt=ne.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line join style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Zr=Vt)+" j"),this},ne.__private__.setMiterLimit=ne.setMiterLimit=function(St){if(St=St||0,isNaN(St))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Jr=parseFloat(Re(St*pt)),Xt(Jr+" M"),this};for(var an in ne.save=function(St,Vt){if(St=St||"generated.pdf",(Vt=Vt||{}).returnPromise=Vt.returnPromise||!1,Vt.returnPromise!==!1)return new Promise(function(sr,br){try{var Mr=Zt(Wi(Qa()),St);typeof Zt.unload=="function"&&Ae.setTimeout&&setTimeout(Zt.unload,911),sr(Mr)}catch(Dr){br(Dr.message)}});Zt(Wi(Qa()),St),typeof Zt.unload=="function"&&Ae.setTimeout&&setTimeout(Zt.unload,911)},fe.API)fe.API.hasOwnProperty(an)&&(an==="events"&&fe.API.events.length?function(St,Vt){var sr,br,Mr;for(Mr=Vt.length-1;Mr!==-1;Mr--)sr=Vt[Mr][0],br=Vt[Mr][1],St.subscribe.apply(St,[sr].concat(typeof br=="function"?[br]:br))}(jr,fe.API.events):ne[an]=fe.API[an]);return ne.internal={pdfEscape:mn,getStyle:Fn,getFont:function(){return fr[ni.apply(ne,arguments)]},getFontSize:tn,getCharSpace:Er,getTextColor:Or,getLineHeight:uo,getLineHeightFactor:Tr,write:mr,getHorizontalCoordinate:Pr,getVerticalCoordinate:Wr,getCoordinateString:hn,getVerticalCoordinateString:tt,collections:{},newObject:gn,newAdditionalObject:qn,newObjectDeferred:Pn,newObjectDeferredBegin:zn,getFilters:ia,putStream:xa,events:jr,scaleFactor:pt,pageSize:{getWidth:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/pt},setWidth:function(Vt){un[Mt].mediaBox.topRightX=Vt*pt+un[Mt].mediaBox.bottomLeftX},getHeight:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/pt},setHeight:function(Vt){un[Mt].mediaBox.topRightY=Vt*pt+un[Mt].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:Ht,out:Xt,f2:Re,f3:$e,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:Q,hasHotfix:aa},Object.defineProperty(ne.internal.pageSize,"width",{get:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/pt},set:function(Vt){un[Mt].mediaBox.topRightX=Vt*pt+un[Mt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(ne.internal.pageSize,"height",{get:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/pt},set:function(Vt){un[Mt].mediaBox.topRightY=Vt*pt+un[Mt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(St){for(var Vt=0,sr=Nr.length;Vt<sr;Vt++){var br=Oa(St[Vt][0],St[Vt][1],St[Vt][2],Nr[Vt][3],!0);Ot[br]=!0;var Mr=St[Vt][0].split("-");Gn(br,Mr[0],Mr[1]||"")}jr.publish("addFonts",{fonts:fr,dictionary:xr})}(Nr),ut="F1",Ln(je,ue),jr.publish("initialized"),ne}return fe.API={events:[]},fe.version="1.5.3",!(A=function(){return fe}.call(_,e,_,D),A!==void 0&&(D.exports=A)),fe}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
* @license
* Copyright (c) 2016 Alexander Weidt,
* https://github.com/BiggA94
*
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
*/(function(Ae,ve){var fe,ue=1,Ne=function(ur){return ur.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},je=function(ur){return ur.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ke=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(2)},Ye=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(5)};Ae.__acroform__={};var Pe=function(ur,pr){ur.prototype=Object.create(pr.prototype),ur.prototype.constructor=ur},nt=function(ur){return ur*ue},At=function(ur){return ur/ue},Ot=function(ur){var pr=new pt,cr=Lr.internal.getHeight(ur)||0,fr=Lr.internal.getWidth(ur)||0;return pr.BBox=[0,0,Number(Ke(fr)),Number(Ke(cr))],pr},ne=Ae.__acroform__.setBit=function(Ir,ur){if(Ir=Ir||0,ur=ur||0,isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Ir|=1<<ur},he=Ae.__acroform__.clearBit=function(Ir,ur){if(Ir=Ir||0,ur=ur||0,isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Ir&=~(1<<ur)},Q=Ae.__acroform__.getBit=function(Ir,ur){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Ir&1<<ur)==0?0:1},te=Ae.__acroform__.getBitForPdf=function(Ir,ur){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Q(Ir,ur-1)},be=Ae.__acroform__.setBitForPdf=function(Ir,ur){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ne(Ir,ur-1)},Ie=Ae.__acroform__.clearBitForPdf=function(Ir,ur,pr){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return he(Ir,ur-1)},Re=Ae.__acroform__.calculateCoordinates=function(Ir){var ur=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,cr=Ir[0],fr=Ir[1],xr=Ir[2],Yr=Ir[3],un={};return un.lowerLeft_X=ur(cr)||0,un.lowerLeft_Y=pr(fr+Yr)||0,un.upperRight_X=ur(cr+xr)||0,un.upperRight_Y=pr(fr)||0,[Number(Ke(un.lowerLeft_X)),Number(Ke(un.lowerLeft_Y)),Number(Ke(un.upperRight_X)),Number(Ke(un.upperRight_Y))]},$e=function(ur){if(ur.appearanceStreamContent)return ur.appearanceStreamContent;if(ur.V||ur.DV){var pr=[],cr=ur.V||ur.DV,fr=gt(ur,cr),xr=fe.internal.getFont(ur.fontName,ur.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(fe.__private__.encodeColorString(ur.color)),pr.push("/"+xr+" "+Ke(fr.fontSize)+" Tf"),pr.push("1 0 0 1 0 0 Tm"),pr.push(fr.text),pr.push("ET"),pr.push("Q"),pr.push("EMC");var Yr=new Ot(ur);return Yr.stream=pr.join(`
`),Yr}},gt=function(ur,pr){var cr=ur.maxFontSize||12,fr=(ur.fontName,{text:"",fontSize:""}),xr=(pr=(pr=pr.substr(0,1)=="("?pr.substr(1):pr).substr(pr.length-1)==")"?pr.substr(0,pr.length-1):pr).split(" "),Yr=(fe.__private__.encodeColorString(ur.color),cr),un=Lr.internal.getHeight(ur)||0;un=un<0?-un:un;var Nn=Lr.internal.getWidth(ur)||0;Nn=Nn<0?-Nn:Nn;var jr=function(mn,On,Ln){if(mn+1<xr.length){var In=On+" "+xr[mn+1];return Wt(In,ur,Ln).width<=Nn-4}return!1};Yr++;e:for(;;){pr="";var Tn=Wt("3",ur,--Yr).height,gn=ur.multiline?un-Yr:(un-Tn)/2,Pn=-2,zn=gn+=2,qn=0,Yn=0,Vn=0;if(Yr<=0){pr=`(...) Tj
`,pr+="% Width of Text: "+Wt(pr,ur,Yr=12).width+", FieldWidth:"+Nn+`
`;break}Vn=Wt(xr[0]+" ",ur,Yr).width;var An="",on=0;for(var ia in xr)if(xr.hasOwnProperty(ia)){An=(An+=xr[ia]+" ").substr(An.length-1)==" "?An.substr(0,An.length-1):An;var xa=parseInt(ia);Vn=Wt(An+" ",ur,Yr).width;var ta=jr(xa,An,Yr),Ii=ia>=xr.length-1;if(ta&&!Ii){An+=" ";continue}if(ta||Ii){if(Ii)Yn=xa;else if(ur.multiline&&un<(Tn+2)*(on+2)+2)continue e}else{if(!ur.multiline)continue e;if(un<(Tn+2)*(on+2)+2)continue e;Yn=xa}for(var Ci="",Gn=qn;Gn<=Yn;Gn++)Ci+=xr[Gn]+" ";switch(Ci=Ci.substr(Ci.length-1)==" "?Ci.substr(0,Ci.length-1):Ci,Vn=Wt(Ci,ur,Yr).width,ur.textAlign){case"right":Pn=Nn-Vn-2;break;case"center":Pn=(Nn-Vn)/2;break;case"left":default:Pn=2}pr+=Ke(Pn)+" "+Ke(zn)+` Td
`,pr+="("+Ne(Ci)+`) Tj
`,pr+=-Ke(Pn)+` 0 Td
`,zn=-(Yr+2),Vn=0,qn=Yn+1,on++,An=""}break}return fr.text=pr,fr.fontSize=Yr,fr},Wt=function(ur,pr,cr){var fr=fe.internal.getFont(pr.fontName,pr.fontStyle),xr=fe.getStringUnitWidth(ur,{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr);return{height:fe.getStringUnitWidth("3",{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr)*1.5,width:xr}},$t={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Dt=function(){fe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var ur=fe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=ur[pr];cr.objId=void 0,cr.hasAnnotation&&Kt.call(fe,cr)}},Kt=function(ur){var pr={type:"reference",object:ur};fe.internal.getPageInfo(ur.page).pageContext.annotations.find(function(cr){return cr.type===pr.type&&cr.object===pr.object})===void 0&&fe.internal.getPageInfo(ur.page).pageContext.annotations.push(pr)},Gt=function(){if(fe.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");fe.internal.write("/AcroForm "+fe.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Qt=function(){fe.internal.events.unsubscribe(fe.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete fe.internal.acroformPlugin.acroFormDictionaryRoot._eventID,fe.internal.acroformPlugin.printedOut=!0},Mt=function(ur){var pr=!ur;ur||(fe.internal.newObjectDeferredBegin(fe.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),fe.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),ur=ur||fe.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var cr in ur)if(ur.hasOwnProperty(cr)){var fr=ur[cr],xr=[],Yr=fr.Rect;if(fr.Rect&&(fr.Rect=Re.call(this,fr.Rect)),fe.internal.newObjectDeferredBegin(fr.objId,!0),fr.DA=Lr.createDefaultAppearanceStream(fr),m(fr)==="object"&&typeof fr.getKeyValueListForStream=="function"&&(xr=fr.getKeyValueListForStream()),fr.Rect=Yr,fr.hasAppearanceStream&&!fr.appearanceStreamContent){var un=$e.call(this,fr);xr.push({key:"AP",value:"<</N "+un+">>"}),fe.internal.acroformPlugin.xForms.push(un)}if(fr.appearanceStreamContent){var Nn="";for(var jr in fr.appearanceStreamContent)if(fr.appearanceStreamContent.hasOwnProperty(jr)){var Tn=fr.appearanceStreamContent[jr];if(Nn+="/"+jr+" ",Nn+="<<",1<=Object.keys(Tn).length||Array.isArray(Tn))for(var cr in Tn){var gn;Tn.hasOwnProperty(cr)&&(typeof(gn=Tn[cr])=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn+" ",0<=fe.internal.acroformPlugin.xForms.indexOf(gn)||fe.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Tn)=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn,0<=fe.internal.acroformPlugin.xForms.indexOf(gn)||fe.internal.acroformPlugin.xForms.push(gn);Nn+=">>"}xr.push({key:"AP",value:`<<
`+Nn+">>"})}fe.internal.putStream({additionalKeyValues:xr}),fe.internal.out("endobj")}pr&&dr.call(this,fe.internal.acroformPlugin.xForms)},dr=function(ur){for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=pr,fr=ur[pr];fe.internal.newObjectDeferredBegin(fr&&fr.objId,!0),m(fr)==="object"&&typeof fr.putStream=="function"&&fr.putStream(),delete ur[cr]}},er=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(fe=this,Tt.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify($t)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ue=fe.internal.scaleFactor,fe.internal.acroformPlugin.acroFormDictionaryRoot=new _t,fe.internal.acroformPlugin.acroFormDictionaryRoot._eventID=fe.internal.events.subscribe("postPutResources",Qt),fe.internal.events.subscribe("buildDocument",Dt),fe.internal.events.subscribe("putCatalog",Gt),fe.internal.events.subscribe("postPutPages",Mt),fe.internal.acroformPlugin.isInitialized=!0}},st=Ae.__acroform__.arrayToPdfArray=function(Ir){if(Array.isArray(Ir)){for(var ur="[",pr=0;pr<Ir.length;pr++)switch(pr!==0&&(ur+=" "),m(Ir[pr])){case"boolean":case"number":case"object":ur+=Ir[pr].toString();break;case"string":Ir[pr].substr(0,1)!=="/"?ur+="("+Ne(Ir[pr].toString())+")":ur+=Ir[pr].toString()}return ur+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},xt=function(ur){return(ur=ur||"").toString(),ur="("+Ne(ur)+")"},ut=function(){var ur;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(ur||(ur=fe.internal.newObjectDeferred()),!ur)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return ur},set:function(cr){ur=cr}})};ut.prototype.toString=function(){return this.objId+" 0 R"},ut.prototype.putStream=function(){var Ir=this.getKeyValueListForStream();fe.internal.putStream({data:this.stream,additionalKeyValues:Ir}),fe.internal.out("endobj")},ut.prototype.getKeyValueListForStream=function(){return function(Ir){var ur=[],pr=Object.getOwnPropertyNames(Ir).filter(function(Yr){return Yr!="content"&&Yr!="appearanceStreamContent"&&Yr.substring(0,1)!="_"});for(var cr in pr)if(Object.getOwnPropertyDescriptor(Ir,pr[cr]).configurable===!1){var fr=pr[cr],xr=Ir[fr];xr&&(Array.isArray(xr)?ur.push({key:fr,value:st(xr)}):xr instanceof ut?ur.push({key:fr,value:xr.objId+" 0 R"}):typeof xr!="function"&&ur.push({key:fr,value:xr}))}return ur}(this)};var pt=function(){ut.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var ur,pr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return pr},set:function(fr){pr=fr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(fr){ur=fr.trim()},get:function(){return ur||null}})};Pe(pt,ut);var _t=function(){ut.call(this);var ur,pr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<pr.length?pr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return pr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(ur)return"("+ur+")"},set:function(fr){ur=fr}})};Pe(_t,ut);var Tt=function Ir(){ut.call(this);var ur=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute F supplied.');ur=on}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(ur,3))},set:function(on){Boolean(on)===!0?this.F=be(ur,3):this.F=Ie(ur,3)}});var pr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return pr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute Ff supplied.');pr=on}});var cr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(cr.length!==0)return cr},set:function(on){cr=on!==void 0?on:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[0])?0:At(cr[0])},set:function(on){cr[0]=nt(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[1])?0:At(cr[1])},set:function(on){cr[1]=nt(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[2])?0:At(cr[2])},set:function(on){cr[2]=nt(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[3])?0:At(cr[3])},set:function(on){cr[3]=nt(on)}});var fr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return fr},set:function(on){switch(on){case"/Btn":case"/Tx":case"/Ch":case"/Sig":fr=on;break;default:throw new Error('Invalid value "'+on+'" for attribute FT supplied.')}}});var xr=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!xr||xr.length<1){if(this instanceof Nr)return;xr="FieldObject"+Ir.FieldNum++}return"("+Ne(xr)+")"},set:function(on){xr=on.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return xr},set:function(on){xr=on}});var Yr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Yr},set:function(on){Yr=on}});var un="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return un},set:function(on){un=on}});var Nn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return At(Nn)},set:function(on){Nn=nt(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return At(jr)},set:function(on){jr=nt(on)}});var Tn="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Tn},set:function(on){Tn=on}});var gn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!gn||this instanceof Nr||this instanceof tn))return xt(gn)},set:function(on){on=on.toString(),gn=on}});var Pn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Pn)return this instanceof Xt==!1?xt(Pn):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!1?on.substr(0,1)==="("?je(on.substr(1,on.length-2)):je(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?je(Pn.substr(1,Pn.length-1)):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!0?"/"+on:on}});var zn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(zn)return this instanceof Xt==!1?xt(zn):zn},set:function(on){on=on.toString(),zn=this instanceof Xt==!1?on.substr(0,1)==="("?je(on.substr(1,on.length-2)):je(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?je(zn.substr(1,zn.length-1)):zn},set:function(on){on=on.toString(),zn=this instanceof Xt==!0?"/"+on:on}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var qn,Yn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return Yn},set:function(on){on=Boolean(on),Yn=on}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(qn)return qn},set:function(on){qn=on}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=be(this.Ff,1):this.Ff=Ie(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=be(this.Ff,2):this.Ff=Ie(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=be(this.Ff,3):this.Ff=Ie(this.Ff,3)}});var Vn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vn!==null)return Vn},set:function(on){if([0,1,2].indexOf(on)===-1)throw new Error('Invalid value "'+on+'" for attribute Q supplied.');Vn=on}}),Object.defineProperty(this,"textAlign",{get:function(){var on="left";switch(Vn){case 0:default:on="left";break;case 1:on="center";break;case 2:on="right"}return on},configurable:!0,enumerable:!0,set:function(on){switch(on){case"right":case 2:Vn=2;break;case"center":case 1:Vn=1;break;case"left":case 0:default:Vn=0}}})};Pe(Tt,ut);var ft=function(){Tt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var ur=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(fr){ur=fr}});var pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return st(pr)},set:function(fr){var xr,Yr;Yr=[],typeof(xr=fr)=="string"&&(Yr=function(un,Nn,jr){jr||(jr=1);for(var Tn,gn=[];Tn=Nn.exec(un);)gn.push(Tn[jr]);return gn}(xr,/\((.*?)\)/g)),pr=Yr}}),this.getOptions=function(){return pr},this.setOptions=function(cr){pr=cr,this.sort&&pr.sort()},this.addOption=function(cr){cr=(cr=cr||"").toString(),pr.push(cr),this.sort&&pr.sort()},this.removeOption=function(cr,fr){for(fr=fr||!1,cr=(cr=cr||"").toString();pr.indexOf(cr)!==-1&&(pr.splice(pr.indexOf(cr),1),fr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,18))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,18):this.Ff=Ie(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,19))},set:function(fr){this.combo===!0&&(Boolean(fr)===!0?this.Ff=be(this.Ff,19):this.Ff=Ie(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,20))},set:function(fr){Boolean(fr)===!0?(this.Ff=be(this.Ff,20),pr.sort()):this.Ff=Ie(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,22))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,22):this.Ff=Ie(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,23))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,23):this.Ff=Ie(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,27))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,27):this.Ff=Ie(this.Ff,27)}}),this.hasAppearanceStream=!1};Pe(ft,Tt);var Ht=function(){ft.call(this),this.fontName="helvetica",this.combo=!1};Pe(Ht,ft);var kt=function(){Ht.call(this),this.combo=!0};Pe(kt,Ht);var ir=function(){kt.call(this),this.edit=!0};Pe(ir,kt);var Xt=function(){Tt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,15))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,15):this.Ff=Ie(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,16))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,16):this.Ff=Ie(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,17))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,17):this.Ff=Ie(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,26))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,26):this.Ff=Ie(this.Ff,26)}});var ur,pr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(pr).length!==0){var fr,xr=[];for(fr in xr.push("<<"),pr)xr.push("/"+fr+" ("+pr[fr]+")");return xr.push(">>"),xr.join(`
`)}},set:function(fr){m(fr)==="object"&&(pr=fr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return pr.CA||""},set:function(fr){typeof fr=="string"&&(pr.CA=fr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ur.substr(1,ur.length-1)},set:function(fr){ur="/"+fr}})};Pe(Xt,Tt);var mr=function(){Xt.call(this),this.pushButton=!0};Pe(mr,Xt);var Ar=function(){Xt.call(this),this.radio=!0,this.pushButton=!1;var ur=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr!==void 0?cr:[]}})};Pe(Ar,Xt);var Nr=function(){var ur,pr;Tt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(Yr){ur=Yr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return pr},set:function(Yr){pr=Yr}});var cr,fr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Yr,un=[];for(Yr in un.push("<<"),fr)un.push("/"+Yr+" ("+fr[Yr]+")");return un.push(">>"),un.join(`
`)},set:function(Yr){m(Yr)==="object"&&(fr=Yr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return fr.CA||""},set:function(Yr){typeof Yr=="string"&&(fr.CA=Yr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(Yr){cr=Yr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return cr.substr(1,cr.length-1)},set:function(Yr){cr="/"+Yr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Lr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};Pe(Nr,Tt),Ar.prototype.setAppearance=function(Ir){if(!("createAppearanceStream"in Ir&&"getCA"in Ir))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var ur in this.Kids)if(this.Kids.hasOwnProperty(ur)){var pr=this.Kids[ur];pr.appearanceStreamContent=Ir.createAppearanceStream(pr.optionName),pr.caption=Ir.getCA()}},Ar.prototype.createOption=function(Ir){this.Kids.length;var ur=new Nr;return ur.Parent=this,ur.optionName=Ir,this.Kids.push(ur),Qr.call(this,ur),ur};var kr=function(){Xt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Lr.CheckBox.createAppearanceStream()};Pe(kr,Xt);var tn=function(){Tt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,13))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,13):this.Ff=Ie(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,21))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,21):this.Ff=Ie(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,23))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,23):this.Ff=Ie(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,24))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,24):this.Ff=Ie(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,25))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,25):this.Ff=Ie(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,26))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,26):this.Ff=Ie(this.Ff,26)}});var ur=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(cr){Number.isInteger(cr)&&(ur=cr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Pe(tn,Tt);var qr=function(){tn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=be(this.Ff,14):this.Ff=Ie(this.Ff,14)}}),this.password=!0};Pe(qr,tn);var Lr={CheckBox:{createAppearanceStream:function(){return{N:{On:Lr.CheckBox.YesNormal},D:{On:Lr.CheckBox.YesPushDown,Off:Lr.CheckBox.OffPushDown}}},YesPushDown:function(ur){var pr=Ot(ur),cr=[],fr=fe.internal.getFont(ur.fontName,ur.fontStyle).id,xr=fe.__private__.encodeColorString(ur.color),Yr=gt(ur,ur.caption);return cr.push("0.749023 g"),cr.push("0 0 "+Ke(Lr.internal.getWidth(ur))+" "+Ke(Lr.internal.getHeight(ur))+" re"),cr.push("f"),cr.push("BMC"),cr.push("q"),cr.push("0 0 1 rg"),cr.push("/"+fr+" "+Ke(Yr.fontSize)+" Tf "+xr),cr.push("BT"),cr.push(Yr.text),cr.push("ET"),cr.push("Q"),cr.push("EMC"),pr.stream=cr.join(`
`),pr},YesNormal:function(ur){var pr=Ot(ur),cr=fe.internal.getFont(ur.fontName,ur.fontStyle).id,fr=fe.__private__.encodeColorString(ur.color),xr=[],Yr=Lr.internal.getHeight(ur),un=Lr.internal.getWidth(ur),Nn=gt(ur,ur.caption);return xr.push("1 g"),xr.push("0 0 "+Ke(un)+" "+Ke(Yr)+" re"),xr.push("f"),xr.push("q"),xr.push("0 0 1 rg"),xr.push("0 0 "+Ke(un-1)+" "+Ke(Yr-1)+" re"),xr.push("W"),xr.push("n"),xr.push("0 g"),xr.push("BT"),xr.push("/"+cr+" "+Ke(Nn.fontSize)+" Tf "+fr),xr.push(Nn.text),xr.push("ET"),xr.push("Q"),pr.stream=xr.join(`
`),pr},OffPushDown:function(ur){var pr=Ot(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+Ke(Lr.internal.getWidth(ur))+" "+Ke(Lr.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(ur){var pr={D:{Off:Lr.RadioButton.Circle.OffPushDown},N:{}};return pr.N[ur]=Lr.RadioButton.Circle.YesNormal,pr.D[ur]=Lr.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4;fr=Number((.9*fr).toFixed(5));var xr=Lr.internal.Bezier_C,Yr=Number((fr*xr).toFixed(5));return cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+Yr+" "+Yr+" "+fr+" 0 "+fr+" c"),cr.push("-"+Yr+" "+fr+" -"+fr+" "+Yr+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+Yr+" -"+Yr+" -"+fr+" 0 -"+fr+" c"),cr.push(Yr+" -"+fr+" "+fr+" -"+Yr+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
`),pr},YesPushDown:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*Lr.internal.Bezier_C).toFixed(5)),un=Number((fr*Lr.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),cr.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),cr.push("0 g"),cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+un+" "+un+" "+fr+" 0 "+fr+" c"),cr.push("-"+un+" "+fr+" -"+fr+" "+un+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+un+" -"+un+" -"+fr+" 0 -"+fr+" c"),cr.push(un+" -"+fr+" "+fr+" -"+un+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
`),pr},OffPushDown:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*Lr.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),cr.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
`),pr}},Cross:{createAppearanceStream:function(ur){var pr={D:{Off:Lr.RadioButton.Cross.OffPushDown},N:{}};return pr.N[ur]=Lr.RadioButton.Cross.YesNormal,pr.D[ur]=Lr.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.calculateCross(ur);return cr.push("q"),cr.push("1 1 "+Ke(Lr.internal.getWidth(ur)-2)+" "+Ke(Lr.internal.getHeight(ur)-2)+" re"),cr.push("W"),cr.push("n"),cr.push(Ke(fr.x1.x)+" "+Ke(fr.x1.y)+" m"),cr.push(Ke(fr.x2.x)+" "+Ke(fr.x2.y)+" l"),cr.push(Ke(fr.x4.x)+" "+Ke(fr.x4.y)+" m"),cr.push(Ke(fr.x3.x)+" "+Ke(fr.x3.y)+" l"),cr.push("s"),cr.push("Q"),pr.stream=cr.join(`
`),pr},YesPushDown:function(ur){var pr=Ot(ur),cr=Lr.internal.calculateCross(ur),fr=[];return fr.push("0.749023 g"),fr.push("0 0 "+Ke(Lr.internal.getWidth(ur))+" "+Ke(Lr.internal.getHeight(ur))+" re"),fr.push("f"),fr.push("q"),fr.push("1 1 "+Ke(Lr.internal.getWidth(ur)-2)+" "+Ke(Lr.internal.getHeight(ur)-2)+" re"),fr.push("W"),fr.push("n"),fr.push(Ke(cr.x1.x)+" "+Ke(cr.x1.y)+" m"),fr.push(Ke(cr.x2.x)+" "+Ke(cr.x2.y)+" l"),fr.push(Ke(cr.x4.x)+" "+Ke(cr.x4.y)+" m"),fr.push(Ke(cr.x3.x)+" "+Ke(cr.x3.y)+" l"),fr.push("s"),fr.push("Q"),pr.stream=fr.join(`
`),pr},OffPushDown:function(ur){var pr=Ot(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+Ke(Lr.internal.getWidth(ur))+" "+Ke(Lr.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
`),pr}}},createDefaultAppearanceStream:function(ur){var pr=fe.internal.getFont(ur.fontName,ur.fontStyle).id,cr=fe.__private__.encodeColorString(ur.color);return"/"+pr+" "+ur.fontSize+" Tf "+cr}};Lr.internal={Bezier_C:.551915024494,calculateCross:function(ur){var pr=Lr.internal.getWidth(ur),cr=Lr.internal.getHeight(ur),fr=Math.min(pr,cr);return{x1:{x:(pr-fr)/2,y:(cr-fr)/2+fr},x2:{x:(pr-fr)/2+fr,y:(cr-fr)/2},x3:{x:(pr-fr)/2,y:(cr-fr)/2},x4:{x:(pr-fr)/2+fr,y:(cr-fr)/2+fr}}}},Lr.internal.getWidth=function(Ir){var ur=0;return m(Ir)==="object"&&(ur=nt(Ir.Rect[2])),ur},Lr.internal.getHeight=function(Ir){var ur=0;return m(Ir)==="object"&&(ur=nt(Ir.Rect[3])),ur};var Qr=Ae.addField=function(Ir){if(er.call(this),!(Ir instanceof Tt))throw new Error("Invalid argument passed to jsPDF.addField.");return function(ur){fe.internal.acroformPlugin.printedOut&&(fe.internal.acroformPlugin.printedOut=!1,fe.internal.acroformPlugin.acroFormDictionaryRoot=null),fe.internal.acroformPlugin.acroFormDictionaryRoot||er.call(fe),fe.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ur)}.call(this,Ir),Ir.page=fe.internal.getCurrentPageInfo().pageNumber,this};Ae.addButton=function(Ir){if(Ir instanceof Xt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Qr.call(this,Ir)},Ae.addTextField=function(Ir){if(Ir instanceof tn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Qr.call(this,Ir)},Ae.addChoiceField=function(Ir){if(Ir instanceof ft==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Qr.call(this,Ir)},m(ve)=="object"&&ve.ChoiceField===void 0&&ve.ListBox===void 0&&ve.ComboBox===void 0&&ve.EditBox===void 0&&ve.Button===void 0&&ve.PushButton===void 0&&ve.RadioButton===void 0&&ve.CheckBox===void 0&&ve.TextField===void 0&&ve.PasswordField===void 0?(ve.ChoiceField=ft,ve.ListBox=Ht,ve.ComboBox=kt,ve.EditBox=ir,ve.Button=Xt,ve.PushButton=mr,ve.RadioButton=Ar,ve.CheckBox=kr,ve.TextField=tn,ve.PasswordField=qr,ve.AcroForm={Appearance:Lr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),Ae.AcroFormChoiceField=ft,Ae.AcroFormListBox=Ht,Ae.AcroFormComboBox=kt,Ae.AcroFormEditBox=ir,Ae.AcroFormButton=Xt,Ae.AcroFormPushButton=mr,Ae.AcroFormRadioButton=Ar,Ae.AcroFormCheckBox=kr,Ae.AcroFormTextField=tn,Ae.AcroFormPasswordField=qr,Ae.AcroFormAppearance=Lr,Ae.AcroForm={ChoiceField:ft,ListBox:Ht,ComboBox:kt,EditBox:ir,Button:Xt,PushButton:mr,RadioButton:Ar,CheckBox:kr,TextField:tn,PasswordField:qr,Appearance:Lr}})((window.tmp=vt).API,typeof window!="undefined"&&window||typeof g!="undefined"&&g),function(Ae){var ve="addImage_",fe={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},ue=Ae.getImageFileTypeByImageData=function(ne,he){var Q,te;he=he||"UNKNOWN";var be,Ie,Re,$e="UNKNOWN";for(Re in Ae.isArrayBufferView(ne)&&(ne=Ae.arrayBufferToBinaryString(ne)),fe)for(be=fe[Re],Q=0;Q<be.length;Q+=1){for(Ie=!0,te=0;te<be[Q].length;te+=1)if(be[Q][te]!==void 0&&be[Q][te]!==ne.charCodeAt(te)){Ie=!1;break}if(Ie===!0){$e=Re;break}}return $e==="UNKNOWN"&&he!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+he+'".'),$e=he),$e},Ne=function ne(he){for(var Q=this.internal.newObject(),te=this.internal.write,be=this.internal.putStream,Ie=(0,this.internal.getFilters)();Ie.indexOf("FlateEncode")!==-1;)Ie.splice(Ie.indexOf("FlateEncode"),1);he.n=Q;var Re=[];if(Re.push({key:"Type",value:"/XObject"}),Re.push({key:"Subtype",value:"/Image"}),Re.push({key:"Width",value:he.w}),Re.push({key:"Height",value:he.h}),he.cs===this.color_spaces.INDEXED?Re.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(he.pal.length/3-1)+" "+("smask"in he?Q+2:Q+1)+" 0 R]"}):(Re.push({key:"ColorSpace",value:"/"+he.cs}),he.cs===this.color_spaces.DEVICE_CMYK&&Re.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Re.push({key:"BitsPerComponent",value:he.bpc}),"dp"in he&&Re.push({key:"DecodeParms",value:"<<"+he.dp+">>"}),"trns"in he&&he.trns.constructor==Array){for(var $e="",gt=0,Wt=he.trns.length;gt<Wt;gt++)$e+=he.trns[gt]+" "+he.trns[gt]+" ";Re.push({key:"Mask",value:"["+$e+"]"})}"smask"in he&&Re.push({key:"SMask",value:Q+1+" 0 R"});var $t=he.f!==void 0?["/"+he.f]:void 0;if(be({data:he.data,additionalKeyValues:Re,alreadyAppliedFilters:$t}),te("endobj"),"smask"in he){var Dt="/Predictor "+he.p+" /Colors 1 /BitsPerComponent "+he.bpc+" /Columns "+he.w,Kt={w:he.w,h:he.h,cs:"DeviceGray",bpc:he.bpc,dp:Dt,data:he.smask};"f"in he&&(Kt.f=he.f),ne.call(this,Kt)}he.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),be({data:this.arrayBufferToBinaryString(new Uint8Array(he.pal))}),te("endobj"))},je=function(){var he=this.internal.collections[ve+"images"];for(var Q in he)Ne.call(this,he[Q])},Ke=function(){var he,Q=this.internal.collections[ve+"images"],te=this.internal.write;for(var be in Q)te("/I"+(he=Q[be]).i,he.n,"0","R")},Ye=function(he){return typeof Ae["process"+he.toUpperCase()]=="function"},Pe=function(he){return m(he)==="object"&&he.nodeType===1},nt=function(he,Q){if(he.nodeName==="IMG"&&he.hasAttribute("src")){var te=""+he.getAttribute("src");if(te.indexOf("data:image/")===0)return unescape(te);var be=Ae.loadFile(te);if(be!==void 0)return btoa(be)}if(he.nodeName==="CANVAS"){var Ie=he;return he.toDataURL("image/jpeg",1)}(Ie=document.createElement("canvas")).width=he.clientWidth||he.width,Ie.height=he.clientHeight||he.height;var Re=Ie.getContext("2d");if(!Re)throw"addImage requires canvas to be supported by browser.";return Re.drawImage(he,0,0,Ie.width,Ie.height),Ie.toDataURL((""+Q).toLowerCase()=="png"?"image/png":"image/jpeg")},At=function(he,Q){var te;if(Q){for(var be in Q)if(he===Q[be].alias){te=Q[be];break}}return te};Ae.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"},Ae.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"},Ae.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Ae.sHashCode=function(ne){var he,Q=0;if((ne=ne||"").length===0)return Q;for(he=0;he<ne.length;he++)Q=(Q<<5)-Q+ne.charCodeAt(he),Q|=0;return Q},Ae.isString=function(ne){return typeof ne=="string"},Ae.validateStringAsBase64=function(ne){(ne=ne||"").toString().trim();var he=!0;return ne.length===0&&(he=!1),ne.length%4!=0&&(he=!1),/^[A-Za-z0-9+\/]+$/.test(ne.substr(0,ne.length-2))===!1&&(he=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(ne.substr(-2))===!1&&(he=!1),he},Ae.extractInfoFromBase64DataURI=function(ne){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(ne)},Ae.extractImageFromDataUrl=function(ne){var he=(ne=ne||"").split("base64,"),Q=null;if(he.length===2){var te=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(he[0]);Array.isArray(te)&&(Q={mimeType:te[1],charset:te[2],data:he[1]})}return Q},Ae.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},Ae.isArrayBuffer=function(ne){return!!this.supportsArrayBuffer()&&ne instanceof ArrayBuffer},Ae.isArrayBufferView=function(ne){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(ne instanceof Int8Array||ne instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&ne instanceof Uint8ClampedArray||ne instanceof Int16Array||ne instanceof Uint16Array||ne instanceof Int32Array||ne instanceof Uint32Array||ne instanceof Float32Array||ne instanceof Float64Array)},Ae.binaryStringToUint8Array=function(ne){for(var he=ne.length,Q=new Uint8Array(he),te=0;te<he;te++)Q[te]=ne.charCodeAt(te);return Q},Ae.arrayBufferToBinaryString=function(ne){if(typeof atob=="function")return atob(this.arrayBufferToBase64(ne))},Ae.arrayBufferToBase64=function(ne){for(var he,Q="",te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",be=new Uint8Array(ne),Ie=be.byteLength,Re=Ie%3,$e=Ie-Re,gt=0;gt<$e;gt+=3)Q+=te[(16515072&(he=be[gt]<<16|be[gt+1]<<8|be[gt+2]))>>18]+te[(258048&he)>>12]+te[(4032&he)>>6]+te[63&he];return Re==1?Q+=te[(252&(he=be[$e]))>>2]+te[(3&he)<<4]+"==":Re==2&&(Q+=te[(64512&(he=be[$e]<<8|be[$e+1]))>>10]+te[(1008&he)>>4]+te[(15&he)<<2]+"="),Q},Ae.createImageInfo=function(ne,he,Q,te,be,Ie,Re,$e,gt,Wt,$t,Dt,Kt){var Gt={alias:$e,w:he,h:Q,cs:te,bpc:be,i:Re,data:ne};return Ie&&(Gt.f=Ie),gt&&(Gt.dp=gt),Wt&&(Gt.trns=Wt),$t&&(Gt.pal=$t),Dt&&(Gt.smask=Dt),Kt&&(Gt.p=Kt),Gt},Ae.addImage=function(ne,he,Q,te,be,Ie,Re,$e,gt){var Wt="";if(typeof he!="string"){var $t=Ie;Ie=be,be=te,te=Q,Q=he,he=$t}if(m(ne)==="object"&&!Pe(ne)&&"imageData"in ne){var Dt=ne;ne=Dt.imageData,he=Dt.format||he||"UNKNOWN",Q=Dt.x||Q||0,te=Dt.y||te||0,be=Dt.w||be,Ie=Dt.h||Ie,Re=Dt.alias||Re,$e=Dt.compression||$e,gt=Dt.rotation||Dt.angle||gt}var Kt=this.internal.getFilters();if($e===void 0&&Kt.indexOf("FlateEncode")!==-1&&($e="SLOW"),typeof ne=="string"&&(ne=unescape(ne)),isNaN(Q)||isNaN(te))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Gt,Qt,Mt,dr,er,st,xt,ut=function(){var pt=this.internal.collections[ve+"images"];return pt||(this.internal.collections[ve+"images"]=pt={},this.internal.events.subscribe("putResources",je),this.internal.events.subscribe("putXobjectDict",Ke)),pt}.call(this);if(!((Gt=At(ne,ut))||(Pe(ne)&&(ne=nt(ne,he)),((xt=Re)==null||xt.length===0)&&(Re=typeof(st=ne)=="string"?Ae.sHashCode(st):Ae.isArrayBufferView(st)?Ae.sHashCode(Ae.arrayBufferToBinaryString(st)):null),Gt=At(Re,ut)))){if(this.isString(ne)&&((Wt=this.convertStringToImageData(ne))!==""||(Wt=Ae.loadFile(ne))!==void 0)&&(ne=Wt),he=this.getImageFileTypeByImageData(ne,he),!Ye(he))throw new Error("addImage does not support files of type '"+he+"', please ensure that a plugin for '"+he+"' support is added.");if(this.supportsArrayBuffer()&&(ne instanceof Uint8Array||(Qt=ne,ne=this.binaryStringToUint8Array(ne))),!(Gt=this["process"+he.toUpperCase()](ne,(er=0,(dr=ut)&&(er=Object.keys?Object.keys(dr).length:function(pt){var _t=0;for(var Tt in pt)pt.hasOwnProperty(Tt)&&_t++;return _t}(dr)),er),Re,((Mt=$e)&&typeof Mt=="string"&&(Mt=Mt.toUpperCase()),Mt in Ae.image_compression?Mt:Ae.image_compression.NONE),Qt)))throw new Error("An unknown error occurred whilst processing the image")}return function(pt,_t,Tt,ft,Ht,kt,ir,Xt){var mr=function(Qr,Ir,ur){return Qr||Ir||(Ir=Qr=-96),Qr<0&&(Qr=-1*ur.w*72/Qr/this.internal.scaleFactor),Ir<0&&(Ir=-1*ur.h*72/Ir/this.internal.scaleFactor),Qr===0&&(Qr=Ir*ur.w/ur.h),Ir===0&&(Ir=Qr*ur.h/ur.w),[Qr,Ir]}.call(this,Tt,ft,Ht),Ar=this.internal.getCoordinateString,Nr=this.internal.getVerticalCoordinateString;if(Tt=mr[0],ft=mr[1],ir[kt]=Ht,Xt){Xt*=Math.PI/180;var kr=Math.cos(Xt),tn=Math.sin(Xt),qr=function(Ir){return Ir.toFixed(4)},Lr=[qr(kr),qr(tn),qr(-1*tn),qr(kr),0,0,"cm"]}this.internal.write("q"),Xt?(this.internal.write([1,"0","0",1,Ar(pt),Nr(_t+ft),"cm"].join(" ")),this.internal.write(Lr.join(" ")),this.internal.write([Ar(Tt),"0","0",Ar(ft),"0","0","cm"].join(" "))):this.internal.write([Ar(Tt),"0","0",Ar(ft),Ar(pt),Nr(_t+ft),"cm"].join(" ")),this.internal.write("/I"+Ht.i+" Do"),this.internal.write("Q")}.call(this,Q,te,be,Ie,Gt,Gt.i,ut,gt),this},Ae.convertStringToImageData=function(ne){var he,Q="";if(this.isString(ne)){var te;he=(te=this.extractImageFromDataUrl(ne))!==null?te.data:ne;try{Q=atob(he)}catch(be){throw Ae.validateStringAsBase64(he)?new Error("atob-Error in jsPDF.convertStringToImageData "+be.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return Q};var Ot=function(he,Q){return he.subarray(Q,Q+5)};Ae.processJPEG=function(ne,he,Q,te,be,Ie){var Re,$e=this.decode.DCT_DECODE;if(!this.isString(ne)&&!this.isArrayBuffer(ne)&&!this.isArrayBufferView(ne))return null;if(this.isString(ne)&&(Re=function(gt){var Wt;if(ue(gt)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var $t=256*gt.charCodeAt(4)+gt.charCodeAt(5),Dt=4,Kt=gt.length;Dt<Kt;){if(Dt+=$t,gt.charCodeAt(Dt)!==255)throw new Error("getJpegSize could not find the size of the image");if(gt.charCodeAt(Dt+1)===192||gt.charCodeAt(Dt+1)===193||gt.charCodeAt(Dt+1)===194||gt.charCodeAt(Dt+1)===195||gt.charCodeAt(Dt+1)===196||gt.charCodeAt(Dt+1)===197||gt.charCodeAt(Dt+1)===198||gt.charCodeAt(Dt+1)===199)return Wt=256*gt.charCodeAt(Dt+5)+gt.charCodeAt(Dt+6),[256*gt.charCodeAt(Dt+7)+gt.charCodeAt(Dt+8),Wt,gt.charCodeAt(Dt+9)];Dt+=2,$t=256*gt.charCodeAt(Dt)+gt.charCodeAt(Dt+1)}}(ne)),this.isArrayBuffer(ne)&&(ne=new Uint8Array(ne)),this.isArrayBufferView(ne)&&(Re=function(gt){if((gt[0]<<8|gt[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Wt,$t=gt.length,Dt=(gt[4]<<8)+gt[5],Kt=4;Kt<$t;){if(Dt=((Wt=Ot(gt,Kt+=Dt))[2]<<8)+Wt[3],(Wt[1]===192||Wt[1]===194)&&Wt[0]===255&&7<Dt)return{width:((Wt=Ot(gt,Kt+5))[2]<<8)+Wt[3],height:(Wt[0]<<8)+Wt[1],numcomponents:Wt[4]};Kt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(ne),ne=be||this.arrayBufferToBinaryString(ne)),Ie===void 0)switch(Re.numcomponents){case 1:Ie=this.color_spaces.DEVICE_GRAY;break;case 4:Ie=this.color_spaces.DEVICE_CMYK;break;default:case 3:Ie=this.color_spaces.DEVICE_RGB}return this.createImageInfo(ne,Re.width,Re.height,Ie,8,$e,he,Q)},Ae.processJPG=function(){return this.processJPEG.apply(this,arguments)},Ae.getImageProperties=function(ne){var he,Q,te="";if(Pe(ne)&&(ne=nt(ne)),this.isString(ne)&&((te=this.convertStringToImageData(ne))!==""||(te=Ae.loadFile(ne))!==void 0)&&(ne=te),Q=this.getImageFileTypeByImageData(ne),!Ye(Q))throw new Error("addImage does not support files of type '"+Q+"', please ensure that a plugin for '"+Q+"' support is added.");if(this.supportsArrayBuffer()&&(ne instanceof Uint8Array||(ne=this.binaryStringToUint8Array(ne))),!(he=this["process"+Q.toUpperCase()](ne)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:Q,width:he.w,height:he.h,colorSpace:he.cs,compressionMode:he.f,bitsPerComponent:he.bpc}}}(vt.API),v=vt.API,vt.API.events.push(["addPage",function(Ae){this.internal.getPageInfo(Ae.pageNumber).pageContext.annotations=[]}]),v.events.push(["putPage",function(Ae){for(var ve=this.internal.getPageInfoByObjId(Ae.objId),fe=Ae.pageContext.annotations,ue=function($e){if($e!==void 0&&$e!="")return!0},Ne=!1,je=0;je<fe.length&&!Ne;je++)switch((Pe=fe[je]).type){case"link":if(ue(Pe.options.url)||ue(Pe.options.pageNumber)){Ne=!0;break}case"reference":case"text":case"freetext":Ne=!0}if(Ne!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var Ke=this.internal.getCoordinateString,Ye=this.internal.getVerticalCoordinateString;for(je=0;je<fe.length;je++){var Pe;switch((Pe=fe[je]).type){case"reference":this.internal.write(" "+Pe.object.objId+" 0 R ");break;case"text":var nt=this.internal.newAdditionalObject(),At=this.internal.newAdditionalObject(),Ot=Pe.title||"Note";be="<</Type /Annot /Subtype /Text "+(he="/Rect ["+Ke(Pe.bounds.x)+" "+Ye(Pe.bounds.y+Pe.bounds.h)+" "+Ke(Pe.bounds.x+Pe.bounds.w)+" "+Ye(Pe.bounds.y)+"] ")+"/Contents ("+Pe.contents+")",be+=" /Popup "+At.objId+" 0 R",be+=" /P "+ve.objId+" 0 R",be+=" /T ("+Ot+") >>",nt.content=be;var ne=nt.objId+" 0 R";be="<</Type /Annot /Subtype /Popup "+(he="/Rect ["+Ke(Pe.bounds.x+30)+" "+Ye(Pe.bounds.y+Pe.bounds.h)+" "+Ke(Pe.bounds.x+Pe.bounds.w+30)+" "+Ye(Pe.bounds.y)+"] ")+" /Parent "+ne,Pe.open&&(be+=" /Open true"),be+=" >>",At.content=be,this.internal.write(nt.objId,"0 R",At.objId,"0 R");break;case"freetext":var he="/Rect ["+Ke(Pe.bounds.x)+" "+Ye(Pe.bounds.y)+" "+Ke(Pe.bounds.x+Pe.bounds.w)+" "+Ye(Pe.bounds.y+Pe.bounds.h)+"] ",Q=Pe.color||"#000000";be="<</Type /Annot /Subtype /FreeText "+he+"/Contents ("+Pe.contents+")",be+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Q+")",be+=" /Border [0 0 0]",be+=" >>",this.internal.write(be);break;case"link":if(Pe.options.name){var te=this.annotations._nameMap[Pe.options.name];Pe.options.pageNumber=te.page,Pe.options.top=te.y}else Pe.options.top||(Pe.options.top=0);he="/Rect ["+Ke(Pe.x)+" "+Ye(Pe.y)+" "+Ke(Pe.x+Pe.w)+" "+Ye(Pe.y+Pe.h)+"] ";var be="";if(Pe.options.url)be="<</Type /Annot /Subtype /Link "+he+"/Border [0 0 0] /A <</S /URI /URI ("+Pe.options.url+") >>";else if(Pe.options.pageNumber)switch(be="<</Type /Annot /Subtype /Link "+he+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Pe.options.pageNumber).objId+" 0 R",Pe.options.magFactor=Pe.options.magFactor||"XYZ",Pe.options.magFactor){case"Fit":be+=" /Fit]";break;case"FitH":be+=" /FitH "+Pe.options.top+"]";break;case"FitV":Pe.options.left=Pe.options.left||0,be+=" /FitV "+Pe.options.left+"]";break;case"XYZ":default:var Ie=Ye(Pe.options.top);Pe.options.left=Pe.options.left||0,Pe.options.zoom===void 0&&(Pe.options.zoom=0),be+=" /XYZ "+Pe.options.left+" "+Ie+" "+Pe.options.zoom+"]"}be!=""&&(be+=" >>",this.internal.write(be))}}this.internal.write("]")}}]),v.createAnnotation=function(Ae){var ve=this.internal.getCurrentPageInfo();switch(Ae.type){case"link":this.link(Ae.bounds.x,Ae.bounds.y,Ae.bounds.w,Ae.bounds.h,Ae);break;case"text":case"freetext":ve.pageContext.annotations.push(Ae)}},v.link=function(Ae,ve,fe,ue,Ne){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:Ae,y:ve,w:fe,h:ue,options:Ne,type:"link"})},v.textWithLink=function(Ae,ve,fe,ue){var Ne=this.getTextWidth(Ae),je=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(Ae,ve,fe),fe+=.2*je,this.link(ve,fe-je,Ne,je,ue),Ne},v.getTextWidth=function(Ae){var ve=this.internal.getFontSize();return this.getStringUnitWidth(Ae)*ve/this.internal.scaleFactor},function(Ae){var ve={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]},fe={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},ue={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Ne=[1570,1571,1573,1575];Ae.__arabicParser__={};var je=Ae.__arabicParser__.isInArabicSubstitutionA=function(Q){return ve[Q.charCodeAt(0)]!==void 0},Ke=Ae.__arabicParser__.isArabicLetter=function(Q){return typeof Q=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Q)},Ye=Ae.__arabicParser__.isArabicEndLetter=function(Q){return Ke(Q)&&je(Q)&&ve[Q.charCodeAt(0)].length<=2},Pe=Ae.__arabicParser__.isArabicAlfLetter=function(Q){return Ke(Q)&&0<=Ne.indexOf(Q.charCodeAt(0))},nt=(Ae.__arabicParser__.arabicLetterHasIsolatedForm=function(Q){return Ke(Q)&&je(Q)&&1<=ve[Q.charCodeAt(0)].length},Ae.__arabicParser__.arabicLetterHasFinalForm=function(Q){return Ke(Q)&&je(Q)&&2<=ve[Q.charCodeAt(0)].length}),At=(Ae.__arabicParser__.arabicLetterHasInitialForm=function(Q){return Ke(Q)&&je(Q)&&3<=ve[Q.charCodeAt(0)].length},Ae.__arabicParser__.arabicLetterHasMedialForm=function(Q){return Ke(Q)&&je(Q)&&ve[Q.charCodeAt(0)].length==4}),Ot=Ae.__arabicParser__.resolveLigatures=function(Q){var te=0,be=fe,Ie=0,Re="",$e=0;for(te=0;te<Q.length;te+=1)be[Q.charCodeAt(te)]!==void 0?($e++,typeof(be=be[Q.charCodeAt(te)])=="number"&&(Ie=(Ie=ne(Q.charAt(te),Q.charAt(te-$e),Q.charAt(te+1)))!==-1?Ie:0,Re+=String.fromCharCode(be),be=fe,$e=0),te===Q.length-1&&(be=fe,Re+=Q.charAt(te-($e-1)),te-=$e-1,$e=0)):(be=fe,Re+=Q.charAt(te-$e),te-=$e,$e=0);return Re},ne=(Ae.__arabicParser__.isArabicDiacritic=function(Q){return Q!==void 0&&ue[Q.charCodeAt(0)]!==void 0},Ae.__arabicParser__.getCorrectForm=function(Q,te,be){return Ke(Q)?je(Q)===!1?-1:!nt(Q)||!Ke(te)&&!Ke(be)||!Ke(be)&&Ye(te)||Ye(Q)&&!Ke(te)||Ye(Q)&&Pe(te)||Ye(Q)&&Ye(te)?0:At(Q)&&Ke(te)&&!Ye(te)&&Ke(be)&&nt(be)?3:Ye(Q)||!Ke(be)?1:2:-1}),he=Ae.__arabicParser__.processArabic=Ae.processArabic=function(Q){var te=0,be=0,Ie=0,Re="",$e="",gt="",Wt=(Q=Q||"").split("\\s+"),$t=[];for(te=0;te<Wt.length;te+=1){for($t.push(""),be=0;be<Wt[te].length;be+=1)Re=Wt[te][be],$e=Wt[te][be-1],gt=Wt[te][be+1],Ke(Re)?(Ie=ne(Re,$e,gt),$t[te]+=Ie!==-1?String.fromCharCode(ve[Re.charCodeAt(0)][Ie]):Re):$t[te]+=Re;$t[te]=Ot($t[te])}return $t.join(" ")};Ae.events.push(["preProcessText",function(Q){var te=Q.text,be=(Q.x,Q.y,Q.options||{}),Ie=(Q.mutex,be.lang,[]);if(Object.prototype.toString.call(te)==="[object Array]"){var Re=0;for(Ie=[],Re=0;Re<te.length;Re+=1)Object.prototype.toString.call(te[Re])==="[object Array]"?Ie.push([he(te[Re][0]),te[Re][1],te[Re][2]]):Ie.push([he(te[Re])]);Q.text=Ie}else Q.text=he(te)}])}(vt.API),vt.API.autoPrint=function(Ae){var ve;switch((Ae=Ae||{}).variant=Ae.variant||"non-conform",Ae.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){ve=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 "+ve+" 0 R")})}return this},h=vt.API,(c=function(){var ve=void 0;Object.defineProperty(this,"pdf",{get:function(){return ve},set:function(Ye){ve=Ye}});var fe=150;Object.defineProperty(this,"width",{get:function(){return fe},set:function(Ye){fe=isNaN(Ye)||Number.isInteger(Ye)===!1||Ye<0?150:Ye,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=fe+1)}});var ue=300;Object.defineProperty(this,"height",{get:function(){return ue},set:function(Ye){ue=isNaN(Ye)||Number.isInteger(Ye)===!1||Ye<0?300:Ye,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ue+1)}});var Ne=[];Object.defineProperty(this,"childNodes",{get:function(){return Ne},set:function(Ye){Ne=Ye}});var je={};Object.defineProperty(this,"style",{get:function(){return je},set:function(Ye){je=Ye}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(Ae,ve){var fe;if((Ae=Ae||"2d")!=="2d")return null;for(fe in ve)this.pdf.context2d.hasOwnProperty(fe)&&(this.pdf.context2d[fe]=ve[fe]);return(this.pdf.context2d._canvas=this).pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},h.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}]),o=vt.API,n={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,u=function(ve,fe,ue,Ne,je){n={x:ve,y:fe,w:ue,h:Ne,ln:je}},r=function(){return n},l={left:0,top:0,bottom:0},o.setHeaderFunction=function(Ae){i=Ae},o.getTextDimensions=function(Ae,ve){var fe=this.table_font_size||this.internal.getFontSize(),ue=(this.internal.getFont().fontStyle,(ve=ve||{}).scaleFactor||this.internal.scaleFactor),Ne=0,je=0,Ke=0;if(typeof Ae=="string")(Ne=this.getStringUnitWidth(Ae)*fe)!=0&&(je=1);else{if(Object.prototype.toString.call(Ae)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Ye=0;Ye<Ae.length;Ye++)Ne<(Ke=this.getStringUnitWidth(Ae[Ye])*fe)&&(Ne=Ke);Ne!==0&&(je=Ae.length)}return{w:Ne/=ue,h:Math.max((je*fe*this.getLineHeightFactor()-fe*(this.getLineHeightFactor()-1))/ue,0)}},o.cellAddPage=function(){var Ae=this.margins||l;this.addPage(),u(Ae.left,Ae.top,void 0,void 0),a+=1},o.cellInitialize=function(){n={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1},o.cell=function(Ae,ve,fe,ue,Ne,je,Ke){var Ye=r(),Pe=!1;if(Ye.ln!==void 0)if(Ye.ln===je)Ae=Ye.x+Ye.w,ve=Ye.y;else{var nt=this.margins||l;Ye.y+Ye.h+ue+13>=this.internal.pageSize.getHeight()-nt.bottom&&(this.cellAddPage(),Pe=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(je,!0)),ve=r().y+r().h,Pe&&(ve=23)}if(Ne[0]!==void 0)if(this.printingHeaderRow?this.rect(Ae,ve,fe,ue,"FD"):this.rect(Ae,ve,fe,ue),Ke==="right"){Ne instanceof Array||(Ne=[Ne]);for(var At=0;At<Ne.length;At++){var Ot=Ne[At],ne=this.getStringUnitWidth(Ot)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(Ot,Ae+fe-ne-3,ve+this.internal.getLineHeight()*(At+1))}}else this.text(Ne,Ae+3,ve+this.internal.getLineHeight());return u(Ae,ve,fe,ue,je),this},o.arrayMax=function(Ae,ve){var fe,ue,Ne,je=Ae[0];for(fe=0,ue=Ae.length;fe<ue;fe+=1)Ne=Ae[fe],ve?ve(je,Ne)===-1&&(je=Ne):je<Ne&&(je=Ne);return je},o.table=function(Ae,ve,fe,ue,Ne){if(!fe)throw"No data for PDF table";var je,Ke,Ye,Pe,nt,At,Ot,ne,he,Q,te=[],be=[],Ie={},Re={},$e=[],gt=[],Wt=!1,$t=!0,Dt=12,Kt=l;if(Kt.width=this.internal.pageSize.getWidth(),Ne&&(Ne.autoSize===!0&&(Wt=!0),Ne.printHeaders===!1&&($t=!1),Ne.fontSize&&(Dt=Ne.fontSize),Ne.css&&Ne.css["font-size"]!==void 0&&(Dt=16*Ne.css["font-size"]),Ne.margins&&(Kt=Ne.margins)),this.lnMod=0,n={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,this.printHeaders=$t,this.margins=Kt,this.setFontSize(Dt),this.table_font_size=Dt,ue==null)te=Object.keys(fe[0]);else if(ue[0]&&typeof ue[0]!="string")for(Ke=0,Ye=ue.length;Ke<Ye;Ke+=1)je=ue[Ke],te.push(je.name),be.push(je.prompt),Re[je.name]=je.width*(19.049976/25.4);else te=ue;if(Wt)for(Q=function(Mt){return Mt[je]},Ke=0,Ye=te.length;Ke<Ye;Ke+=1){for(Ie[je=te[Ke]]=fe.map(Q),$e.push(this.getTextDimensions(be[Ke]||je,{scaleFactor:1}).w),Ot=0,Pe=(At=Ie[je]).length;Ot<Pe;Ot+=1)nt=At[Ot],$e.push(this.getTextDimensions(nt,{scaleFactor:1}).w);Re[je]=o.arrayMax($e),$e=[]}if($t){var Gt=this.calculateLineHeight(te,Re,be.length?be:te);for(Ke=0,Ye=te.length;Ke<Ye;Ke+=1)je=te[Ke],gt.push([Ae,ve,Re[je],Gt,String(be.length?be[Ke]:je)]);this.setTableHeaderRow(gt),this.printHeaderRow(1,!1)}for(Ke=0,Ye=fe.length;Ke<Ye;Ke+=1)for(ne=fe[Ke],Gt=this.calculateLineHeight(te,Re,ne),Ot=0,he=te.length;Ot<he;Ot+=1)je=te[Ot],this.cell(Ae,ve,Re[je],Gt,ne[je],Ke+2,je.align);return this.lastCellPos=n,this.table_x=Ae,this.table_y=ve,this},o.calculateLineHeight=function(Ae,ve,fe){for(var ue,Ne=0,je=0;je<Ae.length;je++){fe[ue=Ae[je]]=this.splitTextToSize(String(fe[ue]),ve[ue]-3);var Ke=this.internal.getLineHeight()*fe[ue].length+3;Ne<Ke&&(Ne=Ke)}return Ne},o.setTableHeaderRow=function(Ae){this.tableHeaderRow=Ae},o.printHeaderRow=function(Ae,ve){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var fe,ue,Ne,je;if(this.printingHeaderRow=!0,i!==void 0){var Ke=i(this,a);u(Ke[0],Ke[1],Ke[2],Ke[3],-1)}this.setFontStyle("bold");var Ye=[];for(Ne=0,je=this.tableHeaderRow.length;Ne<je;Ne+=1)this.setFillColor(200,200,200),fe=this.tableHeaderRow[Ne],ve&&(this.margins.top=13,fe[1]=this.margins&&this.margins.top||0,Ye.push(fe)),ue=[].concat(fe),this.cell.apply(this,ue.concat(Ae));0<Ye.length&&this.setTableHeaderRow(Ye),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(Ae,ve){var fe,ue,Ne,je,Ke,Ye=function(ft){return ft=ft||{},this.isStrokeTransparent=ft.isStrokeTransparent||!1,this.strokeOpacity=ft.strokeOpacity||1,this.strokeStyle=ft.strokeStyle||"#000000",this.fillStyle=ft.fillStyle||"#000000",this.isFillTransparent=ft.isFillTransparent||!1,this.fillOpacity=ft.fillOpacity||1,this.font=ft.font||"10px sans-serif",this.textBaseline=ft.textBaseline||"alphabetic",this.textAlign=ft.textAlign||"left",this.lineWidth=ft.lineWidth||1,this.lineJoin=ft.lineJoin||"miter",this.lineCap=ft.lineCap||"butt",this.path=ft.path||[],this.transform=ft.transform!==void 0?ft.transform.clone():new _t,this.globalCompositeOperation=ft.globalCompositeOperation||"normal",this.globalAlpha=ft.globalAlpha||1,this.clip_path=ft.clip_path||[],this.currentPoint=ft.currentPoint||new ut,this.miterLimit=ft.miterLimit||10,this.lastPoint=ft.lastPoint||new ut,this.ignoreClearRect=typeof ft.ignoreClearRect!="boolean"||ft.ignoreClearRect,this};Ae.events.push(["initialized",function(){this.context2d=new Pe(this),fe=this.internal.f2,this.internal.f3,ue=this.internal.getCoordinateString,Ne=this.internal.getVerticalCoordinateString,je=this.internal.getHorizontalCoordinate,Ke=this.internal.getVerticalCoordinate}]);var Pe=function(ft){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return ft}});var Ht=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Ht},set:function(Lr){Ht=Boolean(Lr)}});var kt=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return kt},set:function(Lr){kt=Boolean(Lr)}});var ir=0;Object.defineProperty(this,"posX",{get:function(){return ir},set:function(Lr){isNaN(Lr)||(ir=Lr)}});var Xt=0;Object.defineProperty(this,"posY",{get:function(){return Xt},set:function(Lr){isNaN(Lr)||(Xt=Lr)}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(Lr){mr=Boolean(Lr)}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(Lr){Ar=Lr}});var Nr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Nr},set:function(Lr){Nr=Lr}});var kr=new Ye;Object.defineProperty(this,"ctx",{get:function(){return kr},set:function(Lr){Lr instanceof Ye&&(kr=Lr)}}),Object.defineProperty(this,"path",{get:function(){return kr.path},set:function(Lr){kr.path=Lr}});var tn=[];Object.defineProperty(this,"ctxStack",{get:function(){return tn},set:function(Lr){tn=Lr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Lr){var Qr;Qr=nt(Lr),this.ctx.fillStyle=Qr.style,this.ctx.isFillTransparent=Qr.a===0,this.ctx.fillOpacity=Qr.a,this.pdf.setFillColor(Qr.r,Qr.g,Qr.b,{a:Qr.a}),this.pdf.setTextColor(Qr.r,Qr.g,Qr.b,{a:Qr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Lr){var Qr=nt(Lr);this.ctx.strokeStyle=Qr.style,this.ctx.isStrokeTransparent=Qr.a===0,this.ctx.strokeOpacity=Qr.a,Qr.a===0?this.pdf.setDrawColor(255,255,255):(Qr.a,this.pdf.setDrawColor(Qr.r,Qr.g,Qr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Lr){["butt","round","square"].indexOf(Lr)!==-1&&(this.ctx.lineCap=Lr,this.pdf.setLineCap(Lr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Lr){isNaN(Lr)||(this.ctx.lineWidth=Lr,this.pdf.setLineWidth(Lr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Lr){["bevel","round","miter"].indexOf(Lr)!==-1&&(this.ctx.lineJoin=Lr,this.pdf.setLineJoin(Lr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Lr){isNaN(Lr)||(this.ctx.miterLimit=Lr,this.pdf.setMiterLimit(Lr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Lr){this.ctx.textBaseline=Lr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Lr){["right","end","center","left","start"].indexOf(Lr)!==-1&&(this.ctx.textAlign=Lr)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lr){var Qr;if(this.ctx.font=Lr,(Qr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(Lr))!==null){var Ir=Qr[1],ur=(Qr[2],Qr[3]),pr=Qr[4],cr=Qr[5],fr=Qr[6];pr=cr==="px"?Math.floor(parseFloat(pr)):cr==="em"?Math.floor(parseFloat(pr)*this.pdf.getFontSize()):Math.floor(parseFloat(pr)),this.pdf.setFontSize(pr);var xr="";(ur==="bold"||700<=parseInt(ur,10)||Ir==="bold")&&(xr="bold"),Ir==="italic"&&(xr+="italic"),xr.length===0&&(xr="normal");for(var Yr="",un=fr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),Nn={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},jr=0;jr<un.length;jr++){if(this.pdf.internal.getFont(un[jr],xr,{noFallback:!0,disableWarning:!0})!==void 0){Yr=un[jr];break}if(xr==="bolditalic"&&this.pdf.internal.getFont(un[jr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Yr=un[jr],xr="bold";else if(this.pdf.internal.getFont(un[jr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Yr=un[jr],xr="normal";break}}if(Yr===""){for(jr=0;jr<un.length;jr++)if(Nn[un[jr]]){Yr=Nn[un[jr]];break}}Yr=Yr===""?"Times":Yr,this.pdf.setFont(Yr,xr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Lr){this.ctx.globalCompositeOperation=Lr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Lr){this.ctx.globalAlpha=Lr}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Lr){this.ctx.ignoreClearRect=Boolean(Lr)}})};Pe.prototype.fill=function(){te.call(this,"fill",!1)},Pe.prototype.stroke=function(){te.call(this,"stroke",!1)},Pe.prototype.beginPath=function(){this.path=[{type:"begin"}]},Pe.prototype.moveTo=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Ht=this.ctx.transform.applyToPoint(new ut(Tt,ft));this.path.push({type:"mt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Tt,ft)},Pe.prototype.closePath=function(){var Tt=new ut(0,0),ft=0;for(ft=this.path.length-1;ft!==-1;ft--)if(this.path[ft].type==="begin"&&m(this.path[ft+1])==="object"&&typeof this.path[ft+1].x=="number"){Tt=new ut(this.path[ft+1].x,this.path[ft+1].y),this.path.push({type:"lt",x:Tt.x,y:Tt.y});break}m(this.path[ft+2])==="object"&&typeof this.path[ft+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[ft+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new ut(Tt.x,Tt.y)},Pe.prototype.lineTo=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Ht=this.ctx.transform.applyToPoint(new ut(Tt,ft));this.path.push({type:"lt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Ht.x,Ht.y)},Pe.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),te.call(this,null,!0)},Pe.prototype.quadraticCurveTo=function(Tt,ft,Ht,kt){if(isNaN(Ht)||isNaN(kt)||isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ir=this.ctx.transform.applyToPoint(new ut(Ht,kt)),Xt=this.ctx.transform.applyToPoint(new ut(Tt,ft));this.path.push({type:"qct",x1:Xt.x,y1:Xt.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new ut(ir.x,ir.y)},Pe.prototype.bezierCurveTo=function(Tt,ft,Ht,kt,ir,Xt){if(isNaN(ir)||isNaN(Xt)||isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var mr=this.ctx.transform.applyToPoint(new ut(ir,Xt)),Ar=this.ctx.transform.applyToPoint(new ut(Tt,ft)),Nr=this.ctx.transform.applyToPoint(new ut(Ht,kt));this.path.push({type:"bct",x1:Ar.x,y1:Ar.y,x2:Nr.x,y2:Nr.y,x:mr.x,y:mr.y}),this.ctx.lastPoint=new ut(mr.x,mr.y)},Pe.prototype.arc=function(Tt,ft,Ht,kt,ir,Xt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(kt)||isNaN(ir))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Xt=Boolean(Xt),!this.ctx.transform.isIdentity){var mr=this.ctx.transform.applyToPoint(new ut(Tt,ft));Tt=mr.x,ft=mr.y;var Ar=this.ctx.transform.applyToPoint(new ut(0,Ht)),Nr=this.ctx.transform.applyToPoint(new ut(0,0));Ht=Math.sqrt(Math.pow(Ar.x-Nr.x,2)+Math.pow(Ar.y-Nr.y,2))}Math.abs(ir-kt)>=2*Math.PI&&(kt=0,ir=2*Math.PI),this.path.push({type:"arc",x:Tt,y:ft,radius:Ht,startAngle:kt,endAngle:ir,counterclockwise:Xt})},Pe.prototype.arcTo=function(Tt,ft,Ht,kt,ir){throw new Error("arcTo not implemented.")},Pe.prototype.rect=function(Tt,ft,Ht,kt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Tt,ft),this.lineTo(Tt+Ht,ft),this.lineTo(Tt+Ht,ft+kt),this.lineTo(Tt,ft+kt),this.lineTo(Tt,ft),this.lineTo(Tt+Ht,ft),this.lineTo(Tt,ft)},Pe.prototype.fillRect=function(Tt,ft,Ht,kt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!At.call(this)){var ir={};this.lineCap!=="butt"&&(ir.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ir.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Tt,ft,Ht,kt),this.fill(),ir.hasOwnProperty("lineCap")&&(this.lineCap=ir.lineCap),ir.hasOwnProperty("lineJoin")&&(this.lineJoin=ir.lineJoin)}},Pe.prototype.strokeRect=function(Tt,ft,Ht,kt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ot.call(this)||(this.beginPath(),this.rect(Tt,ft,Ht,kt),this.stroke())},Pe.prototype.clearRect=function(Tt,ft,Ht,kt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Tt,ft,Ht,kt))},Pe.prototype.save=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ft=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("q");if(this.pdf.setPage(ft),Tt){this.ctx.fontSize=this.pdf.internal.getFontSize();var kt=new Ye(this.ctx);this.ctxStack.push(this.ctx),this.ctx=kt}},Pe.prototype.restore=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ft=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("Q");this.pdf.setPage(ft),Tt&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},Pe.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var nt=function(ft){var Ht,kt,ir,Xt;if(ft.isCanvasGradient===!0&&(ft=ft.getColor()),!ft)return{r:0,g:0,b:0,a:0,style:ft};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(ft))Xt=ir=kt=Ht=0;else{var mr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(ft);if(mr!==null)Ht=parseInt(mr[1]),kt=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=1;else if((mr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(ft))!==null)Ht=parseInt(mr[1]),kt=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=parseFloat(mr[4]);else{if(Xt=1,typeof ft=="string"&&ft.charAt(0)!=="#"){var Ar=new RGBColor(ft);ft=Ar.ok?Ar.toHex():"#000000"}ft.length===4?(Ht=ft.substring(1,2),Ht+=Ht,kt=ft.substring(2,3),kt+=kt,ir=ft.substring(3,4),ir+=ir):(Ht=ft.substring(1,3),kt=ft.substring(3,5),ir=ft.substring(5,7)),Ht=parseInt(Ht,16),kt=parseInt(kt,16),ir=parseInt(ir,16)}}return{r:Ht,g:kt,b:ir,a:Xt,style:ft}},At=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Ot=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Pe.prototype.fillText=function(Tt,ft,Ht,kt){if(isNaN(ft)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(kt=isNaN(kt)?void 0:kt,!At.call(this)){Ht=Ie.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ft,y:Ht,scale:Xt,angle:ir,align:this.textAlign,maxWidth:kt})}},Pe.prototype.strokeText=function(Tt,ft,Ht,kt){if(isNaN(ft)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Ot.call(this)){kt=isNaN(kt)?void 0:kt,Ht=Ie.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ft,y:Ht,scale:Xt,renderingMode:"stroke",angle:ir,align:this.textAlign,maxWidth:kt})}},Pe.prototype.measureText=function(Tt){if(typeof Tt!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var ft=this.pdf,Ht=this.pdf.internal.scaleFactor,kt=ft.internal.getFontSize(),ir=ft.getStringUnitWidth(Tt)*kt/ft.internal.scaleFactor;return new function(Xt){var mr=(Xt=Xt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mr}}),this}({width:ir*=Math.round(96*Ht/72*1e4)/1e4})},Pe.prototype.scale=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Ht=new _t(Tt,0,0,ft,0,0);this.ctx.transform=this.ctx.transform.multiply(Ht)},Pe.prototype.rotate=function(Tt){if(isNaN(Tt))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var ft=new _t(Math.cos(Tt),Math.sin(Tt),-Math.sin(Tt),Math.cos(Tt),0,0);this.ctx.transform=this.ctx.transform.multiply(ft)},Pe.prototype.translate=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Ht=new _t(1,0,0,1,Tt,ft);this.ctx.transform=this.ctx.transform.multiply(Ht)},Pe.prototype.transform=function(Tt,ft,Ht,kt,ir,Xt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(kt)||isNaN(ir)||isNaN(Xt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var mr=new _t(Tt,ft,Ht,kt,ir,Xt);this.ctx.transform=this.ctx.transform.multiply(mr)},Pe.prototype.setTransform=function(Tt,ft,Ht,kt,ir,Xt){Tt=isNaN(Tt)?1:Tt,ft=isNaN(ft)?0:ft,Ht=isNaN(Ht)?0:Ht,kt=isNaN(kt)?1:kt,ir=isNaN(ir)?0:ir,Xt=isNaN(Xt)?0:Xt,this.ctx.transform=new _t(Tt,ft,Ht,kt,ir,Xt)},Pe.prototype.drawImage=function(Tt,ft,Ht,kt,ir,Xt,mr,Ar,Nr){var kr=this.pdf.getImageProperties(Tt),tn=1,qr=1,Lr=1,Qr=1;kt!==void 0&&Ar!==void 0&&(Lr=Ar/kt,Qr=Nr/ir,tn=kr.width/kt*Ar/kt,qr=kr.height/ir*Nr/ir),Xt===void 0&&(Xt=ft,mr=Ht,Ht=ft=0),kt!==void 0&&Ar===void 0&&(Ar=kt,Nr=ir),kt===void 0&&Ar===void 0&&(Ar=kr.width,Nr=kr.height);var Ir=this.ctx.transform.decompose(),ur=dr(Ir.rotate.shx);Ir.scale.sx,Ir.scale.sy;for(var pr,cr=new _t,fr=((cr=(cr=(cr=cr.multiply(Ir.translate)).multiply(Ir.skew)).multiply(Ir.scale)).applyToPoint(new ut(Ar,Nr)),cr.applyToRectangle(new pt(Xt-ft*Lr,mr-Ht*Qr,kt*tn,ir*qr))),xr=ne.call(this,fr),Yr=[],un=0;un<xr.length;un+=1)Yr.indexOf(xr[un])===-1&&Yr.push(xr[un]);if(Yr.sort(),this.autoPaging)for(var Nn=Yr[0],jr=Yr[Yr.length-1],Tn=Nn;Tn<jr+1;Tn++){if(this.pdf.setPage(Tn),this.ctx.clip_path.length!==0){var gn=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Q(pr,this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY),be.call(this,"fill",!0),this.path=gn}var Pn=JSON.parse(JSON.stringify(fr));Pn=Q([Pn],this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY)[0],this.pdf.addImage(Tt,"jpg",Pn.x,Pn.y,Pn.w,Pn.h,null,null,ur)}else this.pdf.addImage(Tt,"jpg",fr.x,fr.y,fr.w,fr.h,null,null,ur)};var ne=function(ft,Ht,kt){var ir=[];switch(Ht=Ht||this.pdf.internal.pageSize.width,kt=kt||this.pdf.internal.pageSize.height,ft.type){default:case"mt":case"lt":ir.push(Math.floor((ft.y+this.posY)/kt)+1);break;case"arc":ir.push(Math.floor((ft.y+this.posY-ft.radius)/kt)+1),ir.push(Math.floor((ft.y+this.posY+ft.radius)/kt)+1);break;case"qct":var Xt=st(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ft.x1,ft.y1,ft.x,ft.y);ir.push(Math.floor(Xt.y/kt)+1),ir.push(Math.floor((Xt.y+Xt.h)/kt)+1);break;case"bct":var mr=xt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ft.x1,ft.y1,ft.x2,ft.y2,ft.x,ft.y);ir.push(Math.floor(mr.y/kt)+1),ir.push(Math.floor((mr.y+mr.h)/kt)+1);break;case"rect":ir.push(Math.floor((ft.y+this.posY)/kt)+1),ir.push(Math.floor((ft.y+ft.h+this.posY)/kt)+1)}for(var Ar=0;Ar<ir.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<ir[Ar];)he.call(this);return ir},he=function(){var ft=this.fillStyle,Ht=this.strokeStyle,kt=this.font,ir=this.lineCap,Xt=this.lineWidth,mr=this.lineJoin;this.pdf.addPage(),this.fillStyle=ft,this.strokeStyle=Ht,this.font=kt,this.lineCap=ir,this.lineWidth=Xt,this.lineJoin=mr},Q=function(ft,Ht,kt){for(var ir=0;ir<ft.length;ir++)switch(ft[ir].type){case"bct":ft[ir].x2+=Ht,ft[ir].y2+=kt;case"qct":ft[ir].x1+=Ht,ft[ir].y1+=kt;case"mt":case"lt":case"arc":default:ft[ir].x+=Ht,ft[ir].y+=kt}return ft},te=function(ft,Ht){for(var kt,ir,Xt=this.fillStyle,mr=this.strokeStyle,Ar=(this.font,this.lineCap),Nr=this.lineWidth,kr=this.lineJoin,tn=JSON.parse(JSON.stringify(this.path)),qr=JSON.parse(JSON.stringify(this.path)),Lr=[],Qr=0;Qr<qr.length;Qr++)if(qr[Qr].x!==void 0)for(var Ir=ne.call(this,qr[Qr]),ur=0;ur<Ir.length;ur+=1)Lr.indexOf(Ir[ur])===-1&&Lr.push(Ir[ur]);for(Qr=0;Qr<Lr.length;Qr++)for(;this.pdf.internal.getNumberOfPages()<Lr[Qr];)he.call(this);if(Lr.sort(),this.autoPaging){var pr=Lr[0],cr=Lr[Lr.length-1];for(Qr=pr;Qr<cr+1;Qr++){if(this.pdf.setPage(Qr),this.fillStyle=Xt,this.strokeStyle=mr,this.lineCap=Ar,this.lineWidth=Nr,this.lineJoin=kr,this.ctx.clip_path.length!==0){var fr=this.path;kt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Q(kt,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),be.call(this,ft,!0),this.path=fr}ir=JSON.parse(JSON.stringify(tn)),this.path=Q(ir,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Ht!==!1&&Qr!==0||be.call(this,ft,Ht)}}else be.call(this,ft,Ht);this.path=tn},be=function(ft,Ht){if((ft!=="stroke"||Ht||!Ot.call(this))&&(ft==="stroke"||Ht||!At.call(this))){var kt=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var ir,Xt=this.path,mr=0;mr<Xt.length;mr++){var Ar=Xt[mr];switch(Ar.type){case"begin":kt.push({begin:!0});break;case"close":kt.push({close:!0});break;case"mt":kt.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Nr=kt.length;if(!isNaN(Xt[mr-1].x)){var kr=[Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y];if(0<Nr){for(;0<=Nr;Nr--)if(kt[Nr-1].close!==!0&&kt[Nr-1].begin!==!0){kt[Nr-1].deltas.push(kr),kt[Nr-1].abs.push(Ar);break}}}break;case"bct":kr=[Ar.x1-Xt[mr-1].x,Ar.y1-Xt[mr-1].y,Ar.x2-Xt[mr-1].x,Ar.y2-Xt[mr-1].y,Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y],kt[kt.length-1].deltas.push(kr);break;case"qct":var tn=Xt[mr-1].x+2/3*(Ar.x1-Xt[mr-1].x),qr=Xt[mr-1].y+2/3*(Ar.y1-Xt[mr-1].y),Lr=Ar.x+2/3*(Ar.x1-Ar.x),Qr=Ar.y+2/3*(Ar.y1-Ar.y),Ir=Ar.x,ur=Ar.y;kr=[tn-Xt[mr-1].x,qr-Xt[mr-1].y,Lr-Xt[mr-1].x,Qr-Xt[mr-1].y,Ir-Xt[mr-1].x,ur-Xt[mr-1].y],kt[kt.length-1].deltas.push(kr);break;case"arc":kt.push({deltas:[],abs:[],arc:!0}),Array.isArray(kt[kt.length-1].abs)&&kt[kt.length-1].abs.push(Ar)}}for(ir=Ht?null:ft==="stroke"?"stroke":"fill",mr=0;mr<kt.length;mr++){if(kt[mr].arc)for(var pr=kt[mr].abs,cr=0;cr<pr.length;cr++){var fr=pr[cr];if(fr.startAngle!==void 0){var xr=dr(fr.startAngle),Yr=dr(fr.endAngle),un=fr.x,Nn=fr.y;Re.call(this,un,Nn,fr.radius,xr,Yr,fr.counterclockwise,ir,Ht)}else Dt.call(this,fr.x,fr.y)}!kt[mr].arc&&kt[mr].close!==!0&&kt[mr].begin!==!0&&(un=kt[mr].start.x,Nn=kt[mr].start.y,Kt.call(this,kt[mr].deltas,un,Nn,null,null))}ir&&$e.call(this,ir),Ht&&gt.call(this)}},Ie=function(ft){var Ht=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,kt=Ht*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return ft-kt;case"top":return ft+Ht-kt;case"hanging":return ft+Ht-2*kt;case"middle":return ft+Ht/2-kt;case"ideographic":return ft;case"alphabetic":default:return ft}};Pe.prototype.createLinearGradient=function(){var Tt=function(){};return Tt.colorStops=[],Tt.addColorStop=function(ft,Ht){this.colorStops.push([ft,Ht])},Tt.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Tt.isCanvasGradient=!0,Tt},Pe.prototype.createPattern=function(){return this.createLinearGradient()},Pe.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Re=function(ft,Ht,kt,ir,Xt,mr,Ar,Nr){this.pdf.internal.scaleFactor;for(var kr=er(ir),tn=er(Xt),qr=Qt.call(this,kt,kr,tn,mr),Lr=0;Lr<qr.length;Lr++){var Qr=qr[Lr];Lr===0&&Wt.call(this,Qr.x1+ft,Qr.y1+Ht),Gt.call(this,ft,Ht,Qr.x2,Qr.y2,Qr.x3,Qr.y3,Qr.x4,Qr.y4)}Nr?gt.call(this):$e.call(this,Ar)},$e=function(ft){switch(ft){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},gt=function(){this.pdf.clip()},Wt=function(ft,Ht){this.pdf.internal.out(ue(ft)+" "+Ne(Ht)+" m")},$t=function(ft){var Ht;switch(ft.align){case"right":case"end":Ht="right";break;case"center":Ht="center";break;case"left":case"start":default:Ht="left"}var kt=this.ctx.transform.applyToPoint(new ut(ft.x,ft.y)),ir=this.ctx.transform.decompose(),Xt=new _t;Xt=(Xt=(Xt=Xt.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var mr,Ar=this.pdf.getTextDimensions(ft.text),Nr=this.ctx.transform.applyToRectangle(new pt(ft.x,ft.y,Ar.w,Ar.h)),kr=Xt.applyToRectangle(new pt(ft.x,ft.y-Ar.h,Ar.w,Ar.h)),tn=ne.call(this,kr),qr=[],Lr=0;Lr<tn.length;Lr+=1)qr.indexOf(tn[Lr])===-1&&qr.push(tn[Lr]);if(qr.sort(),this.autoPaging===!0)for(var Qr=qr[0],Ir=qr[qr.length-1],ur=Qr;ur<Ir+1;ur++){if(this.pdf.setPage(ur),this.ctx.clip_path.length!==0){var pr=this.path;mr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Q(mr,this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY),be.call(this,"fill",!0),this.path=pr}var cr=JSON.parse(JSON.stringify(Nr));if(cr=Q([cr],this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY)[0],.01<=ft.scale){var fr=this.pdf.internal.getFontSize();this.pdf.setFontSize(fr*ft.scale)}this.pdf.text(ft.text,cr.x,cr.y,{angle:ft.angle,align:Ht,renderingMode:ft.renderingMode,maxWidth:ft.maxWidth}),.01<=ft.scale&&this.pdf.setFontSize(fr)}else .01<=ft.scale&&(fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fr*ft.scale)),this.pdf.text(ft.text,kt.x+this.posX,kt.y+this.posY,{angle:ft.angle,align:Ht,renderingMode:ft.renderingMode,maxWidth:ft.maxWidth}),.01<=ft.scale&&this.pdf.setFontSize(fr)},Dt=function(ft,Ht,kt,ir){kt=kt||0,ir=ir||0,this.pdf.internal.out(ue(ft+kt)+" "+Ne(Ht+ir)+" l")},Kt=function(ft,Ht,kt){return this.pdf.lines(ft,Ht,kt,null,null)},Gt=function(ft,Ht,kt,ir,Xt,mr,Ar,Nr){this.pdf.internal.out([fe(je(kt+ft)),fe(Ke(ir+Ht)),fe(je(Xt+ft)),fe(Ke(mr+Ht)),fe(je(Ar+ft)),fe(Ke(Nr+Ht)),"c"].join(" "))},Qt=function(ft,Ht,kt,ir){var Xt=2*Math.PI,mr=Ht;(mr<Xt||Xt<mr)&&(mr%=Xt);var Ar=kt;(Ar<Xt||Xt<Ar)&&(Ar%=Xt);for(var Nr=[],kr=Math.PI/2,tn=ir?-1:1,qr=Ht,Lr=Math.min(Xt,Math.abs(Ar-mr));1e-5<Lr;){var Qr=qr+tn*Math.min(Lr,kr);Nr.push(Mt.call(this,ft,qr,Qr)),Lr-=Math.abs(Qr-qr),qr=Qr}return Nr},Mt=function(ft,Ht,kt){var ir=(kt-Ht)/2,Xt=ft*Math.cos(ir),mr=ft*Math.sin(ir),Ar=Xt,Nr=-mr,kr=Ar*Ar+Nr*Nr,tn=kr+Ar*Xt+Nr*mr,qr=4/3*(Math.sqrt(2*kr*tn)-tn)/(Ar*mr-Nr*Xt),Lr=Ar-qr*Nr,Qr=Nr+qr*Ar,Ir=Lr,ur=-Qr,pr=ir+Ht,cr=Math.cos(pr),fr=Math.sin(pr);return{x1:ft*Math.cos(Ht),y1:ft*Math.sin(Ht),x2:Lr*cr-Qr*fr,y2:Lr*fr+Qr*cr,x3:Ir*cr-ur*fr,y3:Ir*fr+ur*cr,x4:ft*Math.cos(kt),y4:ft*Math.sin(kt)}},dr=function(ft){return 180*ft/Math.PI},er=function(ft){return ft*Math.PI/180},st=function(ft,Ht,kt,ir,Xt,mr){var Ar=ft+.5*(kt-ft),Nr=Ht+.5*(ir-Ht),kr=Xt+.5*(kt-Xt),tn=mr+.5*(ir-mr),qr=Math.min(ft,Xt,Ar,kr),Lr=Math.max(ft,Xt,Ar,kr),Qr=Math.min(Ht,mr,Nr,tn),Ir=Math.max(Ht,mr,Nr,tn);return new pt(qr,Qr,Lr-qr,Ir-Qr)},xt=function(ft,Ht,kt,ir,Xt,mr,Ar,Nr){for(var kr,tn,qr,Lr,Qr,Ir,ur,pr,cr,fr,xr,Yr,un,Nn=kt-ft,jr=ir-Ht,Tn=Xt-kt,gn=mr-ir,Pn=Ar-Xt,zn=Nr-mr,qn=0;qn<41;qn++)pr=(Ir=(tn=ft+(kr=qn/40)*Nn)+kr*((Lr=kt+kr*Tn)-tn))+kr*(Lr+kr*(Xt+kr*Pn-Lr)-Ir),cr=(ur=(qr=Ht+kr*jr)+kr*((Qr=ir+kr*gn)-qr))+kr*(Qr+kr*(mr+kr*zn-Qr)-ur),un=qn==0?(Yr=fr=pr,xr=cr):(fr=Math.min(fr,pr),xr=Math.min(xr,cr),Yr=Math.max(Yr,pr),Math.max(un,cr));return new pt(Math.round(fr),Math.round(xr),Math.round(Yr-fr),Math.round(un-xr))},ut=function(ft,Ht){var kt=ft||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return kt},set:function(Ar){isNaN(Ar)||(kt=parseFloat(Ar))}});var ir=Ht||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ir},set:function(Ar){isNaN(Ar)||(ir=parseFloat(Ar))}});var Xt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Xt},set:function(Ar){Xt=Ar.toString()}}),this},pt=function(ft,Ht,kt,ir){ut.call(this,ft,Ht),this.type="rect";var Xt=kt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Xt},set:function(Nr){isNaN(Nr)||(Xt=parseFloat(Nr))}});var mr=ir||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return mr},set:function(Nr){isNaN(Nr)||(mr=parseFloat(Nr))}}),this},_t=function(ft,Ht,kt,ir,Xt,mr){var Ar=[];return Object.defineProperty(this,"sx",{get:function(){return Ar[0]},set:function(kr){Ar[0]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ar[1]},set:function(kr){Ar[1]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ar[2]},set:function(kr){Ar[2]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ar[3]},set:function(kr){Ar[3]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ar[4]},set:function(kr){Ar[4]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ar[5]},set:function(kr){Ar[5]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(ft)?1:ft,this.shy=isNaN(Ht)?0:Ht,this.shx=isNaN(kt)?0:kt,this.sy=isNaN(ir)?1:ir,this.tx=isNaN(Xt)?0:Xt,this.ty=isNaN(mr)?0:mr,this};_t.prototype.multiply=function(Tt){var ft=Tt.sx*this.sx+Tt.shy*this.shx,Ht=Tt.sx*this.shy+Tt.shy*this.sy,kt=Tt.shx*this.sx+Tt.sy*this.shx,ir=Tt.shx*this.shy+Tt.sy*this.sy,Xt=Tt.tx*this.sx+Tt.ty*this.shx+this.tx,mr=Tt.tx*this.shy+Tt.ty*this.sy+this.ty;return new _t(ft,Ht,kt,ir,Xt,mr)},_t.prototype.decompose=function(){var Tt=this.sx,ft=this.shy,Ht=this.shx,kt=this.sy,ir=this.tx,Xt=this.ty,mr=Math.sqrt(Tt*Tt+ft*ft),Ar=(Tt/=mr)*Ht+(ft/=mr)*kt;Ht-=Tt*Ar,kt-=ft*Ar;var Nr=Math.sqrt(Ht*Ht+kt*kt);return Ar/=Nr,Tt*(kt/=Nr)<ft*(Ht/=Nr)&&(Tt=-Tt,ft=-ft,Ar=-Ar,mr=-mr),{scale:new _t(mr,0,0,Nr,0,0),translate:new _t(1,0,0,1,ir,Xt),rotate:new _t(Tt,ft,-ft,Tt,0,0),skew:new _t(1,0,Ar,1,0,0)}},_t.prototype.applyToPoint=function(Tt){var ft=Tt.x*this.sx+Tt.y*this.shx+this.tx,Ht=Tt.x*this.shy+Tt.y*this.sy+this.ty;return new ut(ft,Ht)},_t.prototype.applyToRectangle=function(Tt){var ft=this.applyToPoint(Tt),Ht=this.applyToPoint(new ut(Tt.x+Tt.w,Tt.y+Tt.h));return new pt(ft.x,ft.y,Ht.x-ft.x,Ht.y-ft.y)},_t.prototype.clone=function(){var Tt=this.sx,ft=this.shy,Ht=this.shx,kt=this.sy,ir=this.tx,Xt=this.ty;return new _t(Tt,ft,Ht,kt,ir,Xt)}}(vt.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=vt.API,s=function(ve){var fe,ue,Ne,je,Ke,Ye,Pe,nt,At,Ot;for(/[^\x00-\xFF]/.test(ve),ue=[],Ne=0,je=(ve+=fe="\0\0\0\0".slice(ve.length%4||4)).length;Ne<je;Ne+=4)(Ke=(ve.charCodeAt(Ne)<<24)+(ve.charCodeAt(Ne+1)<<16)+(ve.charCodeAt(Ne+2)<<8)+ve.charCodeAt(Ne+3))!==0?(Ye=(Ke=((Ke=((Ke=((Ke=(Ke-(Ot=Ke%85))/85)-(At=Ke%85))/85)-(nt=Ke%85))/85)-(Pe=Ke%85))/85)%85,ue.push(Ye+33,Pe+33,nt+33,At+33,Ot+33)):ue.push(122);return function(ne,he){for(var Q=fe.length;0<Q;Q--)ne.pop()}(ue),String.fromCharCode.apply(String,ue)+"~>"},d=function(ve){var fe,ue,Ne,je,Ke,Ye=String,Pe="length",nt="charCodeAt",At="slice",Ot="replace";for(ve[At](-2),ve=ve[At](0,-2)[Ot](/\s/g,"")[Ot]("z","!!!!!"),Ne=[],je=0,Ke=(ve+=fe="uuuuu"[At](ve[Pe]%5||5))[Pe];je<Ke;je+=5)ue=52200625*(ve[nt](je)-33)+614125*(ve[nt](je+1)-33)+7225*(ve[nt](je+2)-33)+85*(ve[nt](je+3)-33)+(ve[nt](je+4)-33),Ne.push(255&ue>>24,255&ue>>16,255&ue>>8,255&ue);return function(ne,he){for(var Q=fe[Pe];0<Q;Q--)ne.pop()}(Ne),Ye.fromCharCode.apply(Ye,Ne)},p=function(ve){for(var fe="",ue=0;ue<ve.length;ue+=1)fe+=("0"+ve.charCodeAt(ue).toString(16)).slice(-2);return fe+=">"},b=function(ve){var fe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ve=ve.replace(/\s/g,"")).indexOf(">")!==-1&&(ve=ve.substr(0,ve.indexOf(">"))),ve.length%2&&(ve+="0"),fe.test(ve)===!1)return"";for(var ue="",Ne=0;Ne<ve.length;Ne+=2)ue+=String.fromCharCode("0x"+(ve[Ne]+ve[Ne+1]));return ue},w=function(ve,fe){fe=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},fe);for(var ue,Ne,je=[],Ke=ve.length;Ke--;)je[Ke]=ve.charCodeAt(Ke);return ue=t.adler32cs.from(ve),(Ne=new Deflater(6)).append(new Uint8Array(je)),ve=Ne.flush(),(je=new Uint8Array(ve.length+6)).set(new Uint8Array([120,156])),je.set(ve,2),je.set(new Uint8Array([255&ue,ue>>8&255,ue>>16&255,ue>>24&255]),ve.length+2),ve=String.fromCharCode.apply(null,je)},t.processDataByFilters=function(Ae,ve){var fe=0,ue=Ae||"",Ne=[];for(typeof(ve=ve||[])=="string"&&(ve=[ve]),fe=0;fe<ve.length;fe+=1)switch(ve[fe]){case"ASCII85Decode":case"/ASCII85Decode":ue=d(ue),Ne.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ue=s(ue),Ne.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ue=b(ue),Ne.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ue=p(ue),Ne.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ue=w(ue),Ne.push("/FlateDecode");break;default:throw'The filter: "'+ve[fe]+'" is not implemented'}return{data:ue,reverseChain:Ne.reverse().join(" ")}},(E=vt.API).loadFile=function(Ae,ve,fe){var ue;ve=ve||!0,fe=fe||function(){};try{ue=function(Ne,je,Ke){var Ye=new XMLHttpRequest,Pe=[],nt=0,At=function(ne){var he=ne.length,Q=String.fromCharCode;for(nt=0;nt<he;nt+=1)Pe.push(Q(255&ne.charCodeAt(nt)));return Pe.join("")};if(Ye.open("GET",Ne,!je),Ye.overrideMimeType("text/plain; charset=x-user-defined"),je===!1&&(Ye.onload=function(){return At(this.responseText)}),Ye.send(null),Ye.status===200)return je?At(Ye.responseText):void 0;console.warn('Unable to load file "'+Ne+'"')}(Ae,ve)}catch(Ne){ue=void 0}return ue},E.loadImageFile=E.loadFile,S=vt.API,x=typeof window!="undefined"&&window||typeof g!="undefined"&&g,T=function(ve){var fe=m(ve);return fe==="undefined"?"undefined":fe==="string"||ve instanceof String?"string":fe==="number"||ve instanceof Number?"number":fe==="function"||ve instanceof Function?"function":ve&&ve.constructor===Array?"array":ve&&ve.nodeType===1?"element":fe==="object"?"object":"unknown"},L=function(ve,fe){var ue=document.createElement(ve);if(fe.className&&(ue.className=fe.className),fe.innerHTML){ue.innerHTML=fe.innerHTML;for(var Ne=ue.getElementsByTagName("script"),je=Ne.length;0<je--;null)Ne[je].parentNode.removeChild(Ne[je])}for(var Ke in fe.style)ue.style[Ke]=fe.style[Ke];return ue},(((y=function Ae(ve){var fe=Object.assign(Ae.convert(Promise.resolve()),JSON.parse(JSON.stringify(Ae.template))),ue=Ae.convert(Promise.resolve(),fe);return ue=(ue=ue.setProgress(1,Ae,1,[Ae])).set(ve)}).prototype=Object.create(Promise.prototype)).constructor=y).convert=function(Ae,ve){return Ae.__proto__=ve||y.prototype,Ae},y.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{}}},y.prototype.from=function(Ae,ve){return this.then(function(){switch(ve=ve||function(fe){switch(T(fe)){case"string":return"string";case"element":return fe.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(Ae)){case"string":return this.set({src:L("div",{innerHTML:Ae})});case"element":return this.set({src:Ae});case"canvas":return this.set({canvas:Ae});case"img":return this.set({img:Ae});default:return this.error("Unknown source type.")}})},y.prototype.to=function(Ae){switch(Ae){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},y.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var Ae={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},ve=function fe(ue,Ne){for(var je=ue.nodeType===3?document.createTextNode(ue.nodeValue):ue.cloneNode(!1),Ke=ue.firstChild;Ke;Ke=Ke.nextSibling)Ne!==!0&&Ke.nodeType===1&&Ke.nodeName==="SCRIPT"||je.appendChild(fe(Ke,Ne));return ue.nodeType===1&&(ue.nodeName==="CANVAS"?(je.width=ue.width,je.height=ue.height,je.getContext("2d").drawImage(ue,0,0)):ue.nodeName!=="TEXTAREA"&&ue.nodeName!=="SELECT"||(je.value=ue.value),je.addEventListener("load",function(){je.scrollTop=ue.scrollTop,je.scrollLeft=ue.scrollLeft},!0)),je}(this.prop.src,this.opt.html2canvas.javascriptEnabled);ve.tagName==="BODY"&&(Ae.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=L("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=L("div",{className:"html2pdf__container",style:Ae}),this.prop.container.appendChild(ve),this.prop.container.firstChild.appendChild(L("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},y.prototype.toCanvas=function(){var Ae=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ae).then(function(){var ve=Object.assign({},this.opt.html2canvas);if(delete ve.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,ve)}).then(function(ve){(this.opt.html2canvas.onrendered||function(){})(ve),this.prop.canvas=ve,document.body.removeChild(this.prop.overlay)})},y.prototype.toContext2d=function(){var Ae=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ae).then(function(){var ve=this.opt.jsPDF,fe=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete fe.onrendered,ve.context2d.autoPaging=!0,ve.context2d.posX=this.opt.x,ve.context2d.posY=this.opt.y,fe.windowHeight=fe.windowHeight||0,fe.windowHeight=fe.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):fe.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,fe)}).then(function(ve){(this.opt.html2canvas.onrendered||function(){})(ve),this.prop.canvas=ve,document.body.removeChild(this.prop.overlay)})},y.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Ae=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Ae})},y.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},y.prototype.output=function(Ae,ve,fe){return(fe=fe||"pdf").toLowerCase()==="img"||fe.toLowerCase()==="image"?this.outputImg(Ae,ve):this.outputPdf(Ae,ve)},y.prototype.outputPdf=function(Ae,ve){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Ae,ve)})},y.prototype.outputImg=function(Ae,ve){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Ae){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 "'+Ae+'" is not supported.'}})},y.prototype.isHtml2CanvasLoaded=function(){var Ae=x.html2canvas!==void 0;return Ae||console.error("html2canvas not loaded."),Ae},y.prototype.save=function(Ae){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Ae?{filename:Ae}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},y.prototype.doCallback=function(Ae){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},y.prototype.set=function(Ae){if(T(Ae)!=="object")return this;var ve=Object.keys(Ae||{}).map(function(fe){if(fe in y.template.prop)return function(){this.prop[fe]=Ae[fe]};switch(fe){case"margin":return this.setMargin.bind(this,Ae.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ae.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ae.pageSize);default:return function(){this.opt[fe]=Ae[fe]}}},this);return this.then(function(){return this.thenList(ve)})},y.prototype.get=function(Ae,ve){return this.then(function(){var fe=Ae in y.template.prop?this.prop[Ae]:this.opt[Ae];return ve?ve(fe):fe})},y.prototype.setMargin=function(Ae){return this.then(function(){switch(T(Ae)){case"number":Ae=[Ae,Ae,Ae,Ae];case"array":if(Ae.length===2&&(Ae=[Ae[0],Ae[1],Ae[0],Ae[1]]),Ae.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ae}).then(this.setPageSize)},y.prototype.setPageSize=function(Ae){function ve(fe,ue){return Math.floor(fe*ue/72*96)}return this.then(function(){(Ae=Ae||vt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Ae.inner={width:Ae.width-this.opt.margin[1]-this.opt.margin[3],height:Ae.height-this.opt.margin[0]-this.opt.margin[2]},Ae.inner.px={width:ve(Ae.inner.width,Ae.k),height:ve(Ae.inner.height,Ae.k)},Ae.inner.ratio=Ae.inner.height/Ae.inner.width),this.prop.pageSize=Ae})},y.prototype.setProgress=function(Ae,ve,fe,ue){return Ae!=null&&(this.progress.val=Ae),ve!=null&&(this.progress.state=ve),fe!=null&&(this.progress.n=fe),ue!=null&&(this.progress.stack=ue),this.progress.ratio=this.progress.val/this.progress.state,this},y.prototype.updateProgress=function(Ae,ve,fe,ue){return this.setProgress(Ae?this.progress.val+Ae:null,ve||null,fe?this.progress.n+fe:null,ue?this.progress.stack.concat(ue):null)},y.prototype.then=function(Ae,ve){var fe=this;return this.thenCore(Ae,ve,function(ue,Ne){return fe.updateProgress(null,null,1,[ue]),Promise.prototype.then.call(this,function(je){return fe.updateProgress(null,ue),je}).then(ue,Ne).then(function(je){return fe.updateProgress(1),je})})},y.prototype.thenCore=function(Ae,ve,fe){fe=fe||Promise.prototype.then;var ue=this;Ae&&(Ae=Ae.bind(ue)),ve&&(ve=ve.bind(ue));var Ne=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?ue:y.convert(Object.assign({},ue),Promise.prototype),je=fe.call(Ne,Ae,ve);return y.convert(je,ue.__proto__)},y.prototype.thenExternal=function(Ae,ve){return Promise.prototype.then.call(this,Ae,ve)},y.prototype.thenList=function(Ae){var ve=this;return Ae.forEach(function(fe){ve=ve.thenCore(fe)}),ve},y.prototype.catch=function(Ae){Ae&&(Ae=Ae.bind(this));var ve=Promise.prototype.catch.call(this,Ae);return y.convert(ve,this)},y.prototype.catchExternal=function(Ae){return Promise.prototype.catch.call(this,Ae)},y.prototype.error=function(Ae){return this.then(function(){throw new Error(Ae)})},y.prototype.using=y.prototype.set,y.prototype.saveAs=y.prototype.save,y.prototype.export=y.prototype.output,y.prototype.run=y.prototype.then,vt.getPageSize=function(Ae,ve,fe){if(m(Ae)==="object"){var ue=Ae;Ae=ue.orientation,ve=ue.unit||ve,fe=ue.format||fe}ve=ve||"mm",fe=fe||"a4",Ae=(""+(Ae||"P")).toLowerCase();var Ne=(""+fe).toLowerCase(),je={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(ve){case"pt":var Ke=1;break;case"mm":Ke=72/25.4;break;case"cm":Ke=72/2.54;break;case"in":Ke=72;break;case"px":Ke=.75;break;case"pc":case"em":Ke=12;break;case"ex":Ke=6;break;default:throw"Invalid unit: "+ve}if(je.hasOwnProperty(Ne))var Ye=je[Ne][1]/Ke,Pe=je[Ne][0]/Ke;else try{Ye=fe[1],Pe=fe[0]}catch(At){throw new Error("Invalid format: "+fe)}if(Ae==="p"||Ae==="portrait"){if(Ae="p",Ye<Pe){var nt=Pe;Pe=Ye,Ye=nt}}else{if(Ae!=="l"&&Ae!=="landscape")throw"Invalid orientation: "+Ae;Ae="l",Pe<Ye&&(nt=Pe,Pe=Ye,Ye=nt)}return{width:Pe,height:Ye,unit:ve,k:Ke}},S.html=function(Ae,ve){(ve=ve||{}).callback=ve.callback||function(){},ve.html2canvas=ve.html2canvas||{},ve.html2canvas.canvas=ve.html2canvas.canvas||this.canvas,ve.jsPDF=ve.jsPDF||this,ve.jsPDF;var fe=new y(ve);return ve.worker?fe:fe.from(Ae).doCallback()},vt.API.addJS=function(Ae){return N=Ae,this.internal.events.subscribe("postPutResources",function(ve){C=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(C+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),O=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+N+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){C!==void 0&&O!==void 0&&this.internal.out("/Names <</JavaScript "+C+" 0 R>>")}),this},(k=vt.API).events.push(["postPutResources",function(){var Ae=this,ve=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var fe=Ae.outline.render().split(/\r\n/),ue=0;ue<fe.length;ue++){var Ne=fe[ue],je=ve.exec(Ne);if(je!=null){var Ke=je[1];Ae.internal.newObjectDeferredBegin(Ke,!1)}Ae.internal.write(Ne)}if(this.outline.createNamedDestinations){var Ye=this.internal.pages.length,Pe=[];for(ue=0;ue<Ye;ue++){var nt=Ae.internal.newObject();Pe.push(nt);var At=Ae.internal.getPageInfo(ue+1);Ae.internal.write("<< /D["+At.objId+" 0 R /XYZ null null null]>> endobj")}var Ot=Ae.internal.newObject();for(Ae.internal.write("<< /Names [ "),ue=0;ue<Pe.length;ue++)Ae.internal.write("(page_"+(ue+1)+")"+Pe[ue]+" 0 R");Ae.internal.write(" ] >>","endobj"),Ae.internal.newObject(),Ae.internal.write("<< /Dests "+Ot+" 0 R"),Ae.internal.write(">>","endobj")}}]),k.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),k.events.push(["initialized",function(){var Ae=this;Ae.outline={createNamedDestinations:!1,root:{children:[]}},Ae.outline.add=function(ve,fe,ue){var Ne={title:fe,options:ue,children:[]};return ve==null&&(ve=this.root),ve.children.push(Ne),Ne},Ae.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Ae,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Ae.outline.genIds_r=function(ve){ve.id=Ae.internal.newObjectDeferred();for(var fe=0;fe<ve.children.length;fe++)this.genIds_r(ve.children[fe])},Ae.outline.renderRoot=function(ve){this.objStart(ve),this.line("/Type /Outlines"),0<ve.children.length&&(this.line("/First "+this.makeRef(ve.children[0])),this.line("/Last "+this.makeRef(ve.children[ve.children.length-1]))),this.line("/Count "+this.count_r({count:0},ve)),this.objEnd()},Ae.outline.renderItems=function(ve){this.ctx.pdf.internal.getCoordinateString;for(var fe=this.ctx.pdf.internal.getVerticalCoordinateString,ue=0;ue<ve.children.length;ue++){var Ne=ve.children[ue];this.objStart(Ne),this.line("/Title "+this.makeString(Ne.title)),this.line("/Parent "+this.makeRef(ve)),0<ue&&this.line("/Prev "+this.makeRef(ve.children[ue-1])),ue<ve.children.length-1&&this.line("/Next "+this.makeRef(ve.children[ue+1])),0<Ne.children.length&&(this.line("/First "+this.makeRef(Ne.children[0])),this.line("/Last "+this.makeRef(Ne.children[Ne.children.length-1])));var je=this.count=this.count_r({count:0},Ne);if(0<je&&this.line("/Count "+je),Ne.options&&Ne.options.pageNumber){var Ke=Ae.internal.getPageInfo(Ne.options.pageNumber);this.line("/Dest ["+Ke.objId+" 0 R /XYZ 0 "+fe(0)+" 0]")}this.objEnd()}for(ue=0;ue<ve.children.length;ue++)Ne=ve.children[ue],this.renderItems(Ne)},Ae.outline.line=function(ve){this.ctx.val+=ve+`\r
`},Ae.outline.makeRef=function(ve){return ve.id+" 0 R"},Ae.outline.makeString=function(ve){return"("+Ae.internal.pdfEscape(ve)+")"},Ae.outline.objStart=function(ve){this.ctx.val+=`\r
`+ve.id+` 0 obj\r
<<\r
`},Ae.outline.objEnd=function(ve){this.ctx.val+=`>> \r
endobj\r
`},Ae.outline.count_r=function(ve,fe){for(var ue=0;ue<fe.children.length;ue++)ve.count++,this.count_r(ve,fe.children[ue]);return ve.count}}]),F=vt.API,B=function(){var ve=typeof Deflater=="function";if(!ve)throw new Error("requires deflate.js for compression");return ve},H=function(ve,fe,ue,Ne){var je=5,Ke=K;switch(Ne){case F.image_compression.FAST:je=3,Ke=P;break;case F.image_compression.MEDIUM:je=6,Ke=V;break;case F.image_compression.SLOW:je=9,Ke=z}ve=U(ve,fe,ue,Ke);var Ye=new Uint8Array(W(je)),Pe=R(ve),nt=new Deflater(je),At=nt.append(ve),Ot=nt.flush(),ne=Ye.length+At.length+Ot.length,he=new Uint8Array(ne+4);return he.set(Ye),he.set(At,Ye.length),he.set(Ot,Ye.length+At.length),he[ne++]=Pe>>>24&255,he[ne++]=Pe>>>16&255,he[ne++]=Pe>>>8&255,he[ne++]=255&Pe,F.arrayBufferToBinaryString(he)},W=function(ve,fe){var ue=Math.LOG2E*Math.log(32768)-8<<4|8,Ne=ue<<8;return Ne|=Math.min(3,(fe-1&255)>>1)<<6,Ne|=0,[ue,255&(Ne+=31-Ne%31)]},R=function(ve,fe){for(var ue,Ne=1,je=0,Ke=ve.length,Ye=0;0<Ke;){for(Ke-=ue=fe<Ke?fe:Ke;je+=Ne+=ve[Ye++],--ue;);Ne%=65521,je%=65521}return(je<<16|Ne)>>>0},U=function(ve,fe,ue,Ne){for(var je,Ke,Ye,Pe=ve.length/fe,nt=new Uint8Array(ve.length+Pe),At=G(),Ot=0;Ot<Pe;Ot++){if(Ye=Ot*fe,je=ve.subarray(Ye,Ye+fe),Ne)nt.set(Ne(je,ue,Ke),Ye+Ot);else{for(var ne=0,he=At.length,Q=[];ne<he;ne++)Q[ne]=At[ne](je,ue,Ke);var te=le(Q.concat());nt.set(Q[te],Ye+Ot)}Ke=je}return nt},j=function(ve,fe,ue){var Ne=Array.apply([],ve);return Ne.unshift(0),Ne},P=function(ve,fe,ue){var Ne,je=[],Ke=0,Ye=ve.length;for(je[0]=1;Ke<Ye;Ke++)Ne=ve[Ke-fe]||0,je[Ke+1]=ve[Ke]-Ne+256&255;return je},K=function(ve,fe,ue){var Ne,je=[],Ke=0,Ye=ve.length;for(je[0]=2;Ke<Ye;Ke++)Ne=ue&&ue[Ke]||0,je[Ke+1]=ve[Ke]-Ne+256&255;return je},V=function(ve,fe,ue){var Ne,je,Ke=[],Ye=0,Pe=ve.length;for(Ke[0]=3;Ye<Pe;Ye++)Ne=ve[Ye-fe]||0,je=ue&&ue[Ye]||0,Ke[Ye+1]=ve[Ye]+256-(Ne+je>>>1)&255;return Ke},z=function(ve,fe,ue){var Ne,je,Ke,Ye,Pe=[],nt=0,At=ve.length;for(Pe[0]=4;nt<At;nt++)Ne=ve[nt-fe]||0,je=ue&&ue[nt]||0,Ke=ue&&ue[nt-fe]||0,Ye=X(Ne,je,Ke),Pe[nt+1]=ve[nt]-Ye+256&255;return Pe},X=function(ve,fe,ue){var Ne=ve+fe-ue,je=Math.abs(Ne-ve),Ke=Math.abs(Ne-fe),Ye=Math.abs(Ne-ue);return je<=Ke&&je<=Ye?ve:Ke<=Ye?fe:ue},G=function(){return[j,P,K,V,z]},le=function(ve){for(var fe,ue,Ne,je=0,Ke=ve.length;je<Ke;)((fe=Y(ve[je].slice(1)))<ue||!ue)&&(ue=fe,Ne=je),je++;return Ne},Y=function(ve){for(var fe=0,ue=ve.length,Ne=0;fe<ue;)Ne+=Math.abs(ve[fe++]);return Ne},F.processPNG=function(Ae,ve,fe,ue,Ne){var je,Ke,Ye,Pe,nt,At,Ot=this.color_spaces.DEVICE_RGB,ne=this.decode.FLATE_DECODE,he=8;if(this.isArrayBuffer(Ae)&&(Ae=new Uint8Array(Ae)),this.isArrayBufferView(Ae)){if(typeof PNG!="function"||typeof Bt!="function")throw new Error("PNG support requires png.js and zlib.js");if(Ae=(je=new PNG(Ae)).imgData,he=je.bits,Ot=je.colorSpace,Pe=je.colors,[4,6].indexOf(je.colorType)!==-1){if(je.bits===8)for(var Q,te=(Qt=je.pixelBitlength==32?new Uint32Array(je.decodePixels().buffer):je.pixelBitlength==16?new Uint16Array(je.decodePixels().buffer):new Uint8Array(je.decodePixels().buffer)).length,be=new Uint8Array(te*je.colors),Ie=new Uint8Array(te),Re=je.pixelBitlength-je.bits,$e=0,gt=0;$e<te;$e++){for(Wt=Qt[$e],Q=0;Q<Re;)be[gt++]=Wt>>>Q&255,Q+=je.bits;Ie[$e]=Wt>>>Q&255}if(je.bits===16){te=(Qt=new Uint32Array(je.decodePixels().buffer)).length,be=new Uint8Array(te*(32/je.pixelBitlength)*je.colors),Ie=new Uint8Array(te*(32/je.pixelBitlength));for(var Wt,$t=1<je.colors,Dt=gt=$e=0;$e<te;)Wt=Qt[$e++],be[gt++]=Wt>>>0&255,$t&&(be[gt++]=Wt>>>16&255,Wt=Qt[$e++],be[gt++]=Wt>>>0&255),Ie[Dt++]=Wt>>>16&255;he=8}ue!==F.image_compression.NONE&&B()?(Ae=H(be,je.width*je.colors,je.colors,ue),At=H(Ie,je.width,1,ue)):(Ae=be,At=Ie,ne=null)}if(je.colorType===3&&(Ot=this.color_spaces.INDEXED,nt=je.palette,je.transparency.indexed)){var Kt=je.transparency.indexed,Gt=0;for($e=0,te=Kt.length;$e<te;++$e)Gt+=Kt[$e];if((Gt/=255)==te-1&&Kt.indexOf(0)!==-1)Ye=[Kt.indexOf(0)];else if(Gt!==te){var Qt=je.decodePixels();for(Ie=new Uint8Array(Qt.length),$e=0,te=Qt.length;$e<te;$e++)Ie[$e]=Kt[Qt[$e]];At=H(Ie,je.width,1)}}var Mt=function(dr){var er;switch(dr){case F.image_compression.FAST:er=11;break;case F.image_compression.MEDIUM:er=13;break;case F.image_compression.SLOW:er=14;break;default:er=12}return er}(ue);return Ke=ne===this.decode.FLATE_DECODE?"/Predictor "+Mt+" /Colors "+Pe+" /BitsPerComponent "+he+" /Columns "+je.width:"/Colors "+Pe+" /BitsPerComponent "+he+" /Columns "+je.width,(this.isArrayBuffer(Ae)||this.isArrayBufferView(Ae))&&(Ae=this.arrayBufferToBinaryString(Ae)),(At&&this.isArrayBuffer(At)||this.isArrayBufferView(At))&&(At=this.arrayBufferToBinaryString(At)),this.createImageInfo(Ae,je.width,je.height,Ot,he,ne,ve,fe,Ke,Ye,nt,At,Mt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(me=vt.API).processGIF89A=function(Ae,ve,fe,ue,Ne){var je=new ht(Ae),Ke=je.width,Ye=je.height,Pe=[];je.decodeAndBlitFrameRGBA(0,Pe);var nt={data:Pe,width:Ke,height:Ye},At=new yt(100).encode(nt,100);return me.processJPEG.call(this,At,ve,fe,ue)},me.processGIF87A=me.processGIF89A,(we=vt.API).processBMP=function(Ae,ve,fe,ue,Ne){var je=new It(Ae,!1),Ke=je.width,Ye=je.height,Pe={data:je.getData(),width:Ke,height:Ye},nt=new yt(100).encode(Pe,100);return we.processJPEG.call(this,nt,ve,fe,ue)},vt.API.setLanguage=function(Ae){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[Ae]!==void 0&&(this.internal.languageSettings.languageCode=Ae,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},pe=vt.API,Fe=pe.getCharWidthsArray=function(Ae,ve){var fe,ue,Ne,je=(ve=ve||{}).font||this.internal.getFont(),Ke=ve.fontSize||this.internal.getFontSize(),Ye=ve.charSpace||this.internal.getCharSpace(),Pe=ve.widths?ve.widths:je.metadata.Unicode.widths,nt=Pe.fof?Pe.fof:1,At=ve.kerning?ve.kerning:je.metadata.Unicode.kerning,Ot=At.fof?At.fof:1,ne=0,he=Pe[0]||nt,Q=[];for(fe=0,ue=Ae.length;fe<ue;fe++)Ne=Ae.charCodeAt(fe),typeof je.metadata.widthOfString=="function"?Q.push((je.metadata.widthOfGlyph(je.metadata.characterToGlyph(Ne))+Ye*(1e3/Ke)||0)/1e3):Q.push((Pe[Ne]||he)/nt+(At[Ne]&&At[Ne][ne]||0)/Ot),ne=Ne;return Q},Xe=pe.getArraySum=function(Ae){for(var ve=Ae.length,fe=0;ve;)fe+=Ae[--ve];return fe},dt=pe.getStringUnitWidth=function(Ae,ve){var fe=(ve=ve||{}).fontSize||this.internal.getFontSize(),ue=ve.font||this.internal.getFont(),Ne=ve.charSpace||this.internal.getCharSpace();return typeof ue.metadata.widthOfString=="function"?ue.metadata.widthOfString(Ae,fe,Ne)/fe:Xe(Fe.apply(this,arguments))},Ee=function(ve,fe,ue,Ne){for(var je=[],Ke=0,Ye=ve.length,Pe=0;Ke!==Ye&&Pe+fe[Ke]<ue;)Pe+=fe[Ke],Ke++;je.push(ve.slice(0,Ke));var nt=Ke;for(Pe=0;Ke!==Ye;)Pe+fe[Ke]>Ne&&(je.push(ve.slice(nt,Ke)),Pe=0,nt=Ke),Pe+=fe[Ke],Ke++;return nt!==Ke&&je.push(ve.slice(nt,Ke)),je},Se=function(ve,fe,ue){ue||(ue={});var Ne,je,Ke,Ye,Pe,nt,At=[],Ot=[At],ne=ue.textIndent||0,he=0,Q=0,te=ve.split(" "),be=Fe.apply(this,[" ",ue])[0];if(nt=ue.lineIndent===-1?te[0].length+2:ue.lineIndent||0){var Ie=Array(nt).join(" "),Re=[];te.map(function(Wt){1<(Wt=Wt.split(/\s*\n/)).length?Re=Re.concat(Wt.map(function($t,Dt){return(Dt&&$t.length?`
`:"")+$t})):Re.push(Wt[0])}),te=Re,nt=dt.apply(this,[Ie,ue])}for(Ke=0,Ye=te.length;Ke<Ye;Ke++){var $e=0;if(Ne=te[Ke],nt&&Ne[0]==`
`&&(Ne=Ne.substr(1),$e=1),je=Fe.apply(this,[Ne,ue]),fe<ne+he+(Q=Xe(je))||$e){if(fe<Q){for(Pe=Ee.apply(this,[Ne,je,fe-(ne+he),fe]),At.push(Pe.shift()),At=[Pe.pop()];Pe.length;)Ot.push([Pe.shift()]);Q=Xe(je.slice(Ne.length-(At[0]?At[0].length:0)))}else At=[Ne];Ot.push(At),ne=Q+nt,he=be}else At.push(Ne),ne+=he+Q,he=be}if(nt)var gt=function($t,Dt){return(Dt?Ie:"")+$t.join(" ")};else gt=function($t){return $t.join(" ")};return Ot.map(gt)},pe.splitTextToSize=function(Ae,ve,fe){var ue,Ne=(fe=fe||{}).fontSize||this.internal.getFontSize(),je=function(At){var Ot={0:1},ne={};if(At.widths&&At.kerning)return{widths:At.widths,kerning:At.kerning};var he=this.internal.getFont(At.fontName,At.fontStyle),Q="Unicode";return he.metadata[Q]?{widths:he.metadata[Q].widths||Ot,kerning:he.metadata[Q].kerning||ne}:{font:he.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,fe);ue=Array.isArray(Ae)?Ae:Ae.split(/\r?\n/);var Ke=1*this.internal.scaleFactor*ve/Ne;je.textIndent=fe.textIndent?1*fe.textIndent*this.internal.scaleFactor/Ne:0,je.lineIndent=fe.lineIndent;var Ye,Pe,nt=[];for(Ye=0,Pe=ue.length;Ye<Pe;Ye++)nt=nt.concat(Se.apply(this,[ue[Ye],Ke,je]));return nt},at=vt.API,ce={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(_e=function(ve){for(var fe="klmnopqrstuvwxyz",ue={},Ne=0;Ne<fe.length;Ne++)ue[fe[Ne]]="0123456789abcdef"[Ne];var je,Ke,Ye,Pe,nt,At={},Ot=1,ne=At,he=[],Q="",te="",be=ve.length-1;for(Ne=1;Ne!=be;)nt=ve[Ne],Ne+=1,nt=="'"?Ke=Ke?(Pe=Ke.join(""),je):[]:Ke?Ke.push(nt):nt=="{"?(he.push([ne,Pe]),ne={},Pe=je):nt=="}"?((Ye=he.pop())[0][Ye[1]]=ne,Pe=je,ne=Ye[0]):nt=="-"?Ot=-1:Pe===je?ue.hasOwnProperty(nt)?(Q+=ue[nt],Pe=parseInt(Q,16)*Ot,Ot=1,Q=""):Q+=nt:ue.hasOwnProperty(nt)?(te+=ue[nt],ne[Pe]=parseInt(te,16)*Ot,Ot=1,Pe=je,te=""):te+=nt;return At})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},ee={Unicode:{Courier:ce,"Courier-Bold":ce,"Courier-BoldOblique":ce,"Courier-Oblique":ce,Helvetica:ce,"Helvetica-Bold":ce,"Helvetica-BoldOblique":ce,"Helvetica-Oblique":ce,"Times-Roman":ce,"Times-Bold":ce,"Times-BoldItalic":ce,"Times-Italic":ce}},se={Unicode:{"Courier-Oblique":_e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":_e("{'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":_e("{'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:_e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":_e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":_e("{'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:_e("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:_e("{'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":_e("{'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:_e("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":_e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":_e("{'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":_e("{'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":_e("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},at.events.push(["addFont",function(Ae){var ve,fe,ue,Ne=Ae.font,je="Unicode";(ve=se[je][Ne.postScriptName])&&((fe=Ne.metadata[je]?Ne.metadata[je]:Ne.metadata[je]={}).widths=ve.widths,fe.kerning=ve.kerning),(ue=ee[je][Ne.postScriptName])&&((fe=Ne.metadata[je]?Ne.metadata[je]:Ne.metadata[je]={}).encoding=ue).codePages&&ue.codePages.length&&(Ne.encoding=ue.codePages[0])}]),ke=vt,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")(),ke.API.events.push(["addFont",function(Ae){var ve=Ae.font,fe=Ae.instance;if(fe!==void 0&&fe.existsFileInVFS(ve.postScriptName)){var ue=fe.getFileFromVFS(ve.postScriptName);if(typeof ue!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ve.postScriptName+"').");ve.metadata=ke.API.TTFFont.open(ve.postScriptName,ve.fontName,ue,ve.encoding),ve.metadata.Unicode=ve.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ve.metadata.glyIdsUsed=[0]}else if(ve.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ve.postScriptName+"').")}]),(Ce=vt.API).addSvg=function(Ae,ve,fe,ue,Ne){if(ve===void 0||fe===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function je(Kt){for(var Gt=parseFloat(Kt[1]),Qt=parseFloat(Kt[2]),Mt=[],dr=3,er=Kt.length;dr<er;)Kt[dr]==="c"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2]),parseFloat(Kt[dr+3]),parseFloat(Kt[dr+4]),parseFloat(Kt[dr+5]),parseFloat(Kt[dr+6])]),dr+=7):Kt[dr]==="l"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2])]),dr+=3):dr+=1;return[Gt,Qt,Mt]}var Ke,Ye,Pe,nt,At,Ot,ne,he,Q=(nt=document,he=nt.createElement("iframe"),At=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ne=(Ot=nt).createElement("style")).type="text/css",ne.styleSheet?ne.styleSheet.cssText=At:ne.appendChild(Ot.createTextNode(At)),Ot.getElementsByTagName("head")[0].appendChild(ne),he.name="childframe",he.setAttribute("width",0),he.setAttribute("height",0),he.setAttribute("frameborder","0"),he.setAttribute("scrolling","no"),he.setAttribute("seamless","seamless"),he.setAttribute("class","jsPDF_sillysvg_iframe"),nt.body.appendChild(he),he),te=(Ke=Ae,(Pe=((Ye=Q).contentWindow||Ye.contentDocument).document).write(Ke),Pe.close(),Pe.getElementsByTagName("svg")[0]),be=[1,1],Ie=parseFloat(te.getAttribute("width")),Re=parseFloat(te.getAttribute("height"));Ie&&Re&&(ue&&Ne?be=[ue/Ie,Ne/Re]:ue?be=[ue/Ie,ue/Ie]:Ne&&(be=[Ne/Re,Ne/Re]));var $e,gt,Wt,$t,Dt=te.childNodes;for($e=0,gt=Dt.length;$e<gt;$e++)(Wt=Dt[$e]).tagName&&Wt.tagName.toUpperCase()==="PATH"&&(($t=je(Wt.getAttribute("d").split(" ")))[0]=$t[0]*be[0]+ve,$t[1]=$t[1]*be[1]+fe,this.lines.call(this,$t[2],$t[0],$t[1],be));return this},Ce.addSVG=Ce.addSvg,Ce.addSvgAsImage=function(Ae,ve,fe,ue,Ne,je,Ke,Ye){if(isNaN(ve)||isNaN(fe))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(ue)||isNaN(Ne))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Pe=document.createElement("canvas");Pe.width=ue,Pe.height=Ne;var nt=Pe.getContext("2d");return nt.fillStyle="#fff",nt.fillRect(0,0,Pe.width,Pe.height),canvg(Pe,Ae,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(Pe.toDataURL("image/jpeg",1),ve,fe,ue,Ne,Ke,Ye),this},vt.API.putTotalPages=function(Ae){var ve,fe=0;fe=parseInt(this.internal.getFont().id.substr(1),10)<15?(ve=new RegExp(Ae,"g"),this.internal.getNumberOfPages()):(ve=new RegExp(this.pdfEscape16(Ae,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var ue=1;ue<=this.internal.getNumberOfPages();ue++)for(var Ne=0;Ne<this.internal.pages[ue].length;Ne++)this.internal.pages[ue][Ne]=this.internal.pages[ue][Ne].replace(ve,fe);return this},vt.API.viewerPreferences=function(Ae,ve){var fe;Ae=Ae||{},ve=ve||!1;var ue,Ne,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}},Ke=Object.keys(je),Ye=[],Pe=0,nt=0,At=0,Ot=!0;function ne(Q,te){var be,Ie=!1;for(be=0;be<Q.length;be+=1)Q[be]===te&&(Ie=!0);return Ie}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(je)),this.internal.viewerpreferences.isSubscribed=!1),fe=this.internal.viewerpreferences.configuration,Ae==="reset"||ve===!0){var he=Ke.length;for(At=0;At<he;At+=1)fe[Ke[At]].value=fe[Ke[At]].defaultValue,fe[Ke[At]].explicitSet=!1}if(m(Ae)==="object"){for(ue in Ae)if(Ne=Ae[ue],ne(Ke,ue)&&Ne!==void 0){if(fe[ue].type==="boolean"&&typeof Ne=="boolean")fe[ue].value=Ne;else if(fe[ue].type==="name"&&ne(fe[ue].valueSet,Ne))fe[ue].value=Ne;else if(fe[ue].type==="integer"&&Number.isInteger(Ne))fe[ue].value=Ne;else if(fe[ue].type==="array"){for(Pe=0;Pe<Ne.length;Pe+=1)if(Ot=!0,Ne[Pe].length===1&&typeof Ne[Pe][0]=="number")Ye.push(String(Ne[Pe]-1));else if(1<Ne[Pe].length){for(nt=0;nt<Ne[Pe].length;nt+=1)typeof Ne[Pe][nt]!="number"&&(Ot=!1);Ot===!0&&Ye.push([Ne[Pe][0]-1,Ne[Pe][1]-1].join(" "))}fe[ue].value="["+Ye.join(" ")+"]"}else fe[ue].value=fe[ue].defaultValue;fe[ue].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Q,te=[];for(Q in fe)fe[Q].explicitSet===!0&&(fe[Q].type==="name"?te.push("/"+Q+" /"+fe[Q].value):te.push("/"+Q+" "+fe[Q].value));te.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+te.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=fe,this},ze=vt.API,ge=ae=Oe="",ze.addMetadata=function(Ae,ve){return ae=ve||"http://jspdf.default.namespaceuri/",Oe=Ae,this.internal.events.subscribe("postPutResources",function(){if(Oe){var fe='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+ae+'"><jspdf:metadata>',ue=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Ne=unescape(encodeURIComponent(fe)),je=unescape(encodeURIComponent(Oe)),Ke=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Ye=unescape(encodeURIComponent("</x:xmpmeta>")),Pe=Ne.length+je.length+Ke.length+ue.length+Ye.length;ge=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Pe+" >>"),this.internal.write("stream"),this.internal.write(ue+Ne+je+Ke+Ye),this.internal.write("endstream"),this.internal.write("endobj")}else ge=""}),this.internal.events.subscribe("putCatalog",function(){ge&&this.internal.write("/Metadata "+ge+" 0 R")}),this},function(Ae,ve){var fe=Ae.API,ue=fe.pdfEscape16=function(Ke,Ye){for(var Pe,nt=Ye.metadata.Unicode.widths,At=["","0","00","000","0000"],Ot=[""],ne=0,he=Ke.length;ne<he;++ne){if(Pe=Ye.metadata.characterToGlyph(Ke.charCodeAt(ne)),Ye.metadata.glyIdsUsed.push(Pe),Ye.metadata.toUnicode[Pe]=Ke.charCodeAt(ne),nt.indexOf(Pe)==-1&&(nt.push(Pe),nt.push([parseInt(Ye.metadata.widthOfGlyph(Pe),10)])),Pe=="0")return Ot.join("");Pe=Pe.toString(16),Ot.push(At[4-Pe.length],Pe)}return Ot.join("")},Ne=function(Ye){var Pe,nt,At,Ot,ne,he,Q;for(ne=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,At=[],he=0,Q=(nt=Object.keys(Ye).sort(function(te,be){return te-be})).length;he<Q;he++)Pe=nt[he],100<=At.length&&(ne+=`
`+At.length+` beginbfchar
`+At.join(`
`)+`
endbfchar`,At=[]),Ot=("0000"+Ye[Pe].toString(16)).slice(-4),Pe=("0000"+(+Pe).toString(16)).slice(-4),At.push("<"+Pe+"><"+Ot+">");return At.length&&(ne+=`
`+At.length+` beginbfchar
`+At.join(`
`)+`
endbfchar
`),ne+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};fe.events.push(["putFont",function(Ke){!function(Ye,Pe,nt,At){if(Ye.metadata instanceof Ae.API.TTFFont&&Ye.encoding==="Identity-H"){for(var Ot=Ye.metadata.Unicode.widths,ne=Ye.metadata.subset.encode(Ye.metadata.glyIdsUsed,1),he="",Q=0;Q<ne.length;Q++)he+=String.fromCharCode(ne[Q]);var te=nt();At({data:he,addLength1:!0}),Pe("endobj");var be=nt();At({data:Ne(Ye.metadata.toUnicode),addLength1:!0}),Pe("endobj");var Ie=nt();Pe("<<"),Pe("/Type /FontDescriptor"),Pe("/FontName /"+Ye.fontName),Pe("/FontFile2 "+te+" 0 R"),Pe("/FontBBox "+Ae.API.PDFObject.convert(Ye.metadata.bbox)),Pe("/Flags "+Ye.metadata.flags),Pe("/StemV "+Ye.metadata.stemV),Pe("/ItalicAngle "+Ye.metadata.italicAngle),Pe("/Ascent "+Ye.metadata.ascender),Pe("/Descent "+Ye.metadata.decender),Pe("/CapHeight "+Ye.metadata.capHeight),Pe(">>"),Pe("endobj");var Re=nt();Pe("<<"),Pe("/Type /Font"),Pe("/BaseFont /"+Ye.fontName),Pe("/FontDescriptor "+Ie+" 0 R"),Pe("/W "+Ae.API.PDFObject.convert(Ot)),Pe("/CIDToGIDMap /Identity"),Pe("/DW 1000"),Pe("/Subtype /CIDFontType2"),Pe("/CIDSystemInfo"),Pe("<<"),Pe("/Supplement 0"),Pe("/Registry (Adobe)"),Pe("/Ordering ("+Ye.encoding+")"),Pe(">>"),Pe(">>"),Pe("endobj"),Ye.objectNumber=nt(),Pe("<<"),Pe("/Type /Font"),Pe("/Subtype /Type0"),Pe("/ToUnicode "+be+" 0 R"),Pe("/BaseFont /"+Ye.fontName),Pe("/Encoding /"+Ye.encoding),Pe("/DescendantFonts ["+Re+" 0 R]"),Pe(">>"),Pe("endobj"),Ye.isAlreadyPutted=!0}}(Ke.font,Ke.out,Ke.newObject,Ke.putStream)}]),fe.events.push(["putFont",function(Ke){!function(Ye,Pe,nt,At){if(Ye.metadata instanceof Ae.API.TTFFont&&Ye.encoding==="WinAnsiEncoding"){Ye.metadata.Unicode.widths;for(var Ot=Ye.metadata.rawData,ne="",he=0;he<Ot.length;he++)ne+=String.fromCharCode(Ot[he]);var Q=nt();At({data:ne,addLength1:!0}),Pe("endobj");var te=nt();At({data:Ne(Ye.metadata.toUnicode),addLength1:!0}),Pe("endobj");var be=nt();for(Pe("<<"),Pe("/Descent "+Ye.metadata.decender),Pe("/CapHeight "+Ye.metadata.capHeight),Pe("/StemV "+Ye.metadata.stemV),Pe("/Type /FontDescriptor"),Pe("/FontFile2 "+Q+" 0 R"),Pe("/Flags 96"),Pe("/FontBBox "+Ae.API.PDFObject.convert(Ye.metadata.bbox)),Pe("/FontName /"+Ye.fontName),Pe("/ItalicAngle "+Ye.metadata.italicAngle),Pe("/Ascent "+Ye.metadata.ascender),Pe(">>"),Pe("endobj"),Ye.objectNumber=nt(),he=0;he<Ye.metadata.hmtx.widths.length;he++)Ye.metadata.hmtx.widths[he]=parseInt(Ye.metadata.hmtx.widths[he]*(1e3/Ye.metadata.head.unitsPerEm));Pe("<</Subtype/TrueType/Type/Font/ToUnicode "+te+" 0 R/BaseFont/"+Ye.fontName+"/FontDescriptor "+be+" 0 R/Encoding/"+Ye.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Ae.API.PDFObject.convert(Ye.metadata.hmtx.widths)+">>"),Pe("endobj"),Ye.isAlreadyPutted=!0}}(Ke.font,Ke.out,Ke.newObject,Ke.putStream)}]);var je=function(Ye){var Pe,nt,At=Ye.text||"",Ot=Ye.x,ne=Ye.y,he=Ye.options||{},Q=Ye.mutex||{},te=Q.pdfEscape,be=Q.activeFontKey,Ie=Q.fonts,Re=(Q.activeFontSize,""),$e=0,gt="",Wt=Ie[nt=be].encoding;if(Ie[nt].encoding!=="Identity-H")return{text:At,x:Ot,y:ne,options:he,mutex:Q};for(gt=At,nt=be,Object.prototype.toString.call(At)==="[object Array]"&&(gt=At[0]),$e=0;$e<gt.length;$e+=1)Ie[nt].metadata.hasOwnProperty("cmap")&&(Pe=Ie[nt].metadata.cmap.unicode.codeMap[gt[$e].charCodeAt(0)]),Pe||gt[$e].charCodeAt(0)<256&&Ie[nt].metadata.hasOwnProperty("Unicode")?Re+=gt[$e]:Re+="";var $t="";return parseInt(nt.slice(1))<14||Wt==="WinAnsiEncoding"?$t=function(Dt){for(var Kt="",Gt=0;Gt<Dt.length;Gt++)Kt+=""+Dt.charCodeAt(Gt).toString(16);return Kt}(te(Re,nt)):Wt==="Identity-H"&&($t=ue(Re,Ie[nt])),Q.isHex=!0,{text:$t,x:Ot,y:ne,options:he,mutex:Q}};fe.events.push(["postProcessText",function(Ke){var Ye=Ke.text||"",Pe=Ke.x,nt=Ke.y,At=Ke.options,Ot=Ke.mutex,ne=(At.lang,[]),he={text:Ye,x:Pe,y:nt,options:At,mutex:Ot};if(Object.prototype.toString.call(Ye)==="[object Array]"){var Q=0;for(Q=0;Q<Ye.length;Q+=1)Object.prototype.toString.call(Ye[Q])==="[object Array]"&&Ye[Q].length===3?ne.push([je(Object.assign({},he,{text:Ye[Q][0]})).text,Ye[Q][1],Ye[Q][2]]):ne.push(je(Object.assign({},he,{text:Ye[Q]})).text);Ke.text=ne}else Ke.text=je(Object.assign({},he,{text:Ye})).text}])}(vt,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")()),Le=vt.API,Ze=function(ve){return ve!==void 0&&(ve.vFS===void 0&&(ve.vFS={}),!0)},Le.existsFileInVFS=function(Ae){return!!Ze(this.internal)&&this.internal.vFS[Ae]!==void 0},Le.addFileToVFS=function(Ae,ve){return Ze(this.internal),this.internal.vFS[Ae]=ve,this},Le.getFileFromVFS=function(Ae){return Ze(this.internal),this.internal.vFS[Ae]!==void 0?this.internal.vFS[Ae]:null},vt.API.addHTML=function(Ae,ve,fe,ue,Ne){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof ve!="number"&&(ue=ve,Ne=fe),typeof ue=="function"&&(Ne=ue,ue=null),typeof Ne!="function"&&(Ne=function(){});var je=this.internal,Ke=je.scaleFactor,Ye=je.pageSize.getWidth(),Pe=je.pageSize.getHeight();if((ue=ue||{}).onrendered=function(At){ve=parseInt(ve)||0,fe=parseInt(fe)||0;var Ot=ue.dim||{},ne=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},ue.margin),he=Ot.h||Math.min(Pe,At.height/Ke),Q=Ot.w||Math.min(Ye,At.width/Ke)-ve,te=ue.format||"JPEG",be=ue.imageCompression||"SLOW";if(At.height>Pe-ne.top-ne.bottom&&ue.pagesplit){var Ie=function(Dt,Kt,Gt,Qt,Mt){var dr=document.createElement("canvas");dr.height=Mt,dr.width=Qt;var er=dr.getContext("2d");return er.mozImageSmoothingEnabled=!1,er.webkitImageSmoothingEnabled=!1,er.msImageSmoothingEnabled=!1,er.imageSmoothingEnabled=!1,er.fillStyle=ue.backgroundColor||"#ffffff",er.fillRect(0,0,Qt,Mt),er.drawImage(Dt,Kt,Gt,Qt,Mt,0,0,Qt,Mt),dr},Re=function(){for(var $t,Dt,Kt=0,Gt=0,Qt={},Mt=!1;;){var dr;if(Gt=0,Qt.top=Kt!==0?ne.top:fe,Qt.left=Kt!==0?ne.left:ve,Mt=(Ye-ne.left-ne.right)*Ke<At.width,ne.useFor==="content"?Kt===0?($t=Math.min((Ye-ne.left)*Ke,At.width),Dt=Math.min((Pe-ne.top)*Ke,At.height-Kt)):($t=Math.min(Ye*Ke,At.width),Dt=Math.min(Pe*Ke,At.height-Kt),Qt.top=0):($t=Math.min((Ye-ne.left-ne.right)*Ke,At.width),Dt=Math.min((Pe-ne.bottom-ne.top)*Ke,At.height-Kt)),Mt)for(;;){ne.useFor==="content"&&(Gt===0?$t=Math.min((Ye-ne.left)*Ke,At.width):($t=Math.min(Ye*Ke,At.width-Gt),Qt.left=0));var er=[dr=Ie(At,Gt,Kt,$t,Dt),Qt.left,Qt.top,dr.width/Ke,dr.height/Ke,te,null,be];if(this.addImage.apply(this,er),(Gt+=$t)>=At.width)break;this.addPage()}else er=[dr=Ie(At,0,Kt,$t,Dt),Qt.left,Qt.top,dr.width/Ke,dr.height/Ke,te,null,be],this.addImage.apply(this,er);if((Kt+=Dt)>=At.height)break;this.addPage()}Ne(Q,Kt,null,er)}.bind(this);if(At.nodeName==="CANVAS"){var $e=new Image;$e.onload=Re,$e.src=At.toDataURL("image/png"),At=$e}else Re()}else{var gt=Math.random().toString(35),Wt=[At,ve,fe,Q,he,te,gt,be];this.addImage.apply(this,Wt),Ne(Q,he,gt,Wt)}}.bind(this),typeof html2canvas!="undefined"&&!ue.rstz)return html2canvas(Ae,ue);if(typeof rasterizeHTML=="undefined")return null;var nt="drawDocument";return typeof Ae=="string"&&(nt=/^http/.test(Ae)?"drawURL":"drawHTML"),ue.width=ue.width||Ye*Ke,rasterizeHTML[nt](Ae,void 0,ue).then(function(At){ue.onrendered(At.image)},function(At){Ne(null,At)})},function(Ae){var ve,fe,ue,Ne,je,Ke,Ye,Pe,nt,At,Ot,ne,he,Q,te,be,Ie,Re,$e,gt;ve=function(){return function(Kt){return Dt.prototype=Kt,new Dt};function Dt(){}}(),At=function(Kt){var Gt,Qt,Mt,dr,er,st,xt;for(Qt=0,Mt=Kt.length,Gt=void 0,st=dr=!1;!dr&&Qt!==Mt;)(Gt=Kt[Qt]=Kt[Qt].trimLeft())&&(dr=!0),Qt++;for(Qt=Mt-1;Mt&&!st&&Qt!==-1;)(Gt=Kt[Qt]=Kt[Qt].trimRight())&&(st=!0),Qt--;for(er=/\s+$/g,xt=!0,Qt=0;Qt!==Mt;)Kt[Qt]!="\u2028"&&(Gt=Kt[Qt].replace(/\s+/g," "),xt&&(Gt=Gt.trimLeft()),Gt&&(xt=er.test(Gt)),Kt[Qt]=Gt),Qt++;return Kt},ne=function(Kt){var Gt,Qt,Mt;for(Gt=void 0,Qt=(Mt=Kt.split(",")).shift();!Gt&&Qt;)Gt=ue[Qt.trim().toLowerCase()],Qt=Mt.shift();return Gt},he=function(Kt){var Gt;return-1<(Kt=Kt==="auto"?"0px":Kt).indexOf("em")&&!isNaN(Number(Kt.replace("em","")))&&(Kt=18.719*Number(Kt.replace("em",""))+"px"),-1<Kt.indexOf("pt")&&!isNaN(Number(Kt.replace("pt","")))&&(Kt=1.333*Number(Kt.replace("pt",""))+"px"),(Gt=Q[Kt])?Gt:(Gt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[Kt])!==void 0||(Gt=parseFloat(Kt))?Q[Kt]=Gt/16:(Gt=Kt.match(/([\d\.]+)(px)/),Array.isArray(Gt)&&Gt.length===3?Q[Kt]=parseFloat(Gt[1])/16:Q[Kt]=1)},nt=function(Kt){var Gt,Qt,Mt,dr,er;return er=Kt,dr=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(er,null):er.currentStyle?er.currentStyle:er.style,Qt=void 0,(Gt={})["font-family"]=ne((Mt=function(xt){return xt=xt.replace(/-\D/g,function(ut){return ut.charAt(1).toUpperCase()}),dr[xt]})("font-family"))||"times",Gt["font-style"]=Ne[Mt("font-style")]||"normal",Gt["text-align"]=je[Mt("text-align")]||"left",(Qt=Ke[Mt("font-weight")]||"normal")==="bold"&&(Gt["font-style"]==="normal"?Gt["font-style"]=Qt:Gt["font-style"]=Qt+Gt["font-style"]),Gt["font-size"]=he(Mt("font-size"))||1,Gt["line-height"]=he(Mt("line-height"))||1,Gt.display=Mt("display")==="inline"?"inline":"block",Qt=Gt.display==="block",Gt["margin-top"]=Qt&&he(Mt("margin-top"))||0,Gt["margin-bottom"]=Qt&&he(Mt("margin-bottom"))||0,Gt["padding-top"]=Qt&&he(Mt("padding-top"))||0,Gt["padding-bottom"]=Qt&&he(Mt("padding-bottom"))||0,Gt["margin-left"]=Qt&&he(Mt("margin-left"))||0,Gt["margin-right"]=Qt&&he(Mt("margin-right"))||0,Gt["padding-left"]=Qt&&he(Mt("padding-left"))||0,Gt["padding-right"]=Qt&&he(Mt("padding-right"))||0,Gt["page-break-before"]=Mt("page-break-before")||"auto",Gt.float=Ye[Mt("cssFloat")]||"none",Gt.clear=Pe[Mt("clear")]||"none",Gt.color=Mt("color"),Gt},te=function(Kt,Gt,Qt){var Mt,dr,er,st,xt;if(er=!1,st=dr=void 0,Mt=Qt["#"+Kt.id])if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,st=Mt.length;!er&&dr!==st;)er=Mt[dr](Kt,Gt),dr++;if(Mt=Qt[Kt.nodeName],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,st=Mt.length;!er&&dr!==st;)er=Mt[dr](Kt,Gt),dr++;for(xt=typeof Kt.className=="string"?Kt.className.split(" "):[],dr=0;dr<xt.length;dr++)if(Mt=Qt["."+xt[dr]],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,st=Mt.length;!er&&dr!==st;)er=Mt[dr](Kt,Gt),dr++;return er},gt=function(Kt,Gt){var Qt,Mt,dr,er,st,xt,ut,pt,_t;for(Qt=[],Mt=[],dr=0,_t=Kt.rows[0].cells.length,ut=Kt.clientWidth;dr<_t;)pt=Kt.rows[0].cells[dr],Mt[dr]={name:pt.textContent.toLowerCase().replace(/\s+/g,""),prompt:pt.textContent.replace(/\r?\n/g,""),width:pt.clientWidth/ut*Gt.pdf.internal.pageSize.getWidth()},dr++;for(dr=1;dr<Kt.rows.length;){for(xt=Kt.rows[dr],st={},er=0;er<xt.cells.length;)st[Mt[er].name]=xt.cells[er].textContent.replace(/\r?\n/g,""),er++;Qt.push(st),dr++}return{rows:Qt,headers:Mt}};var Wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},$t=1;fe=function(Kt,Gt,Qt){var Mt,dr,er,st,xt,ut,pt,_t;for(dr=Kt.childNodes,Mt=void 0,(xt=(er=nt(Kt)).display==="block")&&(Gt.setBlockBoundary(),Gt.setBlockStyle(er)),st=0,ut=dr.length;st<ut;){if(m(Mt=dr[st])==="object"){if(Gt.executeWatchFunctions(Mt),Mt.nodeType===1&&Mt.nodeName==="HEADER"){var Tt=Mt,ft=Gt.pdf.margins_doc.top;Gt.pdf.internal.events.subscribe("addPage",function(cr){Gt.y=ft,fe(Tt,Gt,Qt),Gt.pdf.margins_doc.top=Gt.y+10,Gt.y+=10},!1)}if(Mt.nodeType===8&&Mt.nodeName==="#comment")~Mt.textContent.indexOf("ADD_PAGE")&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top);else if(Mt.nodeType!==1||Wt[Mt.nodeName])if(Mt.nodeType===3){var Ht=Mt.nodeValue;if(Mt.nodeValue&&Mt.parentNode.nodeName==="LI")if(Mt.parentNode.parentNode.nodeName==="OL")Ht=$t+++". "+Ht;else{var kt=er["font-size"],ir=(3-.75*kt)*Gt.pdf.internal.scaleFactor,Xt=.75*kt*Gt.pdf.internal.scaleFactor,mr=1.74*kt/Gt.pdf.internal.scaleFactor;_t=function(fr,xr){this.pdf.circle(fr+ir,xr+Xt,mr,"FD")}}16&Mt.ownerDocument.body.compareDocumentPosition(Mt)&&Gt.addText(Ht,er)}else typeof Mt=="string"&&Gt.addText(Mt,er);else{var Ar;if(Mt.nodeName==="IMG"){var Nr=Mt.getAttribute("src");Ar=be[Gt.pdf.sHashCode(Nr)||Nr]}if(Ar){Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom<Gt.y+Mt.height&&Gt.y>Gt.pdf.margins_doc.top&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top,Gt.executeWatchFunctions(Mt));var kr=nt(Mt),tn=Gt.x,qr=12/Gt.pdf.internal.scaleFactor,Lr=(kr["margin-left"]+kr["padding-left"])*qr,Qr=(kr["margin-right"]+kr["padding-right"])*qr,Ir=(kr["margin-top"]+kr["padding-top"])*qr,ur=(kr["margin-bottom"]+kr["padding-bottom"])*qr;kr.float!==void 0&&kr.float==="right"?tn+=Gt.settings.width-Mt.width-Qr:tn+=Lr,Gt.pdf.addImage(Ar,tn,Gt.y+Ir,Mt.width,Mt.height),Ar=void 0,kr.float==="right"||kr.float==="left"?(Gt.watchFunctions.push(function(cr,fr,xr,Yr){return Gt.y>=fr?(Gt.x+=cr,Gt.settings.width+=xr,!0):!!(Yr&&Yr.nodeType===1&&!Wt[Yr.nodeName]&&Gt.x+Yr.width>Gt.pdf.margins_doc.left+Gt.pdf.margins_doc.width)&&(Gt.x+=cr,Gt.y=fr,Gt.settings.width+=xr,!0)}.bind(this,kr.float==="left"?-Mt.width-Lr-Qr:0,Gt.y+Mt.height+Ir+ur,Mt.width)),Gt.watchFunctions.push(function(cr,fr,xr){return!(Gt.y<cr&&fr===Gt.pdf.internal.getNumberOfPages())||xr.nodeType===1&&nt(xr).clear==="both"&&(Gt.y=cr,!0)}.bind(this,Gt.y+Mt.height,Gt.pdf.internal.getNumberOfPages())),Gt.settings.width-=Mt.width+Lr+Qr,kr.float==="left"&&(Gt.x+=Mt.width+Lr+Qr)):Gt.y+=Mt.height+Ir+ur}else if(Mt.nodeName==="TABLE")pt=gt(Mt,Gt),Gt.y+=10,Gt.pdf.table(Gt.x,Gt.y,pt.rows,pt.headers,{autoSize:!1,printHeaders:Qt.printHeaders,margins:Gt.pdf.margins_doc,css:nt(Mt)}),Gt.y=Gt.pdf.lastCellPos.y+Gt.pdf.lastCellPos.h+20;else if(Mt.nodeName==="OL"||Mt.nodeName==="UL")$t=1,te(Mt,Gt,Qt)||fe(Mt,Gt,Qt),Gt.y+=10;else if(Mt.nodeName==="LI"){var pr=Gt.x;Gt.x+=20/Gt.pdf.internal.scaleFactor,Gt.y+=3,te(Mt,Gt,Qt)||fe(Mt,Gt,Qt),Gt.x=pr}else Mt.nodeName==="BR"?(Gt.y+=er["font-size"]*Gt.pdf.internal.scaleFactor,Gt.addText("\u2028",ve(er))):te(Mt,Gt,Qt)||fe(Mt,Gt,Qt)}}st++}if(Qt.outY=Gt.y,xt)return Gt.setBlockBoundary(_t)},be={},Ie=function(Kt,Gt,Qt,Mt){var dr,er=Kt.getElementsByTagName("img"),st=er.length,xt=0;function ut(){Gt.pdf.internal.events.publish("imagesLoaded"),Mt(dr)}function pt(_t,Tt,ft){if(_t){var Ht=new Image;dr=++xt,Ht.crossOrigin="",Ht.onerror=Ht.onload=function(){if(Ht.complete&&(Ht.src.indexOf("data:image/")===0&&(Ht.width=Tt||Ht.width||0,Ht.height=ft||Ht.height||0),Ht.width+Ht.height)){var kt=Gt.pdf.sHashCode(_t)||_t;be[kt]=be[kt]||Ht}--xt||ut()},Ht.src=_t}}for(;st--;)pt(er[st].getAttribute("src"),er[st].width,er[st].height);return xt||ut()},Re=function(Kt,Gt,Qt){var Mt=Kt.getElementsByTagName("footer");if(0<Mt.length){Mt=Mt[0];var dr=Gt.pdf.internal.write,er=Gt.y;Gt.pdf.internal.write=function(){},fe(Mt,Gt,Qt);var st=Math.ceil(Gt.y-er)+5;Gt.y=er,Gt.pdf.internal.write=dr,Gt.pdf.margins_doc.bottom+=st;for(var xt=function(Tt){var ft=Tt!==void 0?Tt.pageNumber:1,Ht=Gt.y;Gt.y=Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom,Gt.pdf.margins_doc.bottom-=st;for(var kt=Mt.getElementsByTagName("span"),ir=0;ir<kt.length;++ir)-1<(" "+kt[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(kt[ir].innerHTML=ft),-1<(" "+kt[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(kt[ir].innerHTML="###jsPDFVarTotalPages###");fe(Mt,Gt,Qt),Gt.pdf.margins_doc.bottom+=st,Gt.y=Ht},ut=Mt.getElementsByTagName("span"),pt=0;pt<ut.length;++pt)-1<(" "+ut[pt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Gt.pdf.internal.events.subscribe("htmlRenderingFinished",Gt.pdf.putTotalPages.bind(Gt.pdf,"###jsPDFVarTotalPages###"),!0);Gt.pdf.internal.events.subscribe("addPage",xt,!1),xt(),Wt.FOOTER=1}},$e=function(Kt,Gt,Qt,Mt,dr,er){if(!Gt)return!1;var st,xt,ut,pt;typeof Gt=="string"||Gt.parentNode||(Gt=""+Gt.innerHTML),typeof Gt=="string"&&(st=Gt.replace(/<\/?script[^>]*?>/gi,""),pt="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(ut=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",ut.innerHTML='<iframe style="height:1px;width:1px" name="'+pt+'" />',document.body.appendChild(ut),(xt=window.frames[pt]).document.open(),xt.document.writeln(st),xt.document.close(),Gt=xt.document.body);var _t,Tt=new Ot(Kt,Qt,Mt,dr);return Ie.call(this,Gt,Tt,dr.elementHandlers,function(ft){Re(Gt,Tt,dr.elementHandlers),fe(Gt,Tt,dr.elementHandlers),Tt.pdf.internal.events.publish("htmlRenderingFinished"),_t=Tt.dispose(),typeof er=="function"?er(_t):ft&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),_t||{x:Tt.x,y:Tt.y}},(Ot=function(Kt,Gt,Qt,Mt){return this.pdf=Kt,this.x=Gt,this.y=Qt,this.settings=Mt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},Ot.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},Ot.prototype.executeWatchFunctions=function(Dt){var Kt=!1,Gt=[];if(0<this.watchFunctions.length){for(var Qt=0;Qt<this.watchFunctions.length;++Qt)this.watchFunctions[Qt](Dt)===!0?Kt=!0:Gt.push(this.watchFunctions[Qt]);this.watchFunctions=Gt}return Kt},Ot.prototype.splitFragmentsIntoLines=function(Dt,Kt){var Gt,Qt,Mt,dr,er,st,xt,ut,pt,_t,Tt,ft,Ht,kt;for(_t=this.pdf.internal.scaleFactor,dr={},st=xt=ut=kt=er=Mt=pt=Qt=void 0,ft=[Tt=[]],Gt=0,Ht=this.settings.width;Dt.length;)if(er=Dt.shift(),kt=Kt.shift(),er)if((Mt=dr[(Qt=kt["font-family"])+(pt=kt["font-style"])])||(Mt=this.pdf.internal.getFont(Qt,pt).metadata.Unicode,dr[Qt+pt]=Mt),ut={widths:Mt.widths,kerning:Mt.kerning,fontSize:12*kt["font-size"],textIndent:Gt},xt=this.pdf.getStringUnitWidth(er,ut)*ut.fontSize/_t,er=="\u2028")Tt=[],ft.push(Tt);else if(Ht<Gt+xt){for(st=this.pdf.splitTextToSize(er,Ht,ut),Tt.push([st.shift(),kt]);st.length;)Tt=[[st.shift(),kt]],ft.push(Tt);Gt=this.pdf.getStringUnitWidth(Tt[0][0],ut)*ut.fontSize/_t}else Tt.push([er,kt]),Gt+=xt;if(kt["text-align"]!==void 0&&(kt["text-align"]==="center"||kt["text-align"]==="right"||kt["text-align"]==="justify"))for(var ir=0;ir<ft.length;++ir){var Xt=this.pdf.getStringUnitWidth(ft[ir][0][0],ut)*ut.fontSize/_t;0<ir&&(ft[ir][0][1]=ve(ft[ir][0][1]));var mr=Ht-Xt;if(kt["text-align"]==="right")ft[ir][0][1]["margin-left"]=mr;else if(kt["text-align"]==="center")ft[ir][0][1]["margin-left"]=mr/2;else if(kt["text-align"]==="justify"){var Ar=ft[ir][0][0].split(" ").length-1;ft[ir][0][1]["word-spacing"]=mr/Ar,ir===ft.length-1&&(ft[ir][0][1]["word-spacing"]=0)}}return ft},Ot.prototype.RenderTextFragment=function(Dt,Kt){var Gt,Qt;Qt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(Kt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Qt=Math.max(Qt,Kt["line-height"],Kt["font-size"]),this.pdf.internal.write(0,(-12*Qt).toFixed(2),"Td")),Gt=this.pdf.internal.getFont(Kt["font-family"],Kt["font-style"]);var Mt=this.getPdfColor(Kt.color);Mt!==this.lastTextColor&&(this.pdf.internal.write(Mt),this.lastTextColor=Mt),Kt["word-spacing"]!==void 0&&0<Kt["word-spacing"]&&this.pdf.internal.write(Kt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Gt.id,(12*Kt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Dt)+") Tj"),Kt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},Ot.prototype.getPdfColor=function(Dt){var Kt,Gt,Qt,Mt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Dt);if(Mt!=null)Kt=parseInt(Mt[1]),Gt=parseInt(Mt[2]),Qt=parseInt(Mt[3]);else{if(typeof Dt=="string"&&Dt.charAt(0)!="#"){var dr=new RGBColor(Dt);Dt=dr.ok?dr.toHex():"#000000"}Kt=Dt.substring(1,3),Kt=parseInt(Kt,16),Gt=Dt.substring(3,5),Gt=parseInt(Gt,16),Qt=Dt.substring(5,7),Qt=parseInt(Qt,16)}if(typeof Kt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Kt)){var er=parseInt(Kt.substr(1),16);Kt=er>>16&255,Gt=er>>8&255,Qt=255&er}var st=this.f3;return Kt===0&&Gt===0&&Qt===0||Gt===void 0?st(Kt/255)+" g":[st(Kt/255),st(Gt/255),st(Qt/255),"rg"].join(" ")},Ot.prototype.f3=function(Dt){return Dt.toFixed(3)},Ot.prototype.renderParagraph=function(Dt){var Kt,Gt,Qt,Mt,dr,er,st,xt,ut,pt,_t,Tt,ft;if(Qt=At(this.paragraph.text),Tt=this.paragraph.style,Kt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:Kt},Qt.join("").trim()){st=this.splitFragmentsIntoLines(Qt,Tt),xt=er=void 0,Gt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,_t=(Math.max((Kt["margin-top"]||0)-this.priorMarginBottom,0)+(Kt["padding-top"]||0))*Gt,pt=((Kt["margin-bottom"]||0)+(Kt["padding-bottom"]||0))*Gt,this.priorMarginBottom=Kt["margin-bottom"]||0,Kt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,_t=((Kt["margin-top"]||0)+(Kt["padding-top"]||0))*Gt),ut=this.pdf.internal.write,dr=Mt=void 0,this.y+=_t,ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Ht=0;st.length;){for(Mt=xt=0,dr=(er=st.shift()).length;Mt!==dr;)er[Mt][0].trim()&&(xt=Math.max(xt,er[Mt][1]["line-height"],er[Mt][1]["font-size"]),ft=7*er[Mt][1]["font-size"]),Mt++;var kt=0,ir=0;for(er[0][1]["margin-left"]!==void 0&&0<er[0][1]["margin-left"]&&(kt=(ir=this.pdf.internal.getCoordinateString(er[0][1]["margin-left"]))-Ht,Ht=ir),ut(kt+Math.max(Kt["margin-left"]||0,0)*Gt,(-12*xt).toFixed(2),"Td"),Mt=0,dr=er.length;Mt!==dr;)er[Mt][0]&&this.RenderTextFragment(er[Mt][0],er[Mt][1]),Mt++;if(this.y+=xt*Gt,this.executeWatchFunctions(er[0][1])&&0<st.length){var Xt=[],mr=[];st.forEach(function(Ar){for(var Nr=0,kr=Ar.length;Nr!==kr;)Ar[Nr][0]&&(Xt.push(Ar[Nr][0]+" "),mr.push(Ar[Nr][1])),++Nr}),st=this.splitFragmentsIntoLines(At(Xt),mr),ut("ET","Q"),ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Dt&&typeof Dt=="function"&&Dt.call(this,this.x-9,this.y-ft/2),ut("ET","Q"),this.y+=pt}},Ot.prototype.setBlockBoundary=function(Dt){return this.renderParagraph(Dt)},Ot.prototype.setBlockStyle=function(Dt){return this.paragraph.blockstyle=Dt},Ot.prototype.addText=function(Dt,Kt){return this.paragraph.text.push(Dt),this.paragraph.style.push(Kt)},ue={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},Ke={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},Ne={normal:"normal",italic:"italic",oblique:"italic"},je={left:"left",right:"right",center:"center",justify:"justify"},Ye={none:"none",right:"right",left:"left"},Pe={none:"none",both:"both"},Q={normal:1},Ae.fromHTML=function(Dt,Kt,Gt,Qt,Mt,dr){return this.margins_doc=dr||{top:0,bottom:0},Qt||(Qt={}),Qt.elementHandlers||(Qt.elementHandlers={}),$e(this,Dt,isNaN(Kt)?4:Kt,isNaN(Gt)?4:Gt,Qt,Mt)}}(vt.API),vt.API,(typeof window!="undefined"&&window||typeof g!="undefined"&&g).html2pdf=function(Ae,ve,fe){var ue=ve.canvas;if(ue){var Ne,je;if((ue.pdf=ve).annotations={_nameMap:[],createAnnotation:function(Ot,ne){var he,Q=ve.context2d._wrapX(ne.left),te=ve.context2d._wrapY(ne.top),be=(ve.context2d._page(ne.top),Ot.indexOf("#"));he=0<=be?{name:Ot.substring(be+1)}:{url:Ot},ve.link(Q,te,ne.right-ne.left,ne.bottom-ne.top,he)},setName:function(Ot,ne){var he=ve.context2d._wrapX(ne.left),Q=ve.context2d._wrapY(ne.top),te=ve.context2d._page(ne.top);this._nameMap[Ot]={page:te,x:he,y:Q}}},ue.annotations=ve.annotations,ve.context2d._pageBreakAt=function(At){this.pageBreaks.push(At)},ve.context2d._gotoPage=function(At){for(;ve.internal.getNumberOfPages()<At;)ve.addPage();ve.setPage(At)},typeof Ae=="string"){Ae=Ae.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var Ke,Ye,Pe=document.createElement("iframe");document.body.appendChild(Pe),(Ke=Pe.contentDocument)!=null&&Ke!=null||(Ke=Pe.contentWindow.document),Ke.open(),Ke.write(Ae),Ke.close(),Ne=Ke.body,Ye=Ke.body||{},Ae=Ke.documentElement||{},je=Math.max(Ye.scrollHeight,Ye.offsetHeight,Ae.clientHeight,Ae.scrollHeight,Ae.offsetHeight)}else Ye=(Ne=Ae).body||{},je=Math.max(Ye.scrollHeight,Ye.offsetHeight,Ae.clientHeight,Ae.scrollHeight,Ae.offsetHeight);var nt={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:ue,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:je=ve.internal.pageSize.getHeight(),scrollY:je};ve.context2d.pageWrapYEnabled=!0,ve.context2d.pageWrapY=ve.internal.pageSize.getHeight(),html2canvas(Ne,nt).then(function(At){fe&&(Pe&&Pe.parentElement.removeChild(Pe),fe(ve))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(Ae){var ve=Ae.BlobBuilder||Ae.WebKitBlobBuilder||Ae.MSBlobBuilder||Ae.MozBlobBuilder;Ae.URL=Ae.URL||Ae.webkitURL||function(Q,te){return(te=document.createElement("a")).href=Q,te};var fe=Ae.Blob,ue=URL.createObjectURL,Ne=URL.revokeObjectURL,je=Ae.Symbol&&Ae.Symbol.toStringTag,Ke=!1,Ye=!1,Pe=!!Ae.ArrayBuffer,nt=ve&&ve.prototype.append&&ve.prototype.getBlob;try{Ke=new Blob(["\xE4"]).size===2,Ye=new Blob([new Uint8Array([1,2])]).size===2}catch(Q){}function At(Q){return Q.map(function(te){if(te.buffer instanceof ArrayBuffer){var be=te.buffer;if(te.byteLength!==be.byteLength){var Ie=new Uint8Array(te.byteLength);Ie.set(new Uint8Array(be,te.byteOffset,te.byteLength)),be=Ie.buffer}return be}return te})}function Ot(Q,te){te=te||{};var be=new ve;return At(Q).forEach(function(Ie){be.append(Ie)}),te.type?be.getBlob(te.type):be.getBlob()}function ne(Q,te){return new fe(At(Q),te||{})}if(Ae.Blob&&(Ot.prototype=Blob.prototype,ne.prototype=Blob.prototype),je)try{File.prototype[je]="File",Blob.prototype[je]="Blob",FileReader.prototype[je]="FileReader"}catch(Q){}function he(){var Q=!!Ae.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,te=Ae.XMLHttpRequest&&Ae.XMLHttpRequest.prototype.send;Q&&te&&(XMLHttpRequest.prototype.send=function(Ie){Ie instanceof Blob&&this.setRequestHeader("Content-Type",Ie.type),te.call(this,Ie)});try{new File([],"")}catch(Ie){try{var be=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();Ae.File=be}catch(Re){be=function(gt,Wt,$t){var Dt=new Blob(gt,$t),Kt=$t&&$t.lastModified!==void 0?new Date($t.lastModified):new Date;return Dt.name=Wt,Dt.lastModifiedDate=Kt,Dt.lastModified=+Kt,Dt.toString=function(){return"[object File]"},je&&(Dt[je]="File"),Dt},Ae.File=be}}}Ke?(he(),Ae.Blob=Ye?Ae.Blob:ne):nt?(he(),Ae.Blob=Ot):function(){function Q(Qt){for(var Mt=[],dr=0;dr<Qt.length;dr++){var er=Qt.charCodeAt(dr);er<128?Mt.push(er):er<2048?Mt.push(192|er>>6,128|63&er):er<55296||57344<=er?Mt.push(224|er>>12,128|er>>6&63,128|63&er):(dr++,er=65536+((1023&er)<<10|1023&Qt.charCodeAt(dr)),Mt.push(240|er>>18,128|er>>12&63,128|er>>6&63,128|63&er))}return Mt}function te(Qt){var Mt,dr,er,st,xt,ut;for(Mt="",er=Qt.length,dr=0;dr<er;)switch((st=Qt[dr++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Mt+=String.fromCharCode(st);break;case 12:case 13:xt=Qt[dr++],Mt+=String.fromCharCode((31&st)<<6|63&xt);break;case 14:xt=Qt[dr++],ut=Qt[dr++],Mt+=String.fromCharCode((15&st)<<12|(63&xt)<<6|(63&ut)<<0)}return Mt}function be(Qt){for(var Mt=new Array(Qt.byteLength),dr=new Uint8Array(Qt),er=Mt.length;er--;)Mt[er]=dr[er];return Mt}function Ie(Qt){for(var Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",dr=[],er=0;er<Qt.length;er+=3){var st=Qt[er],xt=er+1<Qt.length,ut=xt?Qt[er+1]:0,pt=er+2<Qt.length,_t=pt?Qt[er+2]:0,Tt=st>>2,ft=(3&st)<<4|ut>>4,Ht=(15&ut)<<2|_t>>6,kt=63&_t;pt||(kt=64,xt||(Ht=64)),dr.push(Mt[Tt],Mt[ft],Mt[Ht],Mt[kt])}return dr.join("")}var Re=Object.create||function(Qt){function Mt(){}return Mt.prototype=Qt,new Mt};if(Pe)var $e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],gt=ArrayBuffer.isView||function(Qt){return Qt&&-1<$e.indexOf(Object.prototype.toString.call(Qt))};function Wt(Qt,Mt){for(var dr=0,er=(Qt=Qt||[]).length;dr<er;dr++){var st=Qt[dr];st instanceof Wt?Qt[dr]=st._buffer:typeof st=="string"?Qt[dr]=Q(st):Pe&&(ArrayBuffer.prototype.isPrototypeOf(st)||gt(st))?Qt[dr]=be(st):Pe&&(xt=st)&&DataView.prototype.isPrototypeOf(xt)?Qt[dr]=be(st.buffer):Qt[dr]=Q(String(st))}var xt;this._buffer=[].concat.apply([],Qt),this.size=this._buffer.length,this.type=Mt&&Mt.type||""}function $t(Qt,Mt,dr){var er=Wt.call(this,Qt,dr=dr||{})||this;return er.name=Mt,er.lastModifiedDate=dr.lastModified?new Date(dr.lastModified):new Date,er.lastModified=+er.lastModifiedDate,er}if(Wt.prototype.slice=function(Qt,Mt,dr){return new Wt([this._buffer.slice(Qt||0,Mt||this._buffer.length)],{type:dr})},Wt.prototype.toString=function(){return"[object Blob]"},($t.prototype=Re(Wt.prototype)).constructor=$t,Object.setPrototypeOf)Object.setPrototypeOf($t,Wt);else try{$t.__proto__=Wt}catch(Qt){}function Dt(){if(!(this instanceof Dt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Qt=document.createDocumentFragment();this.addEventListener=Qt.addEventListener,this.dispatchEvent=function(Mt){var dr=this["on"+Mt.type];typeof dr=="function"&&dr(Mt),Qt.dispatchEvent(Mt)},this.removeEventListener=Qt.removeEventListener}function Kt(Qt,Mt,dr){if(!(Mt instanceof Wt))throw new TypeError("Failed to execute '"+dr+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Qt.result="",setTimeout(function(){this.readyState=Dt.LOADING,Qt.dispatchEvent(new Event("load")),Qt.dispatchEvent(new Event("loadend"))})}$t.prototype.toString=function(){return"[object File]"},Dt.EMPTY=0,Dt.LOADING=1,Dt.DONE=2,Dt.prototype.error=null,Dt.prototype.onabort=null,Dt.prototype.onerror=null,Dt.prototype.onload=null,Dt.prototype.onloadend=null,Dt.prototype.onloadstart=null,Dt.prototype.onprogress=null,Dt.prototype.readAsDataURL=function(Qt){Kt(this,Qt,"readAsDataURL"),this.result="data:"+Qt.type+";base64,"+Ie(Qt._buffer)},Dt.prototype.readAsText=function(Qt){Kt(this,Qt,"readAsText"),this.result=te(Qt._buffer)},Dt.prototype.readAsArrayBuffer=function(Qt){Kt(this,Qt,"readAsText"),this.result=Qt._buffer.slice()},Dt.prototype.abort=function(){},URL.createObjectURL=function(Qt){return Qt instanceof Wt?"data:"+Qt.type+";base64,"+Ie(Qt._buffer):ue.call(URL,Qt)},URL.revokeObjectURL=function(Qt){Ne&&Ne.call(URL,Qt)};var Gt=Ae.XMLHttpRequest&&Ae.XMLHttpRequest.prototype.send;Gt&&(XMLHttpRequest.prototype.send=function(Qt){Qt instanceof Wt?(this.setRequestHeader("Content-Type",Qt.type),Gt.call(this,te(Qt._buffer))):Gt.call(this,Qt)}),Ae.FileReader=Dt,Ae.File=$t,Ae.Blob=Wt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var Ct,Be,Rt,He,wt,Ge,et,rt,lt,Ve,ie,$,it,Qe,ye,Zt=Zt||function(Ae){if(!(Ae===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var ve=Ae.document,fe=function(){return Ae.URL||Ae.webkitURL||Ae},ue=ve.createElementNS("http://www.w3.org/1999/xhtml","a"),Ne="download"in ue,je=/constructor/i.test(Ae.HTMLElement)||Ae.safari,Ke=/CriOS\/[\d]+/.test(navigator.userAgent),Ye=Ae.setImmediate||Ae.setTimeout,Pe=function(Q){Ye(function(){throw Q},0)},nt=function(Q){setTimeout(function(){typeof Q=="string"?fe().revokeObjectURL(Q):Q.remove()},4e4)},At=function(Q){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Q.type)?new Blob([String.fromCharCode(65279),Q],{type:Q.type}):Q},Ot=function(Q,te,be){be||(Q=At(Q));var Ie,Re=this,$e=Q.type==="application/octet-stream",gt=function(){!function($t,Dt,Kt){for(var Gt=(Dt=[].concat(Dt)).length;Gt--;){var Qt=$t["on"+Dt[Gt]];if(typeof Qt=="function")try{Qt.call($t,Kt||$t)}catch(Mt){Pe(Mt)}}}(Re,"writestart progress write writeend".split(" "))};if(Re.readyState=Re.INIT,Ne)return Ie=fe().createObjectURL(Q),void Ye(function(){var Wt,$t;ue.href=Ie,ue.download=te,Wt=ue,$t=new MouseEvent("click"),Wt.dispatchEvent($t),gt(),nt(Ie),Re.readyState=Re.DONE},0);!function(){if((Ke||$e&&je)&&Ae.FileReader){var Wt=new FileReader;return Wt.onloadend=function(){var $t=Ke?Wt.result:Wt.result.replace(/^data:[^;]*;/,"data:attachment/file;");Ae.open($t,"_blank")||(Ae.location.href=$t),$t=void 0,Re.readyState=Re.DONE,gt()},Wt.readAsDataURL(Q),Re.readyState=Re.INIT}Ie||(Ie=fe().createObjectURL(Q)),$e?Ae.location.href=Ie:Ae.open(Ie,"_blank")||(Ae.location.href=Ie),Re.readyState=Re.DONE,gt(),nt(Ie)}()},ne=Ot.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(he,Q,te){return Q=Q||he.name||"download",te||(he=At(he)),navigator.msSaveOrOpenBlob(he,Q)}:(ne.abort=function(){},ne.readyState=ne.INIT=0,ne.WRITING=1,ne.DONE=2,ne.error=ne.onwritestart=ne.onprogress=ne.onwrite=ne.onabort=ne.onerror=ne.onwriteend=null,function(he,Q,te){return new Ot(he,Q||he.name||"download",te)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function ht(Ae){var ve=0;if(Ae[ve++]!==71||Ae[ve++]!==73||Ae[ve++]!==70||Ae[ve++]!==56||(Ae[ve++]+1&253)!=56||Ae[ve++]!==97)throw"Invalid GIF 87a/89a header.";var fe=Ae[ve++]|Ae[ve++]<<8,ue=Ae[ve++]|Ae[ve++]<<8,Ne=Ae[ve++],je=Ne>>7,Ke=1<<(7&Ne)+1;Ae[ve++],Ae[ve++];var Ye=null;je&&(Ye=ve,ve+=3*Ke);var Pe=!0,nt=[],At=0,Ot=null,ne=0,he=null;for(this.width=fe,this.height=ue;Pe&&ve<Ae.length;)switch(Ae[ve++]){case 33:switch(Ae[ve++]){case 255:if(Ae[ve]!==11||Ae[ve+1]==78&&Ae[ve+2]==69&&Ae[ve+3]==84&&Ae[ve+4]==83&&Ae[ve+5]==67&&Ae[ve+6]==65&&Ae[ve+7]==80&&Ae[ve+8]==69&&Ae[ve+9]==50&&Ae[ve+10]==46&&Ae[ve+11]==48&&Ae[ve+12]==3&&Ae[ve+13]==1&&Ae[ve+16]==0)ve+=14,he=Ae[ve++]|Ae[ve++]<<8,ve++;else for(ve+=12;!((Kt=Ae[ve++])===0);)ve+=Kt;break;case 249:if(Ae[ve++]!==4||Ae[ve+4]!==0)throw"Invalid graphics extension block.";var Q=Ae[ve++];At=Ae[ve++]|Ae[ve++]<<8,Ot=Ae[ve++],(1&Q)==0&&(Ot=null),ne=Q>>2&7,ve++;break;case 254:for(;!((Kt=Ae[ve++])===0);)ve+=Kt;break;default:throw"Unknown graphic control label: 0x"+Ae[ve-1].toString(16)}break;case 44:var te=Ae[ve++]|Ae[ve++]<<8,be=Ae[ve++]|Ae[ve++]<<8,Ie=Ae[ve++]|Ae[ve++]<<8,Re=Ae[ve++]|Ae[ve++]<<8,$e=Ae[ve++],gt=$e>>6&1,Wt=Ye,$t=!1;$e>>7&&($t=!0,Wt=ve,ve+=3*(1<<(7&$e)+1));var Dt=ve;for(ve++;;){var Kt;if((Kt=Ae[ve++])===0)break;ve+=Kt}nt.push({x:te,y:be,width:Ie,height:Re,has_local_palette:$t,palette_offset:Wt,data_offset:Dt,data_length:ve-Dt,transparent_index:Ot,interlaced:!!gt,delay:At,disposal:ne});break;case 59:Pe=!1;break;default:throw"Unknown gif block: 0x"+Ae[ve-1].toString(16)}this.numFrames=function(){return nt.length},this.loopCount=function(){return he},this.frameInfo=function(Gt){if(Gt<0||Gt>=nt.length)throw"Frame index out of range.";return nt[Gt]},this.decodeAndBlitFrameBGRA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(Ae,Mt.data_offset,er,dr);var st=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,pt=fe-ut,_t=ut,Tt=4*(Mt.y*fe+Mt.x),ft=4*((Mt.y+Mt.height)*fe+Mt.x),Ht=Tt,kt=4*pt;Mt.interlaced===!0&&(kt+=4*(ut+pt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(_t===0&&(_t=ut,ft<=(Ht+=kt)&&(kt=pt+4*(ut+pt)*(ir-1),Ht=Tt+(ut+pt)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=Ae[st+3*Ar],kr=Ae[st+3*Ar+1],tn=Ae[st+3*Ar+2];Qt[Ht++]=tn,Qt[Ht++]=kr,Qt[Ht++]=Nr,Qt[Ht++]=255}--_t}},this.decodeAndBlitFrameRGBA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(Ae,Mt.data_offset,er,dr);var st=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,pt=fe-ut,_t=ut,Tt=4*(Mt.y*fe+Mt.x),ft=4*((Mt.y+Mt.height)*fe+Mt.x),Ht=Tt,kt=4*pt;Mt.interlaced===!0&&(kt+=4*(ut+pt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(_t===0&&(_t=ut,ft<=(Ht+=kt)&&(kt=pt+4*(ut+pt)*(ir-1),Ht=Tt+(ut+pt)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=Ae[st+3*Ar],kr=Ae[st+3*Ar+1],tn=Ae[st+3*Ar+2];Qt[Ht++]=Nr,Qt[Ht++]=kr,Qt[Ht++]=tn,Qt[Ht++]=255}--_t}}}function ct(Ae,ve,fe,ue){for(var Ne=Ae[ve++],je=1<<Ne,Ke=je+1,Ye=Ke+1,Pe=Ne+1,nt=(1<<Pe)-1,At=0,Ot=0,ne=0,he=Ae[ve++],Q=new Int32Array(4096),te=null;;){for(;At<16&&he!==0;)Ot|=Ae[ve++]<<At,At+=8,he===1?he=Ae[ve++]:--he;if(At<Pe)break;var be=Ot&nt;if(Ot>>=Pe,At-=Pe,be!==je){if(be===Ke)break;for(var Ie=be<Ye?be:te,Re=0,$e=Ie;je<$e;)$e=Q[$e]>>8,++Re;var gt=$e;if(ue<ne+Re+(Ie!==be?1:0))return void console.log("Warning, gif stream longer than expected.");fe[ne++]=gt;var Wt=ne+=Re;for(Ie!==be&&(fe[ne++]=gt),$e=Ie;Re--;)$e=Q[$e],fe[--Wt]=255&$e,$e>>=8;te!==null&&Ye<4096&&(Q[Ye++]=te<<8|gt,nt+1<=Ye&&Pe<12&&(++Pe,nt=nt<<1|1)),te=be}else Ye=Ke+1,nt=(1<<(Pe=Ne+1))-1,te=null}return ne!==ue&&console.log("Warning, gif stream shorter than expected."),fe}try{_.GifWriter=function(Ae,ve,fe,ue){var Ne=0,je=(ue=ue===void 0?{}:ue).loop===void 0?null:ue.loop,Ke=ue.palette===void 0?null:ue.palette;if(ve<=0||fe<=0||65535<ve||65535<fe)throw"Width/Height invalid.";function Ye(te){var be=te.length;if(be<2||256<be||be&be-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return be}Ae[Ne++]=71,Ae[Ne++]=73,Ae[Ne++]=70,Ae[Ne++]=56,Ae[Ne++]=57,Ae[Ne++]=97;var Pe=0,nt=0;if(Ke!==null){for(var At=Ye(Ke);At>>=1;)++Pe;if(At=1<<Pe,--Pe,ue.background!==void 0){if(At<=(nt=ue.background))throw"Background index out of range.";if(nt===0)throw"Background index explicitly passed as 0."}}if(Ae[Ne++]=255&ve,Ae[Ne++]=ve>>8&255,Ae[Ne++]=255&fe,Ae[Ne++]=fe>>8&255,Ae[Ne++]=(Ke!==null?128:0)|Pe,Ae[Ne++]=nt,Ae[Ne++]=0,Ke!==null)for(var Ot=0,ne=Ke.length;Ot<ne;++Ot){var he=Ke[Ot];Ae[Ne++]=he>>16&255,Ae[Ne++]=he>>8&255,Ae[Ne++]=255&he}if(je!==null){if(je<0||65535<je)throw"Loop count invalid.";Ae[Ne++]=33,Ae[Ne++]=255,Ae[Ne++]=11,Ae[Ne++]=78,Ae[Ne++]=69,Ae[Ne++]=84,Ae[Ne++]=83,Ae[Ne++]=67,Ae[Ne++]=65,Ae[Ne++]=80,Ae[Ne++]=69,Ae[Ne++]=50,Ae[Ne++]=46,Ae[Ne++]=48,Ae[Ne++]=3,Ae[Ne++]=1,Ae[Ne++]=255&je,Ae[Ne++]=je>>8&255,Ae[Ne++]=0}var Q=!1;this.addFrame=function(te,be,Ie,Re,$e,gt){if(Q===!0&&(--Ne,Q=!1),gt=gt===void 0?{}:gt,te<0||be<0||65535<te||65535<be)throw"x/y invalid.";if(Ie<=0||Re<=0||65535<Ie||65535<Re)throw"Width/Height invalid.";if($e.length<Ie*Re)throw"Not enough pixels for the frame size.";var Wt=!0,$t=gt.palette;if($t==null&&(Wt=!1,$t=Ke),$t==null)throw"Must supply either a local or global palette.";for(var Dt=Ye($t),Kt=0;Dt>>=1;)++Kt;Dt=1<<Kt;var Gt=gt.delay===void 0?0:gt.delay,Qt=gt.disposal===void 0?0:gt.disposal;if(Qt<0||3<Qt)throw"Disposal out of range.";var Mt=!1,dr=0;if(gt.transparent!==void 0&&gt.transparent!==null&&(Mt=!0,(dr=gt.transparent)<0||Dt<=dr))throw"Transparent color index.";if((Qt!==0||Mt||Gt!==0)&&(Ae[Ne++]=33,Ae[Ne++]=249,Ae[Ne++]=4,Ae[Ne++]=Qt<<2|(Mt===!0?1:0),Ae[Ne++]=255&Gt,Ae[Ne++]=Gt>>8&255,Ae[Ne++]=dr,Ae[Ne++]=0),Ae[Ne++]=44,Ae[Ne++]=255&te,Ae[Ne++]=te>>8&255,Ae[Ne++]=255&be,Ae[Ne++]=be>>8&255,Ae[Ne++]=255&Ie,Ae[Ne++]=Ie>>8&255,Ae[Ne++]=255&Re,Ae[Ne++]=Re>>8&255,Ae[Ne++]=Wt===!0?128|Kt-1:0,Wt===!0)for(var er=0,st=$t.length;er<st;++er){var xt=$t[er];Ae[Ne++]=xt>>16&255,Ae[Ne++]=xt>>8&255,Ae[Ne++]=255&xt}Ne=function(ut,pt,_t,Tt){ut[pt++]=_t;var ft=pt++,Ht=1<<_t,kt=Ht-1,ir=Ht+1,Xt=ir+1,mr=_t+1,Ar=0,Nr=0;function kr(fr){for(;fr<=Ar;)ut[pt++]=255&Nr,Nr>>=8,Ar-=8,pt===ft+256&&(ut[ft]=255,ft=pt++)}function tn(fr){Nr|=fr<<Ar,Ar+=mr,kr(8)}var qr=Tt[0]&kt,Lr={};tn(Ht);for(var Qr=1,Ir=Tt.length;Qr<Ir;++Qr){var ur=Tt[Qr]&kt,pr=qr<<8|ur,cr=Lr[pr];if(cr===void 0){for(Nr|=qr<<Ar,Ar+=mr;8<=Ar;)ut[pt++]=255&Nr,Nr>>=8,Ar-=8,pt===ft+256&&(ut[ft]=255,ft=pt++);Xt===4096?(tn(Ht),Xt=ir+1,mr=_t+1,Lr={}):(1<<mr<=Xt&&++mr,Lr[pr]=Xt++),qr=ur}else qr=cr}return tn(qr),tn(ir),kr(1),ft+1===pt?ut[ft]=0:(ut[ft]=pt-ft-1,ut[pt++]=0),pt}(Ae,Ne,Kt<2?2:Kt,$e)},this.end=function(){return Q===!1&&(Ae[Ne++]=59,Q=!0),Ne}},_.GifReader=ht}catch(Ae){}function yt(Ae){var ve,fe,ue,Ne,je,Ke=Math.floor,Ye=new Array(64),Pe=new Array(64),nt=new Array(64),At=new Array(64),Ot=new Array(65535),ne=new Array(65535),he=new Array(64),Q=new Array(64),te=[],be=0,Ie=7,Re=new Array(64),$e=new Array(64),gt=new Array(64),Wt=new Array(256),$t=new Array(2048),Dt=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Kt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gt=[0,1,2,3,4,5,6,7,8,9,10,11],Qt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Mt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],dr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],st=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],xt=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function ut(kt,ir){for(var Xt=0,mr=0,Ar=new Array,Nr=1;Nr<=16;Nr++){for(var kr=1;kr<=kt[Nr];kr++)Ar[ir[mr]]=[],Ar[ir[mr]][0]=Xt,Ar[ir[mr]][1]=Nr,mr++,Xt++;Xt*=2}return Ar}function pt(kt){for(var ir=kt[0],Xt=kt[1]-1;0<=Xt;)ir&1<<Xt&&(be|=1<<Ie),Xt--,--Ie<0&&(be==255?(_t(255),_t(0)):_t(be),Ie=7,be=0)}function _t(kt){te.push(kt)}function Tt(kt){_t(kt>>8&255),_t(255&kt)}function ft(kt,ir,Xt,mr,Ar){for(var Nr,kr=Ar[0],tn=Ar[240],qr=function(Yr,un){var Nn,jr,Tn,gn,Pn,zn,qn,Yn,Vn,An,on=0;for(Vn=0;Vn<8;++Vn){Nn=Yr[on],jr=Yr[on+1],Tn=Yr[on+2],gn=Yr[on+3],Pn=Yr[on+4],zn=Yr[on+5],qn=Yr[on+6];var ia=Nn+(Yn=Yr[on+7]),xa=Nn-Yn,ta=jr+qn,Ii=jr-qn,Ci=Tn+zn,Gn=Tn-zn,Oa=gn+Pn,mn=gn-Pn,On=ia+Oa,Ln=ia-Oa,In=ta+Ci,jn=ta-Ci;Yr[on]=On+In,Yr[on+4]=On-In;var ni=.707106781*(jn+Ln);Yr[on+2]=Ln+ni,Yr[on+6]=Ln-ni;var di=.382683433*((On=mn+Gn)-(jn=Ii+xa)),Na=.5411961*On+di,Qi=1.306562965*jn+di,ma=.707106781*(In=Gn+Ii),Ba=xa+ma,Qa=xa-ma;Yr[on+5]=Qa+Na,Yr[on+3]=Qa-Na,Yr[on+1]=Ba+Qi,Yr[on+7]=Ba-Qi,on+=8}for(Vn=on=0;Vn<8;++Vn){Nn=Yr[on],jr=Yr[on+8],Tn=Yr[on+16],gn=Yr[on+24],Pn=Yr[on+32],zn=Yr[on+40],qn=Yr[on+48];var Wi=Nn+(Yn=Yr[on+56]),Co=Nn-Yn,aa=jr+qn,Hi=jr-qn,ga=Tn+zn,ha=Tn-zn,mo=gn+Pn,Fn=gn-Pn,$i=Wi+mo,eo=Wi-mo,To=aa+ga,uo=aa-ga;Yr[on]=$i+To,Yr[on+32]=$i-To;var rr=.707106781*(uo+eo);Yr[on+16]=eo+rr,Yr[on+48]=eo-rr;var Tr=.382683433*(($i=Fn+ha)-(uo=Hi+Co)),Pr=.5411961*$i+Tr,Wr=1.306562965*uo+Tr,hn=.707106781*(To=ha+Hi),tt=Co+hn,jt=Co-hn;Yr[on+40]=jt+Pr,Yr[on+24]=jt-Pr,Yr[on+8]=tt+Wr,Yr[on+56]=tt-Wr,on++}for(Vn=0;Vn<64;++Vn)An=Yr[Vn]*un[Vn],he[Vn]=0<An?An+.5|0:An-.5|0;return he}(kt,ir),Lr=0;Lr<64;++Lr)Q[Dt[Lr]]=qr[Lr];var Qr=Q[0]-Xt;Xt=Q[0],Qr==0?pt(mr[0]):(pt(mr[ne[Nr=32767+Qr]]),pt(Ot[Nr]));for(var Ir=63;0<Ir&&Q[Ir]==0;Ir--);if(Ir==0)return pt(kr),Xt;for(var ur,pr=1;pr<=Ir;){for(var cr=pr;Q[pr]==0&&pr<=Ir;++pr);var fr=pr-cr;if(16<=fr){ur=fr>>4;for(var xr=1;xr<=ur;++xr)pt(tn);fr&=15}Nr=32767+Q[pr],pt(Ar[(fr<<4)+ne[Nr]]),pt(Ot[Nr]),pr++}return Ir!=63&&pt(kr),Xt}function Ht(kt){(kt<=0&&(kt=1),100<kt&&(kt=100),je!=kt)&&(function(ir){for(var Xt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],mr=0;mr<64;mr++){var Ar=Ke((Xt[mr]*ir+50)/100);Ar<1?Ar=1:255<Ar&&(Ar=255),Ye[Dt[mr]]=Ar}for(var Nr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],kr=0;kr<64;kr++){var tn=Ke((Nr[kr]*ir+50)/100);tn<1?tn=1:255<tn&&(tn=255),Pe[Dt[kr]]=tn}for(var qr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,Qr=0;Qr<8;Qr++)for(var Ir=0;Ir<8;Ir++)nt[Lr]=1/(Ye[Dt[Lr]]*qr[Qr]*qr[Ir]*8),At[Lr]=1/(Pe[Dt[Lr]]*qr[Qr]*qr[Ir]*8),Lr++}(kt<50?Math.floor(5e3/kt):Math.floor(200-2*kt)),je=kt)}this.encode=function(kt,ir){var Xt,mr;new Date().getTime(),ir&&Ht(ir),te=new Array,be=0,Ie=7,Tt(65496),Tt(65504),Tt(16),_t(74),_t(70),_t(73),_t(70),_t(0),_t(1),_t(1),_t(0),Tt(1),Tt(1),_t(0),_t(0),function(){Tt(65499),Tt(132),_t(0);for(var gn=0;gn<64;gn++)_t(Ye[gn]);_t(1);for(var Pn=0;Pn<64;Pn++)_t(Pe[Pn])}(),Xt=kt.width,mr=kt.height,Tt(65472),Tt(17),_t(8),Tt(mr),Tt(Xt),_t(3),_t(1),_t(17),_t(0),_t(2),_t(17),_t(1),_t(3),_t(17),_t(1),function(){Tt(65476),Tt(418),_t(0);for(var gn=0;gn<16;gn++)_t(Kt[gn+1]);for(var Pn=0;Pn<=11;Pn++)_t(Gt[Pn]);_t(16);for(var zn=0;zn<16;zn++)_t(Qt[zn+1]);for(var qn=0;qn<=161;qn++)_t(Mt[qn]);_t(1);for(var Yn=0;Yn<16;Yn++)_t(dr[Yn+1]);for(var Vn=0;Vn<=11;Vn++)_t(er[Vn]);_t(17);for(var An=0;An<16;An++)_t(st[An+1]);for(var on=0;on<=161;on++)_t(xt[on])}(),Tt(65498),Tt(12),_t(3),_t(1),_t(0),_t(2),_t(17),_t(3),_t(17),_t(0),_t(63),_t(0);var Ar=0,Nr=0,kr=0;be=0,Ie=7,this.encode.displayName="_encode_";for(var tn,qr,Lr,Qr,Ir,ur,pr,cr,fr,xr=kt.data,Yr=kt.width,un=kt.height,Nn=4*Yr,jr=0;jr<un;){for(tn=0;tn<Nn;){for(ur=Ir=Nn*jr+tn,pr=-1,fr=cr=0;fr<64;fr++)ur=Ir+(cr=fr>>3)*Nn+(pr=4*(7&fr)),un<=jr+cr&&(ur-=Nn*(jr+1+cr-un)),Nn<=tn+pr&&(ur-=tn+pr-Nn+4),qr=xr[ur++],Lr=xr[ur++],Qr=xr[ur++],Re[fr]=($t[qr]+$t[Lr+256>>0]+$t[Qr+512>>0]>>16)-128,$e[fr]=($t[qr+768>>0]+$t[Lr+1024>>0]+$t[Qr+1280>>0]>>16)-128,gt[fr]=($t[qr+1280>>0]+$t[Lr+1536>>0]+$t[Qr+1792>>0]>>16)-128;Ar=ft(Re,nt,Ar,ve,ue),Nr=ft($e,At,Nr,fe,Ne),kr=ft(gt,At,kr,fe,Ne),tn+=32}jr+=8}if(0<=Ie){var Tn=[];Tn[1]=Ie+1,Tn[0]=(1<<Ie+1)-1,pt(Tn)}return Tt(65497),new Uint8Array(te)},function(){new Date().getTime(),Ae||(Ae=50),function(){for(var kt=String.fromCharCode,ir=0;ir<256;ir++)Wt[ir]=kt(ir)}(),ve=ut(Kt,Gt),fe=ut(dr,er),ue=ut(Qt,Mt),Ne=ut(st,xt),function(){for(var kt=1,ir=2,Xt=1;Xt<=15;Xt++){for(var mr=kt;mr<ir;mr++)ne[32767+mr]=Xt,Ot[32767+mr]=[],Ot[32767+mr][1]=Xt,Ot[32767+mr][0]=mr;for(var Ar=-(ir-1);Ar<=-kt;Ar++)ne[32767+Ar]=Xt,Ot[32767+Ar]=[],Ot[32767+Ar][1]=Xt,Ot[32767+Ar][0]=ir-1+Ar;kt<<=1,ir<<=1}}(),function(){for(var kt=0;kt<256;kt++)$t[kt]=19595*kt,$t[kt+256>>0]=38470*kt,$t[kt+512>>0]=7471*kt+32768,$t[kt+768>>0]=-11059*kt,$t[kt+1024>>0]=-21709*kt,$t[kt+1280>>0]=32768*kt+8421375,$t[kt+1536>>0]=-27439*kt,$t[kt+1792>>0]=-5329*kt}(),Ht(Ae),new Date().getTime()}()}function It(Ae,ve){if(this.pos=0,this.buffer=Ae,this.datav=new DataView(Ae.buffer),this.is_with_alpha=!!ve,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=ht,vt.API.adler32cs=(Ge=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",et=null,rt=function(){if(!Ge)return function(){return!1};try{var Ae={};typeof Ae.Buffer=="function"&&(et=Ae.Buffer)}catch(ve){}return function(ve){return ve instanceof ArrayBuffer||et!==null&&ve instanceof et}}(),lt=et!==null?function(Ae){return new et(Ae,"utf8").toString("binary")}:function(Ae){return unescape(encodeURIComponent(Ae))},Ve=function(ve,fe){for(var ue=65535&ve,Ne=ve>>>16,je=0,Ke=fe.length;je<Ke;je++)ue=(ue+(255&fe.charCodeAt(je)))%65521,Ne=(Ne+ue)%65521;return(Ne<<16|ue)>>>0},ie=function(ve,fe){for(var ue=65535&ve,Ne=ve>>>16,je=0,Ke=fe.length;je<Ke;je++)ue=(ue+fe[je])%65521,Ne=(Ne+ue)%65521;return(Ne<<16|ue)>>>0},it=($={}).Adler32=(((wt=(He=function(ve){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(ve=ve==null?1:+ve))throw new Error("First arguments needs to be a finite number.");this.checksum=ve>>>0}).prototype={}).constructor=He).from=((Ct=function(ve){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(ve==null)throw new Error("First argument needs to be a string.");this.checksum=Ve(1,ve.toString())}).prototype=wt,Ct),He.fromUtf8=((Be=function(ve){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(ve==null)throw new Error("First argument needs to be a string.");var fe=lt(ve.toString());this.checksum=Ve(1,fe)}).prototype=wt,Be),Ge&&(He.fromBuffer=((Rt=function(ve){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(!rt(ve))throw new Error("First argument needs to be ArrayBuffer.");var fe=new Uint8Array(ve);return this.checksum=ie(1,fe)}).prototype=wt,Rt)),wt.update=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");return Ae=Ae.toString(),this.checksum=Ve(this.checksum,Ae)},wt.updateUtf8=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");var ve=lt(Ae.toString());return this.checksum=Ve(this.checksum,ve)},Ge&&(wt.updateBuffer=function(Ae){if(!rt(Ae))throw new Error("First argument needs to be ArrayBuffer.");var ve=new Uint8Array(Ae);return this.checksum=ie(this.checksum,ve)}),wt.clone=function(){return new it(this.checksum)},He),$.from=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");return Ve(1,Ae.toString())},$.fromUtf8=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");var ve=lt(Ae.toString());return Ve(1,ve)},Ge&&($.fromBuffer=function(Ae){if(!rt(Ae))throw new Error("First argument need to be ArrayBuffer.");var ve=new Uint8Array(Ae);return ie(1,ve)}),$),function(Ae){Ae.__bidiEngine__=Ae.prototype.__bidiEngine__=function(ue){var Ne,je,Ke,Ye,Pe,nt,At,Ot=ve,ne=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],he=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],Q={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},te={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},be=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],Ie=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)$/),Re=!1,$e=0;this.__bidiEngine__={};var gt=function(dr){var er=dr.charCodeAt(),st=er>>8,xt=te[st];return xt!==void 0?Ot[256*xt+(255&er)]:st===252||st===253?"AL":Ie.test(st)?"L":st===8?"R":"N"},Wt=function(dr){for(var er,st=0;st<dr.length;st++){if((er=gt(dr.charAt(st)))==="L")return!1;if(er==="R")return!0}return!1},$t=function(dr,er,st,xt){var ut,pt,_t,Tt,ft=er[xt];switch(ft){case"L":case"R":Re=!1;break;case"N":case"AN":break;case"EN":Re&&(ft="AN");break;case"AL":Re=!0,ft="R";break;case"WS":ft="N";break;case"CS":xt<1||xt+1>=er.length||(ut=st[xt-1])!=="EN"&&ut!=="AN"||(pt=er[xt+1])!=="EN"&&pt!=="AN"?ft="N":Re&&(pt="AN"),ft=pt===ut?pt:"N";break;case"ES":ft=(ut=0<xt?st[xt-1]:"B")==="EN"&&xt+1<er.length&&er[xt+1]==="EN"?"EN":"N";break;case"ET":if(0<xt&&st[xt-1]==="EN"){ft="EN";break}if(Re){ft="N";break}for(_t=xt+1,Tt=er.length;_t<Tt&&er[_t]==="ET";)_t++;ft=_t<Tt&&er[_t]==="EN"?"EN":"N";break;case"NSM":if(Ke&&!Ye){for(Tt=er.length,_t=xt+1;_t<Tt&&er[_t]==="NSM";)_t++;if(_t<Tt){var Ht=dr[xt],kt=1425<=Ht&&Ht<=2303||Ht===64286;if(ut=er[_t],kt&&(ut==="R"||ut==="AL")){ft="R";break}}}ft=xt<1||(ut=er[xt-1])==="B"?"N":st[xt-1];break;case"B":Ne=!(Re=!1),ft=$e;break;case"S":je=!0,ft="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Re=!1;break;case"BN":ft="N"}return ft},Dt=function(dr,er,st){var xt=dr.split("");return st&&Kt(xt,st,{hiLevel:$e}),xt.reverse(),er&&er.reverse(),xt.join("")},Kt=function(dr,er,st){var xt,ut,pt,_t,Tt,ft=-1,Ht=dr.length,kt=0,ir=[],Xt=$e?he:ne,mr=[];for(je=Ne=Re=!1,ut=0;ut<Ht;ut++)mr[ut]=gt(dr[ut]);for(pt=0;pt<Ht;pt++){if(Tt=kt,ir[pt]=$t(dr,mr,ir,pt),xt=240&(kt=Xt[Tt][Q[ir[pt]]]),kt&=15,er[pt]=_t=Xt[kt][5],0<xt)if(xt===16){for(ut=ft;ut<pt;ut++)er[ut]=1;ft=-1}else ft=-1;if(Xt[kt][6])ft===-1&&(ft=pt);else if(-1<ft){for(ut=ft;ut<pt;ut++)er[ut]=_t;ft=-1}mr[pt]==="B"&&(er[pt]=0),st.hiLevel|=_t}je&&function(Ar,Nr,kr){for(var tn=0;tn<kr;tn++)if(Ar[tn]==="S"){Nr[tn]=$e;for(var qr=tn-1;0<=qr&&Ar[qr]==="WS";qr--)Nr[qr]=$e}}(mr,er,Ht)},Gt=function(dr,er,st,xt,ut){if(!(ut.hiLevel<dr)){if(dr===1&&$e===1&&!Ne)return er.reverse(),void(st&&st.reverse());for(var pt,_t,Tt,ft,Ht=er.length,kt=0;kt<Ht;){if(xt[kt]>=dr){for(Tt=kt+1;Tt<Ht&&xt[Tt]>=dr;)Tt++;for(ft=kt,_t=Tt-1;ft<_t;ft++,_t--)pt=er[ft],er[ft]=er[_t],er[_t]=pt,st&&(pt=st[ft],st[ft]=st[_t],st[_t]=pt);kt=Tt}kt++}}},Qt=function(dr,er,st){var xt=dr.split(""),ut={hiLevel:$e};return st||(st=[]),Kt(xt,st,ut),function(pt,_t,Tt){if(Tt.hiLevel!==0&&At)for(var ft,Ht=0;Ht<pt.length;Ht++)_t[Ht]===1&&0<=(ft=be.indexOf(pt[Ht]))&&(pt[Ht]=be[ft+1])}(xt,st,ut),Gt(2,xt,er,st,ut),Gt(1,xt,er,st,ut),xt.join("")};return this.__bidiEngine__.doBidiReorder=function(Mt,dr,er){if(function(xt,ut){if(ut)for(var pt=0;pt<xt.length;pt++)ut[pt]=pt;Ye===void 0&&(Ye=Wt(xt)),nt===void 0&&(nt=Wt(xt))}(Mt,dr),Ke||!Pe||nt)if(Ke&&Pe&&Ye^nt)$e=Ye?1:0,Mt=Dt(Mt,dr,er);else if(!Ke&&Pe&&nt)$e=Ye?1:0,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr);else if(!Ke||Ye||Pe||nt){if(Ke&&!Pe&&Ye^nt)Mt=Dt(Mt,dr),Mt=Ye?($e=0,Qt(Mt,dr,er)):($e=1,Mt=Qt(Mt,dr,er),Dt(Mt,dr));else if(Ke&&Ye&&!Pe&&nt)$e=1,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr);else if(!Ke&&!Pe&&Ye^nt){var st=At;Ye?($e=1,Mt=Qt(Mt,dr,er),$e=0,At=!1,Mt=Qt(Mt,dr,er),At=st):($e=0,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr),At=!($e=1),Mt=Qt(Mt,dr,er),At=st,Mt=Dt(Mt,dr))}}else $e=0,Mt=Qt(Mt,dr,er);else $e=Ye?1:0,Mt=Qt(Mt,dr,er);return Mt},this.__bidiEngine__.setOptions=function(Mt){Mt&&(Ke=Mt.isInputVisual,Pe=Mt.isOutputVisual,Ye=Mt.isInputRtl,nt=Mt.isOutputRtl,At=Mt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(ue),this.__bidiEngine__};var ve=["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"],fe=new Ae.__bidiEngine__({isInputVisual:!0});Ae.API.events.push(["postProcessText",function(ue){var Ne=ue.text,je=(ue.x,ue.y,ue.options||{}),Ke=(ue.mutex,je.lang,[]);if(Object.prototype.toString.call(Ne)==="[object Array]"){var Ye=0;for(Ke=[],Ye=0;Ye<Ne.length;Ye+=1)Object.prototype.toString.call(Ne[Ye])==="[object Array]"?Ke.push([fe.doBidiReorder(Ne[Ye][0]),Ne[Ye][1],Ne[Ye][2]]):Ke.push([fe.doBidiReorder(Ne[Ye])]);ue.text=Ke}else ue.text=fe.doBidiReorder(Ne)}])}(vt),window.tmp=yt,It.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var Ae=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Ae);for(var ve=0;ve<Ae;ve++){var fe=this.datav.getUint8(this.pos++,!0),ue=this.datav.getUint8(this.pos++,!0),Ne=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0);this.palette[ve]={red:Ne,green:ue,blue:fe,quad:je}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},It.prototype.parseBGR=function(){this.pos=this.offset;try{var Ae="bit"+this.bitPP,ve=this.width*this.height*4;this.data=new Uint8Array(ve),this[Ae]()}catch(fe){console.log("bit decode error:"+fe)}},It.prototype.bit1=function(){var Ae=Math.ceil(this.width/8),ve=Ae%4,fe=0<=this.height?this.height-1:-this.height;for(fe=this.height-1;0<=fe;fe--){for(var ue=this.bottom_up?fe:this.height-1-fe,Ne=0;Ne<Ae;Ne++)for(var je=this.datav.getUint8(this.pos++,!0),Ke=ue*this.width*4+8*Ne*4,Ye=0;Ye<8&&8*Ne+Ye<this.width;Ye++){var Pe=this.palette[je>>7-Ye&1];this.data[Ke+4*Ye]=Pe.blue,this.data[Ke+4*Ye+1]=Pe.green,this.data[Ke+4*Ye+2]=Pe.red,this.data[Ke+4*Ye+3]=255}ve!=0&&(this.pos+=4-ve)}},It.prototype.bit4=function(){for(var Ae=Math.ceil(this.width/2),ve=Ae%4,fe=this.height-1;0<=fe;fe--){for(var ue=this.bottom_up?fe:this.height-1-fe,Ne=0;Ne<Ae;Ne++){var je=this.datav.getUint8(this.pos++,!0),Ke=ue*this.width*4+2*Ne*4,Ye=je>>4,Pe=15&je,nt=this.palette[Ye];if(this.data[Ke]=nt.blue,this.data[Ke+1]=nt.green,this.data[Ke+2]=nt.red,this.data[Ke+3]=255,2*Ne+1>=this.width)break;nt=this.palette[Pe],this.data[Ke+4]=nt.blue,this.data[Ke+4+1]=nt.green,this.data[Ke+4+2]=nt.red,this.data[Ke+4+3]=255}ve!=0&&(this.pos+=4-ve)}},It.prototype.bit8=function(){for(var Ae=this.width%4,ve=this.height-1;0<=ve;ve--){for(var fe=this.bottom_up?ve:this.height-1-ve,ue=0;ue<this.width;ue++){var Ne=this.datav.getUint8(this.pos++,!0),je=fe*this.width*4+4*ue;if(Ne<this.palette.length){var Ke=this.palette[Ne];this.data[je]=Ke.red,this.data[je+1]=Ke.green,this.data[je+2]=Ke.blue,this.data[je+3]=255}else this.data[je]=255,this.data[je+1]=255,this.data[je+2]=255,this.data[je+3]=255}Ae!=0&&(this.pos+=4-Ae)}},It.prototype.bit15=function(){for(var Ae=this.width%3,ve=parseInt("11111",2),fe=this.height-1;0<=fe;fe--){for(var ue=this.bottom_up?fe:this.height-1-fe,Ne=0;Ne<this.width;Ne++){var je=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ke=(je&ve)/ve*255|0,Ye=(je>>5&ve)/ve*255|0,Pe=(je>>10&ve)/ve*255|0,nt=je>>15?255:0,At=ue*this.width*4+4*Ne;this.data[At]=Pe,this.data[At+1]=Ye,this.data[At+2]=Ke,this.data[At+3]=nt}this.pos+=Ae}},It.prototype.bit16=function(){for(var Ae=this.width%3,ve=parseInt("11111",2),fe=parseInt("111111",2),ue=this.height-1;0<=ue;ue--){for(var Ne=this.bottom_up?ue:this.height-1-ue,je=0;je<this.width;je++){var Ke=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ye=(Ke&ve)/ve*255|0,Pe=(Ke>>5&fe)/fe*255|0,nt=(Ke>>11)/ve*255|0,At=Ne*this.width*4+4*je;this.data[At]=nt,this.data[At+1]=Pe,this.data[At+2]=Ye,this.data[At+3]=255}this.pos+=Ae}},It.prototype.bit24=function(){for(var Ae=this.height-1;0<=Ae;Ae--){for(var ve=this.bottom_up?Ae:this.height-1-Ae,fe=0;fe<this.width;fe++){var ue=this.datav.getUint8(this.pos++,!0),Ne=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0),Ke=ve*this.width*4+4*fe;this.data[Ke]=je,this.data[Ke+1]=Ne,this.data[Ke+2]=ue,this.data[Ke+3]=255}this.pos+=this.width%4}},It.prototype.bit32=function(){for(var Ae=this.height-1;0<=Ae;Ae--)for(var ve=this.bottom_up?Ae:this.height-1-Ae,fe=0;fe<this.width;fe++){var ue=this.datav.getUint8(this.pos++,!0),Ne=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Ye=ve*this.width*4+4*fe;this.data[Ye]=je,this.data[Ye+1]=Ne,this.data[Ye+2]=ue,this.data[Ye+3]=Ke}},It.prototype.getData=function(){return this.data},window.tmp=It,function(Ae){var ve=15,fe=573,ue=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function Ne(){var he=this;function Q(te,be){for(var Ie=0;Ie|=1&te,te>>>=1,Ie<<=1,0<--be;);return Ie>>>1}he.build_tree=function(te){var be,Ie,Re,$e=he.dyn_tree,gt=he.stat_desc.static_tree,Wt=he.stat_desc.elems,$t=-1;for(te.heap_len=0,te.heap_max=fe,be=0;be<Wt;be++)$e[2*be]!==0?(te.heap[++te.heap_len]=$t=be,te.depth[be]=0):$e[2*be+1]=0;for(;te.heap_len<2;)$e[2*(Re=te.heap[++te.heap_len]=$t<2?++$t:0)]=1,te.depth[Re]=0,te.opt_len--,gt&&(te.static_len-=gt[2*Re+1]);for(he.max_code=$t,be=Math.floor(te.heap_len/2);1<=be;be--)te.pqdownheap($e,be);for(Re=Wt;be=te.heap[1],te.heap[1]=te.heap[te.heap_len--],te.pqdownheap($e,1),Ie=te.heap[1],te.heap[--te.heap_max]=be,te.heap[--te.heap_max]=Ie,$e[2*Re]=$e[2*be]+$e[2*Ie],te.depth[Re]=Math.max(te.depth[be],te.depth[Ie])+1,$e[2*be+1]=$e[2*Ie+1]=Re,te.heap[1]=Re++,te.pqdownheap($e,1),2<=te.heap_len;);te.heap[--te.heap_max]=te.heap[1],function(Dt){var Kt,Gt,Qt,Mt,dr,er,st=he.dyn_tree,xt=he.stat_desc.static_tree,ut=he.stat_desc.extra_bits,pt=he.stat_desc.extra_base,_t=he.stat_desc.max_length,Tt=0;for(Mt=0;Mt<=ve;Mt++)Dt.bl_count[Mt]=0;for(st[2*Dt.heap[Dt.heap_max]+1]=0,Kt=Dt.heap_max+1;Kt<fe;Kt++)_t<(Mt=st[2*st[2*(Gt=Dt.heap[Kt])+1]+1]+1)&&(Mt=_t,Tt++),st[2*Gt+1]=Mt,Gt>he.max_code||(Dt.bl_count[Mt]++,dr=0,pt<=Gt&&(dr=ut[Gt-pt]),er=st[2*Gt],Dt.opt_len+=er*(Mt+dr),xt&&(Dt.static_len+=er*(xt[2*Gt+1]+dr)));if(Tt!==0){do{for(Mt=_t-1;Dt.bl_count[Mt]===0;)Mt--;Dt.bl_count[Mt]--,Dt.bl_count[Mt+1]+=2,Dt.bl_count[_t]--,Tt-=2}while(0<Tt);for(Mt=_t;Mt!==0;Mt--)for(Gt=Dt.bl_count[Mt];Gt!==0;)(Qt=Dt.heap[--Kt])>he.max_code||(st[2*Qt+1]!=Mt&&(Dt.opt_len+=(Mt-st[2*Qt+1])*st[2*Qt],st[2*Qt+1]=Mt),Gt--)}}(te),function(Dt,Kt,Gt){var Qt,Mt,dr,er=[],st=0;for(Qt=1;Qt<=ve;Qt++)er[Qt]=st=st+Gt[Qt-1]<<1;for(Mt=0;Mt<=Kt;Mt++)(dr=Dt[2*Mt+1])!==0&&(Dt[2*Mt]=Q(er[dr]++,dr))}($e,he.max_code,te.bl_count)}}function je(he,Q,te,be,Ie){this.static_tree=he,this.extra_bits=Q,this.extra_base=te,this.elems=be,this.max_length=Ie}Ne._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],Ne.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Ne.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Ne.d_code=function(he){return he<256?ue[he]:ue[256+(he>>>7)]},Ne.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Ne.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ne.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ne.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],je.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],je.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],je.static_l_desc=new je(je.static_ltree,Ne.extra_lbits,257,286,ve),je.static_d_desc=new je(je.static_dtree,Ne.extra_dbits,0,30,ve),je.static_bl_desc=new je(null,Ne.extra_blbits,0,19,7);function Ke(he,Q,te,be,Ie){this.good_length=he,this.max_lazy=Q,this.nice_length=te,this.max_chain=be,this.func=Ie}var Ye=[new Ke(0,0,0,0,0),new Ke(4,4,8,4,1),new Ke(4,5,16,8,1),new Ke(4,6,32,32,1),new Ke(4,4,16,16,2),new Ke(8,16,32,32,2),new Ke(8,16,128,128,2),new Ke(8,32,128,256,2),new Ke(32,128,258,1024,2),new Ke(32,258,258,4096,2)],Pe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function nt(he,Q,te,be){var Ie=he[2*Q],Re=he[2*te];return Ie<Re||Ie==Re&&be[Q]<=be[te]}function At(){var he,Q,te,be,Ie,Re,$e,gt,Wt,$t,Dt,Kt,Gt,Qt,Mt,dr,er,st,xt,ut,pt,_t,Tt,ft,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,Lr,Qr,Ir,ur,pr,cr,fr,xr=this,Yr=new Ne,un=new Ne,Nn=new Ne;function jr(){var mn;for(mn=0;mn<286;mn++)Nr[2*mn]=0;for(mn=0;mn<30;mn++)kr[2*mn]=0;for(mn=0;mn<19;mn++)tn[2*mn]=0;Nr[512]=1,xr.opt_len=xr.static_len=0,Qr=ur=0}function Tn(mn,On){var Ln,In,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),mn[2*(On+1)+1]=65535,Ln=0;Ln<=On;Ln++)In=ni,ni=mn[2*(Ln+1)+1],++di<Na&&In==ni||(di<Qi?tn[2*In]+=di:In!==0?(In!=jn&&tn[2*In]++,tn[32]++):di<=10?tn[34]++:tn[36]++,jn=In,Qi=(di=0)===ni?(Na=138,3):In==ni?(Na=6,3):(Na=7,4))}function gn(mn){xr.pending_buf[xr.pending++]=mn}function Pn(mn){gn(255&mn),gn(mn>>>8&255)}function zn(mn,On){var Ln,In=On;16-In<fr?(Pn(cr|=(Ln=mn)<<fr&65535),cr=Ln>>>16-fr,fr+=In-16):(cr|=mn<<fr&65535,fr+=In)}function qn(mn,On){var Ln=2*mn;zn(65535&On[Ln],65535&On[Ln+1])}function Yn(mn,On){var Ln,In,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),Ln=0;Ln<=On;Ln++)if(In=ni,ni=mn[2*(Ln+1)+1],!(++di<Na&&In==ni)){if(di<Qi)for(;qn(In,tn),--di!=0;);else In!==0?(In!=jn&&(qn(In,tn),di--),qn(16,tn),zn(di-3,2)):di<=10?(qn(17,tn),zn(di-3,3)):(qn(18,tn),zn(di-11,7));jn=In,Qi=(di=0)===ni?(Na=138,3):In==ni?(Na=6,3):(Na=7,4)}}function Vn(){fr==16?(Pn(cr),fr=cr=0):8<=fr&&(gn(255&cr),cr>>>=8,fr-=8)}function An(mn,On){var Ln,In,jn;if(xr.pending_buf[Ir+2*Qr]=mn>>>8&255,xr.pending_buf[Ir+2*Qr+1]=255&mn,xr.pending_buf[qr+Qr]=255&On,Qr++,mn===0?Nr[2*On]++:(ur++,mn--,Nr[2*(Ne._length_code[On]+256+1)]++,kr[2*Ne.d_code(mn)]++),(8191&Qr)==0&&2<ir){for(Ln=8*Qr,In=pt-er,jn=0;jn<30;jn++)Ln+=kr[2*jn]*(5+Ne.extra_dbits[jn]);if(Ln>>>=3,ur<Math.floor(Qr/2)&&Ln<Math.floor(In/2))return!0}return Qr==Lr-1}function on(mn,On){var Ln,In,jn,ni,di=0;if(Qr!==0)for(;Ln=xr.pending_buf[Ir+2*di]<<8&65280|255&xr.pending_buf[Ir+2*di+1],In=255&xr.pending_buf[qr+di],di++,Ln===0?qn(In,mn):(qn((jn=Ne._length_code[In])+256+1,mn),(ni=Ne.extra_lbits[jn])!==0&&zn(In-=Ne.base_length[jn],ni),qn(jn=Ne.d_code(--Ln),On),(ni=Ne.extra_dbits[jn])!==0&&zn(Ln-=Ne.base_dist[jn],ni)),di<Qr;);qn(256,mn),pr=mn[513]}function ia(){8<fr?Pn(cr):0<fr&&gn(255&cr),fr=cr=0}function xa(mn,On,Ln){var In,jn,ni;zn(0+(Ln?1:0),3),In=mn,jn=On,ni=!0,ia(),pr=8,ni&&(Pn(jn),Pn(~jn)),xr.pending_buf.set(gt.subarray(In,In+jn),xr.pending),xr.pending+=jn}function ta(mn,On,Ln){var In,jn,ni=0;0<ir?(Yr.build_tree(xr),un.build_tree(xr),ni=function(){var di;for(Tn(Nr,Yr.max_code),Tn(kr,un.max_code),Nn.build_tree(xr),di=18;3<=di&&tn[2*Ne.bl_order[di]+1]===0;di--);return xr.opt_len+=3*(di+1)+5+5+4,di}(),In=xr.opt_len+3+7>>>3,(jn=xr.static_len+3+7>>>3)<=In&&(In=jn)):In=jn=On+5,On+4<=In&&mn!=-1?xa(mn,On,Ln):jn==In?(zn(2+(Ln?1:0),3),on(je.static_ltree,je.static_dtree)):(zn(4+(Ln?1:0),3),function(di,Na,Qi){var ma;for(zn(di-257,5),zn(Na-1,5),zn(Qi-4,4),ma=0;ma<Qi;ma++)zn(tn[2*Ne.bl_order[ma]+1],3);Yn(Nr,di-1),Yn(kr,Na-1)}(Yr.max_code+1,un.max_code+1,ni+1),on(Nr,kr)),jr(),Ln&&ia()}function Ii(mn){ta(0<=er?er:-1,pt-er,mn),er=pt,he.flush_pending()}function Ci(){var mn,On,Ln,In;do{if((In=Wt-Tt-pt)===0&&pt===0&&Tt===0)In=Ie;else if(In==-1)In--;else if(Ie+Ie-262<=pt){for(gt.set(gt.subarray(Ie,Ie+Ie),0),_t-=Ie,pt-=Ie,er-=Ie,Ln=mn=Gt;On=65535&Dt[--Ln],Dt[Ln]=Ie<=On?On-Ie:0,--mn!=0;);for(Ln=mn=Ie;On=65535&$t[--Ln],$t[Ln]=Ie<=On?On-Ie:0,--mn!=0;);In+=Ie}if(he.avail_in===0)return;mn=he.read_buf(gt,pt+Tt,In),3<=(Tt+=mn)&&(Kt=((Kt=255&gt[pt])<<dr^255&gt[pt+1])&Mt)}while(Tt<262&&he.avail_in!==0)}function Gn(mn){var On,Ln,In=Ht,jn=pt,ni=ft,di=Ie-262<pt?pt-(Ie-262):0,Na=Ar,Qi=$e,ma=pt+258,Ba=gt[jn+ni-1],Qa=gt[jn+ni];mr<=ft&&(In>>=2),Tt<Na&&(Na=Tt);do if(gt[(On=mn)+ni]==Qa&&gt[On+ni-1]==Ba&&gt[On]==gt[jn]&&gt[++On]==gt[jn+1]){jn+=2,On++;do;while(gt[++jn]==gt[++On]&&gt[++jn]==gt[++On]&&gt[++jn]==gt[++On]&&gt[++jn]==gt[++On]&&gt[++jn]==gt[++On]&&gt[++jn]==gt[++On]&&gt[++jn]==gt[++On]&&gt[++jn]==gt[++On]&&jn<ma);if(Ln=258-(ma-jn),jn=ma-258,ni<Ln){if(_t=mn,Na<=(ni=Ln))break;Ba=gt[jn+ni-1],Qa=gt[jn+ni]}}while((mn=65535&$t[mn&Qi])>di&&--In!=0);return ni<=Tt?ni:Tt}function Oa(mn){return mn.total_in=mn.total_out=0,mn.msg=null,xr.pending=0,xr.pending_out=0,Q=113,be=0,Yr.dyn_tree=Nr,Yr.stat_desc=je.static_l_desc,un.dyn_tree=kr,un.stat_desc=je.static_d_desc,Nn.dyn_tree=tn,Nn.stat_desc=je.static_bl_desc,fr=cr=0,pr=8,jr(),function(){var On;for(Wt=2*Ie,On=Dt[Gt-1]=0;On<Gt-1;On++)Dt[On]=0;kt=Ye[ir].max_lazy,mr=Ye[ir].good_length,Ar=Ye[ir].nice_length,Ht=Ye[ir].max_chain,st=ft=2,Kt=ut=Tt=er=pt=0}(),0}xr.depth=[],xr.bl_count=[],xr.heap=[],Nr=[],kr=[],tn=[],xr.pqdownheap=function(mn,On){for(var Ln=xr.heap,In=Ln[On],jn=On<<1;jn<=xr.heap_len&&(jn<xr.heap_len&&nt(mn,Ln[jn+1],Ln[jn],xr.depth)&&jn++,!nt(mn,In,Ln[jn],xr.depth));)Ln[On]=Ln[jn],On=jn,jn<<=1;Ln[On]=In},xr.deflateInit=function(mn,On,Ln,In,jn,ni){return In||(In=8),jn||(jn=8),ni||(ni=0),mn.msg=null,On==-1&&(On=6),jn<1||9<jn||In!=8||Ln<9||15<Ln||On<0||9<On||ni<0||2<ni?-2:(mn.dstate=xr,$e=(Ie=1<<(Re=Ln))-1,Mt=(Gt=1<<(Qt=jn+7))-1,dr=Math.floor((Qt+3-1)/3),gt=new Uint8Array(2*Ie),$t=[],Dt=[],Lr=1<<jn+6,xr.pending_buf=new Uint8Array(4*Lr),te=4*Lr,Ir=Math.floor(Lr/2),qr=3*Lr,ir=On,Xt=ni,Oa(mn))},xr.deflateEnd=function(){return Q!=42&&Q!=113&&Q!=666?-2:(xr.pending_buf=null,gt=$t=Dt=null,xr.dstate=null,Q==113?-3:0)},xr.deflateParams=function(mn,On,Ln){var In=0;return On==-1&&(On=6),On<0||9<On||Ln<0||2<Ln?-2:(Ye[ir].func!=Ye[On].func&&mn.total_in!==0&&(In=mn.deflate(1)),ir!=On&&(kt=Ye[ir=On].max_lazy,mr=Ye[ir].good_length,Ar=Ye[ir].nice_length,Ht=Ye[ir].max_chain),Xt=Ln,In)},xr.deflateSetDictionary=function(mn,On,Ln){var In,jn=Ln,ni=0;if(!On||Q!=42)return-2;if(jn<3)return 0;for(Ie-262<jn&&(ni=Ln-(jn=Ie-262)),gt.set(On.subarray(ni,ni+jn),0),er=pt=jn,Kt=((Kt=255&gt[0])<<dr^255&gt[1])&Mt,In=0;In<=jn-3;In++)Kt=(Kt<<dr^255&gt[In+2])&Mt,$t[In&$e]=Dt[Kt],Dt[Kt]=In;return 0},xr.deflate=function(mn,On){var Ln,In,jn,ni,di,Na;if(4<On||On<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||Q==666&&On!=4)return mn.msg=Pe[4],-2;if(mn.avail_out===0)return mn.msg=Pe[7],-5;if(he=mn,ni=be,be=On,Q==42&&(In=8+(Re-8<<4)<<8,3<(jn=(ir-1&255)>>1)&&(jn=3),In|=jn<<6,pt!==0&&(In|=32),Q=113,gn((Na=In+=31-In%31)>>8&255),gn(255&Na)),xr.pending!==0){if(he.flush_pending(),he.avail_out===0)return be=-1,0}else if(he.avail_in===0&&On<=ni&&On!=4)return he.msg=Pe[7],-5;if(Q==666&&he.avail_in!==0)return mn.msg=Pe[7],-5;if(he.avail_in!==0||Tt!==0||On!=0&&Q!=666){switch(di=-1,Ye[ir].func){case 0:di=function(Qi){var ma,Ba=65535;for(te-5<Ba&&(Ba=te-5);;){if(Tt<=1){if(Ci(),Tt===0&&Qi==0)return 0;if(Tt===0)break}if(pt+=Tt,ma=er+Ba,((Tt=0)===pt||ma<=pt)&&(Tt=pt-ma,pt=ma,Ii(!1),he.avail_out===0))return 0;if(Ie-262<=pt-er&&(Ii(!1),he.avail_out===0))return 0}return Ii(Qi==4),he.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 1:di=function(Qi){for(var ma,Ba=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255&gt[pt+2])&Mt,Ba=65535&Dt[Kt],$t[pt&$e]=Dt[Kt],Dt[Kt]=pt),Ba!==0&&(pt-Ba&65535)<=Ie-262&&Xt!=2&&(st=Gn(Ba)),3<=st)if(ma=An(pt-_t,st-3),Tt-=st,st<=kt&&3<=Tt){for(st--;Kt=(Kt<<dr^255&gt[++pt+2])&Mt,Ba=65535&Dt[Kt],$t[pt&$e]=Dt[Kt],Dt[Kt]=pt,--st!=0;);pt++}else pt+=st,st=0,Kt=((Kt=255&gt[pt])<<dr^255&gt[pt+1])&Mt;else ma=An(0,255&gt[pt]),Tt--,pt++;if(ma&&(Ii(!1),he.avail_out===0))return 0}return Ii(Qi==4),he.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 2:di=function(Qi){for(var ma,Ba,Qa=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255&gt[pt+2])&Mt,Qa=65535&Dt[Kt],$t[pt&$e]=Dt[Kt],Dt[Kt]=pt),ft=st,xt=_t,st=2,Qa!==0&&ft<kt&&(pt-Qa&65535)<=Ie-262&&(Xt!=2&&(st=Gn(Qa)),st<=5&&(Xt==1||st==3&&4096<pt-_t)&&(st=2)),3<=ft&&st<=ft){for(Ba=pt+Tt-3,ma=An(pt-1-xt,ft-3),Tt-=ft-1,ft-=2;++pt<=Ba&&(Kt=(Kt<<dr^255&gt[pt+2])&Mt,Qa=65535&Dt[Kt],$t[pt&$e]=Dt[Kt],Dt[Kt]=pt),--ft!=0;);if(ut=0,st=2,pt++,ma&&(Ii(!1),he.avail_out===0))return 0}else if(ut!==0){if((ma=An(0,255&gt[pt-1]))&&Ii(!1),pt++,Tt--,he.avail_out===0)return 0}else ut=1,pt++,Tt--}return ut!==0&&(ma=An(0,255&gt[pt-1]),ut=0),Ii(Qi==4),he.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On)}if(di!=2&&di!=3||(Q=666),di==0||di==2)return he.avail_out===0&&(be=-1),0;if(di==1){if(On==1)zn(2,3),qn(256,je.static_ltree),Vn(),1+pr+10-fr<9&&(zn(2,3),qn(256,je.static_ltree),Vn()),pr=7;else if(xa(0,0,!1),On==3)for(Ln=0;Ln<Gt;Ln++)Dt[Ln]=0;if(he.flush_pending(),he.avail_out===0)return be=-1,0}}return On!=4?0:1}}function Ot(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}Ot.prototype={deflateInit:function(Q,te){return this.dstate=new At,te||(te=ve),this.dstate.deflateInit(this,Q,te)},deflate:function(Q){return this.dstate?this.dstate.deflate(this,Q):-2},deflateEnd:function(){if(!this.dstate)return-2;var Q=this.dstate.deflateEnd();return this.dstate=null,Q},deflateParams:function(Q,te){return this.dstate?this.dstate.deflateParams(this,Q,te):-2},deflateSetDictionary:function(Q,te){return this.dstate?this.dstate.deflateSetDictionary(this,Q,te):-2},read_buf:function(Q,te,be){var Ie=this.avail_in;return be<Ie&&(Ie=be),Ie===0?0:(this.avail_in-=Ie,Q.set(this.next_in.subarray(this.next_in_index,this.next_in_index+Ie),te),this.next_in_index+=Ie,this.total_in+=Ie,Ie)},flush_pending:function(){var Q=this,te=Q.dstate.pending;te>Q.avail_out&&(te=Q.avail_out),te!==0&&(Q.next_out.set(Q.dstate.pending_buf.subarray(Q.dstate.pending_out,Q.dstate.pending_out+te),Q.next_out_index),Q.next_out_index+=te,Q.dstate.pending_out+=te,Q.total_out+=te,Q.avail_out-=te,Q.dstate.pending-=te,Q.dstate.pending===0&&(Q.dstate.pending_out=0))}};var ne=Ae.zip||Ae;ne.Deflater=ne._jzlib_Deflater=function(he){var Q=new Ot,te=new Uint8Array(512),be=he?he.level:-1;be===void 0&&(be=-1),Q.deflateInit(be),Q.next_out=te,this.append=function(Ie,Re){var $e,gt=[],Wt=0,$t=0,Dt=0;if(Ie.length){Q.next_in_index=0,Q.next_in=Ie,Q.avail_in=Ie.length;do{if(Q.next_out_index=0,Q.avail_out=512,Q.deflate(0)!=0)throw new Error("deflating: "+Q.msg);Q.next_out_index&&(Q.next_out_index==512?gt.push(new Uint8Array(te)):gt.push(new Uint8Array(te.subarray(0,Q.next_out_index)))),Dt+=Q.next_out_index,Re&&0<Q.next_in_index&&Q.next_in_index!=Wt&&(Re(Q.next_in_index),Wt=Q.next_in_index)}while(0<Q.avail_in||Q.avail_out===0);return $e=new Uint8Array(Dt),gt.forEach(function(Kt){$e.set(Kt,$t),$t+=Kt.length}),$e}},this.flush=function(){var Ie,Re,$e=[],gt=0,Wt=0;do{if(Q.next_out_index=0,Q.avail_out=512,(Ie=Q.deflate(4))!=1&&Ie!=0)throw new Error("deflating: "+Q.msg);0<512-Q.avail_out&&$e.push(new Uint8Array(te.subarray(0,Q.next_out_index))),Wt+=Q.next_out_index}while(0<Q.avail_in||Q.avail_out===0);return Q.deflateEnd(),Re=new Uint8Array(Wt),$e.forEach(function($t){Re.set($t,gt),gt+=$t.length}),Re}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(Ae){var ve;Ae=Ae||"",this.ok=!1,Ae.charAt(0)=="#"&&(Ae=Ae.substr(1,6)),Ae=(Ae=Ae.replace(/ /g,"")).toLowerCase();var fe={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var ue in fe)Ae==ue&&(Ae=fe[ue]);for(var Ne=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(At){return[parseInt(At[1]),parseInt(At[2]),parseInt(At[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(At){return[parseInt(At[1],16),parseInt(At[2],16),parseInt(At[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(At){return[parseInt(At[1]+At[1],16),parseInt(At[2]+At[2],16),parseInt(At[3]+At[3],16)]}}],je=0;je<Ne.length;je++){var Ke=Ne[je].re,Ye=Ne[je].process,Pe=Ke.exec(Ae);Pe&&(ve=Ye(Pe),this.r=ve[0],this.g=ve[1],this.b=ve[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var nt=this.r.toString(16),At=this.g.toString(16),Ot=this.b.toString(16);return nt.length==1&&(nt="0"+nt),At.length==1&&(At="0"+At),Ot.length==1&&(Ot="0"+Ot),"#"+nt+At+Ot}},function(Ae){var ve="+".charCodeAt(0),fe="/".charCodeAt(0),ue="0".charCodeAt(0),Ne="a".charCodeAt(0),je="A".charCodeAt(0),Ke="-".charCodeAt(0),Ye="_".charCodeAt(0),Pe=function(xt){var ut=xt.charCodeAt(0);return ut===ve||ut===Ke?62:ut===fe||ut===Ye?63:ut<ue?-1:ut<ue+10?ut-ue+26+26:ut<je+26?ut-je:ut<Ne+26?ut-Ne+26:void 0};Ae.API.TTFFont=function(){function st(xt,ut,pt){var _t;if(this.rawData=xt,_t=this.contents=new At(xt),this.contents.pos=4,_t.readString(4)==="ttcf")throw ut?new Error("Font "+ut+" not found in TTC file."):new Error("Must specify a font name for TTC files.");_t.pos=0,this.parse(),this.subset=new er(this),this.registerTTF()}return st.open=function(xt,ut,pt,_t){if(typeof pt!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new st(function(Tt){var ft,Ht,kt,ir,Xt,mr;if(0<Tt.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ar=Tt.length;Xt=Tt.charAt(Ar-2)==="="?2:Tt.charAt(Ar-1)==="="?1:0,mr=new Uint8Array(3*Tt.length/4-Xt),kt=0<Xt?Tt.length-4:Tt.length;var Nr=0;function kr(tn){mr[Nr++]=tn}for(Ht=ft=0;ft<kt;ft+=4,Ht+=3)kr((16711680&(ir=Pe(Tt.charAt(ft))<<18|Pe(Tt.charAt(ft+1))<<12|Pe(Tt.charAt(ft+2))<<6|Pe(Tt.charAt(ft+3))))>>16),kr((65280&ir)>>8),kr(255&ir);return Xt===2?kr(255&(ir=Pe(Tt.charAt(ft))<<2|Pe(Tt.charAt(ft+1))>>4)):Xt===1&&(kr((ir=Pe(Tt.charAt(ft))<<10|Pe(Tt.charAt(ft+1))<<4|Pe(Tt.charAt(ft+2))>>2)>>8&255),kr(255&ir)),mr}(pt),ut,_t)},st.prototype.parse=function(){return this.directory=new Ot(this.contents),this.head=new Q(this),this.name=new Wt(this),this.cmap=new be(this),this.toUnicode=new Map,this.hhea=new Ie(this),this.maxp=new $t(this),this.hmtx=new Dt(this),this.post=new $e(this),this.os2=new Re(this),this.loca=new dr(this),this.glyf=new Gt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},st.prototype.registerTTF=function(){var xt,ut,pt,_t,Tt;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var ft,Ht,kt,ir;for(ir=[],ft=0,Ht=(kt=this.bbox).length;ft<Ht;ft++)xt=kt[ft],ir.push(Math.round(xt*this.scaleFactor));return ir}.call(this),this.stemV=0,this.post.exists?(pt=255&(_t=this.post.italic_angle),!0&(ut=_t>>16)&&(ut=-(1+(65535^ut))),this.italicAngle=+(ut+"."+pt)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(Tt=this.familyClass)===1||Tt===2||Tt===3||Tt===4||Tt===5||Tt===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},st.prototype.characterToGlyph=function(xt){var ut;return((ut=this.cmap.unicode)!=null?ut.codeMap[xt]:void 0)||0},st.prototype.widthOfGlyph=function(xt){var ut;return ut=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(xt).advance*ut},st.prototype.widthOfString=function(xt,ut,pt){var _t,Tt,ft,Ht,kt;for(Tt=Ht=ft=0,kt=(xt=""+xt).length;0<=kt?Ht<kt:kt<Ht;Tt=0<=kt?++Ht:--Ht)_t=xt.charCodeAt(Tt),ft+=this.widthOfGlyph(this.characterToGlyph(_t))+pt*(1e3/ut)||0;return ft*(ut/1e3)},st.prototype.lineHeight=function(xt,ut){var pt;return ut==null&&(ut=!1),pt=ut?this.lineGap:0,(this.ascender+pt-this.decender)/1e3*xt},st}();var nt,At=function(){function st(xt){this.data=xt!=null?xt:[],this.pos=0,this.length=this.data.length}return st.prototype.readByte=function(){return this.data[this.pos++]},st.prototype.writeByte=function(xt){return this.data[this.pos++]=xt},st.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},st.prototype.writeUInt32=function(xt){return this.writeByte(xt>>>24&255),this.writeByte(xt>>16&255),this.writeByte(xt>>8&255),this.writeByte(255&xt)},st.prototype.readInt32=function(){var xt;return 2147483648<=(xt=this.readUInt32())?xt-4294967296:xt},st.prototype.writeInt32=function(xt){return xt<0&&(xt+=4294967296),this.writeUInt32(xt)},st.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},st.prototype.writeUInt16=function(xt){return this.writeByte(xt>>8&255),this.writeByte(255&xt)},st.prototype.readInt16=function(){var xt;return 32768<=(xt=this.readUInt16())?xt-65536:xt},st.prototype.writeInt16=function(xt){return xt<0&&(xt+=65536),this.writeUInt16(xt)},st.prototype.readString=function(xt){var ut,pt,_t;for(pt=[],ut=_t=0;0<=xt?_t<xt:xt<_t;ut=0<=xt?++_t:--_t)pt[ut]=String.fromCharCode(this.readByte());return pt.join("")},st.prototype.writeString=function(xt){var ut,pt,_t,Tt;for(Tt=[],ut=pt=0,_t=xt.length;0<=_t?pt<_t:_t<pt;ut=0<=_t?++pt:--pt)Tt.push(this.writeByte(xt.charCodeAt(ut)));return Tt},st.prototype.readShort=function(){return this.readInt16()},st.prototype.writeShort=function(xt){return this.writeInt16(xt)},st.prototype.readLongLong=function(){var xt,ut,pt,_t,Tt,ft,Ht,kt;return xt=this.readByte(),ut=this.readByte(),pt=this.readByte(),_t=this.readByte(),Tt=this.readByte(),ft=this.readByte(),Ht=this.readByte(),kt=this.readByte(),128&xt?-1*(72057594037927940*(255^xt)+281474976710656*(255^ut)+1099511627776*(255^pt)+4294967296*(255^_t)+16777216*(255^Tt)+65536*(255^ft)+256*(255^Ht)+(255^kt)+1):72057594037927940*xt+281474976710656*ut+1099511627776*pt+4294967296*_t+16777216*Tt+65536*ft+256*Ht+kt},st.prototype.writeLongLong=function(xt){var ut,pt;return ut=Math.floor(xt/4294967296),pt=4294967295&xt,this.writeByte(ut>>24&255),this.writeByte(ut>>16&255),this.writeByte(ut>>8&255),this.writeByte(255&ut),this.writeByte(pt>>24&255),this.writeByte(pt>>16&255),this.writeByte(pt>>8&255),this.writeByte(255&pt)},st.prototype.readInt=function(){return this.readInt32()},st.prototype.writeInt=function(xt){return this.writeInt32(xt)},st.prototype.read=function(xt){var ut,pt;for(ut=[],pt=0;0<=xt?pt<xt:xt<pt;0<=xt?++pt:--pt)ut.push(this.readByte());return ut},st.prototype.write=function(xt){var ut,pt,_t,Tt;for(Tt=[],pt=0,_t=xt.length;pt<_t;pt++)ut=xt[pt],Tt.push(this.writeByte(ut));return Tt},st}(),Ot=function(){var st;function xt(ut){var pt,_t,Tt;for(this.scalarType=ut.readInt(),this.tableCount=ut.readShort(),this.searchRange=ut.readShort(),this.entrySelector=ut.readShort(),this.rangeShift=ut.readShort(),this.tables={},_t=0,Tt=this.tableCount;0<=Tt?_t<Tt:Tt<_t;0<=Tt?++_t:--_t)pt={tag:ut.readString(4),checksum:ut.readInt(),offset:ut.readInt(),length:ut.readInt()},this.tables[pt.tag]=pt}return xt.prototype.encode=function(ut){var pt,_t,Tt,ft,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn;for(tn in Nr=Object.keys(ut).length,kt=Math.log(2),mr=16*Math.floor(Math.log(Nr)/kt),ft=Math.floor(mr/kt),Xt=16*Nr-mr,(_t=new At).writeInt(this.scalarType),_t.writeShort(Nr),_t.writeShort(mr),_t.writeShort(ft),_t.writeShort(Xt),Tt=16*Nr,ir=_t.pos+Tt,Ht=null,kr=[],ut)for(Ar=ut[tn],_t.writeString(tn),_t.writeInt(st(Ar)),_t.writeInt(ir),_t.writeInt(Ar.length),kr=kr.concat(Ar),tn==="head"&&(Ht=ir),ir+=Ar.length;ir%4;)kr.push(0),ir++;return _t.write(kr),pt=2981146554-st(_t.data),_t.pos=Ht+8,_t.writeUInt32(pt),_t.data},st=function(pt){var _t,Tt,ft,Ht;for(pt=Kt.call(pt);pt.length%4;)pt.push(0);for(Tt=new At(pt),ft=_t=0,Ht=pt.length;ft<Ht;ft+=4)_t+=Tt.readUInt32();return 4294967295&_t},xt}(),ne={}.hasOwnProperty,he=function(xt,ut){for(var pt in ut)ne.call(ut,pt)&&(xt[pt]=ut[pt]);function _t(){this.constructor=xt}return _t.prototype=ut.prototype,xt.prototype=new _t,xt.__super__=ut.prototype,xt};nt=function(){function st(xt){var ut;this.file=xt,ut=this.file.directory.tables[this.tag],this.exists=!!ut,ut&&(this.offset=ut.offset,this.length=ut.length,this.parse(this.file.contents))}return st.prototype.parse=function(){},st.prototype.encode=function(){},st.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},st}();var Q=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="head",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.revision=ut.readInt(),this.checkSumAdjustment=ut.readInt(),this.magicNumber=ut.readInt(),this.flags=ut.readShort(),this.unitsPerEm=ut.readShort(),this.created=ut.readLongLong(),this.modified=ut.readLongLong(),this.xMin=ut.readShort(),this.yMin=ut.readShort(),this.xMax=ut.readShort(),this.yMax=ut.readShort(),this.macStyle=ut.readShort(),this.lowestRecPPEM=ut.readShort(),this.fontDirectionHint=ut.readShort(),this.indexToLocFormat=ut.readShort(),this.glyphDataFormat=ut.readShort()},xt.prototype.encode=function(ut){var pt;return(pt=new At).writeInt(this.version),pt.writeInt(this.revision),pt.writeInt(this.checkSumAdjustment),pt.writeInt(this.magicNumber),pt.writeShort(this.flags),pt.writeShort(this.unitsPerEm),pt.writeLongLong(this.created),pt.writeLongLong(this.modified),pt.writeShort(this.xMin),pt.writeShort(this.yMin),pt.writeShort(this.xMax),pt.writeShort(this.yMax),pt.writeShort(this.macStyle),pt.writeShort(this.lowestRecPPEM),pt.writeShort(this.fontDirectionHint),pt.writeShort(ut),pt.writeShort(this.glyphDataFormat),pt.data},xt}(),te=function(){function st(xt,ut){var pt,_t,Tt,ft,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,Lr,Qr,Ir,ur;switch(this.platformID=xt.readUInt16(),this.encodingID=xt.readShort(),this.offset=ut+xt.readInt(),mr=xt.pos,xt.pos=this.offset,this.format=xt.readUInt16(),this.length=xt.readUInt16(),this.language=xt.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(kt=Lr=0;Lr<256;kt=++Lr)this.codeMap[kt]=xt.readByte();break;case 4:for(Nr=xt.readUInt16(),Ar=Nr/2,xt.pos+=6,Tt=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),xt.pos+=2,tn=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),ir=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Xt=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),_t=(this.length-xt.pos+this.offset)/2,Ht=function(){var pr,cr;for(cr=[],kt=pr=0;0<=_t?pr<_t:_t<pr;kt=0<=_t?++pr:--pr)cr.push(xt.readUInt16());return cr}(),kt=Qr=0,ur=Tt.length;Qr<ur;kt=++Qr)for(qr=Tt[kt],pt=Ir=kr=tn[kt];kr<=qr?Ir<=qr:qr<=Ir;pt=kr<=qr?++Ir:--Ir)Xt[kt]===0?ft=pt+ir[kt]:(ft=Ht[Xt[kt]/2+(pt-kr)-(Ar-kt)]||0)!==0&&(ft+=ir[kt]),this.codeMap[pt]=65535&ft}xt.pos=mr}return st.encode=function(xt,ut){var pt,_t,Tt,ft,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,Lr,Qr,Ir,ur,pr,cr,fr,xr,Yr,un,Nn,jr,Tn,gn,Pn,zn,qn,Yn,Vn,An,on,ia,xa,ta,Ii,Ci,Gn,Oa,mn,On,Ln,In;switch(gn=new At,ft=Object.keys(xt).sort(function(jn,ni){return jn-ni}),ut){case"macroman":for(tn=0,qr=function(){var jn,ni;for(ni=[],kr=jn=0;jn<256;kr=++jn)ni.push(0);return ni}(),Qr={0:0},Tt={},Pn=0,Vn=ft.length;Pn<Vn;Pn++)Qr[mn=xt[_t=ft[Pn]]]==null&&(Qr[mn]=++tn),Tt[_t]={old:xt[_t],new:Qr[xt[_t]]},qr[_t]=Qr[xt[_t]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(qr),{charMap:Tt,subtable:gn.data,maxGlyphID:tn+1};case"unicode":for(jr=[],mr=[],Qr={},pt={},Lr=ir=null,zn=Ir=0,An=ft.length;zn<An;zn++)Qr[pr=xt[_t=ft[zn]]]==null&&(Qr[pr]=++Ir),pt[_t]={old:pr,new:Qr[pr]},Ht=Qr[pr]-_t,Lr!=null&&Ht===ir||(Lr&&mr.push(Lr),jr.push(_t),ir=Ht),Lr=_t;for(Lr&&mr.push(Lr),mr.push(65535),jr.push(65535),un=2*(Yr=jr.length),xr=2*Math.pow(Math.log(Yr)/Math.LN2,2),Ar=Math.log(xr/2)/Math.LN2,fr=2*Yr-xr,kt=[],cr=[],Nr=[],kr=qn=0,on=jr.length;qn<on;kr=++qn){if(Nn=jr[kr],Xt=mr[kr],Nn===65535){kt.push(0),cr.push(0);break}if(32768<=Nn-(Tn=pt[Nn].new))for(kt.push(0),cr.push(2*(Nr.length+Yr-kr)),_t=Yn=Nn;Nn<=Xt?Yn<=Xt:Xt<=Yn;_t=Nn<=Xt?++Yn:--Yn)Nr.push(pt[_t].new);else kt.push(Tn-Nn),cr.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*Yr+2*Nr.length),gn.writeUInt16(0),gn.writeUInt16(un),gn.writeUInt16(xr),gn.writeUInt16(Ar),gn.writeUInt16(fr),Gn=0,ia=mr.length;Gn<ia;Gn++)_t=mr[Gn],gn.writeUInt16(_t);for(gn.writeUInt16(0),Oa=0,xa=jr.length;Oa<xa;Oa++)_t=jr[Oa],gn.writeUInt16(_t);for(On=0,ta=kt.length;On<ta;On++)Ht=kt[On],gn.writeUInt16(Ht);for(Ln=0,Ii=cr.length;Ln<Ii;Ln++)ur=cr[Ln],gn.writeUInt16(ur);for(In=0,Ci=Nr.length;In<Ci;In++)tn=Nr[In],gn.writeUInt16(tn);return{charMap:pt,subtable:gn.data,maxGlyphID:Ir+1}}},st}(),be=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="cmap",xt.prototype.parse=function(ut){var pt,_t,Tt;for(ut.pos=this.offset,this.version=ut.readUInt16(),_t=ut.readUInt16(),this.tables=[],this.unicode=null,Tt=0;0<=_t?Tt<_t:_t<Tt;0<=_t?++Tt:--Tt)pt=new te(ut,this.offset),this.tables.push(pt),pt.isUnicode&&this.unicode==null&&(this.unicode=pt);return!0},xt.encode=function(ut,pt){var _t,Tt;return pt==null&&(pt="macroman"),_t=te.encode(ut,pt),(Tt=new At).writeUInt16(0),Tt.writeUInt16(1),_t.table=Tt.data.concat(_t.subtable),_t},xt}(),Ie=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="hhea",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.ascender=ut.readShort(),this.decender=ut.readShort(),this.lineGap=ut.readShort(),this.advanceWidthMax=ut.readShort(),this.minLeftSideBearing=ut.readShort(),this.minRightSideBearing=ut.readShort(),this.xMaxExtent=ut.readShort(),this.caretSlopeRise=ut.readShort(),this.caretSlopeRun=ut.readShort(),this.caretOffset=ut.readShort(),ut.pos+=8,this.metricDataFormat=ut.readShort(),this.numberOfMetrics=ut.readUInt16()},xt}(),Re=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="OS/2",xt.prototype.parse=function(ut){if(ut.pos=this.offset,this.version=ut.readUInt16(),this.averageCharWidth=ut.readShort(),this.weightClass=ut.readUInt16(),this.widthClass=ut.readUInt16(),this.type=ut.readShort(),this.ySubscriptXSize=ut.readShort(),this.ySubscriptYSize=ut.readShort(),this.ySubscriptXOffset=ut.readShort(),this.ySubscriptYOffset=ut.readShort(),this.ySuperscriptXSize=ut.readShort(),this.ySuperscriptYSize=ut.readShort(),this.ySuperscriptXOffset=ut.readShort(),this.ySuperscriptYOffset=ut.readShort(),this.yStrikeoutSize=ut.readShort(),this.yStrikeoutPosition=ut.readShort(),this.familyClass=ut.readShort(),this.panose=function(){var pt,_t;for(_t=[],pt=0;pt<10;++pt)_t.push(ut.readByte());return _t}(),this.charRange=function(){var pt,_t;for(_t=[],pt=0;pt<4;++pt)_t.push(ut.readInt());return _t}(),this.vendorID=ut.readString(4),this.selection=ut.readShort(),this.firstCharIndex=ut.readShort(),this.lastCharIndex=ut.readShort(),0<this.version&&(this.ascent=ut.readShort(),this.descent=ut.readShort(),this.lineGap=ut.readShort(),this.winAscent=ut.readShort(),this.winDescent=ut.readShort(),this.codePageRange=function(){var pt,_t;for(_t=[],pt=0;pt<2;++pt)_t.push(ut.readInt());return _t}(),1<this.version))return this.xHeight=ut.readShort(),this.capHeight=ut.readShort(),this.defaultChar=ut.readShort(),this.breakChar=ut.readShort(),this.maxContext=ut.readShort()},xt}(),$e=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="post",xt.prototype.parse=function(ut){var pt,_t,Tt,ft;switch(ut.pos=this.offset,this.format=ut.readInt(),this.italicAngle=ut.readInt(),this.underlinePosition=ut.readShort(),this.underlineThickness=ut.readShort(),this.isFixedPitch=ut.readInt(),this.minMemType42=ut.readInt(),this.maxMemType42=ut.readInt(),this.minMemType1=ut.readInt(),this.maxMemType1=ut.readInt(),this.format){case 65536:break;case 131072:for(_t=ut.readUInt16(),this.glyphNameIndex=[],Tt=0;0<=_t?Tt<_t:_t<Tt;0<=_t?++Tt:--Tt)this.glyphNameIndex.push(ut.readUInt16());for(this.names=[],ft=[];ut.pos<this.offset+this.length;)pt=ut.readByte(),ft.push(this.names.push(ut.readString(pt)));return ft;case 151552:return _t=ut.readUInt16(),this.offsets=ut.read(_t);case 196608:break;case 262144:return this.map=function(){var Ht,kt,ir;for(ir=[],Ht=0,kt=this.file.maxp.numGlyphs;0<=kt?Ht<kt:kt<Ht;0<=kt?++Ht:--Ht)ir.push(ut.readUInt32());return ir}.call(this)}},xt}(),gt=function(xt,ut){this.raw=xt,this.length=xt.length,this.platformID=ut.platformID,this.encodingID=ut.encodingID,this.languageID=ut.languageID},Wt=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="name",xt.prototype.parse=function(ut){var pt,_t,Tt,ft,Ht,kt,ir,Xt,mr,Ar,Nr,kr;for(ut.pos=this.offset,ut.readShort(),pt=ut.readShort(),kt=ut.readShort(),_t=[],ft=mr=0;0<=pt?mr<pt:pt<mr;ft=0<=pt?++mr:--mr)_t.push({platformID:ut.readShort(),encodingID:ut.readShort(),languageID:ut.readShort(),nameID:ut.readShort(),length:ut.readShort(),offset:this.offset+kt+ut.readShort()});for(ir={},ft=Ar=0,Nr=_t.length;Ar<Nr;ft=++Ar)Tt=_t[ft],ut.pos=Tt.offset,Xt=ut.readString(Tt.length),Ht=new gt(Xt,Tt),ir[kr=Tt.nameID]==null&&(ir[kr]=[]),ir[Tt.nameID].push(Ht);this.strings=ir,this.copyright=ir[0],this.fontFamily=ir[1],this.fontSubfamily=ir[2],this.uniqueSubfamily=ir[3],this.fontName=ir[4],this.version=ir[5];try{this.postscriptName=ir[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(tn){this.postscriptName=ir[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ir[7],this.manufacturer=ir[8],this.designer=ir[9],this.description=ir[10],this.vendorUrl=ir[11],this.designerUrl=ir[12],this.license=ir[13],this.licenseUrl=ir[14],this.preferredFamily=ir[15],this.preferredSubfamily=ir[17],this.compatibleFull=ir[18],this.sampleText=ir[19]},xt}(),$t=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="maxp",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.numGlyphs=ut.readUInt16(),this.maxPoints=ut.readUInt16(),this.maxContours=ut.readUInt16(),this.maxCompositePoints=ut.readUInt16(),this.maxComponentContours=ut.readUInt16(),this.maxZones=ut.readUInt16(),this.maxTwilightPoints=ut.readUInt16(),this.maxStorage=ut.readUInt16(),this.maxFunctionDefs=ut.readUInt16(),this.maxInstructionDefs=ut.readUInt16(),this.maxStackElements=ut.readUInt16(),this.maxSizeOfInstructions=ut.readUInt16(),this.maxComponentElements=ut.readUInt16(),this.maxComponentDepth=ut.readUInt16()},xt}(),Dt=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="hmtx",xt.prototype.parse=function(ut){var pt,_t,Tt,ft,Ht,kt,ir;for(ut.pos=this.offset,this.metrics=[],ft=0,kt=this.file.hhea.numberOfMetrics;0<=kt?ft<kt:kt<ft;0<=kt?++ft:--ft)this.metrics.push({advance:ut.readUInt16(),lsb:ut.readInt16()});for(_t=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Xt,mr;for(mr=[],Xt=0;0<=_t?Xt<_t:_t<Xt;0<=_t?++Xt:--Xt)mr.push(ut.readInt16());return mr}(),this.widths=function(){var Xt,mr,Ar,Nr;for(Nr=[],Xt=0,mr=(Ar=this.metrics).length;Xt<mr;Xt++)Tt=Ar[Xt],Nr.push(Tt.advance);return Nr}.call(this),pt=this.widths[this.widths.length-1],ir=[],Ht=0;0<=_t?Ht<_t:_t<Ht;0<=_t?++Ht:--Ht)ir.push(this.widths.push(pt));return ir},xt.prototype.forGlyph=function(ut){return ut in this.metrics?this.metrics[ut]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[ut-this.metrics.length]}},xt}(),Kt=[].slice,Gt=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="glyf",xt.prototype.parse=function(ut){return this.cache={}},xt.prototype.glyphFor=function(ut){var pt,_t,Tt,ft,Ht,kt,ir,Xt,mr,Ar;return(ut=ut)in this.cache?this.cache[ut]:(ft=this.file.loca,pt=this.file.contents,_t=ft.indexOf(ut),(Tt=ft.lengthOf(ut))===0?this.cache[ut]=null:(pt.pos=this.offset+_t,Ht=(kt=new At(pt.read(Tt))).readShort(),Xt=kt.readShort(),Ar=kt.readShort(),ir=kt.readShort(),mr=kt.readShort(),this.cache[ut]=Ht===-1?new Mt(kt,Xt,Ar,ir,mr):new Qt(kt,Ht,Xt,Ar,ir,mr),this.cache[ut]))},xt.prototype.encode=function(ut,pt,_t){var Tt,ft,Ht,kt,ir;for(Ht=[],ft=[],kt=0,ir=pt.length;kt<ir;kt++)Tt=ut[pt[kt]],ft.push(Ht.length),Tt&&(Ht=Ht.concat(Tt.encode(_t)));return ft.push(Ht.length),{table:Ht,offsets:ft}},xt}(),Qt=function(){function st(xt,ut,pt,_t,Tt,ft){this.raw=xt,this.numberOfContours=ut,this.xMin=pt,this.yMin=_t,this.xMax=Tt,this.yMax=ft,this.compound=!1}return st.prototype.encode=function(){return this.raw.data},st}(),Mt=function(){function st(xt,ut,pt,_t,Tt){var ft,Ht;for(this.raw=xt,this.xMin=ut,this.yMin=pt,this.xMax=_t,this.yMax=Tt,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],ft=this.raw;Ht=ft.readShort(),this.glyphOffsets.push(ft.pos),this.glyphIDs.push(ft.readShort()),32&Ht;)ft.pos+=1&Ht?4:2,128&Ht?ft.pos+=8:64&Ht?ft.pos+=4:8&Ht&&(ft.pos+=2)}return st.prototype.encode=function(xt){var ut,pt,_t,Tt,ft;for(pt=new At(Kt.call(this.raw.data)),ut=_t=0,Tt=(ft=this.glyphIDs).length;_t<Tt;ut=++_t)ft[ut],pt.pos=this.glyphOffsets[ut];return pt.data},st}(),dr=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="loca",xt.prototype.parse=function(ut){var pt;return ut.pos=this.offset,pt=this.file.head.indexToLocFormat,this.offsets=pt===0?function(){var _t,Tt,ft;for(ft=[],_t=0,Tt=this.length;_t<Tt;_t+=2)ft.push(2*ut.readUInt16());return ft}.call(this):function(){var _t,Tt,ft;for(ft=[],_t=0,Tt=this.length;_t<Tt;_t+=4)ft.push(ut.readUInt32());return ft}.call(this)},xt.prototype.indexOf=function(ut){return this.offsets[ut]},xt.prototype.lengthOf=function(ut){return this.offsets[ut+1]-this.offsets[ut]},xt.prototype.encode=function(ut,pt){for(var _t=new Uint32Array(this.offsets.length),Tt=0,ft=0,Ht=0;Ht<_t.length;++Ht)if(_t[Ht]=Tt,ft<pt.length&&pt[ft]==Ht){++ft,_t[Ht]=Tt;var kt=this.offsets[Ht],ir=this.offsets[Ht+1]-kt;0<ir&&(Tt+=ir)}for(var Xt=new Array(4*_t.length),mr=0;mr<_t.length;++mr)Xt[4*mr+3]=255&_t[mr],Xt[4*mr+2]=(65280&_t[mr])>>8,Xt[4*mr+1]=(16711680&_t[mr])>>16,Xt[4*mr]=(4278190080&_t[mr])>>24;return Xt},xt}(),er=function(){function st(xt){this.font=xt,this.subset={},this.unicodes={},this.next=33}return st.prototype.generateCmap=function(){var xt,ut,pt,_t,Tt;for(ut in _t=this.font.cmap.tables[0].codeMap,xt={},Tt=this.subset)pt=Tt[ut],xt[ut]=_t[pt];return xt},st.prototype.glyphsFor=function(xt){var ut,pt,_t,Tt,ft,Ht,kt;for(_t={},ft=0,Ht=xt.length;ft<Ht;ft++)_t[Tt=xt[ft]]=this.font.glyf.glyphFor(Tt);for(Tt in ut=[],_t)((pt=_t[Tt])!=null?pt.compound:void 0)&&ut.push.apply(ut,pt.glyphIDs);if(0<ut.length)for(Tt in kt=this.glyphsFor(ut))pt=kt[Tt],_t[Tt]=pt;return _t},st.prototype.encode=function(xt,ut){var pt,_t,Tt,ft,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,Lr;for(_t in pt=be.encode(this.generateCmap(),"unicode"),ft=this.glyphsFor(xt),Nr={0:0},Lr=pt.charMap)Nr[(kt=Lr[_t]).old]=kt.new;for(kr in Ar=pt.maxGlyphID,ft)kr in Nr||(Nr[kr]=Ar++);return Xt=function(Qr){var Ir,ur;for(Ir in ur={},Qr)ur[Qr[Ir]]=Ir;return ur}(Nr),mr=Object.keys(Xt).sort(function(Qr,Ir){return Qr-Ir}),tn=function(){var Qr,Ir,ur;for(ur=[],Qr=0,Ir=mr.length;Qr<Ir;Qr++)Ht=mr[Qr],ur.push(Xt[Ht]);return ur}(),Tt=this.font.glyf.encode(ft,tn,Nr),ir=this.font.loca.encode(Tt.offsets,tn),qr={cmap:this.font.cmap.raw(),glyf:Tt.table,loca:ir,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(ut)},this.font.os2.exists&&(qr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(qr)},st}();Ae.API.PDFObject=function(){var st;function xt(){}return st=function(pt,_t){return(Array(_t+1).join("0")+pt).slice(-_t)},xt.convert=function(ut){var pt,_t,Tt,ft;if(Array.isArray(ut))return"["+function(){var Ht,kt,ir;for(ir=[],Ht=0,kt=ut.length;Ht<kt;Ht++)pt=ut[Ht],ir.push(xt.convert(pt));return ir}().join(" ")+"]";if(typeof ut=="string")return"/"+ut;if(ut!=null?ut.isString:void 0)return"("+ut+")";if(ut instanceof Date)return"(D:"+st(ut.getUTCFullYear(),4)+st(ut.getUTCMonth(),2)+st(ut.getUTCDate(),2)+st(ut.getUTCHours(),2)+st(ut.getUTCMinutes(),2)+st(ut.getUTCSeconds(),2)+"Z)";if({}.toString.call(ut)!=="[object Object]")return""+ut;for(_t in Tt=["<<"],ut)ft=ut[_t],Tt.push("/"+_t+" "+xt.convert(ft));return Tt.push(">>"),Tt.join(`
`)},xt}()}(vt),Qe=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")(),ye=function(){var Ae,ve,fe;function ue(Ne){var je,Ke,Ye,Pe,nt,At,Ot,ne,he,Q,te,be,Ie,Re;for(this.data=Ne,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},At=null;;){switch(je=this.readUInt32(),he=function(){var $e,gt;for(gt=[],$e=0;$e<4;++$e)gt.push(String.fromCharCode(this.data[this.pos++]));return gt}.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":At&&this.animation.frames.push(At),this.pos+=4,At={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},nt=this.readUInt16(),Pe=this.readUInt16()||100,At.delay=1e3*nt/Pe,At.disposeOp=this.data[this.pos++],At.blendOp=this.data[this.pos++],At.data=[];break;case"IDAT":case"fdAT":for(he==="fdAT"&&(this.pos+=4,je-=4),Ne=(At!=null?At.data:void 0)||this.imgData,be=0;0<=je?be<je:je<be;0<=je?++be:--be)Ne.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Ye=this.palette.length/3,this.transparency.indexed=this.read(je),this.transparency.indexed.length>Ye)throw new Error("More transparent colors than palette size");if(0<(Q=Ye-this.transparency.indexed.length))for(Ie=0;0<=Q?Ie<Q:Q<Ie;0<=Q?++Ie:--Ie)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":Ot=(te=this.read(je)).indexOf(0),ne=String.fromCharCode.apply(String,te.slice(0,Ot)),this.text[ne]=String.fromCharCode.apply(String,te.slice(Ot+1));break;case"IEND":return At&&this.animation.frames.push(At),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Re=this.colorType)===4||Re===6,Ke=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Ke,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")}}ue.load=function(Ne,je,Ke){var Ye;return typeof je=="function"&&(Ke=je),(Ye=new XMLHttpRequest).open("GET",Ne,!0),Ye.responseType="arraybuffer",Ye.onload=function(){var Pe;return Pe=new ue(new Uint8Array(Ye.response||Ye.mozResponseArrayBuffer)),typeof(je!=null?je.getContext:void 0)=="function"&&Pe.render(je),typeof Ke=="function"?Ke(Pe):void 0},Ye.send(null)},ue.prototype.read=function(Ne){var je,Ke;for(Ke=[],je=0;0<=Ne?je<Ne:Ne<je;0<=Ne?++je:--je)Ke.push(this.data[this.pos++]);return Ke},ue.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},ue.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},ue.prototype.decodePixels=function(Ne){var je=this.pixelBitlength/8,Ke=new Uint8Array(this.width*this.height*je),Ye=0,Pe=this;if(Ne==null&&(Ne=this.imgData),Ne.length===0)return new Uint8Array(0);function nt(At,Ot,ne,he){var Q,te,be,Ie,Re,$e,gt,Wt,$t,Dt,Kt,Gt,Qt,Mt,dr,er,st,xt,ut,pt,_t,Tt=Math.ceil((Pe.width-At)/ne),ft=Math.ceil((Pe.height-Ot)/he),Ht=Pe.width==Tt&&Pe.height==ft;for(Mt=je*Tt,Gt=Ht?Ke:new Uint8Array(Mt*ft),$e=Ne.length,te=Qt=0;Qt<ft&&Ye<$e;){switch(Ne[Ye++]){case 0:for(Ie=st=0;st<Mt;Ie=st+=1)Gt[te++]=Ne[Ye++];break;case 1:for(Ie=xt=0;xt<Mt;Ie=xt+=1)Q=Ne[Ye++],Re=Ie<je?0:Gt[te-je],Gt[te++]=(Q+Re)%256;break;case 2:for(Ie=ut=0;ut<Mt;Ie=ut+=1)Q=Ne[Ye++],be=(Ie-Ie%je)/je,dr=Qt&&Gt[(Qt-1)*Mt+be*je+Ie%je],Gt[te++]=(dr+Q)%256;break;case 3:for(Ie=pt=0;pt<Mt;Ie=pt+=1)Q=Ne[Ye++],be=(Ie-Ie%je)/je,Re=Ie<je?0:Gt[te-je],dr=Qt&&Gt[(Qt-1)*Mt+be*je+Ie%je],Gt[te++]=(Q+Math.floor((Re+dr)/2))%256;break;case 4:for(Ie=_t=0;_t<Mt;Ie=_t+=1)Q=Ne[Ye++],be=(Ie-Ie%je)/je,Re=Ie<je?0:Gt[te-je],Qt===0?dr=er=0:(dr=Gt[(Qt-1)*Mt+be*je+Ie%je],er=be&&Gt[(Qt-1)*Mt+(be-1)*je+Ie%je]),gt=Re+dr-er,Wt=Math.abs(gt-Re),Dt=Math.abs(gt-dr),Kt=Math.abs(gt-er),$t=Wt<=Dt&&Wt<=Kt?Re:Dt<=Kt?dr:er,Gt[te++]=(Q+$t)%256;break;default:throw new Error("Invalid filter algorithm: "+Ne[Ye-1])}if(!Ht){var kt=((Ot+Qt*he)*Pe.width+At)*je,ir=Qt*Mt;for(Ie=0;Ie<Tt;Ie+=1){for(var Xt=0;Xt<je;Xt+=1)Ke[kt++]=Gt[ir++];kt+=(ne-1)*je}}Qt++}}return Ne=(Ne=new Bt(Ne)).getBytes(),Pe.interlaceMethod==1?(nt(0,0,8,8),nt(4,0,8,8),nt(0,4,4,8),nt(2,0,4,4),nt(0,2,2,4),nt(1,0,2,2),nt(0,1,1,2)):nt(0,0,1,1),Ke},ue.prototype.decodePalette=function(){var Ne,je,Ke,Ye,Pe,nt,At,Ot,ne;for(Ke=this.palette,nt=this.transparency.indexed||[],Pe=new Uint8Array((nt.length||0)+Ke.length),Ye=0,Ke.length,je=At=Ne=0,Ot=Ke.length;At<Ot;je=At+=3)Pe[Ye++]=Ke[je],Pe[Ye++]=Ke[je+1],Pe[Ye++]=Ke[je+2],Pe[Ye++]=(ne=nt[Ne++])!=null?ne:255;return Pe},ue.prototype.copyToImageData=function(Ne,je){var Ke,Ye,Pe,nt,At,Ot,ne,he,Q,te,be;if(Ye=this.colors,Q=null,Ke=this.hasAlphaChannel,this.palette.length&&(Q=(be=this._decodedPalette)!=null?be:this._decodedPalette=this.decodePalette(),Ye=4,Ke=!0),he=(Pe=Ne.data||Ne).length,At=Q||je,nt=Ot=0,Ye===1)for(;nt<he;)ne=Q?4*je[nt/4]:Ot,te=At[ne++],Pe[nt++]=te,Pe[nt++]=te,Pe[nt++]=te,Pe[nt++]=Ke?At[ne++]:255,Ot=ne;else for(;nt<he;)ne=Q?4*je[nt/4]:Ot,Pe[nt++]=At[ne++],Pe[nt++]=At[ne++],Pe[nt++]=At[ne++],Pe[nt++]=Ke?At[ne++]:255,Ot=ne},ue.prototype.decode=function(){var Ne;return Ne=new Uint8Array(this.width*this.height*4),this.copyToImageData(Ne,this.decodePixels()),Ne};try{ve=Qe.document.createElement("canvas"),fe=ve.getContext("2d")}catch(Ne){return-1}return Ae=function(je){var Ke;return fe.width=je.width,fe.height=je.height,fe.clearRect(0,0,je.width,je.height),fe.putImageData(je,0,0),(Ke=new Image).src=ve.toDataURL(),Ke},ue.prototype.decodeFrames=function(Ne){var je,Ke,Ye,Pe,nt,At,Ot,ne;if(this.animation){for(ne=[],Ke=nt=0,At=(Ot=this.animation.frames).length;nt<At;Ke=++nt)je=Ot[Ke],Ye=Ne.createImageData(je.width,je.height),Pe=this.decodePixels(new Uint8Array(je.data)),this.copyToImageData(Ye,Pe),je.imageData=Ye,ne.push(je.image=Ae(Ye));return ne}},ue.prototype.renderFrame=function(Ne,je){var Ke,Ye,Pe;return Ke=(Ye=this.animation.frames)[je],Pe=Ye[je-1],je===0&&Ne.clearRect(0,0,this.width,this.height),(Pe!=null?Pe.disposeOp:void 0)===1?Ne.clearRect(Pe.xOffset,Pe.yOffset,Pe.width,Pe.height):(Pe!=null?Pe.disposeOp:void 0)===2&&Ne.putImageData(Pe.imageData,Pe.xOffset,Pe.yOffset),Ke.blendOp===0&&Ne.clearRect(Ke.xOffset,Ke.yOffset,Ke.width,Ke.height),Ne.drawImage(Ke.image,Ke.xOffset,Ke.yOffset)},ue.prototype.animate=function(Ne){var je,Ke,Ye,Pe,nt,At,Ot=this;return Ke=0,At=this.animation,Pe=At.numFrames,Ye=At.frames,nt=At.numPlays,(je=function(){var he,Q;if(he=Ke++%Pe,Q=Ye[he],Ot.renderFrame(Ne,he),1<Pe&&Ke/Pe<nt)return Ot.animation._timeout=setTimeout(je,Q.delay)})()},ue.prototype.stopAnimation=function(){var Ne;return clearTimeout((Ne=this.animation)!=null?Ne._timeout:void 0)},ue.prototype.render=function(Ne){var je,Ke;return Ne._png&&Ne._png.stopAnimation(),Ne._png=this,Ne.width=this.width,Ne.height=this.height,je=Ne.getContext("2d"),this.animation?(this.decodeFrames(je),this.animate(je)):(Ke=je.createImageData(this.width,this.height),this.copyToImageData(Ke,this.decodePixels()),je.putImageData(Ke,0,0))},ue}(),Qe.PNG=ye;var or=function(){function Ae(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return Ae.prototype={ensureBuffer:function(fe){var ue=this.buffer,Ne=ue?ue.byteLength:0;if(fe<Ne)return ue;for(var je=512;je<fe;)je<<=1;for(var Ke=new Uint8Array(je),Ye=0;Ye<Ne;++Ye)Ke[Ye]=ue[Ye];return this.buffer=Ke},getByte:function(){for(var fe=this.pos;this.bufferLength<=fe;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(fe){var ue=this.pos;if(fe){this.ensureBuffer(ue+fe);for(var Ne=ue+fe;!this.eof&&this.bufferLength<Ne;)this.readBlock();var je=this.bufferLength;je<Ne&&(Ne=je)}else{for(;!this.eof;)this.readBlock();Ne=this.bufferLength}return this.pos=Ne,this.buffer.subarray(ue,Ne)},lookChar:function(){for(var fe=this.pos;this.bufferLength<=fe;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var fe=this.pos;this.bufferLength<=fe;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(fe,ue,Ne){for(var je=fe+ue;this.bufferLength<=je&&!this.eof;)this.readBlock();return new Stream(this.buffer,fe,ue,Ne)},skip:function(fe){fe||(fe=1),this.pos+=fe},reset:function(){this.pos=0}},Ae}(),Bt=function(){if(typeof Uint32Array!="undefined"){var Ae=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ve=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),fe=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),ue=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Ne=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(Ke.prototype=Object.create(or.prototype)).getBits=function(Ye){for(var Pe,nt=this.codeSize,At=this.codeBuf,Ot=this.bytes,ne=this.bytesPos;nt<Ye;)(Pe=Ot[ne++])===void 0&&je("Bad encoding in flate stream"),At|=Pe<<nt,nt+=8;return Pe=At&(1<<Ye)-1,this.codeBuf=At>>Ye,this.codeSize=nt-=Ye,this.bytesPos=ne,Pe},Ke.prototype.getCode=function(Ye){for(var Pe=Ye[0],nt=Ye[1],At=this.codeSize,Ot=this.codeBuf,ne=this.bytes,he=this.bytesPos;At<nt;){var Q;(Q=ne[he++])===void 0&&je("Bad encoding in flate stream"),Ot|=Q<<At,At+=8}var te=Pe[Ot&(1<<nt)-1],be=te>>16,Ie=65535&te;return(At==0||At<be||be==0)&&je("Bad encoding in flate stream"),this.codeBuf=Ot>>be,this.codeSize=At-be,this.bytesPos=he,Ie},Ke.prototype.generateHuffmanTable=function(Ye){for(var Pe=Ye.length,nt=0,At=0;At<Pe;++At)Ye[At]>nt&&(nt=Ye[At]);for(var Ot=1<<nt,ne=new Uint32Array(Ot),he=1,Q=0,te=2;he<=nt;++he,Q<<=1,te<<=1)for(var be=0;be<Pe;++be)if(Ye[be]==he){var Ie=0,Re=Q;for(At=0;At<he;++At)Ie=Ie<<1|1&Re,Re>>=1;for(At=Ie;At<Ot;At+=te)ne[At]=he<<16|be;++Q}return[ne,nt]},Ke.prototype.readBlock=function(){function Ye(ft,Ht,kt,ir,Xt){for(var mr=ft.getBits(kt)+ir;0<mr--;)Ht[te++]=Xt}var Pe=this.getBits(3);if(1&Pe&&(this.eof=!0),(Pe>>=1)!=0){var nt,At;if(Pe==1)nt=ue,At=Ne;else if(Pe==2){for(var Ot=this.getBits(5)+257,ne=this.getBits(5)+1,he=this.getBits(4)+4,Q=Array(Ae.length),te=0;te<he;)Q[Ae[te++]]=this.getBits(3);for(var be=this.generateHuffmanTable(Q),Ie=0,Re=(te=0,Ot+ne),$e=new Array(Re);te<Re;){var gt=this.getCode(be);gt==16?Ye(this,$e,2,3,Ie):gt==17?Ye(this,$e,3,3,Ie=0):gt==18?Ye(this,$e,7,11,Ie=0):$e[te++]=Ie=gt}nt=this.generateHuffmanTable($e.slice(0,Ot)),At=this.generateHuffmanTable($e.slice(Ot,Re))}else je("Unknown block type in flate stream");for(var Wt=(pt=this.buffer)?pt.length:0,$t=this.bufferLength;;){var Dt=this.getCode(nt);if(Dt<256)Wt<=$t+1&&(Wt=(pt=this.ensureBuffer($t+1)).length),pt[$t++]=Dt;else{if(Dt==256)return void(this.bufferLength=$t);var Kt=(Dt=ve[Dt-=257])>>16;0<Kt&&(Kt=this.getBits(Kt)),Ie=(65535&Dt)+Kt,Dt=this.getCode(At),0<(Kt=(Dt=fe[Dt])>>16)&&(Kt=this.getBits(Kt));var Gt=(65535&Dt)+Kt;Wt<=$t+Ie&&(Wt=(pt=this.ensureBuffer($t+Ie)).length);for(var Qt=0;Qt<Ie;++Qt,++$t)pt[$t]=pt[$t-Gt]}}}else{var Mt,dr=this.bytes,er=this.bytesPos;(Mt=dr[er++])===void 0&&je("Bad block header in flate stream");var st=Mt;(Mt=dr[er++])===void 0&&je("Bad block header in flate stream"),st|=Mt<<8,(Mt=dr[er++])===void 0&&je("Bad block header in flate stream");var xt=Mt;(Mt=dr[er++])===void 0&&je("Bad block header in flate stream"),(xt|=Mt<<8)!=(65535&~st)&&je("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var ut=this.bufferLength,pt=this.ensureBuffer(ut+st),_t=ut+st;this.bufferLength=_t;for(var Tt=ut;Tt<_t;++Tt){if((Mt=dr[er++])===void 0){this.eof=!0;break}pt[Tt]=Mt}this.bytesPos=er}},Ke}function je(Ye){throw new Error(Ye)}function Ke(Ye){var Pe=0,nt=Ye[Pe++],At=Ye[Pe++];nt!=-1&&At!=-1||je("Invalid header in flate stream"),(15&nt)!=8&&je("Unknown compression method in flate stream"),((nt<<8)+At)%31!=0&&je("Bad FCHECK in flate stream"),32&At&&je("FDICT bit set in flate stream"),this.bytes=Ye,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,or.call(this)}}();window.tmp=Bt});try{D.exports=jsPDF}catch(m){}}).call(this,e("yLpj"))},"5RzL":function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("7W2i"),n=e.n(i),a=e("LQ03"),u=e.n(a),r=e("q1tI"),l=e.n(r),t=e("1OyB"),s=e("vuIU"),d=e("Ji7U"),p=e("LK+K"),b=e("KQm4"),w=e("U8pU"),E=e("ODXe"),S=e("VTBJ"),x=e("qNPg"),T=e("2Qr1"),L=e("815F"),y=e("NvD2"),C=e("wPlo"),O=e("6cGi"),N=e("Kwbf"),k=e("4IlW"),F=e("YrtM"),B=e("fAei"),H=l.a.createContext(null);function W(yt,It){if(!yt)return!0;var or=yt.data,Bt=or.disabled,Ae=or.disableCheckbox;switch(It){case"select":return Bt;case"checkbox":return Bt||Ae}return!1}function R(yt,It){var or=l.a.useCallback(function(Ae){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",fe=arguments.length>2?arguments[2]:void 0,ue=yt.get(Ae);return!fe&&W(ue,ve)?null:ue},[yt]),Bt=l.a.useCallback(function(Ae){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",fe=arguments.length>2?arguments[2]:void 0,ue=It.get(Ae);return!fe&&W(ue,ve)?null:ue},[It]);return[or,Bt]}function U(yt){return l.a.useMemo(function(){var It=new Map,or=new Map;return yt.forEach(function(Bt){It.set(Bt.key,Bt),or.set(Bt.data.value,Bt)}),[It,or]},[yt])}var j={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},P=function(It,or){var Bt=It.prefixCls,Ae=It.height,ve=It.itemHeight,fe=It.virtual,ue=It.options,Ne=It.flattenOptions,je=It.multiple,Ke=It.searchValue,Ye=It.onSelect,Pe=It.onToggleOpen,nt=It.open,At=It.notFoundContent,Ot=It.onMouseEnter,ne=l.a.useContext(H),he=ne.checkable,Q=ne.checkedKeys,te=ne.halfCheckedKeys,be=ne.treeExpandedKeys,Ie=ne.treeDefaultExpandAll,Re=ne.treeDefaultExpandedKeys,$e=ne.onTreeExpand,gt=ne.treeIcon,Wt=ne.showTreeIcon,$t=ne.switcherIcon,Dt=ne.treeLine,Kt=ne.treeNodeFilterProp,Gt=ne.loadData,Qt=ne.treeLoadedKeys,Mt=ne.treeMotion,dr=ne.onTreeLoad,er=l.a.useRef(),st=Object(F.a)(function(){return ue},[nt,ue],function(Pn,zn){return zn[0]&&Pn[1]!==zn[1]}),xt=U(Ne),ut=Object(E.a)(xt,2),pt=ut[0],_t=ut[1],Tt=R(pt,_t),ft=Object(E.a)(Tt,2),Ht=ft[0],kt=ft[1],ir=l.a.useMemo(function(){return Q.map(function(Pn){var zn=kt(Pn);return zn?zn.key:null})},[Q]),Xt=l.a.useMemo(function(){return he?{checked:ir,halfChecked:te}:null},[ir,te,he]);l.a.useEffect(function(){if(nt&&!je&&ir.length){var Pn;(Pn=er.current)===null||Pn===void 0||Pn.scrollTo({key:ir[0]})}},[nt]);var mr=String(Ke).toLowerCase(),Ar=function(zn){return mr?String(zn[Kt]).toLowerCase().includes(mr):!1},Nr=l.a.useState(Re),kr=Object(E.a)(Nr,2),tn=kr[0],qr=kr[1],Lr=l.a.useState(null),Qr=Object(E.a)(Lr,2),Ir=Qr[0],ur=Qr[1],pr=l.a.useMemo(function(){return be?Object(b.a)(be):Ke?Ir:tn},[tn,Ir,mr,be]);l.a.useEffect(function(){Ke&&ur(Ne.map(function(Pn){return Pn.key}))},[Ke]);var cr=function(zn){qr(zn),ur(zn),$e&&$e(zn)},fr=function(zn){zn.preventDefault()},xr=function(zn,qn){var Yn=qn.node.key,Vn=Ht(Yn,he?"checkbox":"select");Vn!==null&&Ye(Vn.data.value,{selected:!Q.includes(Vn.data.value)}),je||Pe(!1)},Yr=l.a.useState(null),un=Object(E.a)(Yr,2),Nn=un[0],jr=un[1],Tn=Ht(Nn);if(l.a.useImperativeHandle(or,function(){return{onKeyDown:function(zn){var qn,Yn=zn.which;switch(Yn){case k.a.UP:case k.a.DOWN:case k.a.LEFT:case k.a.RIGHT:(qn=er.current)===null||qn===void 0||qn.onKeyDown(zn);break;case k.a.ENTER:{Tn!==null&&xr(null,{node:{key:Nn},selected:!Q.includes(Tn.data.value)});break}case k.a.ESC:Pe(!1)}},onKeyUp:function(){}}}),st.length===0)return l.a.createElement("div",{role:"listbox",className:"".concat(Bt,"-empty"),onMouseDown:fr},At);var gn={};return Qt&&(gn.loadedKeys=Qt),pr&&(gn.expandedKeys=pr),l.a.createElement("div",{onMouseDown:fr,onMouseEnter:Ot},Tn&&nt&&l.a.createElement("span",{style:j,"aria-live":"assertive"},Tn.data.value),l.a.createElement(B.b,Object.assign({ref:er,focusable:!1,prefixCls:"".concat(Bt,"-tree"),treeData:st,height:Ae,itemHeight:ve,virtual:fe,multiple:je,icon:gt,showIcon:Wt,switcherIcon:$t,showLine:Dt,loadData:Ke?null:Gt,motion:Mt,checkable:he,checkStrictly:!0,checkedKeys:Xt,selectedKeys:he?[]:ir,defaultExpandAll:Ie},gn,{onActiveChange:jr,onSelect:xr,onCheck:xr,onExpand:cr,onLoad:dr,filterTreeNode:Ar})))},K=l.a.forwardRef(P);K.displayName="OptionList";var V=K,z=function(){return null},X=z,G=e("Ff2n"),le=e("Zm9Q");function Y(yt){return Object(le.a)(yt).map(function(It){if(!l.a.isValidElement(It)||!It.type)return null;var or=It.key,Bt=It.props,Ae=Bt.children,ve=Bt.value,fe=Object(G.a)(Bt,["children","value"]),ue=Object(S.a)({key:or,value:ve},fe),Ne=Y(Ae);return Ne.length&&(ue.children=Ne),ue}).filter(function(It){return It})}function me(yt){if(!yt)return yt;var It=Object(S.a)({},yt);return"props"in It||Object.defineProperty(It,"props",{get:function(){return Object(N.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),It}}),It}function we(yt,It,or,Bt,Ae){var ve=null,fe=null;function ue(){function Ne(je){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return je.map(function(Pe,nt){var At="".concat(Ke,"-").concat(nt),Ot=or.includes(Pe.value),ne=Ne(Pe.children||[],At,Ot),he=l.a.createElement(X,Object.assign({},Pe),ne.map(function(te){return te.node}));if(It===Pe.value&&(ve=he),Ot){var Q={pos:At,node:he,children:ne};return Ye||fe.push(Q),Q}return null}).filter(function(Pe){return Pe})}fe||(fe=[],Ne(Bt),fe.sort(function(je,Ke){var Ye=je.node.props.value,Pe=Ke.node.props.value,nt=or.indexOf(Ye),At=or.indexOf(Pe);return nt-At}))}Object.defineProperty(yt,"triggerNode",{get:function(){return Object(N.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),ue(),ve}}),Object.defineProperty(yt,"allCheckedNodes",{get:function(){return Object(N.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ue(),Ae?fe:fe.map(function(je){var Ke=je.node;return Ke})}})}function pe(yt){return Array.isArray(yt)?yt:yt!==void 0?[yt]:[]}function Fe(yt,It){var or=new Map;return It.forEach(function(Bt){var Ae=Bt.data;or.set(Ae.value,Ae)}),yt.map(function(Bt){return me(or.get(Bt))})}function Xe(yt,It){var or=Fe([yt],It)[0];return or?or.disabled:!1}function dt(yt){return yt.disabled||yt.disableCheckbox||yt.checkable===!1}function Ee(yt){for(var It=yt.parent,or=0,Bt=It;Bt;)Bt=Bt.parent,or+=1;return or}function Se(yt){function It(Bt){return(Bt||[]).map(function(Ae){var ve=Ae.value,fe=Ae.key,ue=Ae.children,Ne=Object(S.a)(Object(S.a)({},Ae),{},{key:"key"in Ae?fe:ve});return ue&&(Ne.children=It(ue)),Ne})}var or=Object(L.d)(It(yt),!0);return or.map(function(Bt){return{key:Bt.data.key,data:Bt.data,level:Ee(Bt)}})}function at(yt){return function(It,or){var Bt=or[yt];return String(Bt).toLowerCase().includes(String(It).toLowerCase())}}function _e(yt,It,or){var Bt=or.optionFilterProp,Ae=or.filterOption;if(Ae===!1)return It;var ve;typeof Ae=="function"?ve=Ae:ve=at(Bt);function fe(ue){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ue.map(function(je){var Ke=je.children,Ye=Ne||ve(yt,me(je)),Pe=fe(Ke||[],Ye);return Ye||Pe.length?Object(S.a)(Object(S.a)({},je),{},{children:Pe}):null}).filter(function(je){return je})}return fe(It)}function ce(yt,It,or,Bt){var Ae=new Map;return pe(It).forEach(function(ve){ve&&Object(w.a)(ve)==="object"&&"value"in ve&&Ae.set(ve.value,ve)}),yt.map(function(ve){var fe={value:ve},ue=or(ve,"select",!0),Ne=ue?Bt(ue.data):ve;if(Ae.has(ve)){var je=Ae.get(ve);fe.label="label"in je?je.label:Ne,"halfChecked"in je&&(fe.halfChecked=je.halfChecked)}else fe.label=Ne;return fe})}function ee(yt,It){var or=new Set(yt);return or.add(It),Array.from(or)}function se(yt,It){var or=new Set(yt);return or.delete(It),Array.from(or)}function ke(yt){var It=yt.searchPlaceholder,or=yt.treeCheckStrictly,Bt=yt.treeCheckable,Ae=yt.labelInValue,ve=yt.value,fe=yt.multiple;Object(N.a)(!It,"`searchPlaceholder` has been removed."),or&&Ae===!1&&Object(N.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ae||or)&&Object(N.a)(pe(ve).every(function(ue){return ue&&Object(w.a)(ue)==="object"&&"value"in ue}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),or||fe||Bt?Object(N.a)(!ve||Array.isArray(ve),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(N.a)(!Array.isArray(ve),"`value` should not be array when `TreeSelect` is single mode.")}var Ce=ke,ze=10;function Oe(yt,It){var or=It.id,Bt=It.pId,Ae=It.rootPId,ve={},fe=[],ue=yt.map(function(Ne){var je=Object(S.a)({},Ne),Ke=je[or];return ve[Ke]=je,je.key=je.key||Ke,je});return ue.forEach(function(Ne){var je=Ne[Bt],Ke=ve[je];Ke&&(Ke.children=Ke.children||[],Ke.children.push(Ne)),(je===Ae||!Ke&&Ae===null)&&fe.push(Ne)}),fe}function ae(yt,It){var or=0,Bt=new Set;function Ae(ve){return(ve||[]).map(function(fe){var ue=fe.key,Ne=fe.value,je=fe.children,Ke=Object(G.a)(fe,["key","value","children"]),Ye="value"in fe?Ne:ue,Pe=Object(S.a)(Object(S.a)({},Ke),{},{key:ue!=null?ue:Ye,value:Ye,title:It(fe)});return"children"in fe&&(Pe.children=Ae(je)),Pe})}return Ae(yt)}function ge(yt,It,or){var Bt=or.getLabelProp,Ae=or.simpleMode,ve=l.a.useRef({});return yt?(ve.current.formatTreeData=ve.current.treeData===yt?ve.current.formatTreeData:ae(Ae?Oe(yt,Object(S.a)({id:"id",pId:"pId",rootPId:null},Ae!==!0?Ae:{})):yt,Bt),ve.current.treeData=yt):ve.current.formatTreeData=ve.current.children===It?ve.current.formatTreeData:ae(Y(It),Bt),ve.current.formatTreeData}var Le="SHOW_ALL",Ze="SHOW_PARENT",vt="SHOW_CHILD";function Ct(yt,It,or){var Bt=new Set(yt);return It===vt?yt.filter(function(Ae){var ve=or[Ae];return!(ve&&ve.children&&ve.children.every(function(fe){var ue=fe.node;return dt(ue)||Bt.has(ue.key)}))}):It===Ze?yt.filter(function(Ae){var ve=or[Ae],fe=ve?ve.parent:null;return!(fe&&!dt(fe.node)&&Bt.has(fe.node.key))}):yt}function Be(yt,It){var or=It.value,Bt=It.getEntityByValue,Ae=It.getEntityByKey,ve=It.treeConduction,fe=It.showCheckedStrategy,ue=It.conductKeyEntities,Ne=It.getLabelProp;return l.a.useMemo(function(){var je=yt;if(ve){var Ke=Ct(yt.map(function(Ye){var Pe=Bt(Ye);return Pe?Pe.key:Ye}),fe,ue);je=Ke.map(function(Ye){var Pe=Ae(Ye);return Pe?Pe.data.value:Ye})}return ce(je,or,Bt,Ne)},[yt,or,ve,fe,Bt])}var Rt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],He=Object(x.a)({prefixCls:"rc-tree-select",components:{optionList:V},convertChildrenToData:function(){return null},flattenOptions:Se,getLabeledValue:T.e,filterOptions:_e,isValueDisabled:Xe,findValueOption:Fe,omitDOMProps:function(It){var or=Object(S.a)({},It);return Rt.forEach(function(Bt){delete or[Bt]}),or}});He.displayName="Select";var wt=r.forwardRef(function(yt,It){var or=yt.multiple,Bt=yt.treeCheckable,Ae=yt.treeCheckStrictly,ve=yt.showCheckedStrategy,fe=ve===void 0?"SHOW_CHILD":ve,ue=yt.labelInValue,Ne=yt.loadData,je=yt.treeLoadedKeys,Ke=yt.treeNodeFilterProp,Ye=Ke===void 0?"value":Ke,Pe=yt.treeNodeLabelProp,nt=yt.treeDataSimpleMode,At=yt.treeData,Ot=yt.treeExpandedKeys,ne=yt.treeDefaultExpandedKeys,he=yt.treeDefaultExpandAll,Q=yt.children,te=yt.treeIcon,be=yt.showTreeIcon,Ie=yt.switcherIcon,Re=yt.treeLine,$e=yt.treeMotion,gt=yt.filterTreeNode,Wt=yt.dropdownPopupAlign,$t=yt.onChange,Dt=yt.onTreeExpand,Kt=yt.onTreeLoad,Gt=yt.onDropdownVisibleChange,Qt=yt.onSelect,Mt=yt.onDeselect,dr=Bt||Ae,er=or||dr,st=Bt&&!Ae,xt=Ae||ue,ut=r.useRef(null);r.useImperativeHandle(It,function(){return{focus:ut.current.focus,blur:ut.current.blur}});var pt=function(Yn){return At&&Yn.label||Yn.title},_t=function(Yn){return Pe?Yn[Pe]:pt(Yn)},Tt=ge(At,Q,{getLabelProp:pt,simpleMode:nt}),ft=Object(r.useMemo)(function(){return Se(Tt)},[Tt]),Ht=U(ft),kt=Object(E.a)(Ht,2),ir=kt[0],Xt=kt[1],mr=R(ir,Xt),Ar=Object(E.a)(mr,2),Nr=Ar[0],kr=Ar[1],tn=Object(r.useMemo)(function(){return st?Object(L.a)(Tt):{keyEntities:null}},[Tt,Bt,Ae]),qr=tn.keyEntities,Lr=Object(O.a)(yt.defaultValue,{value:yt.value}),Qr=Object(E.a)(Lr,2),Ir=Qr[0],ur=Qr[1],pr=function(Yn){var Vn=[],An=[];return Yn.forEach(function(on){kr(on)?An.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:An}},cr=Object(r.useMemo)(function(){var qn=[],Yn=[];if(pe(Ir).forEach(function(Ci){if(Ci&&Object(w.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&Ae){var Gn=kr(Ci.value);qn.push(Gn?Gn.key:Ci.value)}else Yn.push(Ci.value);else Yn.push(Ci)}),st){var Vn=pr(Yn),An=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return kr(Ci).key}),xa=Object(y.a)(ia,!0,qr),ta=xa.checkedKeys,Ii=xa.halfCheckedKeys;return[[].concat(Object(b.a)(An),Object(b.a)(ta.map(function(Ci){return Nr(Ci).data.value}))),Ii]}return[Yn,qn]},[Ir,er,xt,Bt,Ae]),fr=Object(E.a)(cr,2),xr=fr[0],Yr=fr[1],un=Be(xr,{treeConduction:st,value:Ir,showCheckedStrategy:fe,conductKeyEntities:qr,getEntityByValue:kr,getEntityByKey:Nr,getLabelProp:_t}),Nn=function(Yn,Vn,An){if(ur(er?Yn:Yn[0]),$t){var on=Yn;if(st&&fe!=="SHOW_ALL"){var ia=Yn.map(function(Ln){var In=kr(Ln);return In?In.key:Ln}),xa=Ct(ia,fe,qr);on=xa.map(function(Ln){var In=Nr(Ln);return In?In.data.value:Ln})}var ta=Vn||{triggerValue:void 0,selected:void 0},Ii=ta.triggerValue,Ci=ta.selected,Gn=xt?ce(on,Ir,kr,_t):on;if(Ae){var Oa=Yr.map(function(Ln){var In=Nr(Ln);return In?In.data.value:Ln}).filter(function(Ln){return!on.includes(Ln)});Gn=[].concat(Object(b.a)(Gn),Object(b.a)(ce(Oa,Ir,kr,_t)))}var mn={preValue:un,triggerValue:Ii},On=!0;(Ae||An==="selection"&&!Ci)&&(On=!1),we(mn,Ii,Yn,Tt,On),dr?mn.checked=Ci:mn.selected=Ci,$t(er?Gn:Gn[0],xt?null:on.map(function(Ln){var In=kr(Ln);return In?_t(In.data):null}),mn)}},jr=function(Yn,Vn,An){var on=Yn;if(!er)Nn([Yn],{selected:!0,triggerValue:Yn},An);else{var ia=ee(xr,Yn);if(st){var xa=pr(ia),ta=xa.missingRawValues,Ii=xa.existRawValues,Ci=Ii.map(function(mn){return kr(mn).key}),Gn=Object(y.a)(Ci,!0,qr),Oa=Gn.checkedKeys;ia=[].concat(Object(b.a)(ta),Object(b.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!0,triggerValue:Yn},An)}Qt&&Qt(on,Vn)},Tn=function(Yn,Vn,An){var on=Yn,ia=se(xr,Yn);if(st){var xa=pr(ia),ta=xa.missingRawValues,Ii=xa.existRawValues,Ci=Ii.map(function(mn){return kr(mn).key}),Gn=Object(y.a)(Ci,{checked:!1,halfCheckedKeys:Yr},qr),Oa=Gn.checkedKeys;ia=[].concat(Object(b.a)(ta),Object(b.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!1,triggerValue:Yn},An),Mt&&Mt(on,Vn)},gn=function(){Nn([],null,"clear")},Pn=r.useCallback(function(qn){if(Gt){var Yn={};Object.defineProperty(Yn,"documentClickClose",{get:function(){return Object(N.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Gt(qn,Yn)}},[Gt]),zn={optionLabelProp:null,optionFilterProp:Ye,dropdownAlign:Wt,internalProps:{mark:C.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:Tn}};return"filterTreeNode"in yt&&(zn.filterOption=gt),r.createElement(H.Provider,{value:{checkable:dr,loadData:Ne,treeLoadedKeys:je,onTreeLoad:Kt,checkedKeys:xr,halfCheckedKeys:Yr,treeDefaultExpandAll:he,treeExpandedKeys:Ot,treeDefaultExpandedKeys:ne,onTreeExpand:Dt,treeIcon:te,treeMotion:$e,showTreeIcon:be,switcherIcon:Ie,treeLine:Re,treeNodeFilterProp:Ye}},r.createElement(He,Object.assign({ref:ut,mode:er?"multiple":null},yt,zn,{value:un,labelInValue:!0,options:Tt,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Pn})))}),Ge=function(yt){Object(d.a)(or,yt);var It=Object(p.a)(or);function or(){var Bt;return Object(t.a)(this,or),Bt=It.apply(this,arguments),Bt.selectRef=r.createRef(),Bt.focus=function(){Bt.selectRef.current.focus()},Bt.blur=function(){Bt.selectRef.current.blur()},Bt}return Object(s.a)(or,[{key:"render",value:function(){return r.createElement(wt,Object.assign({ref:this.selectRef},this.props))}}]),or}(r.Component);Ge.TreeNode=X,Ge.SHOW_ALL=Le,Ge.SHOW_PARENT=Ze,Ge.SHOW_CHILD=vt;var et=Ge,rt=et,lt=e("TSYQ"),Ve=e.n(lt),ie=e("BGR+"),$=e("H84U"),it=e("uaoM"),Qe=e("1vzs"),ye=e("2jpz"),Zt=e("3Nzz"),ht=function(yt){n()(or,yt);var It=u()(or);function or(Bt){var Ae;return h()(this,or),Ae=It.call(this,Bt),Ae.selectRef=r.createRef(),Ae.renderTreeSelect=function(ve){var fe=ve.getPopupContainer,ue=ve.getPrefixCls,Ne=ve.renderEmpty,je=ve.direction,Ke=ve.virtual,Ye=ve.dropdownMatchSelectWidth,Pe=Ae.props,nt=Pe.prefixCls,At=Pe.size,Ot=Pe.className,ne=Pe.treeCheckable,he=Pe.multiple,Q=Pe.listHeight,te=Q===void 0?256:Q,be=Pe.listItemHeight,Ie=be===void 0?26:be,Re=Pe.notFoundContent,$e=Pe.switcherIcon,gt=Pe.treeLine,Wt=Pe.getPopupContainer,$t=Pe.dropdownClassName,Dt=Pe.bordered,Kt=Pe.treeIcon,Gt=Kt===void 0?!1:Kt,Qt=ue("select",nt),Mt=ue("select-tree",nt),dr=ue("tree-select",nt),er=Ve()($t,"".concat(dr,"-dropdown"),m()({},"".concat(dr,"-dropdown-rtl"),je==="rtl")),st=!!(ne||he),xt=Object(Qe.a)(f()(f()({},Ae.props),{multiple:st,prefixCls:Qt})),ut=xt.suffixIcon,pt=xt.itemIcon,_t=xt.removeIcon,Tt=xt.clearIcon,ft;Re!==void 0?ft=Re:ft=Ne("Select");var Ht=Object(ie.default)(Ae.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return r.createElement(Zt.b.Consumer,null,function(kt){var ir,Xt=At||kt,mr=Ve()(!nt&&dr,(ir={},m()(ir,"".concat(Qt,"-lg"),Xt==="large"),m()(ir,"".concat(Qt,"-sm"),Xt==="small"),m()(ir,"".concat(Qt,"-rtl"),je==="rtl"),m()(ir,"".concat(Qt,"-borderless"),!Dt),ir),Ot);return r.createElement(rt,f()({virtual:Ke,dropdownMatchSelectWidth:Ye},Ht,{ref:Ae.selectRef,prefixCls:Qt,className:mr,listHeight:te,listItemHeight:Ie,treeCheckable:ne&&r.createElement("span",{className:"".concat(Qt,"-tree-checkbox-inner")}),inputIcon:ut,menuItemSelectedIcon:pt,removeIcon:_t,clearIcon:Tt,switcherIcon:function(Nr){return Object(ye.a)(Mt,$e,gt,Nr)},showTreeIcon:Gt,notFoundContent:ft,getPopupContainer:Wt||fe,treeMotion:null,dropdownClassName:er}))})},Object(it.a)(Bt.multiple!==!1||!Bt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),Ae}return o()(or,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return r.createElement($.a,null,this.renderTreeSelect)}}]),or}(r.Component);ht.TreeNode=X,ht.SHOW_ALL=Le,ht.SHOW_PARENT=Ze,ht.SHOW_CHILD=vt,ht.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ct=_.a=ht},"5Uyt":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("KmBX"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"5YOS":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("xb2K"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"5YgA":function(D,_,e){},"5bA4":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="LeftOutlined";var h=_.a=g.forwardRef(v)},"5nXd":function(D,_,e){var g=e("MFOe"),f=g.slice,A=g.pluck,m=g.each,v=g.bind,h=g.create,c=g.isList,o=g.isFunction,i=g.isObject;D.exports={createStore:u};var n={version:"2.0.12",enabled:!1,get:function(l,t){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,t)},set:function(l,t){return t===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(t)),t)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var t=this;this.storage.each(function(s,d){l.call(t,t._deserialize(s),(d||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return u.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return u(this.storage,this.plugins,l)}};function a(){var r=typeof console=="undefined"?null:console;if(!r)return;var l=r.warn?r.warn:r.log;l.apply(r,arguments)}function u(r,l,t){t||(t=""),r&&!c(r)&&(r=[r]),l&&!c(l)&&(l=[l]);var s=t?"__storejs_"+t+"_":"",d=t?new RegExp("^"+s):null,p=/^[a-zA-Z0-9_\-]*$/;if(!p.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var b={_namespacePrefix:s,_namespaceRegexp:d,_testStorage:function(S){try{var x="__storejs__test__";S.write(x,x);var T=S.read(x)===x;return S.remove(x),T}catch(L){return!1}},_assignPluginFnProp:function(S,x){var T=this[x];this[x]=function(){var y=f(arguments,0),C=this;function O(){return T?(m(arguments,function(k,F){y[F]=k}),T.apply(C,y)):void 0}var N=[O].concat(y);return S.apply(C,N)}},_serialize:function(S){return JSON.stringify(S)},_deserialize:function(S,x){if(!S)return x;var T="";try{T=JSON.parse(S)}catch(L){T=S}return T!==void 0?T:x},_addStorage:function(S){if(this.enabled)return;this._testStorage(S)&&(this.storage=S,this.enabled=!0)},_addPlugin:function(S){var x=this;if(c(S)){m(S,function(y){x._addPlugin(y)});return}var T=A(this.plugins,function(y){return S===y});if(T)return;if(this.plugins.push(S),!o(S))throw new Error("Plugins must be function values that return objects");var L=S.call(this);if(!i(L))throw new Error("Plugins must return an object of function properties");m(L,function(y,C){if(!o(y))throw new Error("Bad plugin property: "+C+" from plugin "+S.name+". Plugins should only return functions.");x._assignPluginFnProp(y,C)})},addStorage:function(S){a("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(S)}},w=h(b,n,{plugins:[]});return w.raw={},m(w,function(E,S){o(E)&&(w.raw[S]=v(w,E))}),m(r,function(E){w._addStorage(E)}),m(l,function(E){w._addPlugin(E)}),w}},"5rEg":function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lwsE"),m=e.n(A),v=e("W8MJ"),h=e.n(v),c=e("7W2i"),o=e.n(c),i=e("LQ03"),n=e.n(i),a=e("lSNA"),u=e.n(a),r=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),d=e("kbBi"),p=e.n(d),b=e("CWQg"),w=e("0n0R"),E=Object(b.a)("text","input");function S(se){return!!(se.prefix||se.suffix||se.allowClear)}var x=function(se){o()(Ce,se);var ke=n()(Ce);function Ce(){var ze;return m()(this,Ce),ze=ke.apply(this,arguments),ze.containerRef=r.createRef(),ze.onInputMouseUp=function(Oe){var ae;if((ae=ze.containerRef.current)===null||ae===void 0?void 0:ae.contains(Oe.target)){var ge=ze.props.triggerFocus;ge()}},ze}return h()(Ce,[{key:"renderClearIcon",value:function(Oe){var ae=this.props,ge=ae.allowClear,Le=ae.value,Ze=ae.disabled,vt=ae.readOnly,Ct=ae.inputType,Be=ae.handleReset;if(!ge)return null;var Rt=!Ze&&!vt&&Le,He=Ct===E[0]?"".concat(Oe,"-textarea-clear-icon"):"".concat(Oe,"-clear-icon");return r.createElement(p.a,{onClick:Be,className:t()(He,u()({},"".concat(He,"-hidden"),!Rt)),role:"button"})}},{key:"renderSuffix",value:function(Oe){var ae=this.props,ge=ae.suffix,Le=ae.allowClear;return ge||Le?r.createElement("span",{className:"".concat(Oe,"-suffix")},this.renderClearIcon(Oe),ge):null}},{key:"renderLabeledIcon",value:function(Oe,ae){var ge,Le=this.props,Ze=Le.focused,vt=Le.value,Ct=Le.prefix,Be=Le.className,Rt=Le.size,He=Le.suffix,wt=Le.disabled,Ge=Le.allowClear,et=Le.direction,rt=Le.style,lt=Le.readOnly,Ve=Le.bordered,ie=this.renderSuffix(Oe);if(!S(this.props))return Object(w.a)(ae,{value:vt});var $=Ct?r.createElement("span",{className:"".concat(Oe,"-prefix")},Ct):null,it=t()(Be,"".concat(Oe,"-affix-wrapper"),(ge={},u()(ge,"".concat(Oe,"-affix-wrapper-focused"),Ze),u()(ge,"".concat(Oe,"-affix-wrapper-disabled"),wt),u()(ge,"".concat(Oe,"-affix-wrapper-sm"),Rt==="small"),u()(ge,"".concat(Oe,"-affix-wrapper-lg"),Rt==="large"),u()(ge,"".concat(Oe,"-affix-wrapper-input-with-clear-btn"),He&&Ge&&vt),u()(ge,"".concat(Oe,"-affix-wrapper-rtl"),et==="rtl"),u()(ge,"".concat(Oe,"-affix-wrapper-readonly"),lt),u()(ge,"".concat(Oe,"-affix-wrapper-borderless"),!Ve),ge));return r.createElement("span",{ref:this.containerRef,className:it,style:rt,onMouseUp:this.onInputMouseUp},$,Object(w.a)(ae,{style:null,value:vt,className:k(Oe,Ve,Rt,wt)}),ie)}},{key:"renderInputWithLabel",value:function(Oe,ae){var ge,Le,Ze=this.props,vt=Ze.addonBefore,Ct=Ze.addonAfter,Be=Ze.style,Rt=Ze.size,He=Ze.className,wt=Ze.direction;if(!vt&&!Ct)return ae;var Ge="".concat(Oe,"-group"),et="".concat(Ge,"-addon"),rt=vt?r.createElement("span",{className:et},vt):null,lt=Ct?r.createElement("span",{className:et},Ct):null,Ve=t()("".concat(Oe,"-wrapper"),(ge={},u()(ge,Ge,vt||Ct),u()(ge,"".concat(Ge,"-rtl"),wt==="rtl"),ge)),ie=t()(He,"".concat(Oe,"-group-wrapper"),(Le={},u()(Le,"".concat(Oe,"-group-wrapper-sm"),Rt==="small"),u()(Le,"".concat(Oe,"-group-wrapper-lg"),Rt==="large"),u()(Le,"".concat(Oe,"-group-wrapper-rtl"),wt==="rtl"),Le));return r.createElement("span",{className:ie,style:Be},r.createElement("span",{className:Ve},rt,Object(w.a)(ae,{style:null}),lt))}},{key:"renderTextAreaWithClearIcon",value:function(Oe,ae){var ge,Le=this.props,Ze=Le.value,vt=Le.allowClear,Ct=Le.className,Be=Le.style,Rt=Le.direction,He=Le.bordered;if(!vt)return Object(w.a)(ae,{value:Ze});var wt=t()(Ct,"".concat(Oe,"-affix-wrapper"),"".concat(Oe,"-affix-wrapper-textarea-with-clear-btn"),(ge={},u()(ge,"".concat(Oe,"-affix-wrapper-rtl"),Rt==="rtl"),u()(ge,"".concat(Oe,"-affix-wrapper-borderless"),!He),ge));return r.createElement("span",{className:wt,style:Be},Object(w.a)(ae,{style:null,value:Ze}),this.renderClearIcon(Oe))}},{key:"render",value:function(){var Oe=this.props,ae=Oe.prefixCls,ge=Oe.inputType,Le=Oe.element;return ge===E[0]?this.renderTextAreaWithClearIcon(ae,Le):this.renderInputWithLabel(ae,this.renderLabeledIcon(ae,Le))}}]),Ce}(r.Component),T=x,L=e("H84U"),y=e("3Nzz"),C=e("uaoM");function O(se){return typeof se=="undefined"||se===null?"":se}function N(se,ke,Ce){if(Ce){var ze=ke;if(ke.type==="click"){ze=Object.create(ke),ze.target=se,ze.currentTarget=se;var Oe=se.value;se.value="",Ce(ze),se.value=Oe;return}Ce(ze)}}function k(se,ke,Ce,ze,Oe){var ae;return t()(se,(ae={},u()(ae,"".concat(se,"-sm"),Ce==="small"),u()(ae,"".concat(se,"-lg"),Ce==="large"),u()(ae,"".concat(se,"-disabled"),ze),u()(ae,"".concat(se,"-rtl"),Oe==="rtl"),u()(ae,"".concat(se,"-borderless"),!ke),ae))}var F=function(se){o()(Ce,se);var ke=n()(Ce);function Ce(ze){var Oe;m()(this,Ce),Oe=ke.call(this,ze),Oe.direction="ltr",Oe.focus=function(){Oe.input.focus()},Oe.saveClearableInput=function(ge){Oe.clearableInput=ge},Oe.saveInput=function(ge){Oe.input=ge},Oe.onFocus=function(ge){var Le=Oe.props.onFocus;Oe.setState({focused:!0},Oe.clearPasswordValueAttribute),Le&&Le(ge)},Oe.onBlur=function(ge){var Le=Oe.props.onBlur;Oe.setState({focused:!1},Oe.clearPasswordValueAttribute),Le&&Le(ge)},Oe.handleReset=function(ge){Oe.setValue("",function(){Oe.focus()}),N(Oe.input,ge,Oe.props.onChange)},Oe.renderInput=function(ge,Le,Ze){var vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ct=Oe.props,Be=Ct.className,Rt=Ct.addonBefore,He=Ct.addonAfter,wt=Ct.size,Ge=Ct.disabled,et=Object(s.default)(Oe.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return r.createElement("input",f()({autoComplete:vt.autoComplete},et,{onChange:Oe.handleChange,onFocus:Oe.onFocus,onBlur:Oe.onBlur,onKeyDown:Oe.handleKeyDown,className:t()(k(ge,Ze,wt||Le,Ge,Oe.direction),u()({},Be,Be&&!Rt&&!He)),ref:Oe.saveInput}))},Oe.clearPasswordValueAttribute=function(){Oe.removePasswordTimeout=setTimeout(function(){Oe.input&&Oe.input.getAttribute("type")==="password"&&Oe.input.hasAttribute("value")&&Oe.input.removeAttribute("value")})},Oe.handleChange=function(ge){Oe.setValue(ge.target.value,Oe.clearPasswordValueAttribute),N(Oe.input,ge,Oe.props.onChange)},Oe.handleKeyDown=function(ge){var Le=Oe.props,Ze=Le.onPressEnter,vt=Le.onKeyDown;ge.keyCode===13&&Ze&&Ze(ge),vt&&vt(ge)},Oe.renderComponent=function(ge){var Le=ge.getPrefixCls,Ze=ge.direction,vt=ge.input,Ct=Oe.state,Be=Ct.value,Rt=Ct.focused,He=Oe.props,wt=He.prefixCls,Ge=He.bordered,et=Ge===void 0?!0:Ge,rt=Le("input",wt);return Oe.direction=Ze,r.createElement(y.b.Consumer,null,function(lt){return r.createElement(T,f()({size:lt},Oe.props,{prefixCls:rt,inputType:"input",value:O(Be),element:Oe.renderInput(rt,lt,et,vt),handleReset:Oe.handleReset,ref:Oe.saveClearableInput,direction:Ze,focused:Rt,triggerFocus:Oe.focus,bordered:et}))})};var ae=typeof ze.value=="undefined"?ze.defaultValue:ze.value;return Oe.state={value:ae,focused:!1,prevValue:ze.value},Oe}return h()(Ce,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Oe){return S(Oe)!==S(this.props)&&Object(C.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Oe,ae){this.props.value===void 0&&this.setState({value:Oe},ae)}},{key:"render",value:function(){return r.createElement(L.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Oe,ae){var ge=ae.prevValue,Le={prevValue:Oe.value};return(Oe.value!==void 0||ge!==Oe.value)&&(Le.value=Oe.value),Le}}]),Ce}(r.Component);F.defaultProps={type:"text"};var B=F,H=function(ke){return r.createElement(L.a,null,function(Ce){var ze,Oe=Ce.getPrefixCls,ae=Ce.direction,ge=ke.prefixCls,Le=ke.className,Ze=Le===void 0?"":Le,vt=Oe("input-group",ge),Ct=t()(vt,(ze={},u()(ze,"".concat(vt,"-lg"),ke.size==="large"),u()(ze,"".concat(vt,"-sm"),ke.size==="small"),u()(ze,"".concat(vt,"-compact"),ke.compact),u()(ze,"".concat(vt,"-rtl"),ae==="rtl"),ze),Ze);return r.createElement("span",{className:Ct,style:ke.style,onMouseEnter:ke.onMouseEnter,onMouseLeave:ke.onMouseLeave,onFocus:ke.onFocus,onBlur:ke.onBlur},ke.children)})},W=H,R=e("c+Xe"),U=e("w6Tc"),j=e.n(U),P=e("gZBC"),K=e.n(P),V=e("2/Rp"),z=function(se,ke){var Ce={};for(var ze in se)Object.prototype.hasOwnProperty.call(se,ze)&&ke.indexOf(ze)<0&&(Ce[ze]=se[ze]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,ze=Object.getOwnPropertySymbols(se);Oe<ze.length;Oe++)ke.indexOf(ze[Oe])<0&&Object.prototype.propertyIsEnumerable.call(se,ze[Oe])&&(Ce[ze[Oe]]=se[ze[Oe]]);return Ce},X=r.forwardRef(function(se,ke){var Ce=r.useRef(null),ze=function(Be){var Rt=se.onChange,He=se.onSearch;Be&&Be.target&&Be.type==="click"&&He&&He(Be.target.value,Be),Rt&&Rt(Be)},Oe=function(Be){var Rt;document.activeElement===((Rt=Ce.current)===null||Rt===void 0?void 0:Rt.input)&&Be.preventDefault()},ae=function(Be){var Rt,He=se.onSearch,wt=se.loading,Ge=se.disabled;if(wt||Ge)return;He&&He((Rt=Ce.current)===null||Rt===void 0?void 0:Rt.input.value,Be)},ge=function(Be){var Rt=se.enterButton,He=se.size;return Rt?r.createElement(y.b.Consumer,{key:"enterButton"},function(wt){return r.createElement(V.a,{className:"".concat(Be,"-button"),type:"primary",size:He||wt},r.createElement(K.a,null))}):r.createElement(K.a,{className:"".concat(Be,"-icon"),key:"loadingIcon"})},Le=function(Be){var Rt=se.suffix,He=se.enterButton,wt=se.loading;if(wt&&!He)return[Rt,ge(Be)];if(He)return Rt;var Ge=r.createElement(j.a,{className:"".concat(Be,"-icon"),key:"searchIcon",onClick:ae});return Rt?[Object(w.c)(Rt,null,{key:"suffix"}),Ge]:Ge},Ze=function(Be,Rt){var He=se.enterButton,wt=se.disabled,Ge=se.addonAfter,et=se.loading,rt="".concat(Be,"-button");if(et&&He)return[ge(Be),Ge];if(!He)return Ge;var lt,Ve=He,ie=Ve.type&&Ve.type.__ANT_BUTTON===!0;return ie||Ve.type==="button"?lt=Object(w.a)(Ve,f()({onMouseDown:Oe,onClick:ae,key:"enterButton"},ie?{className:rt,size:Rt}:{})):lt=r.createElement(V.a,{className:rt,type:"primary",size:Rt,disabled:wt,key:"enterButton",onMouseDown:Oe,onClick:ae},He===!0?r.createElement(j.a,null):He),Ge?[lt,Object(w.c)(Ge,null,{key:"addonAfter"})]:lt},vt=function(Be){var Rt=Be.getPrefixCls,He=Be.direction,wt=se.prefixCls,Ge=se.inputPrefixCls,et=se.enterButton,rt=se.className,lt=se.size,Ve=z(se,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ve.onSearch,delete Ve.loading;var ie=Rt("input-search",wt),$=Rt("input",Ge),it=function(ye){var Zt;if(et){var ht;Zt=t()(ie,rt,(ht={},u()(ht,"".concat(ie,"-rtl"),He==="rtl"),u()(ht,"".concat(ie,"-enter-button"),!!et),u()(ht,"".concat(ie,"-").concat(ye),!!ye),ht))}else Zt=t()(ie,rt,u()({},"".concat(ie,"-rtl"),He==="rtl"));return Zt};return r.createElement(y.b.Consumer,null,function(Qe){return r.createElement(B,f()({ref:Object(R.a)(Ce,ke),onPressEnter:ae},Ve,{size:lt||Qe,prefixCls:$,addonAfter:Ze(ie,lt||Qe),suffix:Le(ie),onChange:ze,className:it(lt||Qe)}))})};return r.createElement(L.a,null,vt)});X.defaultProps={enterButton:!1},X.displayName="Search";var G=X,le=e("Y1PL"),Y=function(se){o()(Ce,se);var ke=n()(Ce);function Ce(ze){var Oe;m()(this,Ce),Oe=ke.call(this,ze),Oe.focus=function(){Oe.resizableTextArea.textArea.focus()},Oe.saveTextArea=function(ge){Oe.resizableTextArea=ge==null?void 0:ge.resizableTextArea},Oe.saveClearableInput=function(ge){Oe.clearableInput=ge},Oe.handleChange=function(ge){Oe.setValue(ge.target.value),N(Oe.resizableTextArea.textArea,ge,Oe.props.onChange)},Oe.handleReset=function(ge){Oe.setValue("",function(){Oe.focus()}),N(Oe.resizableTextArea.textArea,ge,Oe.props.onChange)},Oe.renderTextArea=function(ge,Le){return r.createElement(le.default,f()({},Object(s.default)(Oe.props,["allowClear","bordered"]),{className:t()(Oe.props.className,u()({},"".concat(ge,"-borderless"),!Le)),prefixCls:ge,onChange:Oe.handleChange,ref:Oe.saveTextArea}))},Oe.renderComponent=function(ge){var Le=ge.getPrefixCls,Ze=ge.direction,vt=Oe.state.value,Ct=Oe.props,Be=Ct.prefixCls,Rt=Ct.bordered,He=Rt===void 0?!0:Rt,wt=Le("input",Be);return r.createElement(T,f()({},Oe.props,{prefixCls:wt,direction:Ze,inputType:"text",value:O(vt),element:Oe.renderTextArea(wt,He),handleReset:Oe.handleReset,ref:Oe.saveClearableInput,triggerFocus:Oe.focus,bordered:He}))};var ae=typeof ze.value=="undefined"?ze.defaultValue:ze.value;return Oe.state={value:ae},Oe}return h()(Ce,[{key:"setValue",value:function(Oe,ae){this.props.value===void 0&&this.setState({value:Oe},ae)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return r.createElement(L.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Oe){return Oe.value!==void 0?{value:Oe.value}:null}}]),Ce}(r.Component),me=Y,we=e("J4zp"),pe=e.n(we),Fe=e("qPY4"),Xe=e.n(Fe),dt=e("fUL4"),Ee=e.n(dt),Se=function(se,ke){var Ce={};for(var ze in se)Object.prototype.hasOwnProperty.call(se,ze)&&ke.indexOf(ze)<0&&(Ce[ze]=se[ze]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,ze=Object.getOwnPropertySymbols(se);Oe<ze.length;Oe++)ke.indexOf(ze[Oe])<0&&Object.prototype.propertyIsEnumerable.call(se,ze[Oe])&&(Ce[ze[Oe]]=se[ze[Oe]]);return Ce},at={click:"onClick",hover:"onMouseOver"},_e=r.forwardRef(function(se,ke){var Ce=Object(r.useState)(!1),ze=pe()(Ce,2),Oe=ze[0],ae=ze[1],ge=function(){var Ct=se.disabled;if(Ct)return;ae(!Oe)},Le=function(Ct){var Be,Rt=se.action,He=se.iconRender,wt=He===void 0?function(){return null}:He,Ge=at[Rt]||"",et=wt(Oe),rt=(Be={},u()(Be,Ge,ge),u()(Be,"className","".concat(Ct,"-icon")),u()(Be,"key","passwordIcon"),u()(Be,"onMouseDown",function(Ve){Ve.preventDefault()}),u()(Be,"onMouseUp",function(Ve){Ve.preventDefault()}),Be);return r.cloneElement(r.isValidElement(et)?et:r.createElement("span",null,et),rt)},Ze=function(Ct){var Be=Ct.getPrefixCls,Rt=se.className,He=se.prefixCls,wt=se.inputPrefixCls,Ge=se.size,et=se.visibilityToggle,rt=Se(se,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),lt=Be("input",wt),Ve=Be("input-password",He),ie=et&&Le(Ve),$=t()(Ve,Rt,u()({},"".concat(Ve,"-").concat(Ge),!!Ge)),it=f()(f()({},Object(s.default)(rt,["suffix","iconRender"])),{type:Oe?"text":"password",className:$,prefixCls:lt,suffix:ie});return Ge&&(it.size=Ge),r.createElement(B,f()({ref:ke},it))};return r.createElement(L.a,null,Ze)});_e.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(ke){return ke?r.createElement(Xe.a,null):r.createElement(Ee.a,null)}},_e.displayName="Password";var ce=_e;B.Group=W,B.Search=G,B.TextArea=me,B.Password=ce;var ee=_.a=B},"5s0K":function(D,_,e){var g=e("bYtY");function f(){var A=[],m={},v;return{add:function(h,c,o,i,n){return g.isString(i)&&(n=i,i=0),m[h.id]?!1:(m[h.id]=1,A.push({el:h,target:c,time:o,delay:i,easing:n}),!0)},done:function(h){return v=h,this},start:function(){for(var h=A.length,c=0,o=A.length;c<o;c++){var i=A[c];i.el.animateTo(i.target,i.time,i.delay,i.easing,n)}return this;function n(){h--,h||(A.length=0,m={},v&&v())}}}}_.createWrap=f},"5yev":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};_.default=g},"6/k+":function(D,_,e){},"6/nd":function(D,_,e){var g=e("ProS");g.registerAction("legendScroll","legendscroll",function(f,A){var m=f.scrollDataIndex;m!=null&&A.eachComponent({mainType:"legend",subType:"scroll",query:f},function(v){v.setScrollDataIndex(m)})})},"62sa":function(D,_,e){var g=e("bYtY"),f=e("4NO4"),A=f.makeInner,m=e("zTMp"),v=e("Ez2D"),h=g.each,c=g.curry,o=A();function i(w,E,S){var x=w.currTrigger,T=[w.x,w.y],L=w,y=w.dispatchAction||g.bind(S.dispatchAction,S),C=E.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;b(T)&&(T=v({seriesIndex:L.seriesIndex,dataIndex:L.dataIndex},E).point);var O=b(T),N=L.axesInfo,k=C.axesInfo,F=x==="leave"||b(T),B={},H={},W={list:[],map:{}},R={showPointer:c(u,H),showTooltip:c(r,W)};h(C.coordSysMap,function(j,P){var K=O||j.containPoint(T);h(C.coordSysAxesInfo[P],function(V,z){var X=V.axis,G=d(N,V);if(!F&&K&&(!N||G)){var le=G&&G.value;le==null&&!O&&(le=X.pointToData(T)),le!=null&&n(V,le,R,!1,B)}})});var U={};return h(k,function(j,P){var K=j.linkGroup;K&&!H[P]&&h(K.axesInfo,function(V,z){var X=H[z];if(V!==j&&X){var G=X.value;K.mapper&&(G=j.axis.scale.parse(K.mapper(G,p(V),p(j)))),U[j.key]=G}})}),h(U,function(j,P){n(k[P],j,R,!0,B)}),l(H,k,B),t(W,T,w,y),s(k,y,S),B}function n(w,E,S,x,T){var L=w.axis;if(L.scale.isBlank()||!L.containData(E))return;if(!w.involveSeries){S.showPointer(w,E);return}var y=a(E,w),C=y.payloadBatch,O=y.snapToValue;C[0]&&T.seriesIndex==null&&g.extend(T,C[0]),!x&&w.snap&&(L.containData(O)&&O!=null&&(E=O)),S.showPointer(w,E,C,T),S.showTooltip(w,y,O)}function a(w,E){var S=E.axis,x=S.dim,T=w,L=[],y=Number.MAX_VALUE,C=-1;return h(E.seriesModels,function(O,N){var k=O.getData().mapDimension(x,!0),F,B;if(O.getAxisTooltipData){var H=O.getAxisTooltipData(k,w,S);B=H.dataIndices,F=H.nestestValue}else{if(B=O.getData().indicesOfNearest(k[0],w,S.type==="category"?.5:null),!B.length)return;F=O.getData().get(k[0],B[0])}if(F==null||!isFinite(F))return;var W=w-F,R=Math.abs(W);R<=y&&((R<y||W>=0&&C<0)&&(y=R,C=W,T=F,L.length=0),h(B,function(U){L.push({seriesIndex:O.seriesIndex,dataIndexInside:U,dataIndex:O.getData().getRawIndex(U)})}))}),{payloadBatch:L,snapToValue:T}}function u(w,E,S,x){w[E.key]={value:S,payloadBatch:x}}function r(w,E,S,x){var T=S.payloadBatch,L=E.axis,y=L.model,C=E.axisPointerModel;if(!E.triggerTooltip||!T.length)return;var O=E.coordSys.model,N=m.makeKey(O),k=w.map[N];k||(k=w.map[N]={coordSysId:O.id,coordSysIndex:O.componentIndex,coordSysType:O.type,coordSysMainType:O.mainType,dataByAxis:[]},w.list.push(k)),k.dataByAxis.push({axisDim:L.dim,axisIndex:y.componentIndex,axisType:y.type,axisId:y.id,value:x,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:T.slice()})}function l(w,E,S){var x=S.axesInfo=[];h(E,function(T,L){var y=T.axisPointerModel.option,C=w[L];C?(!T.useHandle&&(y.status="show"),y.value=C.value,y.seriesDataIndices=(C.payloadBatch||[]).slice()):!T.useHandle&&(y.status="hide"),y.status==="show"&&x.push({axisDim:T.axis.dim,axisIndex:T.axis.model.componentIndex,value:y.value})})}function t(w,E,S,x){if(b(E)||!w.list.length){x({type:"hideTip"});return}var T=((w.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};x({type:"showTip",escapeConnect:!0,x:E[0],y:E[1],tooltipOption:S.tooltipOption,position:S.position,dataIndexInside:T.dataIndexInside,dataIndex:T.dataIndex,seriesIndex:T.seriesIndex,dataByCoordSys:w.list})}function s(w,E,S){var x=S.getZr(),T="axisPointerLastHighlights",L=o(x)[T]||{},y=o(x)[T]={};h(w,function(N,k){var F=N.axisPointerModel.option;F.status==="show"&&h(F.seriesDataIndices,function(B){var H=B.seriesIndex+" | "+B.dataIndex;y[H]=B})});var C=[],O=[];g.each(L,function(N,k){!y[k]&&O.push(N)}),g.each(y,function(N,k){!L[k]&&C.push(N)}),O.length&&S.dispatchAction({type:"downplay",escapeConnect:!0,batch:O}),C.length&&S.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function d(w,E){for(var S=0;S<(w||[]).length;S++){var x=w[S];if(E.axis.dim===x.axisDim&&E.axis.model.componentIndex===x.axisIndex)return x}}function p(w){var E=w.axis.model,S={},x=S.axisDim=w.axis.dim;return S.axisIndex=S[x+"AxisIndex"]=E.componentIndex,S.axisName=S[x+"AxisName"]=E.name,S.axisId=S[x+"AxisId"]=E.id,S}function b(w){return!w||w[0]==null||isNaN(w[0])||w[1]==null||isNaN(w[1])}D.exports=i},"6BzB":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.shrinkBuf=g,_.arraySet=f,_.flattenChunks=A,_.Buf32=_.Buf16=_.Buf8=void 0;function g(c,o){return c.length===o?c:c.subarray?c.subarray(0,o):(c.length=o,c)}function f(c,o,i,n,a){if(o.subarray&&c.subarray){c.set(o.subarray(i,i+n),a);return}for(var u=0;u<n;u++)c[a+u]=o[i+u]}function A(c){var o,i,n,a,u,r;for(n=0,o=0,i=c.length;o<i;o++)n+=c[o].length;for(r=new Uint8Array(n),a=0,o=0,i=c.length;o<i;o++)u=c[o],r.set(u,a),a+=u.length;return r}var m=Uint8Array;_.Buf8=m;var v=Uint16Array;_.Buf16=v;var h=Int32Array;_.Buf32=h},"6D9b":function(D,_,e){},"6GrX":function(D,_,e){var g=e("mFDi"),f=e("Xnb7"),A=e("bYtY"),m=A.getContext,v=A.extend,h=A.retrieve2,c=A.retrieve3,o=A.trim,i={},n=0,a=5e3,u=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,r="12px sans-serif",l={};function t(W,R){l[W]=R}function s(W,R){R=R||r;var U=W+":"+R;if(i[U])return i[U];for(var j=(W+"").split(`
`),P=0,K=0,V=j.length;K<V;K++)P=Math.max(N(j[K],R).width,P);return n>a&&(n=0,i={}),n++,i[U]=P,P}function d(W,R,U,j,P,K,V,z){return V?b(W,R,U,j,P,K,V,z):p(W,R,U,j,P,K,z)}function p(W,R,U,j,P,K,V){var z=k(W,R,P,K,V),X=s(W,R);P&&(X+=P[1]+P[3]);var G=z.outerHeight,le=w(0,X,U),Y=E(0,G,j),me=new g(le,Y,X,G);return me.lineHeight=z.lineHeight,me}function b(W,R,U,j,P,K,V,z){var X=F(W,{rich:V,truncate:z,font:R,textAlign:U,textPadding:P,textLineHeight:K}),G=X.outerWidth,le=X.outerHeight,Y=w(0,G,U),me=E(0,le,j);return new g(Y,me,G,le)}function w(W,R,U){return U==="right"?W-=R:U==="center"&&(W-=R/2),W}function E(W,R,U){return U==="middle"?W-=R/2:U==="bottom"&&(W-=R),W}function S(W,R,U){var j=R.textPosition,P=R.textDistance,K=U.x,V=U.y;P=P||0;var z=U.height,X=U.width,G=z/2,le="left",Y="top";switch(j){case"left":K-=P,V+=G,le="right",Y="middle";break;case"right":K+=P+X,V+=G,Y="middle";break;case"top":K+=X/2,V-=P,le="center",Y="bottom";break;case"bottom":K+=X/2,V+=z+P,le="center";break;case"inside":K+=X/2,V+=G,le="center",Y="middle";break;case"insideLeft":K+=P,V+=G,Y="middle";break;case"insideRight":K+=X-P,V+=G,le="right",Y="middle";break;case"insideTop":K+=X/2,V+=P,le="center";break;case"insideBottom":K+=X/2,V+=z-P,le="center",Y="bottom";break;case"insideTopLeft":K+=P,V+=P;break;case"insideTopRight":K+=X-P,V+=P,le="right";break;case"insideBottomLeft":K+=P,V+=z-P,Y="bottom";break;case"insideBottomRight":K+=X-P,V+=z-P,le="right",Y="bottom";break}return W=W||{},W.x=K,W.y=V,W.textAlign=le,W.textVerticalAlign=Y,W}function x(W,R,U){var j={textPosition:W,textDistance:U};return S({},j,R)}function T(W,R,U,j,P){if(!R)return"";var K=(W+"").split(`
`);P=L(R,U,j,P);for(var V=0,z=K.length;V<z;V++)K[V]=y(K[V],P);return K.join(`
`)}function L(W,R,U,j){j=v({},j),j.font=R;var U=h(U,"...");j.maxIterations=h(j.maxIterations,2);var P=j.minChar=h(j.minChar,0);j.cnCharWidth=s("\u56FD",R);var K=j.ascCharWidth=s("a",R);j.placeholder=h(j.placeholder,"");for(var V=W=Math.max(0,W-1),z=0;z<P&&V>=K;z++)V-=K;var X=s(U,R);return X>V&&(U="",X=0),V=W-X,j.ellipsis=U,j.ellipsisWidth=X,j.contentWidth=V,j.containerWidth=W,j}function y(W,R){var U=R.containerWidth,j=R.font,P=R.contentWidth;if(!U)return"";var K=s(W,j);if(K<=U)return W;for(var V=0;;V++){if(K<=P||V>=R.maxIterations){W+=R.ellipsis;break}var z=V===0?C(W,P,R.ascCharWidth,R.cnCharWidth):K>0?Math.floor(W.length*P/K):0;W=W.substr(0,z),K=s(W,j)}return W===""&&(W=R.placeholder),W}function C(W,R,U,j){for(var P=0,K=0,V=W.length;K<V&&P<R;K++){var z=W.charCodeAt(K);P+=0<=z&&z<=127?U:j}return K}function O(W){return s("\u56FD",W)}function N(W,R){return l.measureText(W,R)}l.measureText=function(W,R){var U=m();return U.font=R||r,U.measureText(W)};function k(W,R,U,j,P){W!=null&&(W+="");var K=h(j,O(R)),V=W?W.split(`
`):[],z=V.length*K,X=z,G=!0;if(U&&(X+=U[0]+U[2]),W&&P){G=!1;var le=P.outerHeight,Y=P.outerWidth;if(le!=null&&X>le)W="",V=[];else if(Y!=null)for(var me=L(Y-(U?U[1]+U[3]:0),R,P.ellipsis,{minChar:P.minChar,placeholder:P.placeholder}),we=0,pe=V.length;we<pe;we++)V[we]=y(V[we],me)}return{lines:V,height:z,outerHeight:X,lineHeight:K,canCacheByTextString:G}}function F(W,R){var U={lines:[],width:0,height:0};if(W!=null&&(W+=""),!W)return U;for(var j=u.lastIndex=0,P;(P=u.exec(W))!=null;){var K=P.index;K>j&&B(U,W.substring(j,K)),B(U,P[2],P[1]),j=u.lastIndex}j<W.length&&B(U,W.substring(j,W.length));var V=U.lines,z=0,X=0,G=[],le=R.textPadding,Y=R.truncate,me=Y&&Y.outerWidth,we=Y&&Y.outerHeight;le&&(me!=null&&(me-=le[1]+le[3]),we!=null&&(we-=le[0]+le[2]));for(var pe=0;pe<V.length;pe++){for(var Fe=V[pe],Xe=0,dt=0,Ee=0;Ee<Fe.tokens.length;Ee++){var Se=Fe.tokens[Ee],at=Se.styleName&&R.rich[Se.styleName]||{},_e=Se.textPadding=at.textPadding,ce=Se.font=at.font||R.font,ee=Se.textHeight=h(at.textHeight,O(ce));if(_e&&(ee+=_e[0]+_e[2]),Se.height=ee,Se.lineHeight=c(at.textLineHeight,R.textLineHeight,ee),Se.textAlign=at&&at.textAlign||R.textAlign,Se.textVerticalAlign=at&&at.textVerticalAlign||"middle",we!=null&&z+Se.lineHeight>we)return{lines:[],width:0,height:0};Se.textWidth=s(Se.text,ce);var se=at.textWidth,ke=se==null||se==="auto";if(typeof se=="string"&&se.charAt(se.length-1)==="%")Se.percentWidth=se,G.push(Se),se=0;else{if(ke){se=Se.textWidth;var Ce=at.textBackgroundColor,ze=Ce&&Ce.image;ze&&(ze=f.findExistImage(ze),f.isImageReady(ze)&&(se=Math.max(se,ze.width*ee/ze.height)))}var Oe=_e?_e[1]+_e[3]:0;se+=Oe;var ae=me!=null?me-dt:null;ae!=null&&ae<se&&(!ke||ae<Oe?(Se.text="",Se.textWidth=se=0):(Se.text=T(Se.text,ae-Oe,ce,Y.ellipsis,{minChar:Y.minChar}),Se.textWidth=s(Se.text,ce),se=Se.textWidth+Oe))}dt+=Se.width=se,at&&(Xe=Math.max(Xe,Se.lineHeight))}Fe.width=dt,Fe.lineHeight=Xe,z+=Xe,X=Math.max(X,dt)}U.outerWidth=U.width=h(R.textWidth,X),U.outerHeight=U.height=h(R.textHeight,z),le&&(U.outerWidth+=le[1]+le[3],U.outerHeight+=le[0]+le[2]);for(var pe=0;pe<G.length;pe++){var Se=G[pe],ge=Se.percentWidth;Se.width=parseInt(ge,10)/100*X}return U}function B(W,R,U){for(var j=R==="",P=R.split(`
`),K=W.lines,V=0;V<P.length;V++){var z=P[V],X={styleName:U,text:z,isLineHolder:!z&&!j};if(V)K.push({tokens:[X]});else{var G=(K[K.length-1]||(K[0]={tokens:[]})).tokens,le=G.length;le===1&&G[0].isLineHolder?G[0]=X:(z||!le||j)&&G.push(X)}}}function H(W){var R=(W.fontSize||W.fontFamily)&&[W.fontStyle,W.fontWeight,(W.fontSize||12)+"px",W.fontFamily||"sans-serif"].join(" ");return R&&o(R)||W.textFont||W.font}_.DEFAULT_FONT=r,_.$override=t,_.getWidth=s,_.getBoundingRect=d,_.adjustTextX=w,_.adjustTextY=E,_.calculateTextPosition=S,_.adjustTextPositionOnRect=x,_.truncateText=T,_.getLineHeight=O,_.measureText=N,_.parsePlainText=k,_.parseRichText=F,_.makeFont=H},"6Hfg":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("FhB9")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="SwapRightOutlined";var c=A.forwardRef(h);_.default=c},"6Ic6":function(D,_,e){var g=e("bYtY"),f=g.each,A=e("4fz+"),m=e("iRjW"),v=e("Yl7c"),h=e("4NO4"),c=e("IwbS"),o=e("9H2F"),i=o.createTask,n=e("zM3Q"),a=h.makeInner(),u=n();function r(){this.group=new A,this.uid=m.getUID("viewChart"),this.renderTask=i({plan:d,reset:p}),this.renderTask.context={view:this}}r.prototype={type:"chart",init:function(E,S){},render:function(E,S,x,T){},highlight:function(E,S,x,T){s(E.getData(),T,"emphasis")},downplay:function(E,S,x,T){s(E.getData(),T,"normal")},remove:function(E,S){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=r.prototype;l.updateView=l.updateLayout=l.updateVisual=function(E,S,x,T){this.render(E,S,x,T)};function t(E,S,x){if(E&&(E.trigger(S,x),E.isGroup&&!c.isHighDownDispatcher(E)))for(var T=0,L=E.childCount();T<L;T++)t(E.childAt(T),S,x)}function s(E,S,x){var T=h.queryDataIndex(E,S),L=S&&S.highlightKey!=null?c.getHighlightDigit(S.highlightKey):null;T!=null?f(h.normalizeToArray(T),function(y){t(E.getItemGraphicEl(y),x,L)}):E.eachItemGraphicEl(function(y){t(y,x,L)})}v.enableClassExtend(r,["dispose"]),v.enableClassManagement(r,{registerWhenExtend:!0}),r.markUpdateMethod=function(E,S){a(E).updateMethod=S};function d(E){return u(E.model)}function p(E){var S=E.model,x=E.ecModel,T=E.api,L=E.payload,y=S.pipelineContext.progressiveRender,C=E.view,O=L&&a(L).updateMethod,N=y?"incrementalPrepareRender":O&&C[O]?O:"render";return N!=="render"&&C[N](S,x,T,L),b[N]}var b={incrementalPrepareRender:{progress:function(E,S){S.view.incrementalRender(E,S.model,S.ecModel,S.api,S.payload)}},render:{forceFirstProgress:!0,progress:function(E,S){S.view.render(S.model,S.ecModel,S.api,S.payload)}}},w=r;D.exports=w},"6MrE":function(D,_,e){},"6Qwc":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={8:"Backspace",9:"Tab",10:"NumpadClear",12:"Numpad5",13:"Enter",16:"ShiftLeft",17:"ControlLeft",18:"AltLeft",19:"Pause",20:"CapsLock",21:"Lang1",25:"Lang2",27:"Escape",28:"Convert",29:"NonConvert",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",44:"PrintScreen",45:"Insert",46:"Delete",47:"Help",48:"Digit0",49:"Digit1",50:"Digit2",51:"Digit3",52:"Digit4",53:"Digit5",54:"Digit6",55:"Digit7",56:"Digit8",57:"Digit9",91:"MetaLeft",92:"MetaRight",93:"ContextMenu",95:"Sleep",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",108:"NumpadDecimal",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",124:"F13",125:"F14",126:"F15",127:"F16",128:"F17",129:"F18",130:"F19",131:"F20",132:"F21",133:"F22",134:"F23",135:"F24",144:"NumLock",145:"ScrollLock",166:"BrowserBack",167:"BrowserForward",168:"BrowserRefresh",169:"BrowserStop",170:"BrowserSearch",171:"BrowserFavorites",172:"BrowserHome",173:"AudioVolumeMute",174:"AudioVolumeDown",175:"AudioVolumeUp",176:"MediaTrackNext",177:"MediaTrackPrevious",178:"MediaStop",179:"MediaPlayPause",180:"LaunchMail",181:"MediaSelect",182:"LaunchApp1",183:"LaunchApp2",225:"AltRight"};_.default=g},"6SEX":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("qWUW"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"6UJt":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("v56E"),m=e.n(A),v=e("R9oj"),h=e("5NDa")},"6VBw":function(D,_,e){"use strict";var g=e("ODXe"),f=e("rePB"),A=e("Ff2n"),m=e("q1tI"),v=e("TSYQ"),h=e.n(v),c=e("VTBJ"),o=e("Qi1f"),i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function n(p){var b=p.primaryColor,w=p.secondaryColor;i.primaryColor=b,i.secondaryColor=w||Object(o.b)(b),i.calculated=!!w}function a(){return Object(c.a)({},i)}var u=function(b){var w=b.icon,E=b.className,S=b.onClick,x=b.style,T=b.primaryColor,L=b.secondaryColor,y=Object(A.a)(b,["icon","className","onClick","style","primaryColor","secondaryColor"]),C=i;if(T&&(C={primaryColor:T,secondaryColor:L||Object(o.b)(T)}),Object(o.f)(),Object(o.g)(Object(o.c)(w),"icon should be icon definiton, but got ".concat(w)),!Object(o.c)(w))return null;var O=w;return O&&typeof O.icon=="function"&&(O=Object(c.a)(Object(c.a)({},O),{},{icon:O.icon(C.primaryColor,C.secondaryColor)})),Object(o.a)(O.icon,"svg-".concat(O.name),Object(c.a)({className:E,onClick:S,style:x,"data-icon":O.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},y))};u.displayName="IconReact",u.getTwoToneColors=a,u.setTwoToneColors=n;var r=u;function l(p){var b=Object(o.d)(p),w=Object(g.a)(b,2),E=w[0],S=w[1];return r.setTwoToneColors({primaryColor:E,secondaryColor:S})}function t(){var p=r.getTwoToneColors();return p.calculated?[p.primaryColor,p.secondaryColor]:p.primaryColor}l("#1890ff");var s=m.forwardRef(function(p,b){var w=p.className,E=p.icon,S=p.spin,x=p.rotate,T=p.tabIndex,L=p.onClick,y=p.twoToneColor,C=Object(A.a)(p,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),O=h()("anticon",Object(f.a)({},"anticon-".concat(E.name),Boolean(E.name)),w),N=h()({"anticon-spin":!!S||E.name==="loading"}),k=T;k===void 0&&L&&(k=-1);var F=x?{msTransform:"rotate(".concat(x,"deg)"),transform:"rotate(".concat(x,"deg)")}:void 0,B=Object(o.d)(y),H=Object(g.a)(B,2),W=H[0],R=H[1];return m.createElement("span",Object.assign({role:"img","aria-label":E.name},C,{ref:b,tabIndex:k,onClick:L,className:O}),m.createElement(r,{className:N,icon:E,primaryColor:W,secondaryColor:R,style:F}))});s.displayName="AntdIcon",s.getTwoToneColor=t,s.setTwoToneColor=l;var d=_.a=s},"6cGi":function(D,_,e){"use strict";e.d(_,"a",function(){return i});var g=e("q1tI"),f=e.n(g);function A(n,a){return o(n)||c(n,a)||v(n,a)||m()}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v(n,a){if(!n)return;if(typeof n=="string")return h(n,a);var u=Object.prototype.toString.call(n).slice(8,-1);if(u==="Object"&&n.constructor&&(u=n.constructor.name),u==="Map"||u==="Set")return Array.from(n);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return h(n,a)}function h(n,a){(a==null||a>n.length)&&(a=n.length);for(var u=0,r=new Array(a);u<a;u++)r[u]=n[u];return r}function c(n,a){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(n)))return;var u=[],r=!0,l=!1,t=void 0;try{for(var s=n[Symbol.iterator](),d;!(r=(d=s.next()).done)&&!(u.push(d.value),a&&u.length===a);r=!0);}catch(p){l=!0,t=p}finally{try{!r&&s.return!=null&&s.return()}finally{if(l)throw t}}return u}function o(n){if(Array.isArray(n))return n}function i(n,a){var u=a||{},r=u.defaultValue,l=u.value,t=u.onChange,s=u.postState,d=g.useState(function(){return l!==void 0?l:r!==void 0?typeof r=="function"?r():r:typeof n=="function"?n():n}),p=A(d,2),b=p[0],w=p[1],E=l!==void 0?l:b;s&&(E=s(E));function S(T){w(T),E!==T&&t&&t(T,E)}var x=g.useRef(!0);return g.useEffect(function(){if(x.current){x.current=!1;return}l===void 0&&w(l)},[l]),[E,S]}},"6fms":function(D,_,e){var g=e("SUKs"),f=e("06Qe"),A=e("bYtY"),m=A.each;function v(i){return parseInt(i,10)}function h(i,n){f.initVML(),this.root=i,this.storage=n;var a=document.createElement("div"),u=document.createElement("div");a.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",u.style.cssText="position:absolute;left:0;top:0;",i.appendChild(a),this._vmlRoot=u,this._vmlViewport=a,this.resize();var r=n.delFromStorage,l=n.addToStorage;n.delFromStorage=function(t){r.call(n,t),t&&(t.onRemove&&t.onRemove(u))},n.addToStorage=function(t){t.onAdd&&t.onAdd(u),l.call(n,t)},this._firstPaint=!0}h.prototype={constructor:h,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var n=this.getViewportRoot();if(n)return{offsetLeft:n.offsetLeft||0,offsetTop:n.offsetTop||0}},refresh:function(){var n=this.storage.getDisplayList(!0,!0);this._paintList(n)},_paintList:function(n){for(var a=this._vmlRoot,u=0;u<n.length;u++){var r=n[u];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(a),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(a),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,a),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(a),this._firstPaint=!1)},resize:function(n,a){var n=n==null?this._getWidth():n,a=a==null?this._getHeight():a;if(this._width!==n||this._height!==a){this._width=n,this._height=a;var u=this._vmlViewport.style;u.width=n+"px",u.height=a+"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 n=this.root,a=n.currentStyle;return(n.clientWidth||v(a.width))-v(a.paddingLeft)-v(a.paddingRight)|0},_getHeight:function(){var n=this.root,a=n.currentStyle;return(n.clientHeight||v(a.height))-v(a.paddingTop)-v(a.paddingBottom)|0}};function c(i){return function(){g('In IE8.0 VML mode painter not support method "'+i+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(i){h.prototype[i]=c(i)});var o=h;D.exports=o},"6r85":function(D,_,e){var g=e("bYtY");function f(A){if(!A||!g.isArray(A.series))return;g.each(A.series,function(m){g.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}D.exports=f},"6sVZ":function(D,_){var e=Object.prototype;function g(f){var A=f&&f.constructor,m=typeof A=="function"&&A.prototype||e;return f===m}D.exports=g},"6uqw":function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("ItGF"),m=e("YOMW"),v=e("XxSj"),h=e("K4ya"),c=e("4NO4"),o=e("OELB"),i=v.mapVisual,n=v.eachVisual,a=f.isArray,u=f.each,r=o.asc,l=o.linearMap,t=f.noop,s=g.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(p,b,w){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(p,w)},optionUpdated:function(p,b){var w=this.option;A.canvasSupported||(w.realtime=!1),!b&&h.replaceVisualOption(w,p,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(p){var b=this.stateList;p=f.bind(p,this),this.controllerVisuals=h.createVisualMappings(this.option.controller,b,p),this.targetVisuals=h.createVisualMappings(this.option.target,b,p)},getTargetSeriesIndices:function(){var p=this.option.seriesIndex,b=[];return p==null||p==="all"?this.ecModel.eachSeries(function(w,E){b.push(E)}):b=c.normalizeToArray(p),b},eachTargetSeries:function(p,b){f.each(this.getTargetSeriesIndices(),function(w){p.call(b,this.ecModel.getSeriesByIndex(w))},this)},isTargetSeries:function(p){var b=!1;return this.eachTargetSeries(function(w){w===p&&(b=!0)}),b},formatValueText:function(p,b,w){var E=this.option,S=E.precision,x=this.dataBound,T=E.formatter,L,y;if(w=w||["<",">"],f.isArray(p)&&(p=p.slice(),L=!0),y=b?p:L?[C(p[0]),C(p[1])]:C(p),f.isString(T))return T.replace("{value}",L?y[0]:y).replace("{value2}",L?y[1]:y);if(f.isFunction(T))return L?T(p[0],p[1]):T(p);if(L)return p[0]===x[0]?w[0]+" "+y[1]:p[1]===x[1]?w[1]+" "+y[0]:y[0]+" - "+y[1];return y;function C(O){return O===x[0]?"min":O===x[1]?"max":(+O).toFixed(Math.min(S,20))}},resetExtent:function(){var p=this.option,b=r([p.min,p.max]);this._dataExtent=b},getDataDimension:function(p){var b=this.option.dimension,w=p.dimensions;if(b==null&&!w.length)return;if(b!=null)return p.getDimension(b);for(var E=p.dimensions,S=E.length-1;S>=0;S--){var x=E[S],T=p.getDimensionInfo(x);if(!T.isCalculationCoord)return x}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var p=this.ecModel,b=this.option,w={inRange:b.inRange,outOfRange:b.outOfRange},E=b.target||(b.target={}),S=b.controller||(b.controller={});f.merge(E,w),f.merge(S,w);var x=this.isCategory();T.call(this,E),T.call(this,S),L.call(this,E,"inRange","outOfRange"),y.call(this,S);function T(C){a(b.color)&&!C.inRange&&(C.inRange={color:b.color.slice().reverse()}),C.inRange=C.inRange||{color:p.get("gradientColor")},u(this.stateList,function(O){var N=C[O];if(f.isString(N)){var k=m.get(N,"active",x);k?(C[O]={},C[O][N]=k):delete C[O]}},this)}function L(C,O,N){var k=C[O],F=C[N];k&&!F&&(F=C[N]={},u(k,function(B,H){if(!v.isValidType(H))return;var W=m.get(H,"inactive",x);W!=null&&(F[H]=W,H==="color"&&!F.hasOwnProperty("opacity")&&!F.hasOwnProperty("colorAlpha")&&(F.opacity=[0,0]))}))}function y(C){var O=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,N=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,k=this.get("inactiveColor");u(this.stateList,function(F){var B=this.itemSize,H=C[F];H||(H=C[F]={color:x?k:[k]}),H.symbol==null&&(H.symbol=O&&f.clone(O)||(x?"roundRect":["roundRect"])),H.symbolSize==null&&(H.symbolSize=N&&f.clone(N)||(x?B[0]:[B[0],B[0]])),H.symbol=i(H.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var W=H.symbolSize;if(W!=null){var R=-Infinity;n(W,function(U){U>R&&(R=U)}),H.symbolSize=i(W,function(U){return l(U,[0,R],[0,B[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),d=s;D.exports=d},"6usn":function(D,_,e){var g=e("bYtY");function f(m,v){return g.map(["Radius","Angle"],function(h,c){var o=this["get"+h+"Axis"](),i=v[c],n=m[c]/2,a="dataTo"+h,u=o.type==="category"?o.getBandWidth():Math.abs(o[a](i-n)-o[a](i+n));return h==="Angle"&&(u=u*Math.PI/180),u},this)}function A(m){var v=m.getRadiusAxis(),h=m.getAngleAxis(),c=v.getExtent();return c[0]>c[1]&&c.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:c[1],r0:c[0]},api:{coord:g.bind(function(o){var i=v.dataToRadius(o[0]),n=h.dataToAngle(o[1]),a=m.coordToPoint([i,n]);return a.push(i,n*Math.PI/180),a}),size:g.bind(f,m)}}}D.exports=A},"6xvX":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("V7ic"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"711d":function(D,_){function e(g){return function(f){return f==null?void 0:f[g]}}D.exports=e},"72pK":function(D,_){function e(A,m,v,h,c,o){A=A||0;var i=v[1]-v[0];if(c!=null&&(c=f(c,[0,i])),o!=null&&(o=Math.max(o,c!=null?c:0)),h==="all"){var n=Math.abs(m[1]-m[0]);n=f(n,[0,i]),c=o=f(n,[c,o]),h=0}m[0]=f(m[0],v),m[1]=f(m[1],v);var a=g(m,h);m[h]+=A;var u=c||0,r=v.slice();a.sign<0?r[0]+=u:r[1]-=u,m[h]=f(m[h],r);var l=g(m,h);c!=null&&(l.sign!==a.sign||l.span<c)&&(m[1-h]=m[h]+a.sign*c);var l=g(m,h);return o!=null&&l.span>o&&(m[1-h]=m[h]+l.sign*o),m}function g(A,m){var v=A[m]-A[1-m];return{span:Math.abs(v),sign:v>0?-1:v<0?1:m?-1:1}}function f(A,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,A))}D.exports=e},"75ce":function(D,_,e){var g=e("ProS");e("IXuL"),e("8X+K");var f=e("f5Yq"),A=e("h8O9"),m=e("/d5a");e("Ae16"),g.registerVisual(f("line","circle","line")),g.registerLayout(A("line")),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(D,_,e){var g=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var f=e("f5Yq"),A=e("yik8");g.registerVisual(f("tree","circle")),g.registerLayout(A)},"77Zs":function(D,_,e){var g=e("Xi7e");function f(){this.__data__=new g,this.size=0}D.exports=f},"7AJT":function(D,_,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,o,i){f.call(this,v,h,c),this.type=o||"value",this.position=i||"bottom"};A.prototype={constructor:A,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var h=this.getExtent();return h[0]=this.toGlobalCoord(h[0]),h[1]=this.toGlobalCoord(h[1]),v&&h[0]>h[1]&&h.reverse(),h},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,h){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),h)},toLocalCoord:null,toGlobalCoord:null},g.inherits(A,f);var m=A;D.exports=m},"7Cbv":function(D,_,e){"use strict";var g=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),f=new Uint8Array(16);function A(){if(!g)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(f)}var m=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function v(r){return typeof r=="string"&&m.test(r)}for(var h=v,c=[],o=0;o<256;++o)c.push((o+256).toString(16).substr(1));function i(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(c[r[l+0]]+c[r[l+1]]+c[r[l+2]]+c[r[l+3]]+"-"+c[r[l+4]]+c[r[l+5]]+"-"+c[r[l+6]]+c[r[l+7]]+"-"+c[r[l+8]]+c[r[l+9]]+"-"+c[r[l+10]]+c[r[l+11]]+c[r[l+12]]+c[r[l+13]]+c[r[l+14]]+c[r[l+15]]).toLowerCase();if(!h(t))throw TypeError("Stringified UUID is invalid");return t}var n=i;function a(r,l,t){r=r||{};var s=r.random||(r.rng||A)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,l){t=t||0;for(var d=0;d<16;++d)l[t+d]=s[d];return l}return n(s)}var u=_.a=a},"7DRL":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.createHashMap,v=A.isString,h=A.isArray,c=A.each,o=A.assert,i=e("MEGo"),n=i.parseXML,a=m(),u={registerMap:function(l,t,s){var d;return h(t)?d=t:t.svg?d=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(s=t.specialAreas,t=t.geoJson),d=[{type:"geoJSON",source:t,specialAreas:s}]),c(d,function(p){var b=p.type;b==="geoJson"&&(b=p.type="geoJSON");var w=r[b];w(p)}),a.set(l,d)},retrieveMap:function(l){return a.get(l)}},r={geoJSON:function(l){var t=l.source;l.geoJSON=v(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(l){l.svgXML=n(l.source)}};D.exports=u},"7G+c":function(D,_,e){var g=e("bYtY"),f=g.createHashMap,A=g.isTypedArray,m=e("Yl7c"),v=m.enableClassCheck,h=e("k9D9"),c=h.SOURCE_FORMAT_ORIGINAL,o=h.SERIES_LAYOUT_BY_COLUMN,i=h.SOURCE_FORMAT_UNKNOWN,n=h.SOURCE_FORMAT_TYPED_ARRAY,a=h.SOURCE_FORMAT_KEYED_COLUMNS;function u(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===a?{}:[]),this.sourceFormat=l.sourceFormat||i,this.seriesLayoutBy=l.seriesLayoutBy||o,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&f(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}u.seriesDataToSource=function(l){return new u({data:l,sourceFormat:A(l)?n:c,fromDataset:!1})},v(u);var r=u;D.exports=r},"7GkX":function(D,_,e){var g=e("b80T"),f=e("A90E"),A=e("MMmD");function m(v){return A(v)?g(v):f(v)}D.exports=m},"7Kak":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("KPFz"),m=e.n(A)},"7Phj":function(D,_,e){var g=e("bYtY"),f=e("OELB"),A=f.parsePercent,m=g.each;function v(i){var n=h(i);m(n,function(a){var u=a.seriesModels;if(!u.length)return;c(a),m(u,function(r,l){o(r,a.boxOffsetList[l],a.boxWidthList[l])})})}function h(i){var n=[],a=[];return i.eachSeriesByType("boxplot",function(u){var r=u.getBaseAxis(),l=g.indexOf(a,r);l<0&&(l=a.length,a[l]=r,n[l]={axis:r,seriesModels:[]}),n[l].seriesModels.push(u)}),n}function c(i){var n,a=i.axis,u=i.seriesModels,r=u.length,l=i.boxWidthList=[],t=i.boxOffsetList=[],s=[],d;if(a.type==="category")d=a.getBandWidth();else{var p=0;m(u,function(x){p=Math.max(p,x.getData().count())}),n=a.getExtent(),Math.abs(n[1]-n[0])/p}m(u,function(x){var T=x.get("boxWidth");g.isArray(T)||(T=[T,T]),s.push([A(T[0],d)||0,A(T[1],d)||0])});var b=d*.8-2,w=b/r*.3,E=(b-w*(r-1))/r,S=E/2-b/2;m(u,function(x,T){t.push(S),S+=w+E,l.push(Math.min(Math.max(E,s[T][0]),s[T][1]))})}function o(i,n,a){var u=i.coordinateSystem,r=i.getData(),l=a/2,t=i.get("layout")==="horizontal"?0:1,s=1-t,d=["x","y"],p=r.mapDimension(d[t]),b=r.mapDimension(d[s],!0);if(p==null||b.length<5)return;for(var w=0;w<r.count();w++){var E=r.get(p,w),S=O(E,b[2],w),x=O(E,b[0],w),T=O(E,b[1],w),L=O(E,b[3],w),y=O(E,b[4],w),C=[];N(C,T,0),N(C,L,1),C.push(x,T,y,L),k(C,x),k(C,y),k(C,S),r.setItemLayout(w,{initBaseline:S[s],ends:C})}function O(F,B,H){var W=r.get(B,H),R=[];R[t]=F,R[s]=W;var U;return isNaN(F)||isNaN(W)?U=[NaN,NaN]:(U=u.dataToPoint(R),U[t]+=n),U}function N(F,B,H){var W=B.slice(),R=B.slice();W[t]+=l,R[t]-=l,H?F.push(W,R):F.push(R,W)}function k(F,B){var H=B.slice(),W=B.slice();H[t]-=l,W[t]+=l,F.push(H,W)}}D.exports=v},"7SHv":function(D,_,e){var g=e("LPTA"),f=g.devicePixelRatio,A=e("bYtY"),m=e("SUKs"),v=e("mFDi"),h=e("BPZU"),c=e("Xmg4"),o=e("mLcG"),i=e("Dagg"),n=e("ItGF"),a=1e5,u=314159,r=.01,l=.001;function t(L){return parseInt(L,10)}function s(L){return L?L.__builtin__?!0:!(typeof L.resize!="function"||typeof L.refresh!="function"):!1}var d=new v(0,0,0,0),p=new v(0,0,0,0);function b(L,y,C){return d.copy(L.getBoundingRect()),L.transform&&d.applyTransform(L.transform),p.width=y,p.height=C,!d.intersect(p)}function w(L,y){if(L===y)return!1;if(!L||!y||L.length!==y.length)return!0;for(var C=0;C<L.length;C++)if(L[C]!==y[C])return!0;return!1}function E(L,y){for(var C=0;C<L.length;C++){var O=L[C];O.setTransform(y),y.beginPath(),O.buildPath(y,O.shape),y.clip(),O.restoreTransform(y)}}function S(L,y){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+L+"px","height:"+y+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var x=function(y,C,O){this.type="canvas";var N=!y.nodeName||y.nodeName.toUpperCase()==="CANVAS";this._opts=O=A.extend({},O||{}),this.dpr=O.devicePixelRatio||f,this._singleCanvas=N,this.root=y;var k=y.style;k&&(k["-webkit-tap-highlight-color"]="transparent",k["-webkit-user-select"]=k["user-select"]=k["-webkit-touch-callout"]="none",y.innerHTML=""),this.storage=C;var F=this._zlevelList=[],B=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,N){var W=y.width,R=y.height;O.width!=null&&(W=O.width),O.height!=null&&(R=O.height),this.dpr=O.devicePixelRatio||1,y.width=W*this.dpr,y.height=R*this.dpr,this._width=W,this._height=R;var U=new c(y,this,this.dpr);U.__builtin__=!0,U.initContext(),B[u]=U,U.zlevel=u,F.push(u),this._domRoot=y}else{this._width=this._getSize(0),this._height=this._getSize(1);var H=this._domRoot=S(this._width,this._height);y.appendChild(H)}this._hoverlayer=null,this._hoverElements=[]};x.prototype={constructor:x,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 C=this.storage.getDisplayList(!0),O=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,y,this._redrawId);for(var N=0;N<O.length;N++){var k=O[N],F=this._layers[k];if(!F.__builtin__&&F.refresh){var B=N===0?this._backgroundColor:null;F.refresh(B)}}return this.refreshHover(),this},addHover:function(y,C){if(y.__hoverMir)return;var O=new y.constructor({style:y.style,shape:y.shape,z:y.z,z2:y.z2,silent:y.silent});return O.__from=y,y.__hoverMir=O,C&&O.setStyle(C),this._hoverElements.push(O),O},removeHover:function(y){var C=y.__hoverMir,O=this._hoverElements,N=A.indexOf(O,C);N>=0&&O.splice(N,1),y.__hoverMir=null},clearHover:function(y){for(var C=this._hoverElements,O=0;O<C.length;O++){var N=C[O].__from;N&&(N.__hoverMir=null)}C.length=0},refreshHover:function(){var y=this._hoverElements,C=y.length,O=this._hoverlayer;if(O&&O.clear(),!C)return;h(y,this.storage.displayableSortFunc),O||(O=this._hoverlayer=this.getLayer(a));var N={};O.ctx.save();for(var k=0;k<C;){var F=y[k],B=F.__from;if(!(B&&B.__zr)){y.splice(k,1),B.__hoverMir=null,C--;continue}k++,B.invisible||(F.transform=B.transform,F.invTransform=B.invTransform,F.__clipPaths=B.__clipPaths,this._doPaintEl(F,O,!0,N))}O.ctx.restore()},getHoverLayer:function(){return this.getLayer(a)},_paintList:function(y,C,O){if(this._redrawId!==O)return;C=C||!1,this._updateLayerStatus(y);var N=this._doPaintList(y,C);if(this._needsManuallyCompositing&&this._compositeManually(),!N){var k=this;o(function(){k._paintList(y,C,O)})}},_compositeManually:function(){var y=this.getLayer(u).ctx,C=this._domRoot.width,O=this._domRoot.height;y.clearRect(0,0,C,O),this.eachBuiltinLayer(function(N){N.virtual&&y.drawImage(N.dom,0,0,C,O)})},_doPaintList:function(y,C){for(var O=[],N=0;N<this._zlevelList.length;N++){var k=this._zlevelList[N],F=this._layers[k];F.__builtin__&&F!==this._hoverlayer&&(F.__dirty||C)&&O.push(F)}for(var B=!0,H=0;H<O.length;H++){var F=O[H],W=F.ctx,R={};W.save();var U=C?F.__startIndex:F.__drawIndex,j=!C&&F.incremental&&Date.now,P=j&&Date.now(),K=F.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(F.__startIndex===F.__endIndex)F.clear(!1,K);else if(U===F.__startIndex){var V=y[U];(!V.incremental||!V.notClear||C)&&F.clear(!1,K)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=F.__startIndex);for(var z=U;z<F.__endIndex;z++){var X=y[z];if(this._doPaintEl(X,F,C,R),X.__dirty=X.__dirtyText=!1,j){var G=Date.now()-P;if(G>15)break}}F.__drawIndex=z,F.__drawIndex<F.__endIndex&&(B=!1),R.prevElClipPaths&&W.restore(),W.restore()}return n.wxa&&A.each(this._layers,function(le){le&&le.ctx&&le.ctx.draw&&le.ctx.draw()}),B},_doPaintEl:function(y,C,O,N){var k=C.ctx,F=y.transform;if((C.__dirty||O)&&!y.invisible&&y.style.opacity!==0&&!(F&&!F[0]&&!F[3])&&!(y.culling&&b(y,this._width,this._height))){var B=y.__clipPaths,H=N.prevElClipPaths;(!H||w(B,H))&&(H&&(k.restore(),N.prevElClipPaths=null,N.prevEl=null),B&&(k.save(),E(B,k),N.prevElClipPaths=B)),y.beforeBrush&&y.beforeBrush(k),y.brush(k,N.prevEl||null),N.prevEl=y,y.afterBrush&&y.afterBrush(k)}},getLayer:function(y,C){this._singleCanvas&&!this._needsManuallyCompositing&&(y=u);var O=this._layers[y];return O||(O=new c("zr_"+y,this,this.dpr),O.zlevel=y,O.__builtin__=!0,this._layerConfig[y]?A.merge(O,this._layerConfig[y],!0):this._layerConfig[y-r]&&A.merge(O,this._layerConfig[y-r],!0),C&&(O.virtual=C),this.insertLayer(y,O),O.initContext()),O},insertLayer:function(y,C){var O=this._layers,N=this._zlevelList,k=N.length,F=null,B=-1,H=this._domRoot;if(O[y]){m("ZLevel "+y+" has been used already");return}if(!s(C)){m("Layer of zlevel "+y+" is not valid");return}if(k>0&&y>N[0]){for(B=0;B<k-1&&!(N[B]<y&&N[B+1]>y);B++);F=O[N[B]]}if(N.splice(B+1,0,y),O[y]=C,!C.virtual)if(F){var W=F.dom;W.nextSibling?H.insertBefore(C.dom,W.nextSibling):H.appendChild(C.dom)}else H.firstChild?H.insertBefore(C.dom,H.firstChild):H.appendChild(C.dom)},eachLayer:function(y,C){var O=this._zlevelList,N,k;for(k=0;k<O.length;k++)N=O[k],y.call(C,this._layers[N],N)},eachBuiltinLayer:function(y,C){var O=this._zlevelList,N,k,F;for(F=0;F<O.length;F++)k=O[F],N=this._layers[k],N.__builtin__&&y.call(C,N,k)},eachOtherLayer:function(y,C){var O=this._zlevelList,N,k,F;for(F=0;F<O.length;F++)k=O[F],N=this._layers[k],N.__builtin__||y.call(C,N,k)},getLayers:function(){return this._layers},_updateLayerStatus:function(y){this.eachBuiltinLayer(function(R,U){R.__dirty=R.__used=!1});function C(R){k&&(k.__endIndex!==R&&(k.__dirty=!0),k.__endIndex=R)}if(this._singleCanvas)for(var O=1;O<y.length;O++){var N=y[O];if(N.zlevel!==y[O-1].zlevel||N.incremental){this._needsManuallyCompositing=!0;break}}for(var k=null,F=0,B,O=0;O<y.length;O++){var N=y[O],H=N.zlevel,W;B!==H&&(B=H,F=0),N.incremental?(W=this.getLayer(H+l,this._needsManuallyCompositing),W.incremental=!0,F=1):W=this.getLayer(H+(F>0?r:0),this._needsManuallyCompositing),W.__builtin__||m("ZLevel "+H+" has been used by unkown layer "+W.id),W!==k&&(W.__used=!0,W.__startIndex!==O&&(W.__dirty=!0),W.__startIndex=O,W.incremental?W.__drawIndex=-1:W.__drawIndex=O,C(O),k=W),N.__dirty&&(W.__dirty=!0,W.incremental&&W.__drawIndex<0&&(W.__drawIndex=O))}C(O),this.eachBuiltinLayer(function(R,U){!R.__used&&R.getElementCount()>0&&(R.__dirty=!0,R.__startIndex=R.__endIndex=R.__drawIndex=0),R.__dirty&&R.__drawIndex<0&&(R.__drawIndex=R.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(y){y.clear()},setBackgroundColor:function(y){this._backgroundColor=y},configLayer:function(y,C){if(C){var O=this._layerConfig;O[y]?A.merge(O[y],C,!0):O[y]=C;for(var N=0;N<this._zlevelList.length;N++){var k=this._zlevelList[N];if(k===y||k===y+r){var F=this._layers[k];A.merge(F,O[y],!0)}}}},delLayer:function(y){var C=this._layers,O=this._zlevelList,N=C[y];if(!N)return;N.dom.parentNode.removeChild(N.dom),delete C[y],O.splice(A.indexOf(O,y),1)},resize:function(y,C){if(this._domRoot.style){var O=this._domRoot;O.style.display="none";var N=this._opts;if(y!=null&&(N.width=y),C!=null&&(N.height=C),y=this._getSize(0),C=this._getSize(1),O.style.display="",this._width!==y||C!==this._height){O.style.width=y+"px",O.style.height=C+"px";for(var k in this._layers)this._layers.hasOwnProperty(k)&&this._layers[k].resize(y,C);A.each(this._progressiveLayers,function(F){F.resize(y,C)}),this.refresh(!0)}this._width=y,this._height=C}else{if(y==null||C==null)return;this._width=y,this._height=C,this.getLayer(u).resize(y,C)}return this},clearLayer:function(y){var C=this._layers[y];C&&C.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[u].dom;var C=new c("image",this,y.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,y.backgroundColor||this._backgroundColor),y.pixelRatio<=this.dpr){this.refresh();var O=C.dom.width,N=C.dom.height,k=C.ctx;this.eachLayer(function(R){R.__builtin__?k.drawImage(R.dom,0,0,O,N):R.renderToCanvas&&(C.ctx.save(),R.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var F={},B=this.storage.getDisplayList(!0),H=0;H<B.length;H++){var W=B[H];this._doPaintEl(W,C,!0,F)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(y){var C=this._opts,O=["width","height"][y],N=["clientWidth","clientHeight"][y],k=["paddingLeft","paddingTop"][y],F=["paddingRight","paddingBottom"][y];if(C[O]!=null&&C[O]!=="auto")return parseFloat(C[O]);var B=this.root,H=document.defaultView.getComputedStyle(B);return(B[N]||t(H[O])||t(B.style[O]))-(t(H[k])||0)-(t(H[F])||0)|0},pathToImage:function(y,C){C=C||this.dpr;var O=document.createElement("canvas"),N=O.getContext("2d"),k=y.getBoundingRect(),F=y.style,B=F.shadowBlur*C,H=F.shadowOffsetX*C,W=F.shadowOffsetY*C,R=F.hasStroke()?F.lineWidth:0,U=Math.max(R/2,-H+B),j=Math.max(R/2,H+B),P=Math.max(R/2,-W+B),K=Math.max(R/2,W+B),V=k.width+U+j,z=k.height+P+K;O.width=V*C,O.height=z*C,N.scale(C,C),N.clearRect(0,0,V,z),N.dpr=C;var X={position:y.position,rotation:y.rotation,scale:y.scale};y.position=[U-k.x,P-k.y],y.rotation=0,y.scale=[1,1],y.updateTransform(),y&&y.brush(N);var G=i,le=new G({style:{x:0,y:0,image:O}});return X.position!=null&&(le.position=y.position=X.position),X.rotation!=null&&(le.rotation=y.rotation=X.rotation),X.scale!=null&&(le.scale=y.scale=X.scale),le}};var T=x;D.exports=T},"7a+S":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),A=e("YXkt"),m=e("4NO4"),v=f.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(c,o,i){this._data,this._names,this.mergeDefaultAndTheme(c,i),this._initData()},mergeOption:function(c){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(c){c==null&&(c=this.option.currentIndex);var o=this._data.count();this.option.loop?c=(c%o+o)%o:(c>=o&&(c=o-1),c<0&&(c=0)),this.option.currentIndex=c},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(c){this.option.autoPlay=!!c},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var c=this.option,o=c.data||[],i=c.axisType,n=this._names=[];if(i==="category"){var a=[];g.each(o,function(l,t){var s=m.getDataItemValue(l),d;g.isObject(l)?(d=g.clone(l),d.value=t):d=t,a.push(d),!g.isString(s)&&(s==null||isNaN(s))&&(s=""),n.push(s+"")}),o=a}var u={category:"ordinal",time:"time"}[i]||"number",r=this._data=new A([{name:"value",type:u}],this);r.initData(o,n)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),h=v;D.exports=h},"7aKB":function(D,_,e){var g=e("bYtY"),f=e("6GrX"),A=e("OELB");function m(S){return isNaN(S)?"-":(S=(S+"").split("."),S[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(S.length>1?"."+S[1]:""))}function v(S,x){return S=(S||"").toLowerCase().replace(/-(.)/g,function(T,L){return L.toUpperCase()}),x&&S&&(S=S.charAt(0).toUpperCase()+S.slice(1)),S}var h=g.normalizeCssArray,c=/([&<>"'])/g,o={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function i(S){return S==null?"":(S+"").replace(c,function(x,T){return o[T]})}var n=["a","b","c","d","e","f","g"],a=function(S,x){return"{"+S+(x==null?"":x)+"}"};function u(S,x,T){g.isArray(x)||(x=[x]);var L=x.length;if(!L)return"";for(var y=x[0].$vars||[],C=0;C<y.length;C++){var O=n[C];S=S.replace(a(O),a(O,0))}for(var N=0;N<L;N++)for(var k=0;k<y.length;k++){var F=x[N][y[k]];S=S.replace(a(n[k],N),T?i(F):F)}return S}function r(S,x,T){return g.each(x,function(L,y){S=S.replace("{"+y+"}",T?i(L):L)}),S}function l(S,x){S=g.isString(S)?{color:S,extraCssText:x}:S||{};var T=S.color,L=S.type,x=S.extraCssText,y=S.renderMode||"html",C=S.markerId||"X";return T?y==="html"?L==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+i(T)+";"+(x||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+i(T)+";"+(x||"")+'"></span>':{renderMode:y,content:"{marker"+C+"|} ",style:{color:T}}:""}function t(S,x){return S+="","0000".substr(0,x-S.length)+S}function s(S,x,T){(S==="week"||S==="month"||S==="quarter"||S==="half-year"||S==="year")&&(S=`MM-dd
yyyy`);var L=A.parseDate(x),y=T?"UTC":"",C=L["get"+y+"FullYear"](),O=L["get"+y+"Month"]()+1,N=L["get"+y+"Date"](),k=L["get"+y+"Hours"](),F=L["get"+y+"Minutes"](),B=L["get"+y+"Seconds"](),H=L["get"+y+"Milliseconds"]();return S=S.replace("MM",t(O,2)).replace("M",O).replace("yyyy",C).replace("yy",C%100).replace("dd",t(N,2)).replace("d",N).replace("hh",t(k,2)).replace("h",k).replace("mm",t(F,2)).replace("m",F).replace("ss",t(B,2)).replace("s",B).replace("SSS",t(H,3)),S}function d(S){return S&&S.charAt(0).toUpperCase()+S.substr(1)}var p=f.truncateText;function b(S){return f.getBoundingRect(S.text,S.font,S.textAlign,S.textVerticalAlign,S.textPadding,S.textLineHeight,S.rich,S.truncate)}function w(S,x,T,L,y,C,O,N){return f.getBoundingRect(S,x,T,L,y,N,C,O)}function E(S,x){if(x==="_blank"||x==="blank"){var T=window.open();T.opener=null,T.location=S}else window.open(S,x)}_.addCommas=m,_.toCamelCase=v,_.normalizeCssArray=h,_.encodeHTML=i,_.formatTpl=u,_.formatTplSimple=r,_.getTooltipMarker=l,_.formatTime=s,_.capitalFirst=d,_.truncateText=p,_.getTextBoundingRect=b,_.getTextRect=w,_.windowOpen=E},"7bkD":function(D,_,e){var g=e("bYtY");function f(A,m){m=m||{};var v=A.coordinateSystem,h=A.axis,c={},o=h.position,i=h.orient,n=v.getRect(),a=[n.x,n.x+n.width,n.y,n.y+n.height],u={horizontal:{top:a[2],bottom:a[3]},vertical:{left:a[0],right:a[1]}};c.position=[i==="vertical"?u.vertical[o]:a[0],i==="horizontal"?u.horizontal[o]:a[3]];var r={horizontal:0,vertical:1};c.rotation=Math.PI/2*r[i];var l={top:-1,bottom:1,right:1,left:-1};c.labelDirection=c.tickDirection=c.nameDirection=l[o],A.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),g.retrieve(m.labelInside,A.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var t=m.rotate;return t==null&&(t=A.get("axisLabel.rotate")),c.labelRotation=o==="top"?-t:t,c.z2=1,c}_.layout=f},"7fqy":function(D,_){function e(g){var f=-1,A=Array(g.size);return g.forEach(function(m,v){A[++f]=[v,m]}),A}D.exports=e},"7hqr":function(D,_,e){var g=e("bYtY"),f=g.each,A=g.isString;function m(c,o,i){i=i||{};var n=i.byIndex,a=i.stackedCoordDimension,u=!!(c&&c.get("stack")),r,l,t,s;if(f(o,function(w,E){A(w)&&(o[E]=w={name:w}),u&&!w.isExtraCoord&&(!n&&!r&&w.ordinalMeta&&(r=w),!l&&w.type!=="ordinal"&&w.type!=="time"&&(!a||a===w.coordDim)&&(l=w))}),l&&!n&&!r&&(n=!0),l){t="__\0ecstackresult",s="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var d=l.coordDim,p=l.type,b=0;f(o,function(w){w.coordDim===d&&b++}),o.push({name:t,coordDim:d,coordDimIndex:b,type:p,isExtraCoord:!0,isCalculationCoord:!0}),b++,o.push({name:s,coordDim:s,coordDimIndex:b,type:p,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:r&&r.name,isStackedByIndex:n,stackedOverDimension:s,stackResultDimension:t}}function v(c,o){return!!o&&o===c.getCalculationInfo("stackedDimension")}function h(c,o){return v(c,o)?c.getCalculationInfo("stackResultDimension"):o}_.enableDataStack=m,_.isDimensionStacked=v,_.getStackedDimension=h},"7mYs":function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("IwbS"),m=e("7aKB"),v=e("OELB"),h={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},c={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},o=g.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(i,n,a){var u=this.group;u.removeAll();var r=i.coordinateSystem,l=r.getRangeInfo(),t=r.getOrient();this._renderDayRect(i,l,u),this._renderLines(i,l,t,u),this._renderYearText(i,l,t,u),this._renderMonthText(i,t,u),this._renderWeekText(i,l,t,u)},_renderDayRect:function(i,n,a){for(var u=i.coordinateSystem,r=i.getModel("itemStyle").getItemStyle(),l=u.getCellWidth(),t=u.getCellHeight(),s=n.start.time;s<=n.end.time;s=u.getNextNDay(s,1).time){var d=u.dataToRect([s],!1).tl,p=new A.Rect({shape:{x:d[0],y:d[1],width:l,height:t},cursor:"default",style:r});a.add(p)}},_renderLines:function(i,n,a,u){var r=this,l=i.coordinateSystem,t=i.getModel("splitLine.lineStyle").getLineStyle(),s=i.get("splitLine.show"),d=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var p=n.start,b=0;p.time<=n.end.time;b++){E(p.formatedDate),b===0&&(p=l.getDateInfo(n.start.y+"-"+n.start.m));var w=p.date;w.setMonth(w.getMonth()+1),p=l.getDateInfo(w)}E(l.getNextNDay(n.end.time,1).formatedDate);function E(S){r._firstDayOfMonth.push(l.getDateInfo(S)),r._firstDayPoints.push(l.dataToRect([S],!1).tl);var x=r._getLinePointsOfOneWeek(i,S,a);r._tlpoints.push(x[0]),r._blpoints.push(x[x.length-1]),s&&r._drawSplitline(x,t,u)}s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,d,a),t,u),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,d,a),t,u)},_getEdgesPoints:function(i,n,a){var u=[i[0].slice(),i[i.length-1].slice()],r=a==="horizontal"?0:1;return u[0][r]=u[0][r]-n/2,u[1][r]=u[1][r]+n/2,u},_drawSplitline:function(i,n,a){var u=new A.Polyline({z2:20,shape:{points:i},style:n});a.add(u)},_getLinePointsOfOneWeek:function(i,n,a){var u=i.coordinateSystem;n=u.getDateInfo(n);for(var r=[],l=0;l<7;l++){var t=u.getNextNDay(n.time,l),s=u.dataToRect([t.time],!1);r[2*t.day]=s.tl,r[2*t.day+1]=s[a==="horizontal"?"bl":"tr"]}return r},_formatterLabel:function(i,n){return typeof i=="string"&&i?m.formatTplSimple(i,n):typeof i=="function"?i(n):n.nameMap},_yearTextPositionControl:function(i,n,a,u,r){n=n.slice();var l=["center","bottom"];u==="bottom"?(n[1]+=r,l=["center","top"]):u==="left"?n[0]-=r:u==="right"?(n[0]+=r,l=["center","top"]):n[1]-=r;var t=0;return(u==="left"||u==="right")&&(t=Math.PI/2),{rotation:t,position:n,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(i,n,a,u){var r=i.getModel("yearLabel");if(!r.get("show"))return;var l=r.get("margin"),t=r.get("position");t||(t=a!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],d=(s[0][0]+s[1][0])/2,p=(s[0][1]+s[1][1])/2,b=a==="horizontal"?0:1,w={top:[d,s[b][1]],bottom:[d,s[1-b][1]],left:[s[1-b][0],p],right:[s[b][0],p]},E=n.start.y;+n.end.y>+n.start.y&&(E=E+"-"+n.end.y);var S=r.get("formatter"),x={start:n.start.y,end:n.end.y,nameMap:E},T=this._formatterLabel(S,x),L=new A.Text({z2:30});A.setTextStyle(L.style,r,{text:T}),L.attr(this._yearTextPositionControl(L,w[t],a,t,l)),u.add(L)},_monthTextPositionControl:function(i,n,a,u,r){var l="left",t="top",s=i[0],d=i[1];return a==="horizontal"?(d=d+r,n&&(l="center"),u==="start"&&(t="bottom")):(s=s+r,n&&(t="middle"),u==="start"&&(l="right")),{x:s,y:d,textAlign:l,textVerticalAlign:t}},_renderMonthText:function(i,n,a){var u=i.getModel("monthLabel");if(!u.get("show"))return;var r=u.get("nameMap"),l=u.get("margin"),t=u.get("position"),s=u.get("align"),d=[this._tlpoints,this._blpoints];f.isString(r)&&(r=h[r.toUpperCase()]||[]);var p=t==="start"?0:1,b=n==="horizontal"?0:1;l=t==="start"?-l:l;for(var w=s==="center",E=0;E<d[p].length-1;E++){var S=d[p][E].slice(),x=this._firstDayOfMonth[E];if(w){var T=this._firstDayPoints[E];S[b]=(T[b]+d[0][E+1][b])/2}var L=u.get("formatter"),y=r[+x.m-1],C={yyyy:x.y,yy:(x.y+"").slice(2),MM:x.m,M:+x.m,nameMap:y},O=this._formatterLabel(L,C),N=new A.Text({z2:30});f.extend(A.setTextStyle(N.style,u,{text:O}),this._monthTextPositionControl(S,w,n,t,l)),a.add(N)}},_weekTextPositionControl:function(i,n,a,u,r){var l="center",t="middle",s=i[0],d=i[1],p=a==="start";return n==="horizontal"?(s=s+u+(p?1:-1)*r[0]/2,l=p?"right":"left"):(d=d+u+(p?1:-1)*r[1]/2,t=p?"bottom":"top"),{x:s,y:d,textAlign:l,textVerticalAlign:t}},_renderWeekText:function(i,n,a,u){var r=i.getModel("dayLabel");if(!r.get("show"))return;var l=i.coordinateSystem,t=r.get("position"),s=r.get("nameMap"),d=r.get("margin"),p=l.getFirstDayOfWeek();f.isString(s)&&(s=c[s.toUpperCase()]||[]);var b=l.getNextNDay(n.end.time,7-n.lweek).time,w=[l.getCellWidth(),l.getCellHeight()];d=v.parsePercent(d,w[a==="horizontal"?0:1]),t==="start"&&(b=l.getNextNDay(n.start.time,-(7+n.fweek)).time,d=-d);for(var E=0;E<7;E++){var S=l.getNextNDay(b,E),x=l.dataToRect([S.time],!1).center,T=E;T=Math.abs((E+p)%7);var L=new A.Text({z2:30});f.extend(A.setTextStyle(L.style,r,{text:s[T]}),this._weekTextPositionControl(x,a,t,d,w)),u.add(L)}}});D.exports=o},"7oTu":function(D,_,e){var g=e("IMiH"),f=e("QBsz"),A=f.applyTransform,m=g.CMD,v=[[],[],[]],h=Math.sqrt,c=Math.atan2;function o(i,n){var a=i.data,u,r,l,t,s,d,p=m.M,b=m.C,w=m.L,E=m.R,S=m.A,x=m.Q;for(l=0,t=0;l<a.length;){u=a[l++],t=l,r=0;switch(u){case p:r=1;break;case w:r=1;break;case b:r=3;break;case x:r=2;break;case S:var T=n[4],L=n[5],y=h(n[0]*n[0]+n[1]*n[1]),C=h(n[2]*n[2]+n[3]*n[3]),O=c(-n[1]/C,n[0]/y);a[l]*=y,a[l++]+=T,a[l]*=C,a[l++]+=L,a[l++]*=y,a[l++]*=C,a[l++]+=O,a[l++]+=O,l+=2,t=l;break;case E:d[0]=a[l++],d[1]=a[l++],A(d,d,n),a[t++]=d[0],a[t++]=d[1],d[0]+=a[l++],d[1]+=a[l++],A(d,d,n),a[t++]=d[0],a[t++]=d[1]}for(s=0;s<r;s++){var d=v[s];d[0]=a[l++],d[1]=a[l++],A(d,d,n),a[t++]=d[0],a[t++]=d[1]}}}D.exports=o},"7pVf":function(D,_,e){var g=e("ProS"),f=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),g.registerPreprocessor(f)},"7ph2":function(D,_){function e(A){return A instanceof Array||(A=[A,A]),A}var g="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(A,m,v){var h=e(A.get("symbol")),c=e(A.get("symbolSize")),o=A.getData();o.setVisual("fromSymbol",h&&h[0]),o.setVisual("toSymbol",h&&h[1]),o.setVisual("fromSymbolSize",c&&c[0]),o.setVisual("toSymbolSize",c&&c[1]),o.setVisual("opacity",A.get(g));function i(n,a){var u=n.getItemModel(a),r=e(u.getShallow("symbol",!0)),l=e(u.getShallow("symbolSize",!0)),t=u.get(g);r[0]&&n.setItemVisual(a,"fromSymbol",r[0]),r[1]&&n.setItemVisual(a,"toSymbol",r[1]),l[0]&&n.setItemVisual(a,"fromSymbolSize",l[0]),l[1]&&n.setItemVisual(a,"toSymbolSize",l[1]),n.setItemVisual(a,"opacity",t)}return{dataEach:o.hasItemOption?i:null}}};D.exports=f},"7uqq":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("AUH6"),h=e("+TT/"),c=e("OELB"),o=e("W4dC"),i=e("7DRL");function n(l,t){var s=l.get("boundingCoords");if(s!=null){var d=s[0],p=s[1];isNaN(d[0])||isNaN(d[1])||isNaN(p[0])||isNaN(p[1])||this.setBoundingRect(d[0],d[1],p[0]-d[0],p[1]-d[1])}var b=this.getBoundingRect(),w,E=l.get("layoutCenter"),S=l.get("layoutSize"),x=t.getWidth(),T=t.getHeight(),L=b.width/b.height*this.aspectScale,y=!1;E&&S&&(E=[c.parsePercent(E[0],x),c.parsePercent(E[1],T)],S=c.parsePercent(S,Math.min(x,T)),!isNaN(E[0])&&!isNaN(E[1])&&!isNaN(S)&&(y=!0));var C;if(y){var C={};L>1?(C.width=S,C.height=S/L):(C.height=S,C.width=S*L),C.y=E[1]-C.height/2,C.x=E[0]-C.width/2}else w=l.getBoxLayoutParams(),w.aspect=L,C=h.getLayoutRect(w,{width:x,height:T});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function a(l,t){m.each(t.get("geoCoord"),function(s,d){l.addGeoCoord(d,s)})}var u={dimensions:v.prototype.dimensions,create:function(l,t){var s=[];l.eachComponent("geo",function(p,b){var w=p.get("map"),E=p.get("aspectScale"),S=!0,x=i.retrieveMap(w);x&&x[0]&&x[0].type==="svg"?(E==null&&(E=1),S=!1):E==null&&(E=.75);var T=new v(w+b,w,p.get("nameMap"),S);T.aspectScale=E,T.zoomLimit=p.get("scaleLimit"),s.push(T),a(T,p),p.coordinateSystem=T,T.model=p,T.resize=n,T.resize(p,t)}),l.eachSeries(function(p){var b=p.get("coordinateSystem");if(b==="geo"){var w=p.get("geoIndex")||0;p.coordinateSystem=s[w]}});var d={};return l.eachSeriesByType("map",function(p){if(!p.getHostGeoModel()){var b=p.getMapType();d[b]=d[b]||[],d[b].push(p)}}),m.each(d,function(p,b){var w=m.map(p,function(S){return S.get("nameMap")}),E=new v(b,b,m.mergeAll(w));E.zoomLimit=m.retrieve.apply(null,m.map(p,function(S){return S.get("scaleLimit")})),s.push(E),E.resize=n,E.aspectScale=p[0].get("aspectScale"),E.resize(p[0],t),m.each(p,function(S){S.coordinateSystem=E,a(E,S)})}),s},getFilledRegions:function(l,t,s){for(var d=(l||[]).slice(),p=m.createHashMap(),b=0;b<d.length;b++)p.set(d[b].name,d[b]);var w=o.load(t,s);return m.each(w.regions,function(E){var S=E.name;!p.get(S)&&d.push({name:S})}),d}};A.registerCoordinateSystem("geo",u);var r=u;D.exports=r},"7yuC":function(D,_,e){var g=e("QBsz"),f=g.scaleAndAdd;function A(m,v,h){for(var c=h.rect,o=c.width,i=c.height,n=[c.x+o/2,c.y+i/2],a=h.gravity==null?.1:h.gravity,u=0;u<m.length;u++){var r=m[u];r.p||(r.p=g.create(o*(Math.random()-.5)+n[0],i*(Math.random()-.5)+n[1])),r.pp=g.clone(r.p),r.edges=null}var l=h.friction==null?.6:h.friction,t=l;return{warmUp:function(){t=l*.8},setFixed:function(s){m[s].fixed=!0},setUnfixed:function(s){m[s].fixed=!1},step:function(s){for(var d=[],p=m.length,b=0;b<v.length;b++){var w=v[b];if(w.ignoreForceLayout)continue;var E=w.n1,S=w.n2;g.sub(d,S.p,E.p);var x=g.len(d)-w.d,T=S.w/(E.w+S.w);isNaN(T)&&(T=0),g.normalize(d,d),!E.fixed&&f(E.p,E.p,d,T*x*t),!S.fixed&&f(S.p,S.p,d,-(1-T)*x*t)}for(var b=0;b<p;b++){var L=m[b];L.fixed||(g.sub(d,n,L.p),f(L.p,L.p,d,a*t))}for(var b=0;b<p;b++)for(var E=m[b],y=b+1;y<p;y++){var S=m[y];g.sub(d,S.p,E.p);var x=g.len(d);x===0&&(g.set(d,Math.random()-.5,Math.random()-.5),x=1);var C=(E.rep+S.rep)/x/x;!E.fixed&&f(E.pp,E.pp,d,C),!S.fixed&&f(S.pp,S.pp,d,-C)}for(var O=[],b=0;b<p;b++){var L=m[b];L.fixed||(g.sub(O,L.p,L.pp),f(L.p,L.p,O,t),g.copy(L.pp,L.p))}t=t*.992,s&&s(m,v,t<.01)}}}_.forceLayout=A},"8+yF":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={256:960,257:992,258:451,259:483,260:417,261:433,262:454,263:486,264:710,265:742,266:709,267:741,268:456,269:488,270:463,271:495,272:464,273:496,274:938,275:954,278:972,279:1004,280:458,281:490,282:460,283:492,284:728,285:760,286:683,287:699,288:725,289:757,290:939,291:955,292:678,293:694,294:673,295:689,296:933,297:949,298:975,299:1007,302:967,303:999,304:681,305:697,308:684,309:700,310:979,311:1011,312:930,313:453,314:485,315:934,316:950,317:421,318:437,321:419,322:435,323:465,324:497,325:977,326:1009,327:466,328:498,330:957,331:959,332:978,333:1010,336:469,337:501,338:5052,339:5053,340:448,341:480,342:931,343:947,344:472,345:504,346:422,347:438,348:734,349:766,350:426,351:442,352:425,353:441,354:478,355:510,356:427,357:443,358:940,359:956,360:989,361:1021,362:990,363:1022,364:733,365:765,366:473,367:505,368:475,369:507,370:985,371:1017,376:5054,377:428,378:444,379:431,380:447,381:430,382:446,402:2294,466:16777681,711:439,728:418,729:511,731:434,733:445,901:1966,902:1953,904:1954,905:1955,906:1956,908:1959,910:1960,911:1963,912:1974,913:1985,914:1986,915:1987,916:1988,917:1989,918:1990,919:1991,920:1992,921:1993,922:1994,923:1995,924:1996,925:1997,926:1998,927:1999,928:2e3,929:2001,931:2002,932:2004,933:2005,934:2006,935:2007,936:2008,937:2009,938:1957,939:1961,940:1969,941:1970,942:1971,943:1972,944:1978,945:2017,946:2018,947:2019,948:2020,949:2021,950:2022,951:2023,952:2024,953:2025,954:2026,955:2027,956:2028,957:2029,958:2030,959:2031,960:2032,961:2033,962:2035,963:2034,964:2036,965:2037,966:2038,967:2039,968:2040,969:2041,970:1973,971:1977,972:1975,973:1976,974:1979,1025:1715,1026:1713,1027:1714,1028:1716,1029:1717,1030:1718,1031:1719,1032:1720,1033:1721,1034:1722,1035:1723,1036:1724,1038:1726,1039:1727,1040:1761,1041:1762,1042:1783,1043:1767,1044:1764,1045:1765,1046:1782,1047:1786,1048:1769,1049:1770,1050:1771,1051:1772,1052:1773,1053:1774,1054:1775,1055:1776,1056:1778,1057:1779,1058:1780,1059:1781,1060:1766,1061:1768,1062:1763,1063:1790,1064:1787,1065:1789,1066:1791,1067:1785,1068:1784,1069:1788,1070:1760,1071:1777,1072:1729,1073:1730,1074:1751,1075:1735,1076:1732,1077:1733,1078:1750,1079:1754,1080:1737,1081:1738,1082:1739,1083:1740,1084:1741,1085:1742,1086:1743,1087:1744,1088:1746,1089:1747,1090:1748,1091:1749,1092:1734,1093:1736,1094:1731,1095:1758,1096:1755,1097:1757,1098:1759,1099:1753,1100:1752,1101:1756,1102:1728,1103:1745,1105:1699,1106:1697,1107:1698,1108:1700,1109:1701,1110:1702,1111:1703,1112:1704,1113:1705,1114:1706,1115:1707,1116:1708,1118:1710,1119:1711,1168:1725,1169:1709,1488:3296,1489:3297,1490:3298,1491:3299,1492:3300,1493:3301,1494:3302,1495:3303,1496:3304,1497:3305,1498:3306,1499:3307,1500:3308,1501:3309,1502:3310,1503:3311,1504:3312,1505:3313,1506:3314,1507:3315,1508:3316,1509:3317,1510:3318,1511:3319,1512:3320,1513:3321,1514:3322,1548:1452,1563:1467,1567:1471,1569:1473,1570:1474,1571:1475,1572:1476,1573:1477,1574:1478,1575:1479,1576:1480,1577:1481,1578:1482,1579:1483,1580:1484,1581:1485,1582:1486,1583:1487,1584:1488,1585:1489,1586:1490,1587:1491,1588:1492,1589:1493,1590:1494,1591:1495,1592:1496,1593:1497,1594:1498,1600:1504,1601:1505,1602:1506,1603:1507,1604:1508,1605:1509,1606:1510,1607:1511,1608:1512,1609:1513,1610:1514,1611:1515,1612:1516,1613:1517,1614:1518,1615:1519,1616:1520,1617:1521,1618:1522,3585:3489,3586:3490,3587:3491,3588:3492,3589:3493,3590:3494,3591:3495,3592:3496,3593:3497,3594:3498,3595:3499,3596:3500,3597:3501,3598:3502,3599:3503,3600:3504,3601:3505,3602:3506,3603:3507,3604:3508,3605:3509,3606:3510,3607:3511,3608:3512,3609:3513,3610:3514,3611:3515,3612:3516,3613:3517,3614:3518,3615:3519,3616:3520,3617:3521,3618:3522,3619:3523,3620:3524,3621:3525,3622:3526,3623:3527,3624:3528,3625:3529,3626:3530,3627:3531,3628:3532,3629:3533,3630:3534,3631:3535,3632:3536,3633:3537,3634:3538,3635:3539,3636:3540,3637:3541,3638:3542,3639:3543,3640:3544,3641:3545,3642:3546,3647:3551,3648:3552,3649:3553,3650:3554,3651:3555,3652:3556,3653:3557,3654:3558,3655:3559,3656:3560,3657:3561,3658:3562,3659:3563,3660:3564,3661:3565,3664:3568,3665:3569,3666:3570,3667:3571,3668:3572,3669:3573,3670:3574,3671:3575,3672:3576,3673:3577,8194:2722,8195:2721,8196:2723,8197:2724,8199:2725,8200:2726,8201:2727,8202:2728,8210:2747,8211:2730,8212:2729,8213:1967,8215:3295,8216:2768,8217:2769,8218:2813,8220:2770,8221:2771,8222:2814,8224:2801,8225:2802,8226:2790,8229:2735,8230:2734,8240:2773,8242:2774,8243:2775,8248:2812,8254:1150,8361:3839,8364:8364,8453:2744,8470:1712,8471:2811,8478:2772,8482:2761,8531:2736,8532:2737,8533:2738,8534:2739,8535:2740,8536:2741,8537:2742,8538:2743,8539:2755,8540:2756,8541:2757,8542:2758,8592:2299,8593:2300,8594:2301,8595:2302,8658:2254,8660:2253,8706:2287,8711:2245,8728:3018,8730:2262,8733:2241,8734:2242,8743:2270,8744:2271,8745:2268,8746:2269,8747:2239,8756:2240,8764:2248,8771:2249,8773:16785992,8800:2237,8801:2255,8804:2236,8805:2238,8834:2266,8835:2267,8866:3068,8867:3036,8868:3010,8869:3022,8968:3027,8970:3012,8981:2810,8992:2212,8993:2213,9109:3020,9115:2219,9117:2220,9118:2221,9120:2222,9121:2215,9123:2216,9124:2217,9126:2218,9128:2223,9132:2224,9143:2209,9146:2543,9147:2544,9148:2546,9149:2547,9225:2530,9226:2533,9227:2537,9228:2531,9229:2532,9251:2732,9252:2536,9472:2211,9474:2214,9484:2210,9488:2539,9492:2541,9496:2538,9500:2548,9508:2549,9516:2551,9524:2550,9532:2542,9618:2529,9642:2791,9643:2785,9644:2779,9645:2786,9646:2783,9647:2767,9650:2792,9651:2787,9654:2781,9655:2765,9660:2793,9661:2788,9664:2780,9665:2764,9670:2528,9675:2766,9679:2782,9702:2784,9734:2789,9742:2809,9747:2762,9756:2794,9758:2795,9792:2808,9794:2807,9827:2796,9829:2798,9830:2797,9837:2806,9839:2805,10003:2803,10007:2804,10013:2777,10016:2800,10216:2748,10217:2750,12289:1188,12290:1185,12300:1186,12301:1187,12443:1246,12444:1247,12449:1191,12450:1201,12451:1192,12452:1202,12453:1193,12454:1203,12455:1194,12456:1204,12457:1195,12458:1205,12459:1206,12461:1207,12463:1208,12465:1209,12467:1210,12469:1211,12471:1212,12473:1213,12475:1214,12477:1215,12479:1216,12481:1217,12483:1199,12484:1218,12486:1219,12488:1220,12490:1221,12491:1222,12492:1223,12493:1224,12494:1225,12495:1226,12498:1227,12501:1228,12504:1229,12507:1230,12510:1231,12511:1232,12512:1233,12513:1234,12514:1235,12515:1196,12516:1236,12517:1197,12518:1237,12519:1198,12520:1238,12521:1239,12522:1240,12523:1241,12524:1242,12525:1243,12527:1244,12530:1190,12531:1245,12539:1189,12540:1200},f={lookup:function(m){if(m>=32&&m<=255)return m;var v=g[m];return v!==void 0?v:16777216|m}};_.default=f},"815F":function(D,_,e){"use strict";e.d(_,"e",function(){return c}),e.d(_,"c",function(){return i}),e.d(_,"d",function(){return n}),e.d(_,"a",function(){return u}),e.d(_,"f",function(){return r}),e.d(_,"b",function(){return l});var g=e("KQm4"),f=e("VTBJ"),A=e("Ff2n"),m=e("Zm9Q"),v=e("Kwbf"),h=e("OZM5");function c(t,s){return t!=null?t:s}function o(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function d(p){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(w){var E=w.key,S=w.children;Object(v.a)(E!=null,"Tree node must have a certain key: [".concat(b).concat(E,"]"));var x=String(E);Object(v.a)(!s.has(x)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(x)),s.set(x,!0),d(S,"".concat(b).concat(x," > "))})}d(t)}function i(t){function s(d){var p=Object(m.a)(d);return p.map(function(b){if(!Object(h.i)(b))return Object(v.a)(!b,"Tree/TreeNode can only accept TreeNode as children."),null;var w=b.key,E=b.props,S=E.children,x=Object(A.a)(E,["children"]),T=Object(f.a)({key:w},x),L=s(S);return L.length&&(T.children=L),T}).filter(function(b){return b})}return s(t)}function n(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],d=new Set(s===!0?[]:s),p=[];function b(w){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return w.map(function(S,x){var T=Object(h.h)(E?E.pos:"0",x),L=c(S.key,T),y=Object(f.a)(Object(f.a)({},S),{},{parent:E,pos:T,children:null,data:S,isStart:[].concat(Object(g.a)(E?E.isStart:[]),[x===0]),isEnd:[].concat(Object(g.a)(E?E.isEnd:[]),[x===w.length-1])});return p.push(y),s===!0||d.has(L)?y.children=b(S.children||[],y):y.children=[],y})}return b(t),p}function a(t,s,d){var p;d?typeof d=="string"?p=function(E){return E[d]}:typeof d=="function"&&(p=function(E){return d(E)}):p=function(E,S){return c(E.key,S)};function b(w,E,S){var x=w?w.children:t,T=w?Object(h.h)(S.pos,E):"0";if(w){var L=p(w,T),y={node:w,index:E,pos:T,key:L,parentPos:S.node?S.pos:null,level:S.level+1};s(y)}x&&x.forEach(function(C,O){b(C,O,{node:w,pos:T,level:S?S.level+1:-1})})}b(null)}function u(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=s.initWrapper,p=s.processEntity,b=s.onProcessFinished,w=arguments.length>2?arguments[2]:void 0,E={},S={},x={posEntities:E,keyEntities:S};return d&&(x=d(x)||x),a(t,function(T){var L=T.node,y=T.index,C=T.pos,O=T.key,N=T.parentPos,k=T.level,F={node:L,index:y,key:O,pos:C,level:k},B=c(O,C);E[C]=F,S[B]=F,F.parent=E[N],F.parent&&(F.parent.children=F.parent.children||[],F.parent.children.push(F)),p&&p(F,x)},w),b&&b(x),x}function r(t,s){var d=s.expandedKeys,p=s.selectedKeys,b=s.loadedKeys,w=s.loadingKeys,E=s.checkedKeys,S=s.halfCheckedKeys,x=s.dragOverNodeKey,T=s.dropPosition,L=s.keyEntities,y=L[t],C={eventKey:t,expanded:d.indexOf(t)!==-1,selected:p.indexOf(t)!==-1,loaded:b.indexOf(t)!==-1,loading:w.indexOf(t)!==-1,checked:E.indexOf(t)!==-1,halfChecked:S.indexOf(t)!==-1,pos:String(y?y.pos:""),dragOver:x===t&&T===0,dragOverGapTop:x===t&&T===-1,dragOverGapBottom:x===t&&T===1};return C}function l(t){var s=t.data,d=t.expanded,p=t.selected,b=t.checked,w=t.loaded,E=t.loading,S=t.halfChecked,x=t.dragOver,T=t.dragOverGapTop,L=t.dragOverGapBottom,y=t.pos,C=t.active,O=Object(f.a)(Object(f.a)({},s),{},{expanded:d,selected:p,checked:b,loaded:w,loading:E,halfChecked:S,dragOver:x,dragOverGapTop:T,dragOverGapBottom:L,pos:y,active:C});return"props"in O||Object.defineProperty(O,"props",{get:function(){return Object(v.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),O}},"8CQX":function(D,_,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(_,"__esModule",{value:!0}),_.getKeycode=a,_.getKey=u,_.getKeysym=r;var f=n(e("mHUz")),A=n(e("8+yF")),m=n(e("6Qwc")),v=n(e("gIYZ")),h=n(e("mTgk")),c=i(e("GdRQ"));function o(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return o=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=o();if(t&&t.has(l))return t.get(l);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var b=d?Object.getOwnPropertyDescriptor(l,p):null;b&&(b.get||b.set)?Object.defineProperty(s,p,b):s[p]=l[p]}return s.default=l,t&&t.set(l,s),s}function n(l){return l&&l.__esModule?l:{default:l}}function a(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in m.default){var t=m.default[l.keyCode];if(c.isMac()&&t==="ContextMenu"&&(t="MetaRight"),l.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(t){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return t}return"Unidentified"}function u(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!c.isIE()&&!c.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var t=a(l);return t in v.default?v.default[t]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function r(l){var t=u(l);if(t==="Unidentified")return null;if(t in h.default){var s=l.location;if(t==="Meta"&&s===0&&(s=2),t==="Clear"&&s===3){var d=a(l);d==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),t==="Meta"){var p=a(l);if(p==="AltLeft")return f.default.XK_Meta_L;if(p==="AltRight")return f.default.XK_Meta_R}if(t==="Clear"){var b=a(l);if(b==="NumLock")return f.default.XK_Num_Lock}return h.default[t][s]}if(t.length!==1)return null;var w=t.charCodeAt();return w?A.default.lookup(w):null}},"8EBN":function(D,_,e){(function(g){g(e("VrN/"))})(function(g){"use strict";g.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var f=0;f<g.modeInfo.length;f++){var A=g.modeInfo[f];A.mimes&&(A.mime=A.mimes[0])}g.findModeByMIME=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.mime==m)return h;if(h.mimes){for(var c=0;c<h.mimes.length;c++)if(h.mimes[c]==m)return h}}if(/\+xml$/.test(m))return g.findModeByMIME("application/xml");if(/\+json$/.test(m))return g.findModeByMIME("application/json")},g.findModeByExtension=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.ext){for(var c=0;c<h.ext.length;c++)if(h.ext[c]==m)return h}}},g.findModeByFileName=function(m){for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.file&&h.file.test(m))return h}var c=m.lastIndexOf("."),o=c>-1&&m.substring(c+1,m.length);if(o)return g.findModeByExtension(o)},g.findModeByName=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.name.toLowerCase()==m)return h;if(h.alias){for(var c=0;c<h.alias.length;c++)if(h.alias[c].toLowerCase()==m)return h}}}})},"8IMR":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};_.default=g},"8ISB":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("6Hfg"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"8K/p":function(D,_,e){"use strict";function g(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(r){return typeof r}:g=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},g(a)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=h(e("Lo0S")),A=m(e("ItS6"));function m(a){return a&&a.__esModule?a:{default:a}}function v(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return v=function(){return a},a}function h(a){if(a&&a.__esModule)return a;if(a===null||g(a)!=="object"&&typeof a!="function")return{default:a};var u=v();if(u&&u.has(a))return u.get(a);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in a)if(Object.prototype.hasOwnProperty.call(a,t)){var s=l?Object.getOwnPropertyDescriptor(a,t):null;s&&(s.get||s.set)?Object.defineProperty(r,t,s):r[t]=a[t]}return r.default=a,u&&u.set(a,r),r}function c(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")}function o(a,u){for(var r=0;r<u.length;r++){var l=u[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(a,l.key,l)}}function i(a,u,r){return u&&o(a.prototype,u),r&&o(a,r),a}var n=function(){function a(){c(this,a),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var u=0;u<4;u++)this._zlibs[u]=new A.default}return i(a,[{key:"decodeRect",value:function(r,l,t,s,d,p,b){if(this._ctl===null){if(d.rQwait("TIGHT compression-control",1))return!1;this._ctl=d.rQshift8();for(var w=0;w<4;w++)this._ctl>>w&1&&(this._zlibs[w].reset(),f.Info("Reset zlib stream "+w));this._ctl=this._ctl>>4}var E;if(this._ctl===8)E=this._fillRect(r,l,t,s,d,p,b);else if(this._ctl===9)E=this._jpegRect(r,l,t,s,d,p,b);else if(this._ctl===10)E=this._pngRect(r,l,t,s,d,p,b);else if((this._ctl&128)==0)E=this._basicRect(this._ctl,r,l,t,s,d,p,b);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return E&&(this._ctl=null),E}},{key:"_fillRect",value:function(r,l,t,s,d,p,b){if(d.rQwait("TIGHT",3))return!1;var w=d.rQi,E=d.rQ;return p.fillRect(r,l,t,s,[E[w+2],E[w+1],E[w]],!1),d.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(r,l,t,s,d,p,b){var w=this._readData(d);return w===null?!1:(p.imageRect(r,l,t,s,"image/jpeg",w),!0)}},{key:"_pngRect",value:function(r,l,t,s,d,p,b){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(r,l,t,s,d,p,b,w){if(this._filter===null)if(r&4){if(p.rQwait("TIGHT",1))return!1;this._filter=p.rQshift8()}else this._filter=0;var E=r&3,S;switch(this._filter){case 0:S=this._copyFilter(E,l,t,s,d,p,b,w);break;case 1:S=this._paletteFilter(E,l,t,s,d,p,b,w);break;case 2:S=this._gradientFilter(E,l,t,s,d,p,b,w);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return S&&(this._filter=null),S}},{key:"_copyFilter",value:function(r,l,t,s,d,p,b,w){var E=s*d*3,S;if(E<12){if(p.rQwait("TIGHT",E))return!1;S=p.rQshiftBytes(E)}else{if(S=this._readData(p),S===null)return!1;this._zlibs[r].setInput(S),S=this._zlibs[r].inflate(E),this._zlibs[r].setInput(null)}return b.blitRgbImage(l,t,s,d,S,0,!1),!0}},{key:"_paletteFilter",value:function(r,l,t,s,d,p,b,w){if(this._numColors===0){if(p.rQwait("TIGHT palette",1))return!1;var E=p.rQpeek8()+1,S=E*3;if(p.rQwait("TIGHT palette",1+S))return!1;this._numColors=E,p.rQskipBytes(1),p.rQshiftTo(this._palette,S)}var x=this._numColors<=2?1:8,T=Math.floor((s*x+7)/8),L=T*d,y;if(L<12){if(p.rQwait("TIGHT",L))return!1;y=p.rQshiftBytes(L)}else{if(y=this._readData(p),y===null)return!1;this._zlibs[r].setInput(y),y=this._zlibs[r].inflate(L),this._zlibs[r].setInput(null)}return this._numColors==2?this._monoRect(l,t,s,d,y,this._palette,b):this._paletteRect(l,t,s,d,y,this._palette,b),this._numColors=0,!0}},{key:"_monoRect",value:function(r,l,t,s,d,p,b){for(var w=this._getScratchBuffer(t*s*4),E=Math.floor((t+7)/8),S=Math.floor(t/8),x=0;x<s;x++){var T=void 0,L=void 0,y=void 0;for(y=0;y<S;y++)for(var C=7;C>=0;C--)T=(x*t+y*8+7-C)*4,L=(d[x*E+y]>>C&1)*3,w[T]=p[L],w[T+1]=p[L+1],w[T+2]=p[L+2],w[T+3]=255;for(var O=7;O>=8-t%8;O--)T=(x*t+y*8+7-O)*4,L=(d[x*E+y]>>O&1)*3,w[T]=p[L],w[T+1]=p[L+1],w[T+2]=p[L+2],w[T+3]=255}b.blitRgbxImage(r,l,t,s,w,0,!1)}},{key:"_paletteRect",value:function(r,l,t,s,d,p,b){for(var w=this._getScratchBuffer(t*s*4),E=t*s*4,S=0,x=0;S<E;S+=4,x++){var T=d[x]*3;w[S]=p[T],w[S+1]=p[T+1],w[S+2]=p[T+2],w[S+3]=255}b.blitRgbxImage(r,l,t,s,w,0,!1)}},{key:"_gradientFilter",value:function(r,l,t,s,d,p,b,w){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(r){if(this._len===0){if(r.rQwait("TIGHT",3))return null;var l;l=r.rQshift8(),this._len=l&127,l&128&&(l=r.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=r.rQshift8(),this._len|=l<<14))}if(r.rQwait("TIGHT",this._len))return null;var t=r.rQshiftBytes(this._len);return this._len=0,t}},{key:"_getScratchBuffer",value:function(r){return(!this._scratchBuffer||this._scratchBuffer.length<r)&&(this._scratchBuffer=new Uint8Array(r)),this._scratchBuffer}}]),a}();_.default=n},"8OUc":function(D,_,e){"use strict";var g=e("q1tI"),f=e.n(g),A=e("TSYQ"),m=e.n(A),v=function(c){var o=c.className,i=c.customizeIcon,n=c.customizeIconProps,a=c.onMouseDown,u=c.onClick,r=c.children,l;return typeof i=="function"?l=i(n):l=i,g.createElement("span",{className:o,onMouseDown:function(s){s.preventDefault(),a&&a(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:u,"aria-hidden":!0},l!==void 0?l:g.createElement("span",{className:m()(o.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},r))};_.a=v},"8SMY":function(D,_,e){var g=e("n4Lv"),f=g.prepareDataCoordInfo,A=g.getStackedOnPoint;function m(h,c){var o=[];return c.diff(h).add(function(i){o.push({cmd:"+",idx:i})}).update(function(i,n){o.push({cmd:"=",idx:n,idx1:i})}).remove(function(i){o.push({cmd:"-",idx:i})}).execute(),o}function v(h,c,o,i,n,a,u,r){for(var l=m(h,c),t=[],s=[],d=[],p=[],b=[],w=[],E=[],S=f(n,c,u),x=f(a,h,r),T=0;T<l.length;T++){var L=l[T],y=!0;switch(L.cmd){case"=":var C=h.getItemLayout(L.idx),O=c.getItemLayout(L.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=O.slice()),t.push(C),s.push(O),d.push(o[L.idx]),p.push(i[L.idx1]),E.push(c.getRawIndex(L.idx1));break;case"+":var N=L.idx;t.push(n.dataToPoint([c.get(S.dataDimsForPoint[0],N),c.get(S.dataDimsForPoint[1],N)])),s.push(c.getItemLayout(N).slice()),d.push(A(S,n,c,N)),p.push(i[N]),E.push(c.getRawIndex(N));break;case"-":var N=L.idx,k=h.getRawIndex(N);k!==N?(t.push(h.getItemLayout(N)),s.push(a.dataToPoint([h.get(x.dataDimsForPoint[0],N),h.get(x.dataDimsForPoint[1],N)])),d.push(o[N]),p.push(A(x,a,h,N)),E.push(k)):y=!1}y&&(b.push(L),w.push(w.length))}w.sort(function(U,j){return E[U]-E[j]});for(var F=[],B=[],H=[],W=[],R=[],T=0;T<w.length;T++){var N=w[T];F[T]=t[N],B[T]=s[N],H[T]=d[N],W[T]=p[N],R[T]=b[N]}return{current:F,next:B,stackedOnCurrent:H,stackedOnNext:W,status:R}}D.exports=v},"8Skl":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="DownOutlined";var h=_.a=g.forwardRef(v)},"8Th4":function(D,_,e){var g=e("3LNs"),f=e("/y7N"),A=e("7bkD"),m=e("Znkb"),v=["x","y"],h=["width","height"],c=g.extend({makeElOption:function(u,r,l,t,s){var d=l.axis,p=d.coordinateSystem,b=n(p,1-i(d)),w=p.dataToPoint(r)[0],E=t.get("type");if(E&&E!=="none"){var S=f.buildElStyle(t),x=o[E](d,w,b);x.style=S,u.graphicKey=x.type,u.pointer=x}var T=A.layout(l);f.buildCartesianSingleLabelElOption(r,u,T,l,t,s)},getHandleTransform:function(u,r,l){var t=A.layout(r,{labelInside:!1});return t.labelMargin=l.get("handle.margin"),{position:f.getTransformedPosition(r.axis,u,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(u,r,l,t){var s=l.axis,d=s.coordinateSystem,p=i(s),b=n(d,p),w=u.position;w[p]+=r[p],w[p]=Math.min(b[1],w[p]),w[p]=Math.max(b[0],w[p]);var E=n(d,1-p),S=(E[1]+E[0])/2,x=[S,S];return x[p]=w[p],{position:w,rotation:u.rotation,cursorPoint:x,tooltipOption:{verticalAlign:"middle"}}}}),o={line:function(u,r,l){var t=f.makeLineShape([r,l[0]],[r,l[1]],i(u));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(u,r,l){var t=u.getBandWidth(),s=l[1]-l[0];return{type:"Rect",shape:f.makeRectShape([r-t/2,l[0]],[t,s],i(u))}}};function i(u){return u.isHorizontal()?0:1}function n(u,r){var l=u.getRect();return[l[v[r]],l[v[r]]+l[h[r]]]}m.registerAxisPointerClass("SingleAxisPointer",c);var a=c;D.exports=a},"8Uz6":function(D,_,e){var g=e("hNWo"),f=e("+TT/"),A=f.mergeLayoutParam,m=f.getLayoutParams,v=g.extend({type:"legend.scroll",setScrollDataIndex:function(o){this.option.scrollDataIndex=o},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(o,i,n,a){var u=m(o);v.superCall(this,"init",o,i,n,a),h(this,o,u)},mergeOption:function(o,i){v.superCall(this,"mergeOption",o,i),h(this,this.option,o)}});function h(o,i,n){var a=o.getOrient(),u=[1,1];u[a.index]=0,A(i,n,{type:"box",ignoreSize:u})}var c=v;D.exports=c},"8X+K":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("4mN7"),v=m.fromPoints,h=e("9wZj"),c=e("FBjb"),o=e("8SMY"),i=e("IwbS"),n=e("4NO4"),a=e("1NG9"),u=a.Polyline,r=a.Polygon,l=e("6Ic6"),t=e("n4Lv"),s=t.prepareDataCoordInfo,d=t.getStackedOnPoint,p=e("sK/D"),b=p.createGridClipPath,w=p.createPolarClipPath;function E(F,B){if(F.length!==B.length)return;for(var H=0;H<F.length;H++){var W=F[H],R=B[H];if(W[0]!==R[0]||W[1]!==R[1])return}return!0}function S(F,B){var H=[],W=[],R=[],U=[];return v(F,H,W),v(B,R,U),Math.max(Math.abs(H[0]-R[0]),Math.abs(H[1]-R[1]),Math.abs(W[0]-U[0]),Math.abs(W[1]-U[1]))}function x(F){return typeof F=="number"?F:F?.5:0}function T(F,B,H){if(!H.valueDim)return[];for(var W=[],R=0,U=B.count();R<U;R++)W.push(d(H,F,B,R));return W}function L(F,B,H){for(var W=B.getBaseAxis(),R=W.dim==="x"||W.dim==="radius"?0:1,U=[],j=0;j<F.length-1;j++){var P=F[j+1],K=F[j];U.push(K);var V=[];switch(H){case"end":V[R]=P[R],V[1-R]=K[1-R],U.push(V);break;case"middle":var z=(K[R]+P[R])/2,X=[];V[R]=X[R]=z,V[1-R]=K[1-R],X[1-R]=P[1-R],U.push(V),U.push(X);break;default:V[R]=K[R],V[1-R]=P[1-R],U.push(V)}}return F[j]&&U.push(F[j]),U}function y(F,B){var H=F.getVisual("visualMeta");if(!H||!H.length||!F.count())return;if(B.type!=="cartesian2d")return;for(var W,R,U=H.length-1;U>=0;U--){var j=H[U].dimension,P=F.dimensions[j],K=F.getDimensionInfo(P);if(W=K&&K.coordDim,W==="x"||W==="y"){R=H[U];break}}if(!R)return;var V=B.getAxis(W),z=A.map(R.stops,function(Fe){return{coord:V.toGlobalCoord(V.dataToCoord(Fe.value)),color:Fe.color}}),X=z.length,G=R.outerColors.slice();X&&z[0].coord>z[X-1].coord&&(z.reverse(),G.reverse());var le=10,Y=z[0].coord-le,me=z[X-1].coord+le,we=me-Y;if(we<.001)return"transparent";A.each(z,function(Fe){Fe.offset=(Fe.coord-Y)/we}),z.push({offset:X?z[X-1].offset:.5,color:G[1]||"transparent"}),z.unshift({offset:X?z[0].offset:.5,color:G[0]||"transparent"});var pe=new i.LinearGradient(0,0,0,0,z,!0);return pe[W]=Y,pe[W+"2"]=me,pe}function C(F,B,H){var W=F.get("showAllSymbol"),R=W==="auto";if(W&&!R)return;var U=H.getAxesByScale("ordinal")[0];if(!U)return;if(R&&O(U,B))return;var j=B.mapDimension(U.dim),P={};return A.each(U.getViewLabels(),function(K){P[K.tickValue]=1}),function(K){return!P.hasOwnProperty(B.get(j,K))}}function O(F,B){var H=F.getExtent(),W=Math.abs(H[1]-H[0])/F.scale.count();isNaN(W)&&(W=0);for(var R=B.count(),U=Math.max(1,Math.round(R/5)),j=0;j<R;j+=U)if(c.getSymbolSize(B,j)[F.isHorizontal()?1:0]*1.5>W)return!1;return!0}function N(F,B,H){if(F.type==="cartesian2d"){var W=F.getBaseAxis().isHorizontal(),R=b(F,B,H);if(!H.get("clip",!0)){var U=R.shape,j=Math.max(U.width,U.height);W?(U.y-=j,U.height+=j*2):(U.x-=j,U.width+=j*2)}return R}else return w(F,B,H)}var k=l.extend({type:"line",init:function(){var F=new i.Group,B=new h;this.group.add(B.group),this._symbolDraw=B,this._lineGroup=F},render:function(F,B,H){var W=F.coordinateSystem,R=this.group,U=F.getData(),j=F.getModel("lineStyle"),P=F.getModel("areaStyle"),K=U.mapArray(U.getItemLayout),V=W.type==="polar",z=this._coordSys,X=this._symbolDraw,G=this._polyline,le=this._polygon,Y=this._lineGroup,me=F.get("animation"),we=!P.isEmpty(),pe=P.get("origin"),Fe=s(W,U,pe),Xe=T(W,U,Fe),dt=F.get("showSymbol"),Ee=dt&&!V&&C(F,U,W),Se=this._data;Se&&Se.eachItemGraphicEl(function(Ce,ze){Ce.__temp&&(R.remove(Ce),Se.setItemGraphicEl(ze,null))}),dt||X.remove(),R.add(Y);var at=!V&&F.get("step"),_e;W&&W.getArea&&F.get("clip",!0)&&(_e=W.getArea(),_e.width!=null?(_e.x-=.1,_e.y-=.1,_e.width+=.2,_e.height+=.2):_e.r0&&(_e.r0-=.5,_e.r1+=.5)),this._clipShapeForSymbol=_e,G&&z.type===W.type&&at===this._step?(we&&!le?le=this._newPolygon(K,Xe,W,me):le&&!we&&(Y.remove(le),le=this._polygon=null),Y.setClipPath(N(W,!1,F)),dt&&X.updateData(U,{isIgnore:Ee,clipShape:_e}),U.eachItemGraphicEl(function(Ce){Ce.stopAnimation(!0)}),(!E(this._stackedOnPoints,Xe)||!E(this._points,K))&&(me?this._updateAnimation(U,Xe,W,H,at,pe):(at&&(K=L(K,W,at),Xe=L(Xe,W,at)),G.setShape({points:K}),le&&le.setShape({points:K,stackedOnPoints:Xe})))):(dt&&X.updateData(U,{isIgnore:Ee,clipShape:_e}),at&&(K=L(K,W,at),Xe=L(Xe,W,at)),G=this._newPolyline(K,W,me),we&&(le=this._newPolygon(K,Xe,W,me)),Y.setClipPath(N(W,!0,F)));var ce=y(U,W)||U.getVisual("color");G.useStyle(A.defaults(j.getLineStyle(),{fill:"none",stroke:ce,lineJoin:"bevel"}));var ee=F.get("smooth");if(ee=x(F.get("smooth")),G.setShape({smooth:ee,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")}),le){var se=U.getCalculationInfo("stackedOnSeries"),ke=0;le.useStyle(A.defaults(P.getAreaStyle(),{fill:ce,opacity:.7,lineJoin:"bevel"})),se&&(ke=x(se.get("smooth"))),le.setShape({smooth:ee,stackedOnSmooth:ke,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")})}this._data=U,this._coordSys=W,this._stackedOnPoints=Xe,this._points=K,this._step=at,this._valueOrigin=pe},dispose:function(){},highlight:function(F,B,H,W){var R=F.getData(),U=n.queryDataIndex(R,W);if(!(U instanceof Array)&&U!=null&&U>=0){var j=R.getItemGraphicEl(U);if(!j){var P=R.getItemLayout(U);if(!P)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(P[0],P[1]))return;j=new c(R,U),j.position=P,j.setZ(F.get("zlevel"),F.get("z")),j.ignore=isNaN(P[0])||isNaN(P[1]),j.__temp=!0,R.setItemGraphicEl(U,j),j.stopSymbolAnimation(!0),this.group.add(j)}j.highlight()}else l.prototype.highlight.call(this,F,B,H,W)},downplay:function(F,B,H,W){var R=F.getData(),U=n.queryDataIndex(R,W);if(U!=null&&U>=0){var j=R.getItemGraphicEl(U);j&&(j.__temp?(R.setItemGraphicEl(U,null),this.group.remove(j)):j.downplay())}else l.prototype.downplay.call(this,F,B,H,W)},_newPolyline:function(F){var B=this._polyline;return B&&this._lineGroup.remove(B),B=new u({shape:{points:F},silent:!0,z2:10}),this._lineGroup.add(B),this._polyline=B,B},_newPolygon:function(F,B){var H=this._polygon;return H&&this._lineGroup.remove(H),H=new r({shape:{points:F,stackedOnPoints:B},silent:!0}),this._lineGroup.add(H),this._polygon=H,H},_updateAnimation:function(F,B,H,W,R,U){var j=this._polyline,P=this._polygon,K=F.hostModel,V=o(this._data,F,this._stackedOnPoints,B,this._coordSys,H,this._valueOrigin,U),z=V.current,X=V.stackedOnCurrent,G=V.next,le=V.stackedOnNext;if(R&&(z=L(V.current,H,R),X=L(V.stackedOnCurrent,H,R),G=L(V.next,H,R),le=L(V.stackedOnNext,H,R)),S(z,G)>3e3||P&&S(X,le)>3e3){j.setShape({points:G}),P&&P.setShape({points:G,stackedOnPoints:le});return}j.shape.__points=V.current,j.shape.points=z,i.updateProps(j,{shape:{points:G}},K),P&&(P.setShape({points:z,stackedOnPoints:X}),i.updateProps(P,{shape:{points:G,stackedOnPoints:le}},K));for(var Y=[],me=V.status,we=0;we<me.length;we++){var pe=me[we].cmd;if(pe==="="){var Fe=F.getItemGraphicEl(me[we].idx1);Fe&&Y.push({el:Fe,ptIdx:we})}}j.animators&&j.animators.length&&j.animators[0].during(function(){for(var Xe=0;Xe<Y.length;Xe++){var dt=Y[Xe].el;dt.attr("position",j.shape.__points[Y[Xe].ptIdx])}})},remove:function(F){var B=this.group,H=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),H&&H.eachItemGraphicEl(function(W,R){W.__temp&&(B.remove(W),H.setItemGraphicEl(R,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});D.exports=k},"8XDt":function(D,_,e){e("qH13");var g=e("aX58"),f=g.registerPainter,A=e("6fms");f("vml",A)},"8hn6":function(D,_){var e="#eee",g=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},f=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],A={color:f,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:f[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:g(),logAxis:g(),valueAxis:g(),categoryAxis:g(),line:{symbol:"circle"},graph:{color:f},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};A.categoryAxis.splitLine.show=!1;var m=A;D.exports=m},"8nMs":function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("+rIm"),m=e("Znkb"),v=e("AVZG"),h=e("WN+l"),c=h.rectCoordAxisBuildSplitArea,o=h.rectCoordAxisHandleRemove,i=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine","minorSplitLine"],a=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(u,r,l,t){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!u.get("show"))return;var d=u.getCoordSysModel(),p=v.layout(d,u),b=new A(u,p);g.each(i,b.add,b),this._axisGroup.add(b.getGroup()),g.each(n,function(w){u.get(w+".show")&&this["_"+w](u,d)},this),f.groupTransition(s,this._axisGroup,u),a.superCall(this,"render",u,r,l,t)},remove:function(){o(this)},_splitLine:function(u,r){var l=u.axis;if(l.scale.isBlank())return;var t=u.getModel("splitLine"),s=t.getModel("lineStyle"),d=s.get("color");d=g.isArray(d)?d:[d];for(var p=r.coordinateSystem.getRect(),b=l.isHorizontal(),w=0,E=l.getTicksCoords({tickModel:t}),S=[],x=[],T=s.getLineStyle(),L=0;L<E.length;L++){var y=l.toGlobalCoord(E[L].coord);b?(S[0]=y,S[1]=p.y,x[0]=y,x[1]=p.y+p.height):(S[0]=p.x,S[1]=y,x[0]=p.x+p.width,x[1]=y);var C=w++%d.length,O=E[L].tickValue;this._axisGroup.add(new f.Line({anid:O!=null?"line_"+E[L].tickValue:null,subPixelOptimize:!0,shape:{x1:S[0],y1:S[1],x2:x[0],y2:x[1]},style:g.defaults({stroke:d[C]},T),silent:!0}))}},_minorSplitLine:function(u,r){var l=u.axis,t=u.getModel("minorSplitLine"),s=t.getModel("lineStyle"),d=r.coordinateSystem.getRect(),p=l.isHorizontal(),b=l.getMinorTicksCoords();if(!b.length)return;for(var w=[],E=[],S=s.getLineStyle(),x=0;x<b.length;x++)for(var T=0;T<b[x].length;T++){var L=l.toGlobalCoord(b[x][T].coord);p?(w[0]=L,w[1]=d.y,E[0]=L,E[1]=d.y+d.height):(w[0]=d.x,w[1]=L,E[0]=d.x+d.width,E[1]=L),this._axisGroup.add(new f.Line({anid:"minor_line_"+b[x][T].tickValue,subPixelOptimize:!0,shape:{x1:w[0],y1:w[1],x2:E[0],y2:E[1]},style:S,silent:!0}))}},_splitArea:function(u,r){c(this,this._axisGroup,u,r)}});a.extend({type:"xAxis"}),a.extend({type:"yAxis"})},"8nly":function(D,_,e){var g=e("mFDi"),f=e("4mN7"),A=e("QBsz"),m=e("BlVb");function v(c,o,i){if(this.name=c,this.geometries=o,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var c=this._rect;if(c)return c;for(var o=Number.MAX_VALUE,i=[o,o],n=[-o,-o],a=[],u=[],r=this.geometries,l=0;l<r.length;l++){if(r[l].type!=="polygon")continue;var t=r[l].exterior;f.fromPoints(t,a,u),A.min(i,i,a),A.max(n,n,u)}return l===0&&(i[0]=i[1]=n[0]=n[1]=0),this._rect=new g(i[0],i[1],n[0]-i[0],n[1]-i[1])},contain:function(c){var o=this.getBoundingRect(),i=this.geometries;if(!o.contain(c[0],c[1]))return!1;e:for(var n=0,a=i.length;n<a;n++){if(i[n].type!=="polygon")continue;var u=i[n].exterior,r=i[n].interiors;if(m.contain(u,c[0],c[1])){for(var l=0;l<(r?r.length:0);l++)if(m.contain(r[l]))continue e;return!0}}return!1},transformTo:function(c,o,i,n){var a=this.getBoundingRect(),u=a.width/a.height;i?n||(n=i/u):i=u*n;for(var r=new g(c,o,i,n),l=a.calculateTransform(r),t=this.geometries,s=0;s<t.length;s++){if(t[s].type!=="polygon")continue;for(var d=t[s].exterior,p=t[s].interiors,b=0;b<d.length;b++)A.applyTransform(d[b],d[b],l);for(var w=0;w<(p?p.length:0);w++)for(var b=0;b<p[w].length;b++)A.applyTransform(p[w][b],p[w][b],l)}a=this._rect,a.copy(r),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(c){c==null&&(c=this.name);var o=new v(c,this.geometries,this.center);return o._rect=this._rect,o.transformTo=null,o}};var h=v;D.exports=h},"8waO":function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("iLNv"),m=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var v=5;g.extendComponentView({type:"parallel",render:function(o,i,n){this._model=o,this._api=n,this._handlers||(this._handlers={},f.each(h,function(a,u){n.getZr().on(u,this._handlers[u]=f.bind(a,this))},this)),A.createOrUpdate(this,"_throttledDispatchExpand",o.get("axisExpandRate"),"fixRate")},dispose:function(o,i){f.each(this._handlers,function(n,a){i.getZr().off(a,n)}),this._handlers=null},_throttledDispatchExpand:function(o){this._dispatchExpand(o)},_dispatchExpand:function(o){o&&this._api.dispatchAction(f.extend({type:"parallelAxisExpand"},o))}});var h={mousedown:function(o){c(this,"click")&&(this._mouseDownPoint=[o.offsetX,o.offsetY])},mouseup:function(o){var i=this._mouseDownPoint;if(c(this,"click")&&i){var n=[o.offsetX,o.offsetY],a=Math.pow(i[0]-n[0],2)+Math.pow(i[1]-n[1],2);if(a>v)return;var u=this._model.coordinateSystem.getSlidedAxisExpandWindow([o.offsetX,o.offsetY]);u.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:u.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(o){if(this._mouseDownPoint||!c(this,"mousemove"))return;var i=this._model,n=i.coordinateSystem.getSlidedAxisExpandWindow([o.offsetX,o.offsetY]),a=n.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(i.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:a==="jump"?null:!1})}};function c(o,i){var n=o._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===i}g.registerPreprocessor(m)},"8x+h":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("K4ya"),h=e("Qxkt"),c=["#ddd"],o=A.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(a,u){var r=this.option;!u&&v.replaceVisualOption(r,a,["inBrush","outOfBrush"]);var l=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:c},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(a){if(!a)return;this.areas=m.map(a,function(u){return i(this.option,u)},this)},setBrushOption:function(a){this.brushOption=i(this.option,a),this.brushType=this.brushOption.brushType}});function i(a,u){return m.merge({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new h(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},u,!0)}var n=o;D.exports=n},"8z0m":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("RIqP"),m=e.n(A),v=e("pVnL"),h=e.n(v),c=e("J4zp"),o=e.n(c),i=e("q1tI"),n=e.n(i),a=e("TSYQ"),u=e.n(a);function r(Bt,Ae){var ve="cannot "+Bt.method+" "+Bt.action+" "+Ae.status+"'",fe=new Error(ve);return fe.status=Ae.status,fe.method=Bt.method,fe.url=Bt.action,fe}function l(Bt){var Ae=Bt.responseText||Bt.response;if(!Ae)return Ae;try{return JSON.parse(Ae)}catch(ve){return Ae}}function t(Bt){var Ae=new XMLHttpRequest;Bt.onProgress&&Ae.upload&&(Ae.upload.onprogress=function(Ne){Ne.total>0&&(Ne.percent=Ne.loaded/Ne.total*100),Bt.onProgress(Ne)});var ve=new FormData;Bt.data&&Object.keys(Bt.data).forEach(function(ue){var Ne=Bt.data[ue];if(Array.isArray(Ne)){Ne.forEach(function(je){ve.append(ue+"[]",je)});return}ve.append(ue,Bt.data[ue])}),Bt.file instanceof Blob?ve.append(Bt.filename,Bt.file,Bt.file.name):ve.append(Bt.filename,Bt.file),Ae.onerror=function(Ne){Bt.onError(Ne)},Ae.onload=function(){return Ae.status<200||Ae.status>=300?Bt.onError(r(Bt,Ae),l(Ae)):Bt.onSuccess(l(Ae),Ae)},Ae.open(Bt.method,Bt.action,!0),Bt.withCredentials&&"withCredentials"in Ae&&(Ae.withCredentials=!0);var fe=Bt.headers||{};return fe["X-Requested-With"]!==null&&Ae.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(fe).forEach(function(ue){fe[ue]!==null&&Ae.setRequestHeader(ue,fe[ue])}),Ae.send(ve),{abort:function(){Ae.abort()}}}var s=+new Date,d=0;function p(){return"rc-upload-"+s+"-"+ ++d}function b(Bt,Ae){return Bt.indexOf(Ae,Bt.length-Ae.length)!==-1}var w=function(Bt,Ae){if(Bt&&Ae){var ve=Array.isArray(Ae)?Ae:Ae.split(","),fe=Bt.name||"",ue=Bt.type||"",Ne=ue.replace(/\/.*$/,"");return ve.some(function(je){var Ke=je.trim();return Ke.charAt(0)==="."?b(fe.toLowerCase(),Ke.toLowerCase()):/\/\*$/.test(Ke)?Ne===Ke.replace(/\/.*$/,""):ue===Ke})}return!0};function E(Bt,Ae){var ve=Bt.createReader(),fe=[];function ue(){ve.readEntries(function(Ne){var je=Array.prototype.slice.apply(Ne);fe=fe.concat(je);var Ke=!je.length;Ke?Ae(fe):ue()})}ue()}var S=function(Ae,ve,fe){var ue=function Ne(je,Ke){Ke=Ke||"",je.isFile?je.file(function(Ye){fe(Ye)&&(je.fullPath&&!Ye.webkitRelativePath&&(Object.defineProperties(Ye,{webkitRelativePath:{writable:!0}}),Ye.webkitRelativePath=je.fullPath.replace(/^\//,""),Object.defineProperties(Ye,{webkitRelativePath:{writable:!1}})),ve([Ye]))}):je.isDirectory&&E(je,function(Ye){Ye.forEach(function(Pe){Ne(Pe,""+Ke+je.name+"/")})})};Ae.forEach(function(Ne){ue(Ne.webkitGetAsEntry())})},x=S,T=Object.assign||function(Bt){for(var Ae=1;Ae<arguments.length;Ae++){var ve=arguments[Ae];for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&(Bt[fe]=ve[fe])}return Bt},L=function(){function Bt(Ae,ve){var fe=[],ue=!0,Ne=!1,je=void 0;try{for(var Ke=Ae[Symbol.iterator](),Ye;!(ue=(Ye=Ke.next()).done)&&!(fe.push(Ye.value),ve&&fe.length===ve);ue=!0);}catch(Pe){Ne=!0,je=Pe}finally{try{!ue&&Ke.return&&Ke.return()}finally{if(Ne)throw je}}return fe}return function(Ae,ve){if(Array.isArray(Ae))return Ae;if(Symbol.iterator in Object(Ae))return Bt(Ae,ve);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),y=function(){function Bt(Ae,ve){for(var fe=0;fe<ve.length;fe++){var ue=ve[fe];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(Ae,ue.key,ue)}}return function(Ae,ve,fe){return ve&&Bt(Ae.prototype,ve),fe&&Bt(Ae,fe),Ae}}();function C(Bt,Ae,ve){return Ae in Bt?Object.defineProperty(Bt,Ae,{value:ve,enumerable:!0,configurable:!0,writable:!0}):Bt[Ae]=ve,Bt}function O(Bt,Ae){var ve={};for(var fe in Bt){if(Ae.indexOf(fe)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Bt,fe))continue;ve[fe]=Bt[fe]}return ve}function N(Bt,Ae){if(!(Bt instanceof Ae))throw new TypeError("Cannot call a class as a function")}function k(Bt,Ae){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ae&&(typeof Ae=="object"||typeof Ae=="function")?Ae:Bt}function F(Bt,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ae);Bt.prototype=Object.create(Ae&&Ae.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),Ae&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,Ae):Bt.__proto__=Ae)}var B=function(Ae){return Object.keys(Ae).reduce(function(ve,fe){return(fe.substr(0,5)==="data-"||fe.substr(0,5)==="aria-"||fe==="role")&&(ve[fe]=Ae[fe]),ve},{})},H=function(Bt){F(Ae,Bt);function Ae(){var ve,fe,ue,Ne;N(this,Ae);for(var je=arguments.length,Ke=Array(je),Ye=0;Ye<je;Ye++)Ke[Ye]=arguments[Ye];return Ne=(fe=(ue=k(this,(ve=Ae.__proto__||Object.getPrototypeOf(Ae)).call.apply(ve,[this].concat(Ke))),ue),ue.state={uid:p()},ue.reqs={},ue.onChange=function(Pe){var nt=Pe.target.files;ue.uploadFiles(nt),ue.reset()},ue.onClick=function(Pe){var nt=ue.fileInput;if(!nt)return;var At=ue.props,Ot=At.children,ne=At.onClick;Ot&&Ot.type==="button"&&(nt.parentNode.focus(),nt.parentNode.querySelector("button").blur()),nt.click(),ne&&ne(Pe)},ue.onKeyDown=function(Pe){Pe.key==="Enter"&&ue.onClick()},ue.onFileDrop=function(Pe){var nt=ue.props.multiple;if(Pe.preventDefault(),Pe.type==="dragover")return;if(ue.props.directory)x(Array.prototype.slice.call(Pe.dataTransfer.items),ue.uploadFiles,function(Ot){return w(Ot,ue.props.accept)});else{var At=Array.prototype.slice.call(Pe.dataTransfer.files).filter(function(Ot){return w(Ot,ue.props.accept)});nt===!1&&(At=At.slice(0,1)),ue.uploadFiles(At)}},ue.uploadFiles=function(Pe){var nt=Array.prototype.slice.call(Pe);nt.map(function(At){return At.uid=p(),At}).forEach(function(At){ue.upload(At,nt)})},ue.saveFileInput=function(Pe){ue.fileInput=Pe},fe),k(ue,Ne)}return y(Ae,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(fe,ue){var Ne=this,je=this.props;if(!je.beforeUpload)return setTimeout(function(){return Ne.post(fe)},0);var Ke=je.beforeUpload(fe,ue);Ke&&Ke.then?Ke.then(function(Ye){var Pe=Object.prototype.toString.call(Ye);return Pe==="[object File]"||Pe==="[object Blob]"?Ne.post(Ye):Ne.post(fe)}).catch(function(Ye){console.log(Ye)}):Ke!==!1&&setTimeout(function(){return Ne.post(fe)},0);return}},{key:"post",value:function(fe){var ue=this;if(!this._isMounted)return;var Ne=this.props,je=Ne.onStart,Ke=Ne.onProgress,Ye=Ne.transformFile,Pe=Ye===void 0?function(nt){return nt}:Ye;new Promise(function(nt){var At=Ne.action;return typeof At=="function"&&(At=At(fe)),nt(At)}).then(function(nt){var At=fe.uid,Ot=Ne.customRequest||t,ne=Promise.resolve(Pe(fe)).then(function(he){var Q=Ne.data;return typeof Q=="function"&&(Q=Q(he)),Promise.all([he,Q])}).catch(function(he){console.error(he)});ne.then(function(he){var Q=L(he,2),te=Q[0],be=Q[1],Ie={action:nt,filename:Ne.name,data:be,file:te,headers:Ne.headers,withCredentials:Ne.withCredentials,method:Ne.method||"post",onProgress:Ke?function(Re){Ke(Re,fe)}:null,onSuccess:function($e,gt){delete ue.reqs[At],Ne.onSuccess($e,fe,gt)},onError:function($e,gt){delete ue.reqs[At],Ne.onError($e,gt,fe)}};ue.reqs[At]=Ot(Ie),je(fe)})})}},{key:"reset",value:function(){this.setState({uid:p()})}},{key:"abort",value:function(fe){var ue=this.reqs;if(fe){var Ne=fe;fe&&fe.uid&&(Ne=fe.uid),ue[Ne]&&ue[Ne].abort&&ue[Ne].abort(),delete ue[Ne]}else Object.keys(ue).forEach(function(je){ue[je]&&ue[je].abort&&ue[je].abort(),delete ue[je]})}},{key:"render",value:function(){var fe,ue=this.props,Ne=ue.component,je=ue.prefixCls,Ke=ue.className,Ye=ue.disabled,Pe=ue.id,nt=ue.style,At=ue.multiple,Ot=ue.accept,ne=ue.children,he=ue.directory,Q=ue.openFileDialogOnClick,te=ue.onMouseEnter,be=ue.onMouseLeave,Ie=O(ue,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Re=u()((fe={},C(fe,je,!0),C(fe,je+"-disabled",Ye),C(fe,Ke,Ke),fe)),$e=Ye?{}:{onClick:Q?this.onClick:function(){},onKeyDown:Q?this.onKeyDown:function(){},onMouseEnter:te,onMouseLeave:be,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return n.a.createElement(Ne,T({},$e,{className:Re,role:"button",style:nt}),n.a.createElement("input",T({},B(Ie),{id:Pe,type:"file",ref:this.saveFileInput,onClick:function(Wt){return Wt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Ot,directory:he?"directory":null,webkitdirectory:he?"webkitdirectory":null,multiple:At,onChange:this.onChange})),ne)}}]),Ae}(i.Component),W=H,R=Object.assign||function(Bt){for(var Ae=1;Ae<arguments.length;Ae++){var ve=arguments[Ae];for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&(Bt[fe]=ve[fe])}return Bt},U=function(){function Bt(Ae,ve){for(var fe=0;fe<ve.length;fe++){var ue=ve[fe];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(Ae,ue.key,ue)}}return function(Ae,ve,fe){return ve&&Bt(Ae.prototype,ve),fe&&Bt(Ae,fe),Ae}}();function j(Bt,Ae){if(!(Bt instanceof Ae))throw new TypeError("Cannot call a class as a function")}function P(Bt,Ae){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ae&&(typeof Ae=="object"||typeof Ae=="function")?Ae:Bt}function K(Bt,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ae);Bt.prototype=Object.create(Ae&&Ae.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),Ae&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,Ae):Bt.__proto__=Ae)}function V(){}var z=function(Bt){K(Ae,Bt);function Ae(){var ve,fe,ue,Ne;j(this,Ae);for(var je=arguments.length,Ke=Array(je),Ye=0;Ye<je;Ye++)Ke[Ye]=arguments[Ye];return Ne=(fe=(ue=P(this,(ve=Ae.__proto__||Object.getPrototypeOf(Ae)).call.apply(ve,[this].concat(Ke))),ue),ue.saveUploader=function(Pe){ue.uploader=Pe},fe),P(ue,Ne)}return U(Ae,[{key:"abort",value:function(fe){this.uploader.abort(fe)}},{key:"render",value:function(){return n.a.createElement(W,R({},this.props,{ref:this.saveUploader}))}}]),Ae}(i.Component);z.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:V,onError:V,onSuccess:V,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var X=z,G=X,le=function(Bt,Ae){var ve={};for(var fe in Bt)Object.prototype.hasOwnProperty.call(Bt,fe)&&Ae.indexOf(fe)<0&&(ve[fe]=Bt[fe]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,fe=Object.getOwnPropertySymbols(Bt);ue<fe.length;ue++)Ae.indexOf(fe[ue])<0&&Object.prototype.propertyIsEnumerable.call(Bt,fe[ue])&&(ve[fe[ue]]=Bt[fe[ue]]);return ve},Y=function(Ae,ve){var fe=Ae.style,ue=Ae.height,Ne=le(Ae,["style","height"]);return i.createElement(It,h()({ref:ve},Ne,{type:"drag",style:h()(h()({},fe),{height:ue})}))},me=i.forwardRef(Y);me.displayName="Dragger";var we=me,pe=e("UmKh"),Fe=e("gZBC"),Xe=e.n(Fe),dt=e("+d4F"),Ee=e.n(dt),Se=e("XAae"),at=e.n(Se),_e=e("6xvX"),ce=e.n(_e),ee=e("qPY4"),se=e.n(ee),ke=e("QB+1"),Ce=e.n(ke),ze=e("Qs3X"),Oe=e.n(ze),ae=e("0n0R");function ge(){return!0}function Le(Bt){return h()(h()({},Bt),{lastModified:Bt.lastModified,lastModifiedDate:Bt.lastModifiedDate,name:Bt.name,size:Bt.size,type:Bt.type,uid:Bt.uid,percent:0,originFileObj:Bt})}function Ze(Bt,Ae){var ve=Bt.uid!==void 0?"uid":"name";return Ae.filter(function(fe){return fe[ve]===Bt[ve]})[0]}function vt(Bt,Ae){var ve=Bt.uid!==void 0?"uid":"name",fe=Ae.filter(function(ue){return ue[ve]!==Bt[ve]});return fe.length===Ae.length?null:fe}var Ct=function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ve=Ae.split("/"),fe=ve[ve.length-1],ue=fe.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ue)||[""])[0]},Be=function(Ae){return Ae.indexOf("image/")===0},Rt=function(Ae){if(Ae.type&&!Ae.thumbUrl)return Be(Ae.type);var ve=Ae.thumbUrl||Ae.url,fe=Ct(ve);return/^data:image\//.test(ve)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(fe)?!0:/^data:/.test(ve)?!1:!fe},He=200;function wt(Bt){return new Promise(function(Ae){if(!Bt.type||!Be(Bt.type)){Ae("");return}var ve=document.createElement("canvas");ve.width=He,ve.height=He,ve.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(He,"px; height: ").concat(He,"px; z-index: 9999; display: none;"),document.body.appendChild(ve);var fe=ve.getContext("2d"),ue=new Image;ue.onload=function(){var Ne=ue.width,je=ue.height,Ke=He,Ye=He,Pe=0,nt=0;Ne<je?(Ye=je*(He/Ne),nt=-(Ye-Ke)/2):(Ke=Ne*(He/je),Pe=-(Ke-Ye)/2),fe.drawImage(ue,Pe,nt,Ke,Ye);var At=ve.toDataURL();document.body.removeChild(ve),Ae(At)},ue.src=window.URL.createObjectURL(Bt)})}var Ge=e("3S7+"),et=e("CFYs"),rt=e("H84U"),lt=e("2/Rp"),Ve=e("hkKa"),ie=function(Ae,ve){var fe,ue=Ae.listType,Ne=Ae.previewFile,je=Ae.onPreview,Ke=Ae.onDownload,Ye=Ae.onRemove,Pe=Ae.locale,nt=Ae.iconRender,At=Ae.isImageUrl,Ot=Ae.prefixCls,ne=Ae.items,he=ne===void 0?[]:ne,Q=Ae.showPreviewIcon,te=Ae.showRemoveIcon,be=Ae.showDownloadIcon,Ie=Ae.removeIcon,Re=Ae.downloadIcon,$e=Ae.progress,gt=Object(Ve.a)();i.useEffect(function(){if(ue!=="picture"&&ue!=="picture-card")return;(he||[]).forEach(function(pt){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(pt.originFileObj instanceof File||pt.originFileObj instanceof Blob)||pt.thumbUrl!==void 0)return;pt.thumbUrl="",Ne&&Ne(pt.originFileObj).then(function(_t){pt.thumbUrl=_t||"",gt()})})},[ue,he,Ne]);var Wt=function(_t,Tt){return je?(Tt.preventDefault(),je(_t)):void 0},$t=function(_t){typeof Ke=="function"?Ke(_t):_t.url&&window.open(_t.url)},Dt=function(_t){Ye&&Ye(_t)},Kt=function(_t){if(nt)return nt(_t,ue);var Tt=_t.status==="uploading",ft=At&&At(_t)?i.createElement(at.a,null):i.createElement(ce.a,null),Ht=Tt?i.createElement(Xe.a,null):i.createElement(Ee.a,null);return ue==="picture"?Ht=Tt?i.createElement(Xe.a,null):ft:ue==="picture-card"&&(Ht=Tt?Pe.uploading:ft),Ht},Gt=function(_t,Tt,ft,Ht){var kt={type:"text",size:"small",title:Ht,onClick:function(mr){Tt(),Object(ae.b)(_t)&&_t.props.onClick&&_t.props.onClick(mr)},className:"".concat(ft,"-list-item-card-actions-btn")};if(Object(ae.b)(_t)){var ir=Object(ae.a)(_t,h()(h()({},_t.props),{onClick:function(){}}));return i.createElement(lt.a,h()({},kt,{icon:ir}))}return i.createElement(lt.a,kt,i.createElement("span",null,_t))};i.useImperativeHandle(ve,function(){return{handlePreview:Wt,handleDownload:$t}});var Qt=i.useContext(rt.b),Mt=Qt.getPrefixCls,dr=Qt.direction,er=Mt("upload",Ot),st=he.map(function(pt){var _t,Tt,ft,Ht=Kt(pt),kt=i.createElement("div",{className:"".concat(er,"-text-icon")},Ht);if(ue==="picture"||ue==="picture-card")if(pt.status==="uploading"||!pt.thumbUrl&&!pt.url){var ir,Xt=u()((ir={},f()(ir,"".concat(er,"-list-item-thumbnail"),!0),f()(ir,"".concat(er,"-list-item-file"),pt.status!=="uploading"),ir));kt=i.createElement("div",{className:Xt},Ht)}else{var mr,Ar=At&&At(pt)?i.createElement("img",{src:pt.thumbUrl||pt.url,alt:pt.name,className:"".concat(er,"-list-item-image")}):Ht,Nr=u()((mr={},f()(mr,"".concat(er,"-list-item-thumbnail"),!0),f()(mr,"".concat(er,"-list-item-file"),At&&!At(pt)),mr));kt=i.createElement("a",{className:Nr,onClick:function(gn){return Wt(pt,gn)},href:pt.url||pt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ar)}if(pt.status==="uploading"){var kr="percent"in pt?i.createElement(et.a,h()({},$e,{type:"line",percent:pt.percent})):null;ft=i.createElement("div",{className:"".concat(er,"-list-item-progress"),key:"progress"},kr)}var tn=u()((_t={},f()(_t,"".concat(er,"-list-item"),!0),f()(_t,"".concat(er,"-list-item-").concat(pt.status),!0),f()(_t,"".concat(er,"-list-item-list-type-").concat(ue),!0),_t)),qr=typeof pt.linkProps=="string"?JSON.parse(pt.linkProps):pt.linkProps,Lr=te?Gt(Ie||i.createElement(Ce.a,null),function(){return Dt(pt)},er,Pe.removeFile):null,Qr=be&&pt.status==="done"?Gt(Re||i.createElement(Oe.a,null),function(){return $t(pt)},er,Pe.downloadFile):null,Ir=ue!=="picture-card"&&i.createElement("span",{key:"download-delete",className:"".concat(er,"-list-item-card-actions ").concat(ue==="picture"?"picture":"")},Qr,Lr),ur=u()((Tt={},f()(Tt,"".concat(er,"-list-item-name"),!0),f()(Tt,"".concat(er,"-list-item-name-icon-count-").concat([Qr,Lr].filter(function(Tn){return Tn}).length),!0),Tt)),pr=pt.url?[i.createElement("a",h()({key:"view",target:"_blank",rel:"noopener noreferrer",className:ur,title:pt.name},qr,{href:pt.url,onClick:function(gn){return Wt(pt,gn)}}),pt.name),Ir]:[i.createElement("span",{key:"view",className:ur,onClick:function(gn){return Wt(pt,gn)},title:pt.name},pt.name),Ir],cr={pointerEvents:"none",opacity:.5},fr=Q?i.createElement("a",{href:pt.url||pt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:pt.url||pt.thumbUrl?void 0:cr,onClick:function(gn){return Wt(pt,gn)},title:Pe.previewFile},i.createElement(se.a,null)):null,xr=ue==="picture-card"&&pt.status!=="uploading"&&i.createElement("span",{className:"".concat(er,"-list-item-actions")},fr,pt.status==="done"&&Qr,Lr),Yr;pt.response&&typeof pt.response=="string"?Yr=pt.response:Yr=pt.error&&pt.error.statusText||Pe.uploadError;var un=i.createElement("span",null,kt,pr),Nn=i.createElement("div",{className:tn},i.createElement("div",{className:"".concat(er,"-list-item-info")},un),xr,i.createElement(pe.a,{transitionName:"fade",component:""},ft)),jr=u()(f()({},"".concat(er,"-list-picture-card-container"),ue==="picture-card"));return i.createElement("div",{key:pt.uid,className:jr},pt.status==="error"?i.createElement(Ge.a,{title:Yr,getPopupContainer:function(gn){return gn.parentNode}},Nn):i.createElement("span",null,Nn))}),xt=u()((fe={},f()(fe,"".concat(er,"-list"),!0),f()(fe,"".concat(er,"-list-").concat(ue),!0),f()(fe,"".concat(er,"-list-rtl"),dr==="rtl"),fe)),ut=ue==="picture-card"?"animate-inline":"animate";return i.createElement(pe.a,{transitionName:"".concat(er,"-").concat(ut),component:"div",className:xt},st)},$=i.forwardRef(ie);$.displayName="UploadList",$.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:wt,isImageUrl:Rt};var it=$,Qe=e("YMnH"),ye=e("ZvpZ"),Zt=e("uaoM"),ht=e("sPtV"),ct=function(Ae,ve){var fe,ue=Ae.fileList,Ne=Ae.defaultFileList,je=Ae.onRemove,Ke=Ae.showUploadList,Ye=Ae.listType,Pe=Ae.onPreview,nt=Ae.onDownload,At=Ae.previewFile,Ot=Ae.disabled,ne=Ae.locale,he=Ae.iconRender,Q=Ae.isImageUrl,te=Ae.progress,be=Ae.prefixCls,Ie=Ae.className,Re=Ae.type,$e=Ae.children,gt=Ae.style,Wt=Object(ht.a)(ue||Ne||[]),$t=o()(Wt,2),Dt=$t[0],Kt=$t[1],Gt=i.useState("drop"),Qt=o()(Gt,2),Mt=Qt[0],dr=Qt[1],er=i.useRef();i.useEffect(function(){Kt(ue||Ne||[]),Object(Zt.a)("fileList"in Ae||!("value"in Ae),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),i.useEffect(function(){"fileList"in Ae&&Kt(ue||[])},[ue]);var st=function(pr){"fileList"in Ae||Kt(pr.fileList);var cr=Ae.onChange;cr&&cr(h()(h()({},pr),{fileList:m()(pr.fileList)}))},xt=function(pr){var cr=Le(pr);cr.status="uploading";var fr=Dt().concat(),xr=fr.findIndex(function(Yr){var un=Yr.uid;return un===cr.uid});xr===-1?fr.push(cr):fr[xr]=cr,st({file:cr,fileList:fr})},ut=function(pr,cr,fr){try{typeof pr=="string"&&(pr=JSON.parse(pr))}catch(Yr){}var xr=Ze(cr,Dt());if(!xr)return;xr.status="done",xr.response=pr,xr.xhr=fr,st({file:h()({},xr),fileList:Dt().concat()})},pt=function(pr,cr){var fr=Ze(cr,Dt());if(!fr)return;fr.percent=pr.percent,st({event:pr,file:h()({},fr),fileList:Dt().concat()})},_t=function(pr,cr,fr){var xr=Ze(fr,Dt());if(!xr)return;xr.error=pr,xr.response=cr,xr.status="error",st({file:h()({},xr),fileList:Dt().concat()})},Tt=function(pr){Promise.resolve(typeof je=="function"?je(pr):je).then(function(cr){if(cr===!1)return;var fr=vt(pr,Dt());fr&&(pr.status="removed",er.current&&er.current.abort(pr),st({file:pr,fileList:fr}))})},ft=function(pr){dr(pr.type)},Ht=function(pr,cr){var fr=Ae.beforeUpload;if(!fr)return!0;var xr=fr(pr,cr);if(xr===!1){var Yr=[];return Dt().concat(cr.map(Le)).forEach(function(un){Yr.every(function(Nn){return Nn.uid!==un.uid})&&Yr.push(un)}),st({file:pr,fileList:Yr}),!1}return xr&&xr.then?xr:!0},kt=Object(Ve.a)();i.useImperativeHandle(ve,function(){return{onStart:xt,onSuccess:ut,onProgress:pt,onError:_t,fileList:Dt(),upload:er.current,forceUpdate:kt}});var ir=function(pr){var cr=Ke.showRemoveIcon,fr=Ke.showPreviewIcon,xr=Ke.showDownloadIcon,Yr=Ke.removeIcon,un=Ke.downloadIcon;return i.createElement(it,{listType:Ye,items:Dt(),previewFile:At,onPreview:Pe,onDownload:nt,onRemove:Tt,showRemoveIcon:!Ot&&cr,showPreviewIcon:fr,showDownloadIcon:xr,removeIcon:Yr,downloadIcon:un,iconRender:he,locale:h()(h()({},pr),ne),isImageUrl:Q,progress:te})},Xt=i.useContext(rt.b),mr=Xt.getPrefixCls,Ar=Xt.direction,Nr=mr("upload",be),kr=h()(h()({onStart:xt,onError:_t,onProgress:pt,onSuccess:ut},Ae),{prefixCls:Nr,beforeUpload:Ht});delete kr.className,delete kr.style,(!$e||Ot)&&delete kr.id;var tn=Ke?i.createElement(Qe.a,{componentName:"Upload",defaultLocale:ye.a.Upload},ir):null;if(Re==="drag"){var qr,Lr=u()(Nr,(qr={},f()(qr,"".concat(Nr,"-drag"),!0),f()(qr,"".concat(Nr,"-drag-uploading"),Dt().some(function(ur){return ur.status==="uploading"})),f()(qr,"".concat(Nr,"-drag-hover"),Mt==="dragover"),f()(qr,"".concat(Nr,"-disabled"),Ot),f()(qr,"".concat(Nr,"-rtl"),Ar==="rtl"),qr),Ie);return i.createElement("span",null,i.createElement("div",{className:Lr,onDrop:ft,onDragOver:ft,onDragLeave:ft,style:gt},i.createElement(G,h()({},kr,{ref:er,className:"".concat(Nr,"-btn")}),i.createElement("div",{className:"".concat(Nr,"-drag-container")},$e))),tn)}var Qr=u()(Nr,(fe={},f()(fe,"".concat(Nr,"-select"),!0),f()(fe,"".concat(Nr,"-select-").concat(Ye),!0),f()(fe,"".concat(Nr,"-disabled"),Ot),f()(fe,"".concat(Nr,"-rtl"),Ar==="rtl"),fe)),Ir=i.createElement("div",{className:Qr,style:$e?void 0:{display:"none"}},i.createElement(G,h()({},kr,{ref:er})));return Ye==="picture-card"?i.createElement("span",{className:u()(Ie,"".concat(Nr,"-picture-card-wrapper"))},tn,Ir):i.createElement("span",{className:Ie},Ir,tn)},yt=i.forwardRef(ct);yt.Dragger=we,yt.displayName="Upload",yt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:ge,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var It=yt;It.Dragger=we;var or=_.a=It},"98bh":function(D,_,e){var g=e("ProS"),f=e("5GtS"),A=e("bYtY"),m=e("4NO4"),v=e("OELB"),h=v.getPercentWithPrecision,c=e("cCMj"),o=e("KxfA"),i=o.retrieveRawAttr,n=e("D5nY"),a=n.makeSeriesEncodeForNameBased,u=e("xKMd"),r=g.extendSeriesModel({type:"series.pie",init:function(t){r.superApply(this,"init",arguments),this.legendVisualProvider=new u(A.bind(this.getData,this),A.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){r.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,s){return f(this,{coordDimensions:["value"],encodeDefaulter:A.curry(a,this)})},_createSelectableList:function(){for(var t=this.getRawData(),s=t.mapDimension("value"),d=[],p=0,b=t.count();p<b;p++)d.push({name:t.getName(p),value:t.get(s,p),selected:i(t,p,"selected")});return d},getDataParams:function(t){var s=this.getData(),d=r.superCall(this,"getDataParams",t),p=[];return s.each(s.mapDimension("value"),function(b){p.push(b)}),d.percent=h(p,t,s.hostModel.get("percentPrecision")),d.$vars.push("percent"),d},_defaultLabelLine:function(t){m.defaultEmphasis(t,"labelLine",["show"]);var s=t.labelLine,d=t.emphasis.labelLine;s.show=s.show&&t.label.show,d.show=d.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});A.mixin(r,c);var l=r;D.exports=l},"9H2F":function(D,_,e){var g=e("bYtY"),f=g.assert,A=g.isArray,m=e("Tghj"),v=m.__DEV__;function h(u){return new c(u)}function c(u){u=u||{},this._reset=u.reset,this._plan=u.plan,this._count=u.count,this._onDirty=u.onDirty,this._dirty=!0,this.context}var o=c.prototype;o.perform=function(u){var r=this._upstream,l=u&&u.skip;if(this._dirty&&r){var t=this.context;t.data=t.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!l&&(s=this._plan(this.context));var d=E(this._modBy),p=this._modDataCount||0,b=E(u&&u.modBy),w=u&&u.modDataCount||0;(d!==b||p!==w)&&(s="reset");function E(N){return!(N>=1)&&(N=1),N}var S;(this._dirty||s==="reset")&&(this._dirty=!1,S=a(this,l)),this._modBy=b,this._modDataCount=w;var x=u&&u.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var T=this._dueIndex,L=Math.min(x!=null?this._dueIndex+x:Infinity,this._dueEnd);if(!l&&(S||T<L)){var y=this._progress;if(A(y))for(var C=0;C<y.length;C++)n(this,y[C],T,L,b,w);else n(this,y,T,L,b,w)}this._dueIndex=L;var O=this._settedOutputEnd!=null?this._settedOutputEnd:L;this._outputDueEnd=O}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var i=function(){var u,r,l,t,s,d={reset:function(w,E,S,x){r=w,u=E,l=S,t=x,s=Math.ceil(t/l),d.next=l>1&&t>0?b:p}};return d;function p(){return r<u?r++:null}function b(){var w=r%s*l+Math.ceil(r/s),E=r>=u?null:w<t?w:r;return r++,E}}();o.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function n(u,r,l,t,s,d){i.reset(l,t,s,d),u._callingProgress=r,u._callingProgress({start:l,end:t,count:t-l,next:i.next},u.context)}function a(u,r){u._dueIndex=u._outputDueEnd=u._dueEnd=0,u._settedOutputEnd=null;var l,t;!r&&u._reset&&(l=u._reset(u.context),l&&l.progress&&(t=l.forceFirstProgress,l=l.progress),A(l)&&!l.length&&(l=null)),u._progress=l,u._modBy=u._modDataCount=null;var s=u._downstream;return s&&s.dirty(),t}o.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},o.pipe=function(u){(this._downstream!==u||this._dirty)&&(this._downstream=u,u._upstream=this,u.dirty())},o.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},o.getUpstream=function(){return this._upstream},o.getDownstream=function(){return this._downstream},o.setOutputEnd=function(u){this._outputDueEnd=this._settedOutputEnd=u},_.createTask=h},"9KIM":function(D,_,e){var g=e("mFDi"),f=e("xSat"),A=f.onIrrelevantElement,m=e("IwbS");function v(i){return i=o(i),function(n,a){return m.clipPointsByRect(n,i)}}function h(i,n){return i=o(i),function(a){var u=n!=null?n:a,r=u?i.width:i.height,l=u?i.x:i.y;return[l,l+(r||0)]}}function c(i,n,a){return i=o(i),function(u,r,l){return i.contain(r[0],r[1])&&!A(u,n,a)}}function o(i){return g.create(i)}_.makeRectPanelClipPath=v,_.makeLinearBrushOtherExtent=h,_.makeRectIsTargetByCursor=c},"9ama":function(D,_,e){},"9eas":function(D,_,e){e("HM/N"),e("tBnm")},"9hCq":function(D,_,e){var g=e("IwbS"),f=e("+TT/"),A=e("bYtY"),m=e("VaxA"),v=m.wrapTreePathInfo,h=8,c=8,o=5;function i(r){this.group=new g.Group,r.add(this.group)}i.prototype={constructor:i,render:function(r,l,t,s){var d=r.getModel("breadcrumb"),p=this.group;if(p.removeAll(),!d.get("show")||!t)return;var b=d.getModel("itemStyle"),w=b.getModel("textStyle"),E={pos:{left:d.get("left"),right:d.get("right"),top:d.get("top"),bottom:d.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:d.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,E,w),this._renderContent(r,E,b,w,s),f.positionElement(p,E.pos,E.box)},_prepare:function(r,l,t){for(var s=r;s;s=s.parentNode){var d=s.getModel().get("name"),p=t.getTextRect(d),b=Math.max(p.width+h*2,l.emptyItemWidth);l.totalWidth+=b+c,l.renderList.push({node:s,text:d,width:b})}},_renderContent:function(r,l,t,s,d){for(var p=0,b=l.emptyItemWidth,w=r.get("breadcrumb.height"),E=f.getAvailableSize(l.pos,l.box),S=l.totalWidth,x=l.renderList,T=x.length-1;T>=0;T--){var L=x[T],y=L.node,C=L.width,O=L.text;S>E.width&&(S-=C-b,C=b,O=null);var N=new g.Polygon({shape:{points:n(p,0,C,w,T===x.length-1,T===0)},style:A.defaults(t.getItemStyle(),{lineJoin:"bevel",text:O,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:A.curry(d,y)});this.group.add(N),a(N,r,y),p+=C+c}},remove:function(){this.group.removeAll()}};function n(r,l,t,s,d,p){var b=[[d?r:r-o,l],[r+t,l],[r+t,l+s],[d?r:r-o,l+s]];return!p&&b.splice(2,0,[r+t+o,l+s/2]),!d&&b.push([r,l+s/2]),b}function a(r,l,t){r.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&v(t,l)}}var u=i;D.exports=u},"9u0u":function(D,_,e){var g=e("bYtY");function f(m,v){var h={};return g.each(m,function(c){c.each(c.mapDimension("value"),function(o,i){var n="ec-"+c.getName(i);h[n]=h[n]||[],isNaN(o)||h[n].push(o)})}),m[0].map(m[0].mapDimension("value"),function(c,o){for(var i="ec-"+m[0].getName(o),n=0,a=Infinity,u=-Infinity,r=h[i].length,l=0;l<r;l++)a=Math.min(a,h[i][l]),u=Math.max(u,h[i][l]),n+=h[i][l];var t;return v==="min"?t=a:v==="max"?t=u:v==="average"?t=n/r:t=n,r===0?NaN:t})}function A(m){var v={};m.eachSeriesByType("map",function(h){var c=h.getHostGeoModel(),o=c?"o"+c.id:"i"+h.getMapType();(v[o]=v[o]||[]).push(h)}),g.each(v,function(h,c){for(var o=f(g.map(h,function(n){return n.getData()}),h[0].get("mapValueCalculation")),i=0;i<h.length;i++)h[i].originalData=h[i].getData();for(var i=0;i<h.length;i++)h[i].seriesGroup=h,h[i].needsDrawMap=i===0&&!h[i].getHostGeoModel(),h[i].setData(o.cloneShallow()),h[i].mainSeries=h[0]})}D.exports=A},"9wZj":function(D,_,e){var g=e("IwbS"),f=e("FBjb"),A=e("bYtY"),m=A.isObject;function v(a){this.group=new g.Group,this._symbolCtor=a||f}var h=v.prototype;function c(a,u,r,l){return u&&!isNaN(u[0])&&!isNaN(u[1])&&!(l.isIgnore&&l.isIgnore(r))&&!(l.clipShape&&!l.clipShape.contain(u[0],u[1]))&&a.getItemVisual(r,"symbol")!=="none"}h.updateData=function(a,u){u=o(u);var r=this.group,l=a.hostModel,t=this._data,s=this._symbolCtor,d=i(a);t||r.removeAll(),a.diff(t).add(function(p){var b=a.getItemLayout(p);if(c(a,b,p,u)){var w=new s(a,p,d);w.attr("position",b),a.setItemGraphicEl(p,w),r.add(w)}}).update(function(p,b){var w=t.getItemGraphicEl(b),E=a.getItemLayout(p);if(!c(a,E,p,u)){r.remove(w);return}w?(w.updateData(a,p,d),g.updateProps(w,{position:E},l)):(w=new s(a,p),w.attr("position",E)),r.add(w),a.setItemGraphicEl(p,w)}).remove(function(p){var b=t.getItemGraphicEl(p);b&&b.fadeOut(function(){r.remove(b)})}).execute(),this._data=a},h.isPersistent=function(){return!0},h.updateLayout=function(){var a=this._data;a&&a.eachItemGraphicEl(function(u,r){var l=a.getItemLayout(r);u.attr("position",l)})},h.incrementalPrepareUpdate=function(a){this._seriesScope=i(a),this._data=null,this.group.removeAll()},h.incrementalUpdate=function(a,u,r){r=o(r);function l(p){p.isGroup||(p.incremental=p.useHoverLayer=!0)}for(var t=a.start;t<a.end;t++){var s=u.getItemLayout(t);if(c(u,s,t,r)){var d=new this._symbolCtor(u,t,this._seriesScope);d.traverse(l),d.attr("position",s),this.group.add(d),u.setItemGraphicEl(t,d)}}};function o(a){return a!=null&&!m(a)&&(a={isIgnore:a}),a||{}}h.remove=function(a){var u=this.group,r=this._data;r&&a?r.eachItemGraphicEl(function(l){l.fadeOut(function(){u.remove(l)})}):u.removeAll()};function i(a){var u=a.hostModel;return{itemStyle:u.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:u.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:u.get("symbolRotate"),symbolOffset:u.get("symbolOffset"),hoverAnimation:u.get("hoverAnimation"),labelModel:u.getModel("label"),hoverLabelModel:u.getModel("emphasis.label"),cursorStyle:u.get("cursor")}}var n=v;D.exports=n},"9yH6":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("q1tI"),h=e("+6Fa"),c=e("TSYQ"),o=e.n(c),i=e("H84U"),n=v.createContext(null),a=n.Provider,u=n,r=e("cDf5"),l=e.n(r);function t(H,W){typeof H=="function"?H(W):l()(H)==="object"&&H&&"current"in H&&(H.current=W)}function s(){for(var H=arguments.length,W=new Array(H),R=0;R<H;R++)W[R]=arguments[R];return function(U){W.forEach(function(j){t(j,U)})}}var d=e("uaoM"),p=function(H,W){var R={};for(var U in H)Object.prototype.hasOwnProperty.call(H,U)&&W.indexOf(U)<0&&(R[U]=H[U]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(H);j<U.length;j++)W.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(H,U[j])&&(R[U[j]]=H[U[j]]);return R},b=function(W,R){var U,j=v.useContext(u),P=v.useContext(i.b),K=P.getPrefixCls,V=P.direction,z=v.useRef(),X=s(R,z);v.useEffect(function(){Object(d.a)(!("optionType"in W),"Radio","`optionType` is only support in Radio.Group.")},[]);var G=function(Se){W.onChange&&W.onChange(Se),(j==null?void 0:j.onChange)&&j.onChange(Se)},le=W.prefixCls,Y=W.className,me=W.children,we=W.style,pe=p(W,["prefixCls","className","children","style"]),Fe=K("radio",le),Xe=m()({},pe);j&&(Xe.name=j.name,Xe.onChange=G,Xe.checked=W.value===j.value,Xe.disabled=W.disabled||j.disabled);var dt=o()(Y,(U={},f()(U,"".concat(Fe,"-wrapper"),!0),f()(U,"".concat(Fe,"-wrapper-checked"),Xe.checked),f()(U,"".concat(Fe,"-wrapper-disabled"),Xe.disabled),f()(U,"".concat(Fe,"-wrapper-rtl"),V==="rtl"),U));return v.createElement("label",{className:dt,style:we,onMouseEnter:W.onMouseEnter,onMouseLeave:W.onMouseLeave},v.createElement(h.a,m()({},Xe,{prefixCls:Fe,ref:X})),me!==void 0?v.createElement("span",null,me):null)},w=v.forwardRef(b);w.displayName="Radio",w.defaultProps={type:"radio"};var E=w,S=e("J4zp"),x=e.n(S),T=e("6cGi"),L=e("3Nzz"),y=v.forwardRef(function(H,W){var R=v.useContext(i.b),U=R.getPrefixCls,j=R.direction,P=v.useContext(L.b),K=Object(T.a)(H.defaultValue,{value:H.value}),V=x()(K,2),z=V[0],X=V[1],G=function(me){var we=z,pe=me.target.value;"value"in H||X(pe);var Fe=H.onChange;Fe&&pe!==we&&Fe(me)},le=function(){var me,we=H.prefixCls,pe=H.className,Fe=pe===void 0?"":pe,Xe=H.options,dt=H.optionType,Ee=H.buttonStyle,Se=H.disabled,at=H.children,_e=H.size,ce=H.style,ee=H.id,se=H.onMouseEnter,ke=H.onMouseLeave,Ce=U("radio",we),ze="".concat(Ce,"-group"),Oe=at;if(Xe&&Xe.length>0){var ae=dt==="button"?"".concat(Ce,"-button"):Ce;Oe=Xe.map(function(Ze){return typeof Ze=="string"?v.createElement(E,{ref:W,key:Ze,prefixCls:ae,disabled:Se,value:Ze,checked:z===Ze},Ze):v.createElement(E,{ref:W,key:"radio-group-value-options-".concat(Ze.value),prefixCls:ae,disabled:Ze.disabled||Se,value:Ze.value,checked:z===Ze.value,style:Ze.style},Ze.label)})}var ge=_e||P,Le=o()(ze,"".concat(ze,"-").concat(Ee),(me={},f()(me,"".concat(ze,"-").concat(ge),ge),f()(me,"".concat(ze,"-rtl"),j==="rtl"),me),Fe);return v.createElement("div",{className:Le,style:ce,onMouseEnter:se,onMouseLeave:ke,id:ee},Oe)};return v.createElement(a,{value:{onChange:G,value:z,disabled:H.disabled,name:H.name}},le())});y.defaultProps={buttonStyle:"outline"};var C=v.memo(y),O=function(H,W){var R={};for(var U in H)Object.prototype.hasOwnProperty.call(H,U)&&W.indexOf(U)<0&&(R[U]=H[U]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(H);j<U.length;j++)W.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(H,U[j])&&(R[U[j]]=H[U[j]]);return R},N=function(W,R){var U=v.useContext(u),j=v.useContext(i.b),P=j.getPrefixCls,K=W.prefixCls,V=O(W,["prefixCls"]),z=P("radio-button",K);return U&&(V.checked=W.value===U.value,V.disabled=W.disabled||U.disabled),v.createElement(E,m()({prefixCls:z},V,{type:"radio",ref:R}))},k=v.forwardRef(N),F=E;F.Button=k,F.Group=C;var B=_.a=F},A1Ka:function(D,_,e){var g=e("bLfw"),f=e("sS/r"),A=e("D5nY"),m=A.detectSourceFormat,v=e("k9D9"),h=v.SERIES_LAYOUT_BY_COLUMN;g.extend({type:"dataset",defaultOption:{seriesLayoutBy:h,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),f.extend({type:"dataset"})},A90E:function(D,_,e){var g=e("6sVZ"),f=e("V6Ve"),A=Object.prototype,m=A.hasOwnProperty;function v(h){if(!g(h))return f(h);var c=[];for(var o in Object(h))m.call(h,o)&&o!="constructor"&&c.push(o);return c}D.exports=v},ABKa:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("Qs9O")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="FolderOutlined";var c=A.forwardRef(h);_.default=c},ACnJ:function(D,_,e){"use strict";e.d(_,"b",function(){return v});var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=["xxl","xl","lg","md","sm","xs"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,o=-1,i={},n={matchHandlers:{},dispatch:function(u){return i=u,c.forEach(function(r){return r(i)}),c.size>=1},subscribe:function(u){return c.size||this.register(),o+=1,c.set(o,u),u(i),o},unsubscribe:function(u){c.delete(u),c.size||this.unregister()},unregister:function(){var u=this;Object.keys(h).forEach(function(r){var l=h[r],t=u.matchHandlers[l];t==null||t.mql.removeListener(t==null?void 0:t.listener)}),c.clear()},register:function(){var u=this;Object.keys(h).forEach(function(r){var l=h[r],t=function(p){var b=p.matches;u.dispatch(m()(m()({},i),f()({},r,b)))},s=window.matchMedia(l);s.addListener(t),u.matchHandlers[l]={mql:s,listener:t},t(s)})}};_.a=n},AE9C:function(D,_,e){var g=e("bYtY"),f=e("crZl"),A=e("IwbS"),m=e("oVpE"),v=m.createSymbol,h=e("+TT/"),c=e("y7Aq"),o=f.extend({type:"visualMap.piecewise",doRender:function(){var n=this.group;n.removeAll();var a=this.visualMapModel,u=a.get("textGap"),r=a.textStyleModel,l=r.getFont(),t=r.getTextColor(),s=this._getItemAlign(),d=a.itemSize,p=this._getViewData(),b=p.endsText,w=g.retrieve(a.get("showLabel",!0),!b);b&&this._renderEndsText(n,b[0],d,w,s),g.each(p.viewPieceList,E,this),b&&this._renderEndsText(n,b[1],d,w,s),h.box(a.get("orient"),n,a.get("itemGap")),this.renderBackground(n),this.positionGroup(n);function E(S){var x=S.piece,T=new A.Group;T.onclick=g.bind(this._onItemClick,this,x),this._enableHoverLink(T,S.indexInModelPieceList);var L=a.getRepresentValue(x);if(this._createItemSymbol(T,L,[0,0,d[0],d[1]]),w){var y=this.visualMapModel.getValueState(L);T.add(new A.Text({style:{x:s==="right"?-u:d[0]+u,y:d[1]/2,text:x.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:t,opacity:y==="outOfRange"?.5:1}}))}n.add(T)}},_enableHoverLink:function(n,a){n.on("mouseover",g.bind(u,this,"highlight")).on("mouseout",g.bind(u,this,"downplay"));function u(r){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:r,batch:c.makeHighDownBatch(l.findTargetDataIndices(a),l)})}},_getItemAlign:function(){var n=this.visualMapModel,a=n.option;if(a.orient==="vertical")return c.getItemAlign(n,this.api,n.itemSize);var u=a.align;return(!u||u==="auto")&&(u="left"),u},_renderEndsText:function(n,a,u,r,l){if(!a)return;var t=new A.Group,s=this.visualMapModel.textStyleModel;t.add(new A.Text({style:{x:r?l==="right"?u[0]:0:u[0]/2,y:u[1]/2,textVerticalAlign:"middle",textAlign:r?l:"center",text:a,textFont:s.getFont(),textFill:s.getTextColor()}})),n.add(t)},_getViewData:function(){var n=this.visualMapModel,a=g.map(n.getPieceList(),function(t,s){return{piece:t,indexInModelPieceList:s}}),u=n.get("text"),r=n.get("orient"),l=n.get("inverse");return(r==="horizontal"?l:!l)?a.reverse():u&&(u=u.slice().reverse()),{viewPieceList:a,endsText:u}},_createItemSymbol:function(n,a,u){n.add(v(this.getControllerVisual(a,"symbol"),u[0],u[1],u[2],u[3],this.getControllerVisual(a,"color")))},_onItemClick:function(n){var a=this.visualMapModel,u=a.option,r=g.clone(u.selected),l=a.getSelectedMapKey(n);u.selectedMode==="single"?(r[l]=!0,g.each(r,function(t,s){r[s]=s===l})):r[l]=!r[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),i=o;D.exports=i},AEZ6:function(D,_,e){var g=e("bYtY"),f=g.each,A=g.createHashMap,m=e("T4UG"),v=e("MwEJ"),h=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(i,n){var a=this.getSource();return c(a,this),v(a,this)},getRawIndicesByActiveState:function(i){var n=this.coordinateSystem,a=this.getData(),u=[];return n.eachActiveState(a,function(r,l){i===r&&u.push(a.getRawIndex(l))}),u},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function c(i,n){if(i.encodeDefine)return;var a=n.ecModel.getComponent("parallel",n.get("parallelIndex"));if(!a)return;var u=i.encodeDefine=A();f(a.dimensions,function(r){var l=o(r);u.set(r,l)})}function o(i){return+i.replace("dim","")}D.exports=h},AH3D:function(D,_,e){var g=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),g.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),g.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("5GtS"),m=e("4NO4"),v=m.defaultEmphasis,h=e("D5nY"),c=h.makeSeriesEncodeForNameBased,o=e("xKMd"),i=g.extendSeriesModel({type:"series.funnel",init:function(a){i.superApply(this,"init",arguments),this.legendVisualProvider=new o(f.bind(this.getData,this),f.bind(this.getRawData,this)),this._defaultLabelLine(a)},getInitialData:function(a,u){return A(this,{coordDimensions:["value"],encodeDefaulter:f.curry(c,this)})},_defaultLabelLine:function(a){v(a,"labelLine",["show"]);var u=a.labelLine,r=a.emphasis.labelLine;u.show=u.show&&a.label.show,r.show=r.show&&a.emphasis.label.show},getDataParams:function(a){var u=this.getData(),r=i.superCall(this,"getDataParams",a),l=u.mapDimension("value"),t=u.getSum(l);return r.percent=t?+(u.get(l,a)/t*100).toFixed(2):0,r.$vars.push("percent"),r},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}}}}),n=i;D.exports=n},ANhw:function(D,_){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g={rotl:function(A,m){return A<<m|A>>>32-m},rotr:function(A,m){return A<<32-m|A>>>m},endian:function(A){if(A.constructor==Number)return g.rotl(A,8)&16711935|g.rotl(A,24)&4278255360;for(var m=0;m<A.length;m++)A[m]=g.endian(A[m]);return A},randomBytes:function(A){for(var m=[];A>0;A--)m.push(Math.floor(Math.random()*256));return m},bytesToWords:function(A){for(var m=[],v=0,h=0;v<A.length;v++,h+=8)m[h>>>5]|=A[v]<<24-h%32;return m},wordsToBytes:function(A){for(var m=[],v=0;v<A.length*32;v+=8)m.push(A[v>>>5]>>>24-v%32&255);return m},bytesToHex:function(A){for(var m=[],v=0;v<A.length;v++)m.push((A[v]>>>4).toString(16)),m.push((A[v]&15).toString(16));return m.join("")},hexToBytes:function(A){for(var m=[],v=0;v<A.length;v+=2)m.push(parseInt(A.substr(v,2),16));return m},bytesToBase64:function(A){for(var m=[],v=0;v<A.length;v+=3)for(var h=A[v]<<16|A[v+1]<<8|A[v+2],c=0;c<4;c++)v*8+c*6<=A.length*8?m.push(e.charAt(h>>>6*(3-c)&63)):m.push("=");return m.join("")},base64ToBytes:function(A){A=A.replace(/[^A-Z0-9+\/]/ig,"");for(var m=[],v=0,h=0;v<A.length;h=++v%4){if(h==0)continue;m.push((e.indexOf(A.charAt(v-1))&Math.pow(2,-2*h+8)-1)<<h*2|e.indexOf(A.charAt(v))>>>6-h*2)}return m}};D.exports=g})()},ANjR:function(D,_,e){var g=e("bYtY");function f(m,v){return v=v||[0,0],g.map([0,1],function(h){var c=v[h],o=m[h]/2,i=[],n=[];return i[h]=c-o,n[h]=c+o,i[1-h]=n[1-h]=v[1-h],Math.abs(this.dataToPoint(i)[h]-this.dataToPoint(n)[h])},this)}function A(m){var v=m.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:m.getZoom()},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=A},AOa7:function(D,_,e){},AUH6:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),A=e("bMXI"),m=e("W4dC");function v(o,i,n,a){A.call(this,o),this.map=i;var u=m.load(i,n);this._nameCoordMap=u.nameCoordMap,this._regionsMap=u.regionsMap,this._invertLongitute=a==null?!0:a,this.regions=u.regions,this._rect=u.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(o){for(var i=this.regions,n=0;n<i.length;n++)if(i[n].contain(o))return!0;return!1},transformTo:function(o,i,n,a){var u=this.getBoundingRect(),r=this._invertLongitute;u=u.clone(),r&&(u.y=-u.y-u.height);var l=this._rawTransformable;if(l.transform=u.calculateTransform(new f(o,i,n,a)),l.decomposeTransform(),r){var t=l.scale;t[1]=-t[1]}l.updateTransform(),this._updateTransform()},getRegion:function(o){return this._regionsMap.get(o)},getRegionByCoord:function(o){for(var i=this.regions,n=0;n<i.length;n++)if(i[n].contain(o))return i[n]},addGeoCoord:function(o,i){this._nameCoordMap.set(o,i)},getGeoCoord:function(o){return this._nameCoordMap.get(o)},getBoundingRect:function(){return this._rect},dataToPoint:function(o,i,n){if(typeof o=="string"&&(o=this.getGeoCoord(o)),o)return A.prototype.dataToPoint.call(this,o,i,n)},convertToPixel:g.curry(h,"dataToPoint"),convertFromPixel:g.curry(h,"pointToData")},g.mixin(v,A);function h(o,i,n,a){var u=n.geoModel,r=n.seriesModel,l=u?u.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[o](a):null}var c=v;D.exports=c},AVZG:function(D,_,e){var g=e("bYtY");function f(A,m,v){v=v||{};var h=A.coordinateSystem,c=m.axis,o={},i=c.getAxesOnZeroOf()[0],n=c.position,a=i?"onZero":n,u=c.dim,r=h.getRect(),l=[r.x,r.x+r.width,r.y,r.y+r.height],t={left:0,right:1,top:0,bottom:1,onZero:2},s=m.get("offset")||0,d=u==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(i){var p=i.toGlobalCoord(i.dataToCoord(0));d[t.onZero]=Math.max(Math.min(p,d[1]),d[0])}o.position=[u==="y"?d[t[a]]:l[0],u==="x"?d[t[a]]:l[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var b={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=b[n],o.labelOffset=i?d[t[n]]-d[t.onZero]:0,m.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),g.retrieve(v.labelInside,m.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var w=m.get("axisLabel.rotate");return o.labelRotate=a==="top"?-w:w,o.z2=1,o}_.layout=f},"Ae+d":function(D,_){function e(f,A,m){var v=f.target,h=v.position;h[0]+=A,h[1]+=m,v.dirty()}function g(f,A,m,v){var h=f.target,c=f.zoomLimit,o=h.position,i=h.scale,n=f.zoom=f.zoom||1;if(n*=A,c){var a=c.min||0,u=c.max||Infinity;n=Math.max(Math.min(u,n),a)}var r=n/f.zoom;f.zoom=n,o[0]-=(m-o[0])*(r-1),o[1]-=(v-o[1])*(r-1),i[0]*=r,i[1]*=r,h.dirty()}_.updateViewOnPan=e,_.updateViewOnZoom=g},Ae16:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("IwbS");e("Wqna"),e("rySg"),g.extendComponentView({type:"grid",render:function(m,v){this.group.removeAll(),m.get("show")&&this.group.add(new A.Rect({shape:m.coordinateSystem.getRect(),style:f.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),g.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},Awhp:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("PQMj"),m=e.n(A)},"B+YJ":function(D,_,e){e("TYVI"),e("p1MT")},"B6l+":function(D,_,e){var g=e("Sq3C"),f=e("Z1HP"),A=e("Sxd8"),m=e("dt0z");function v(h,c,o){h=m(h),c=A(c);var i=c?f(h):0;return c&&i<c?h+g(c-i,o):h}D.exports=v},B8du:function(D,_){function e(){return!1}D.exports=e},B9cy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("0XgM"),m=e.n(A)},B9fm:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),A=e("YH21"),m=e("Ze12"),v=e("ItGF"),h=e("7aKB"),c=g.each,o=h.toCamelCase,i=["","-webkit-","-moz-","-o-"],n="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function a(d){var p="cubic-bezier(0.23, 1, 0.32, 1)",b="left "+d+"s "+p+",top "+d+"s "+p;return g.map(i,function(w){return w+"transition:"+b}).join(";")}function u(d){var p=[],b=d.get("fontSize"),w=d.getTextColor();return w&&p.push("color:"+w),p.push("font:"+d.getFont()),b&&p.push("line-height:"+Math.round(b*3/2)+"px"),c(["decoration","align"],function(E){var S=d.get(E);S&&p.push("text-"+E+":"+S)}),p.join(";")}function r(d){var p=[],b=d.get("transitionDuration"),w=d.get("backgroundColor"),E=d.getModel("textStyle"),S=d.get("padding");return b&&p.push(a(b)),w&&(v.canvasSupported?p.push("background-Color:"+w):(p.push("background-Color:#"+f.toHex(w)),p.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],function(x){var T="border-"+x,L=o(T),y=d.get(L);y!=null&&p.push(T+":"+y+(x==="color"?"":"px"))}),p.push(u(E)),S!=null&&p.push("padding:"+h.normalizeCssArray(S).join("px ")+"px"),p.join(";")+";"}function l(d,p,b,w,E){var S=p&&p.painter;if(b){var x=S&&S.getViewportRoot();x&&m.transformLocalCoord(d,x,document.body,w,E)}else{d[0]=w,d[1]=E;var T=S&&S.getViewportRootOffset();T&&(d[0]+=T.offsetLeft,d[1]+=T.offsetTop)}}function t(d,p,b){if(v.wxa)return null;var w=document.createElement("div");w.domBelongToZr=!0,this.el=w;var E=this._zr=p.getZr(),S=this._appendToBody=b&&b.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,E,S,p.getWidth()/2,p.getHeight()/2),S?document.body.appendChild(w):d.appendChild(w),this._container=d,this._show=!1,this._hideTimeout;var x=this;w.onmouseenter=function(){x._enterable&&(clearTimeout(x._hideTimeout),x._show=!0),x._inContent=!0},w.onmousemove=function(T){if(T=T||window.event,!x._enterable){var L=E.handler,y=E.painter.getViewportRoot();A.normalizeEvent(y,T,!0),L.dispatch("mousemove",T)}},w.onmouseleave=function(){x._enterable&&(x._show&&x.hideLater(x._hideDelay)),x._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var d=this._container,p=d.currentStyle||document.defaultView.getComputedStyle(d),b=d.style;b.position!=="absolute"&&p.position!=="absolute"&&(b.position="relative")},show:function(d){clearTimeout(this._hideTimeout);var p=this.el,b=this._styleCoord;p.style.cssText=n+r(d)+";left:"+b[0]+"px;top:"+b[1]+"px;"+(d.get("extraCssText")||""),p.style.display=p.innerHTML?"block":"none",p.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(d){this.el.innerHTML=d==null?"":d},setEnterable:function(d){this._enterable=d},getSize:function(){var d=this.el;return[d.clientWidth,d.clientHeight]},moveTo:function(d,p){var b=this._styleCoord;l(b,this._zr,this._appendToBody,d,p);var w=this.el.style;w.left=b[0]+"px",w.top=b[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(d){this._show&&!(this._inContent&&this._enterable)&&(d?(this._hideDelay=d,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),d)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var d=this.el.clientWidth,p=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var b=document.defaultView.getComputedStyle(this.el);b&&(d+=parseInt(b.borderLeftWidth,10)+parseInt(b.borderRightWidth,10),p+=parseInt(b.borderTopWidth,10)+parseInt(b.borderBottomWidth,10))}return{width:d,height:p}}};var s=t;D.exports=s},BEtg:function(D,_){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/D.exports=function(f){return f!=null&&(e(f)||g(f)||!!f._isBuffer)};function e(f){return!!f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f)}function g(f){return typeof f.readFloatLE=="function"&&typeof f.slice=="function"&&e(f.slice(0,0))}},BJfS:function(D,_){var e=function(f){return f.replace(/[A-Z]/g,function(A){return"-"+A.toLowerCase()}).toLowerCase()};D.exports=e},BMrR:function(D,_,e){"use strict";var g=e("qrJ5");_.a=g.a},BPZU:function(D,_){var e=32,g=7,f=256;function A(a){for(var u=0;a>=e;)u|=a&1,a>>=1;return a+u}function m(a,u,r,l){var t=u+1;if(t===r)return 1;if(l(a[t++],a[u])<0){for(;t<r&&l(a[t],a[t-1])<0;)t++;v(a,u,t)}else for(;t<r&&l(a[t],a[t-1])>=0;)t++;return t-u}function v(a,u,r){for(r--;u<r;){var l=a[u];a[u++]=a[r],a[r--]=l}}function h(a,u,r,l,t){for(l===u&&l++;l<r;l++){for(var s=a[l],d=u,p=l,b;d<p;)b=d+p>>>1,t(s,a[b])<0?p=b:d=b+1;var w=l-d;switch(w){case 3:a[d+3]=a[d+2];case 2:a[d+2]=a[d+1];case 1:a[d+1]=a[d];break;default:for(;w>0;)a[d+w]=a[d+w-1],w--}a[d]=s}}function c(a,u,r,l,t,s){var d=0,p=0,b=1;if(s(a,u[r+t])>0){for(p=l-t;b<p&&s(a,u[r+t+b])>0;)d=b,b=(b<<1)+1,b<=0&&(b=p);b>p&&(b=p),d+=t,b+=t}else{for(p=t+1;b<p&&s(a,u[r+t-b])<=0;)d=b,b=(b<<1)+1,b<=0&&(b=p);b>p&&(b=p);var w=d;d=t-b,b=t-w}for(d++;d<b;){var E=d+(b-d>>>1);s(a,u[r+E])>0?d=E+1:b=E}return b}function o(a,u,r,l,t,s){var d=0,p=0,b=1;if(s(a,u[r+t])<0){for(p=t+1;b<p&&s(a,u[r+t-b])<0;)d=b,b=(b<<1)+1,b<=0&&(b=p);b>p&&(b=p);var w=d;d=t-b,b=t-w}else{for(p=l-t;b<p&&s(a,u[r+t+b])>=0;)d=b,b=(b<<1)+1,b<=0&&(b=p);b>p&&(b=p),d+=t,b+=t}for(d++;d<b;){var E=d+(b-d>>>1);s(a,u[r+E])<0?b=E:d=E+1}return b}function i(a,u){var r=g,l=0,t=f,s=0,d,p,b=0;l=a.length,l<2*f&&(t=l>>>1);var w=[];s=l<120?5:l<1542?10:l<119151?19:40,d=[],p=[];function E(C,O){d[b]=C,p[b]=O,b+=1}function S(){for(;b>1;){var C=b-2;if(C>=1&&p[C-1]<=p[C]+p[C+1]||C>=2&&p[C-2]<=p[C]+p[C-1])p[C-1]<p[C+1]&&C--;else if(p[C]>p[C+1])break;T(C)}}function x(){for(;b>1;){var C=b-2;C>0&&p[C-1]<p[C+1]&&C--,T(C)}}function T(C){var O=d[C],N=p[C],k=d[C+1],F=p[C+1];p[C]=N+F,C===b-3&&(d[C+1]=d[C+2],p[C+1]=p[C+2]),b--;var B=o(a[k],a,O,N,0,u);if(O+=B,N-=B,N===0)return;if(F=c(a[O+N-1],a,k,F,F-1,u),F===0)return;N<=F?L(O,N,k,F):y(O,N,k,F)}function L(C,O,N,k){var F=0;for(F=0;F<O;F++)w[F]=a[C+F];var B=0,H=N,W=C;if(a[W++]=a[H++],--k===0){for(F=0;F<O;F++)a[W+F]=w[B+F];return}if(O===1){for(F=0;F<k;F++)a[W+F]=a[H+F];a[W+k]=w[B];return}for(var R=r,U,j,P;;){U=0,j=0,P=!1;do if(u(a[H],w[B])<0){if(a[W++]=a[H++],j++,U=0,--k===0){P=!0;break}}else if(a[W++]=w[B++],U++,j=0,--O===1){P=!0;break}while((U|j)<R);if(P)break;do{if(U=o(a[H],w,B,O,0,u),U!==0){for(F=0;F<U;F++)a[W+F]=w[B+F];if(W+=U,B+=U,O-=U,O<=1){P=!0;break}}if(a[W++]=a[H++],--k===0){P=!0;break}if(j=c(w[B],a,H,k,0,u),j!==0){for(F=0;F<j;F++)a[W+F]=a[H+F];if(W+=j,H+=j,k-=j,k===0){P=!0;break}}if(a[W++]=w[B++],--O===1){P=!0;break}R--}while(U>=g||j>=g);if(P)break;R<0&&(R=0),R+=2}if(r=R,r<1&&(r=1),O===1){for(F=0;F<k;F++)a[W+F]=a[H+F];a[W+k]=w[B]}else{if(O===0)throw new Error;for(F=0;F<O;F++)a[W+F]=w[B+F]}}function y(C,O,N,k){var F=0;for(F=0;F<k;F++)w[F]=a[N+F];var B=C+O-1,H=k-1,W=N+k-1,R=0,U=0;if(a[W--]=a[B--],--O===0){for(R=W-(k-1),F=0;F<k;F++)a[R+F]=w[F];return}if(k===1){for(W-=O,B-=O,U=W+1,R=B+1,F=O-1;F>=0;F--)a[U+F]=a[R+F];a[W]=w[H];return}for(var j=r;;){var P=0,K=0,V=!1;do if(u(w[H],a[B])<0){if(a[W--]=a[B--],P++,K=0,--O===0){V=!0;break}}else if(a[W--]=w[H--],K++,P=0,--k===1){V=!0;break}while((P|K)<j);if(V)break;do{if(P=O-o(w[H],a,C,O,O-1,u),P!==0){for(W-=P,B-=P,O-=P,U=W+1,R=B+1,F=P-1;F>=0;F--)a[U+F]=a[R+F];if(O===0){V=!0;break}}if(a[W--]=w[H--],--k===1){V=!0;break}if(K=k-c(a[B],w,0,k,k-1,u),K!==0){for(W-=K,H-=K,k-=K,U=W+1,R=H+1,F=0;F<K;F++)a[U+F]=w[R+F];if(k<=1){V=!0;break}}if(a[W--]=a[B--],--O===0){V=!0;break}j--}while(P>=g||K>=g);if(V)break;j<0&&(j=0),j+=2}if(r=j,r<1&&(r=1),k===1){for(W-=O,B-=O,U=W+1,R=B+1,F=O-1;F>=0;F--)a[U+F]=a[R+F];a[W]=w[H]}else{if(k===0)throw new Error;for(R=W-(k-1),F=0;F<k;F++)a[R+F]=w[F]}}this.mergeRuns=S,this.forceMergeRuns=x,this.pushRun=E}function n(a,u,r,l){r||(r=0),l||(l=a.length);var t=l-r;if(t<2)return;var s=0;if(t<e){s=m(a,r,l,u),h(a,r,l,r+s,u);return}var d=new i(a,u),p=A(t);do{if(s=m(a,r,l,u),s<p){var b=t;b>p&&(b=p),h(a,r,r+b,r+s,u),s=b}d.pushRun(r,s),d.mergeRuns(),t-=s,r+=s}while(t!==0);d.forceMergeRuns()}D.exports=n},Bd2K:function(D,_,e){(function(g){g(e("VrN/"),e("osHv"))})(function(g){g.defineOption("autoCloseTags",!1,function(i,n,a){if(a!=g.Init&&a&&i.removeKeyMap("autoCloseTags"),!n)return;var u={name:"autoCloseTags"};(typeof n!="object"||n.whenClosing!==!1)&&(u["'/'"]=function(r){return h(r)}),(typeof n!="object"||n.whenOpening!==!1)&&(u["'>'"]=function(r){return m(r)}),i.addKeyMap(u)});var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],A=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(i){if(i.getOption("disableInput"))return g.Pass;for(var n=i.listSelections(),a=[],u=i.getOption("autoCloseTags"),r=0;r<n.length;r++){if(!n[r].empty())return g.Pass;var l=n[r].head,t=i.getTokenAt(l),s=g.innerMode(i.getMode(),t.state),d=s.state,p=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(d),b=p&&p.name;if(!b)return g.Pass;var w=s.mode.configuration=="html",E=typeof u=="object"&&u.dontCloseTags||w&&f,S=typeof u=="object"&&u.indentTags||w&&A;t.end>l.ch&&(b=b.slice(0,b.length-t.end+l.ch));var x=b.toLowerCase();if(!b||t.type=="string"&&(t.end!=l.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&p.close||t.string.indexOf("/")==l.ch-t.start-1||E&&c(E,x)>-1||o(i,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(d)||[],b,l,!0))return g.Pass;var T=typeof u=="object"&&u.emptyTags;if(T&&c(T,b)>-1){a[r]={text:"/>",newPos:g.Pos(l.line,l.ch+2)};continue}var L=S&&c(S,x)>-1;a[r]={indent:L,text:">"+(L?`
`:"")+"</"+b+">",newPos:L?g.Pos(l.line+1,0):g.Pos(l.line,l.ch+1)}}for(var y=typeof u=="object"&&u.dontIndentOnAutoClose,r=n.length-1;r>=0;r--){var C=a[r];i.replaceRange(C.text,n[r].head,n[r].anchor,"+insert");var O=i.listSelections().slice(0);O[r]={head:C.newPos,anchor:C.newPos},i.setSelections(O),!y&&C.indent&&(i.indentLine(C.newPos.line,null,!0),i.indentLine(C.newPos.line+1,null,!0))}}function v(i,n){for(var a=i.listSelections(),u=[],r=n?"/":"</",l=i.getOption("autoCloseTags"),t=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<a.length;s++){if(!a[s].empty())return g.Pass;var d=a[s].head,p=i.getTokenAt(d),b=g.innerMode(i.getMode(),p.state),w=b.state;if(n&&(p.type=="string"||p.string.charAt(0)!="<"||p.start!=d.ch-1))return g.Pass;var E,S=b.mode.name!="xml"&&i.getMode().name=="htmlmixed";if(S&&b.mode.name=="javascript")E=r+"script";else if(S&&b.mode.name=="css")E=r+"style";else{var x=b.mode.xmlCurrentContext&&b.mode.xmlCurrentContext(w);if(!x||x.length&&o(i,x,x[x.length-1],d))return g.Pass;E=r+x[x.length-1]}i.getLine(d.line).charAt(p.end)!=">"&&(E+=">"),u[s]=E}if(i.replaceSelections(u),a=i.listSelections(),!t)for(var s=0;s<a.length;s++)(s==a.length-1||a[s].head.line<a[s+1].head.line)&&i.indentLine(a[s].head.line)}function h(i){return i.getOption("disableInput")?g.Pass:v(i,!0)}g.commands.closeTag=function(i){return v(i)};function c(i,n){if(i.indexOf)return i.indexOf(n);for(var a=0,u=i.length;a<u;++a)if(i[a]==n)return a;return-1}function o(i,n,a,u,r){if(!g.scanForClosingTag)return!1;var l=Math.min(i.lastLine()+1,u.line+500),t=g.scanForClosingTag(i,u,null,l);if(!t||t.tag!=a)return!1;for(var s=r?1:0,d=n.length-1;d>=0&&n[d]==a;d--)++s;u=t.to;for(var d=1;d<s;d++){var p=g.scanForClosingTag(i,u,null,l);if(!p||p.tag!=a)return!1;u=p.to}return!0}})},BlVb:function(D,_,e){var g=e("hyiK"),f=1e-8;function A(v,h){return Math.abs(v-h)<f}function m(v,h,c){var o=0,i=v[0];if(!i)return!1;for(var n=1;n<v.length;n++){var a=v[n];o+=g(i[0],i[1],a[0],a[1],h,c),i=a}var u=v[0];return(!A(i[0],u[0])||!A(i[1],u[1]))&&(o+=g(i[0],i[1],u[0],u[1],h,c)),o!==0}_.contain=m},BoS7:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("czTT"),m=e.n(A)},Bq2U:function(D,_,e){var g=e("RDYZ"),f=e("Qe9p"),A=e("bYtY"),m=A.isArrayLike,v=Array.prototype.slice;function h(E,S){return E[S]}function c(E,S,x){E[S]=x}function o(E,S,x){return(S-E)*x+E}function i(E,S,x){return x>.5?S:E}function n(E,S,x,T,L){var y=E.length;if(L===1)for(var C=0;C<y;C++)T[C]=o(E[C],S[C],x);else for(var O=y&&E[0].length,C=0;C<y;C++)for(var N=0;N<O;N++)T[C][N]=o(E[C][N],S[C][N],x)}function a(E,S,x){var T=E.length,L=S.length;if(T!==L){var y=T>L;if(y)E.length=L;else for(var C=T;C<L;C++)E.push(x===1?S[C]:v.call(S[C]))}for(var O=E[0]&&E[0].length,C=0;C<E.length;C++)if(x===1)isNaN(E[C])&&(E[C]=S[C]);else for(var N=0;N<O;N++)isNaN(E[C][N])&&(E[C][N]=S[C][N])}function u(E,S,x){if(E===S)return!0;var T=E.length;if(T!==S.length)return!1;if(x===1){for(var L=0;L<T;L++)if(E[L]!==S[L])return!1}else for(var y=E[0].length,L=0;L<T;L++)for(var C=0;C<y;C++)if(E[L][C]!==S[L][C])return!1;return!0}function r(E,S,x,T,L,y,C,O,N){var k=E.length;if(N===1)for(var F=0;F<k;F++)O[F]=l(E[F],S[F],x[F],T[F],L,y,C);else for(var B=E[0].length,F=0;F<k;F++)for(var H=0;H<B;H++)O[F][H]=l(E[F][H],S[F][H],x[F][H],T[F][H],L,y,C)}function l(E,S,x,T,L,y,C){var O=(x-E)*.5,N=(T-S)*.5;return(2*(S-x)+O+N)*C+(-3*(S-x)-2*O-N)*y+O*L+S}function t(E){if(m(E)){var S=E.length;if(m(E[0])){for(var x=[],T=0;T<S;T++)x.push(v.call(E[T]));return x}return v.call(E)}return E}function s(E){return E[0]=Math.floor(E[0]),E[1]=Math.floor(E[1]),E[2]=Math.floor(E[2]),"rgba("+E.join(",")+")"}function d(E){var S=E[E.length-1].value;return m(S&&S[0])?2:1}function p(E,S,x,T,L,y){var C=E._getter,O=E._setter,N=S==="spline",k=T.length;if(!k)return;var F=T[0].value,B=m(F),H=!1,W=!1,R=B?d(T):0,U;T.sort(function(ce,ee){return ce.time-ee.time}),U=T[k-1].time;for(var j=[],P=[],K=T[0].value,V=!0,z=0;z<k;z++){j.push(T[z].time/U);var X=T[z].value;if(B&&u(X,K,R)||!B&&X===K||(V=!1),K=X,typeof X=="string"){var G=f.parse(X);G?(X=G,H=!0):W=!0}P.push(X)}if(!y&&V)return;for(var le=P[k-1],z=0;z<k-1;z++)B?a(P[z],le,R):isNaN(P[z])&&!isNaN(le)&&!W&&!H&&(P[z]=le);B&&a(C(E._target,L),le,R);var Y=0,me=0,we,pe,Fe,Xe,dt,Ee;if(H)var Se=[0,0,0,0];var at=function(ee,se){var ke;if(se<0)ke=0;else if(se<me){for(we=Math.min(Y+1,k-1),ke=we;ke>=0&&!(j[ke]<=se);ke--);ke=Math.min(ke,k-2)}else{for(ke=Y;ke<k&&!(j[ke]>se);ke++);ke=Math.min(ke-1,k-2)}Y=ke,me=se;var Ce=j[ke+1]-j[ke];if(Ce===0)return;if(pe=(se-j[ke])/Ce,N)if(Xe=P[ke],Fe=P[ke===0?ke:ke-1],dt=P[ke>k-2?k-1:ke+1],Ee=P[ke>k-3?k-1:ke+2],B)r(Fe,Xe,dt,Ee,pe,pe*pe,pe*pe*pe,C(ee,L),R);else{var ze;if(H)ze=r(Fe,Xe,dt,Ee,pe,pe*pe,pe*pe*pe,Se,1),ze=s(Se);else{if(W)return i(Xe,dt,pe);ze=l(Fe,Xe,dt,Ee,pe,pe*pe,pe*pe*pe)}O(ee,L,ze)}else if(B)n(P[ke],P[ke+1],pe,C(ee,L),R);else{var ze;if(H)n(P[ke],P[ke+1],pe,Se,1),ze=s(Se);else{if(W)return i(P[ke],P[ke+1],pe);ze=o(P[ke],P[ke+1],pe)}O(ee,L,ze)}},_e=new g({target:E._target,life:U,loop:E._loop,delay:E._delay,onframe:at,ondestroy:x});return S&&S!=="spline"&&(_e.easing=S),_e}var b=function(S,x,T,L){this._tracks={},this._target=S,this._loop=x||!1,this._getter=T||h,this._setter=L||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(S,x){var T=this._tracks;for(var L in x){if(!x.hasOwnProperty(L))continue;if(!T[L]){T[L]=[];var y=this._getter(this._target,L);if(y==null)continue;S!==0&&T[L].push({time:0,value:t(y)})}T[L].push({time:S,value:x[L]})}return this},during:function(S){return this._onframeList.push(S),this},pause:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].pause();this._paused=!0},resume:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var S=this._doneList,x=S.length,T=0;T<x;T++)S[T].call(this)},start:function(S,x){var T=this,L=0,y=function(){L--,L||T._doneCallback()},C;for(var O in this._tracks){if(!this._tracks.hasOwnProperty(O))continue;var N=p(this,S,y,this._tracks[O],O,x);N&&(this._clipList.push(N),L++,this.animation&&this.animation.addClip(N),C=N)}if(C){var k=C.onframe;C.onframe=function(F,B){k(F,B);for(var H=0;H<T._onframeList.length;H++)T._onframeList[H](F,B)}}return L||this._doneCallback(),this},stop:function(S){for(var x=this._clipList,T=this.animation,L=0;L<x.length;L++){var y=x[L];S&&y.onframe(this._target,1),T&&T.removeClip(y)}x.length=0},delay:function(S){return this._delay=S,this},done:function(S){return S&&this._doneList.push(S),this},getClips:function(){return this._clipList}};var w=b;D.exports=w},Bqw1:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};_.default=g},Bsck:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),A=e("Mdki"),m=e("YXkt"),v=e("sdST"),h=function(n,a){this.name=n||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=a};h.prototype={constructor:h,isRemoved:function(){return this.dataIndex<0},eachNode:function(n,a,u){typeof n=="function"&&(u=a,a=n,n=null),n=n||{},g.isString(n)&&(n={order:n});var r=n.order||"preorder",l=this[n.attr||"children"],t;r==="preorder"&&(t=a.call(u,this));for(var s=0;!t&&s<l.length;s++)l[s].eachNode(n,a,u);r==="postorder"&&a.call(u,this)},updateDepthAndHeight:function(n){var a=0;this.depth=n;for(var u=0;u<this.children.length;u++){var r=this.children[u];r.updateDepthAndHeight(n+1),r.height>a&&(a=r.height)}this.height=a+1},getNodeById:function(n){if(this.getId()===n)return this;for(var a=0,u=this.children,r=u.length;a<r;a++){var l=u[a].getNodeById(n);if(l)return l}},contains:function(n){if(n===this)return!0;for(var a=0,u=this.children,r=u.length;a<r;a++){var l=u[a].contains(n);if(l)return l}},getAncestors:function(n){for(var a=[],u=n?this:this.parentNode;u;)a.push(u),u=u.parentNode;return a.reverse(),a},getValue:function(n){var a=this.hostTree.data;return a.get(a.getDimension(n||"value"),this.dataIndex)},setLayout:function(n,a){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,n,a)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(n){if(this.dataIndex<0)return;var a=this.hostTree,u=a.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?u.getModel(n,r.getModel(n)):u.getModel(n)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(n,a){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,n,a)},getVisual:function(n,a){return this.hostTree.data.getItemVisual(this.dataIndex,n,a)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(n){for(var a=n.parentNode;a;){if(a===this)return!0;a=a.parentNode}return!1},isDescendantOf:function(n){return n!==this&&n.isAncestorOf(this)}};function c(n,a){this.root,this.data,this._nodes=[],this.hostModel=n,this.levelModels=g.map(a||[],function(u){return new f(u,n,n.ecModel)})}c.prototype={constructor:c,type:"tree",eachNode:function(n,a,u){this.root.eachNode(n,a,u)},getNodeByDataIndex:function(n){var a=this.data.getRawIndex(n);return this._nodes[a]},getNodeByName:function(n){return this.root.getNodeByName(n)},update:function(){for(var n=this.data,a=this._nodes,u=0,r=a.length;u<r;u++)a[u].dataIndex=-1;for(var u=0,r=n.count();u<r;u++)a[n.getRawIndex(u)].dataIndex=u},clearLayouts:function(){this.data.clearItemLayouts()}},c.createTree=function(n,a,u,r){var l=new c(a,u&&u.levels),t=[],s=1;d(n);function d(w,E){var S=w.value;s=Math.max(s,g.isArray(S)?S.length:1),t.push(w);var x=new h(w.name,l);E?o(x,E):l.root=x,l._nodes.push(x);var T=w.children;if(T)for(var L=0;L<T.length;L++)d(T[L],x)}l.root.updateDepthAndHeight(0);var p=v(t,{coordDimensions:["value"],dimensionsCount:s}),b=new m(p,a);return b.initData(t),r&&r(b),A({mainData:b,struct:l,structAttr:"tree"}),l.update(),l};function o(n,a){var u=a.children;if(n.parentNode===a)return;u.push(n),n.parentNode=a}var i=c;D.exports=i},BtR2:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="LikeOutlined";var h=_.a=g.forwardRef(v)},BuqR:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("6uqw"),v=e("XxSj"),h=e("YOMW"),c=e("OELB"),o=c.reformIntervals,i=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(r,l){i.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();n[this._mode].call(this),this._resetSelected(r,l);var s=this.option.categories;this.resetVisual(function(d,p){t==="categories"?(d.mappingMethod="category",d.categories=A.clone(s)):(d.dataExtent=this.getExtent(),d.mappingMethod="piecewise",d.pieceList=A.map(this._pieceList,function(b){var b=A.clone(b);return p!=="inRange"&&(b.visual=null),b}))})},completeVisualOption:function(){var r=this.option,l={},t=v.listVisualTypes(),s=this.isCategory();A.each(r.pieces,function(p){A.each(t,function(b){p.hasOwnProperty(b)&&(l[b]=1)})}),A.each(l,function(p,b){var w=0;A.each(this.stateList,function(E){w|=d(r,E,b)||d(r.target,E,b)},this),!w&&A.each(this.stateList,function(E){(r[E]||(r[E]={}))[b]=h.get(b,E==="inRange"?"active":"inactive",s)})},this);function d(p,b,w){return p&&p[b]&&(A.isObject(p[b])?p[b].hasOwnProperty(w):p[b]===w)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(r,l){var t=this.option,s=this._pieceList,d=(l?t:r).selected||{};if(t.selected=d,A.each(s,function(b,w){var E=this.getSelectedMapKey(b);d.hasOwnProperty(E)||(d[E]=!0)},this),t.selectedMode==="single"){var p=!1;A.each(s,function(b,w){var E=this.getSelectedMapKey(b);d[E]&&(p?d[E]=!1:p=!0)},this)}},getSelectedMapKey:function(r){return this._mode==="categories"?r.value+"":r.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(r){this.option.selected=A.clone(r)},getValueState:function(r){var l=v.findPieceIndex(r,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(r){var l=[];return this.eachTargetSeries(function(t){var s=[],d=t.getData();d.each(this.getDataDimension(d),function(p,b){var w=v.findPieceIndex(p,this._pieceList);w===r&&s.push(b)},this),l.push({seriesId:t.id,dataIndex:s})},this),l},getRepresentValue:function(r){var l;if(this.isCategory())l=r.value;else if(r.value!=null)l=r.value;else{var t=r.interval||[];l=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return l},getVisualMeta:function(r){if(this.isCategory())return;var l=[],t=[],s=this;function d(E,S){var x=s.getRepresentValue({interval:E});S||(S=s.getValueState(x));var T=r(x,S);E[0]===-Infinity?t[0]=T:E[1]===Infinity?t[1]=T:l.push({value:E[0],color:T},{value:E[1],color:T})}var p=this._pieceList.slice();if(!p.length)p.push({interval:[-Infinity,Infinity]});else{var b=p[0].interval[0];b!==-Infinity&&p.unshift({interval:[-Infinity,b]}),b=p[p.length-1].interval[1],b!==Infinity&&p.push({interval:[b,Infinity]})}var w=-Infinity;return A.each(p,function(E){var S=E.interval;S&&(S[0]>w&&d([w,S[0]],"outOfRange"),d(S.slice()),w=S[1])},this),{stops:l,outerColors:t}}}),n={splitNumber:function(){var r=this.option,l=this._pieceList,t=Math.min(r.precision,20),s=this.getExtent(),d=r.splitNumber;d=Math.max(parseInt(d,10),1),r.splitNumber=d;for(var p=(s[1]-s[0])/d;+p.toFixed(t)!==p&&t<5;)t++;r.precision=t,p=+p.toFixed(t),r.minOpen&&l.push({interval:[-Infinity,s[0]],close:[0,0]});for(var b=0,w=s[0];b<d;w+=p,b++){var E=b===d-1?s[1]:w+p;l.push({interval:[w,E],close:[1,1]})}r.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),o(l),A.each(l,function(S,x){S.index=x,S.text=this.formatValueText(S.interval)},this)},categories:function(){var r=this.option;A.each(r.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),a(r,this._pieceList)},pieces:function(){var r=this.option,l=this._pieceList;A.each(r.pieces,function(t,s){A.isObject(t)||(t={value:t});var d={text:"",index:s};if(t.label!=null&&(d.text=t.label),t.hasOwnProperty("value")){var p=d.value=t.value;d.interval=[p,p],d.close=[1,1]}else{for(var b=d.interval=[],w=d.close=[0,0],E=[1,0,1],S=[-Infinity,Infinity],x=[],T=0;T<2;T++){for(var L=[["gte","gt","min"],["lte","lt","max"]][T],y=0;y<3&&b[T]==null;y++)b[T]=t[L[y]],w[T]=E[y],x[T]=y===2;b[T]==null&&(b[T]=S[T])}x[0]&&b[1]===Infinity&&(w[0]=0),x[1]&&b[0]===-Infinity&&(w[1]=0),b[0]===b[1]&&w[0]&&w[1]&&(d.value=b[0])}d.visual=v.retrieveVisuals(t),l.push(d)},this),a(r,l),o(l),A.each(l,function(t){var s=t.close,d=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,d)},this)}};function a(r,l){var t=r.inverse;(r.orient==="vertical"?!t:t)&&l.reverse()}var u=i;D.exports=u},BvKs:function(D,_,e){"use strict";e.d(_,"a",function(){return B});var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("7W2i"),n=e.n(i),a=e("LQ03"),u=e.n(a),r=e("q1tI"),l=e("1j5w"),t=e("TSYQ"),s=e.n(t),d=e("BGR+"),p=Object(r.createContext)({inlineCollapsed:!1}),b=p,w=e("0n0R"),E=function(H){n()(R,H);var W=u()(R);function R(){return h()(this,R),W.apply(this,arguments)}return o()(R,[{key:"renderTitle",value:function(j){var P=this.props,K=P.icon,V=P.title,z=P.level,X=P.rootPrefixCls;if(!K)return j&&z===1&&V&&typeof V=="string"?r.createElement("div",{className:"".concat(X,"-inline-collapsed-noicon")},V.charAt(0)):V;var G=Object(w.b)(V)&&V.type==="span";return r.createElement(r.Fragment,null,K,G?V:r.createElement("span",null,V))}},{key:"render",value:function(){var j=this,P=this.props,K=P.rootPrefixCls,V=P.popupClassName;return r.createElement(b.Consumer,null,function(z){var X=z.inlineCollapsed,G=z.antdMenuTheme;return r.createElement(l.e,f()({},Object(d.default)(j.props,["icon"]),{title:j.renderTitle(X),popupClassName:s()(K,"".concat(K,"-").concat(G),V)}))})}}]),R}(r.Component);E.contextType=b,E.isSubMenu=1;var S=E,x=e("Zm9Q"),T=e("3S7+"),L=e("ZX9x"),y=function(H,W){var R={};for(var U in H)Object.prototype.hasOwnProperty.call(H,U)&&W.indexOf(U)<0&&(R[U]=H[U]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(H);j<U.length;j++)W.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(H,U[j])&&(R[U[j]]=H[U[j]]);return R},C=function(H){n()(R,H);var W=u()(R);function R(){var U;return h()(this,R),U=W.apply(this,arguments),U.renderItem=function(j){var P=j.siderCollapsed,K=U.props,V=K.level,z=K.className,X=K.children,G=K.rootPrefixCls,le=U.props,Y=le.title,me=le.icon,we=le.danger,pe=y(le,["title","icon","danger"]);return r.createElement(b.Consumer,null,function(Fe){var Xe,dt=Fe.inlineCollapsed,Ee=Fe.direction,Se=Y;typeof Y=="undefined"?Se=V===1?X:"":Y===!1&&(Se="");var at={title:Se};!P&&!dt&&(at.title=null,at.visible=!1);var _e=Object(x.a)(X).length;return r.createElement(T.a,f()({},at,{placement:Ee==="rtl"?"left":"right",overlayClassName:"".concat(G,"-inline-collapsed-tooltip")}),r.createElement(l.b,f()({},pe,{className:s()(z,(Xe={},m()(Xe,"".concat(G,"-item-danger"),we),m()(Xe,"".concat(G,"-item-only-child"),(me?_e+1:_e)===1),Xe)),title:Y}),me,U.renderItemChildren(dt)))})},U}return o()(R,[{key:"renderItemChildren",value:function(j){var P=this.props,K=P.icon,V=P.children,z=P.level,X=P.rootPrefixCls;return!K||Object(w.b)(V)&&V.type==="span"?V&&j&&z===1&&typeof V=="string"?r.createElement("div",{className:"".concat(X,"-inline-collapsed-noicon")},V.charAt(0)):V:r.createElement("span",null,V)}},{key:"render",value:function(){return r.createElement(L.a.Consumer,null,this.renderItem)}}]),R}(r.Component);C.isMenuItem=!0;var O=e("H84U"),N=e("uaoM"),k=e("EXcs"),F=function(H){n()(R,H);var W=u()(R);function R(U){var j;return h()(this,R),j=W.call(this,U),j.renderMenu=function(P){var K=P.getPopupContainer,V=P.getPrefixCls,z=P.direction,X=j.props,G=X.prefixCls,le=X.className,Y=X.theme,me={horizontal:{motionName:"slide-up"},inline:k.a,other:{motionName:"zoom-big"}},we=V("menu",G),pe=s()(le,"".concat(we,"-").concat(Y),m()({},"".concat(we,"-inline-collapsed"),j.getInlineCollapsed()));return r.createElement(b.Provider,{value:{inlineCollapsed:j.getInlineCollapsed()||!1,antdMenuTheme:Y,direction:z}},r.createElement(l.f,f()({getPopupContainer:K},j.props,{className:pe,prefixCls:we,direction:z,defaultMotions:me})))},Object(N.a)(!("inlineCollapsed"in U&&U.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(N.a)(!(U.siderCollapsed!==void 0&&"inlineCollapsed"in U),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),j}return o()(R,[{key:"getInlineCollapsed",value:function(){var j=this.props,P=j.inlineCollapsed,K=j.siderCollapsed;return K!==void 0?K:P}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderMenu)}}]),R}(r.Component);F.defaultProps={className:"",theme:"light",focusable:!1};var B=function(H){n()(R,H);var W=u()(R);function R(){return h()(this,R),W.apply(this,arguments)}return o()(R,[{key:"render",value:function(){var j=this;return r.createElement(L.a.Consumer,null,function(P){return r.createElement(F,f()({},j.props,P))})}}]),R}(r.Component);B.Divider=l.a,B.Item=C,B.SubMenu=S,B.ItemGroup=l.c},C0SR:function(D,_,e){var g=e("YH21"),f=function(){this._track=[]};f.prototype={constructor:f,recognize:function(o,i,n){return this._doTrack(o,i,n),this._recognize(o)},clear:function(){return this._track.length=0,this},_doTrack:function(o,i,n){var a=o.touches;if(!a)return;for(var u={points:[],touches:[],target:i,event:o},r=0,l=a.length;r<l;r++){var t=a[r],s=g.clientToLocal(n,t,{});u.points.push([s.zrX,s.zrY]),u.touches.push(t)}this._track.push(u)},_recognize:function(o){for(var i in v)if(v.hasOwnProperty(i)){var n=v[i](this._track,o);if(n)return n}}};function A(c){var o=c[1][0]-c[0][0],i=c[1][1]-c[0][1];return Math.sqrt(o*o+i*i)}function m(c){return[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]}var v={pinch:function(o,i){var n=o.length;if(!n)return;var a=(o[n-1]||{}).points,u=(o[n-2]||{}).points||a;if(u&&u.length>1&&a&&a.length>1){var r=A(a)/A(u);!isFinite(r)&&(r=1),i.pinchScale=r;var l=m(a);return i.pinchX=l[0],i.pinchY=l[1],{type:"pinch",target:o[0].target,event:i}}}},h=f;D.exports=h},C0tN:function(D,_,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(D,_,e){var g=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var f=e("q3GZ");g.registerVisual(f)},CF2D:function(D,_,e){var g=e("ProS");e("vZI5"),e("GeKi");var f=e("6r85"),A=e("TJmX"),m=e("CbHG");g.registerPreprocessor(f),g.registerVisual(A),g.registerLayout(m)},CFYs:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("PJYZ"),n=e.n(i),a=e("7W2i"),u=e.n(a),r=e("LQ03"),l=e.n(r),t=e("q1tI"),s=e.n(t),d=e("TSYQ"),p=e.n(d),b=e("BGR+"),w=e("V/uB"),E=e.n(w),S=e("NAnI"),x=e.n(S),T=e("J84W"),L=e.n(T),y=e("kbBi"),C=e.n(y),O=e("H84U"),N=e("CWQg"),k=e("uaoM"),F=e("Zss7"),B=e.n(F),H=2,W=.16,R=.05,U=.05,j=.15,P=5,K=4,V=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function z(Re,$e,gt){var Wt;return Math.round(Re.h)>=60&&Math.round(Re.h)<=240?Wt=gt?Math.round(Re.h)-H*$e:Math.round(Re.h)+H*$e:Wt=gt?Math.round(Re.h)+H*$e:Math.round(Re.h)-H*$e,Wt<0?Wt+=360:Wt>=360&&(Wt-=360),Wt}function X(Re,$e,gt){if(Re.h===0&&Re.s===0)return Re.s;var Wt;return gt?Wt=Re.s-W*$e:$e===K?Wt=Re.s+W:Wt=Re.s+R*$e,Wt>1&&(Wt=1),gt&&$e===P&&Wt>.1&&(Wt=.1),Wt<.06&&(Wt=.06),Number(Wt.toFixed(2))}function G(Re,$e,gt){var Wt;return gt?Wt=Re.v+U*$e:Wt=Re.v-j*$e,Wt>1&&(Wt=1),Number(Wt.toFixed(2))}function le(Re){for(var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gt=[],Wt=B()(Re),$t=P;$t>0;$t-=1){var Dt=Wt.toHsv(),Kt=B()({h:z(Dt,$t,!0),s:X(Dt,$t,!0),v:G(Dt,$t,!0)}).toHexString();gt.push(Kt)}gt.push(Wt.toHexString());for(var Gt=1;Gt<=K;Gt+=1){var Qt=Wt.toHsv(),Mt=B()({h:z(Qt,Gt),s:X(Qt,Gt),v:G(Qt,Gt)}).toHexString();gt.push(Mt)}return $e.theme==="dark"?V.map(function(dr){var er=dr.index,st=dr.opacity,xt=B.a.mix($e.backgroundColor||"#141414",gt[er],st*100).toHexString();return xt}):gt}var Y={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"},me={},we={};Object.keys(Y).forEach(function(Re){me[Re]=le(Y[Re]),me[Re].primary=me[Re][5],we[Re]=le(Y[Re],{theme:"dark",backgroundColor:"#141414"}),we[Re].primary=we[Re][5]});var pe=me.red,Fe=me.volcano,Xe=me.gold,dt=me.orange,Ee=me.yellow,Se=me.lime,at=me.green,_e=me.cyan,ce=me.blue,ee=me.geekblue,se=me.purple,ke=me.magenta,Ce=me.grey;function ze(Re){return!Re||Re<0?0:Re>100?100:Re}function Oe(Re){var $e=Re.success,gt=Re.successPercent,Wt=gt;return $e&&"progress"in $e&&(Object(k.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Wt=$e.progress),$e&&"percent"in $e&&(Wt=$e.percent),Wt}var ae=function(Re,$e){var gt={};for(var Wt in Re)Object.prototype.hasOwnProperty.call(Re,Wt)&&$e.indexOf(Wt)<0&&(gt[Wt]=Re[Wt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Re);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Re,Wt[$t])&&(gt[Wt[$t]]=Re[Wt[$t]]);return gt},ge=function($e){var gt=[];return Object.keys($e).forEach(function(Wt){var $t=parseFloat(Wt.replace(/%/g,""));isNaN($t)||gt.push({key:$t,value:$e[Wt]})}),gt=gt.sort(function(Wt,$t){return Wt.key-$t.key}),gt.map(function(Wt){var $t=Wt.key,Dt=Wt.value;return"".concat(Dt," ").concat($t,"%")}).join(", ")},Le=function($e){var gt=$e.from,Wt=gt===void 0?Y.blue:gt,$t=$e.to,Dt=$t===void 0?Y.blue:$t,Kt=$e.direction,Gt=Kt===void 0?"to right":Kt,Qt=ae($e,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Mt=ge(Qt);return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Mt,")")}}return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Wt,", ").concat(Dt,")")}},Ze=function($e){var gt=$e.prefixCls,Wt=$e.percent,$t=$e.strokeWidth,Dt=$e.size,Kt=$e.strokeColor,Gt=$e.strokeLinecap,Qt=$e.children,Mt=$e.trailColor,dr=$e.success,er=Kt&&typeof Kt!="string"?Le(Kt):{background:Kt},st=Mt?{backgroundColor:Mt}:void 0,xt=m()({width:"".concat(ze(Wt),"%"),height:$t||(Dt==="small"?6:8),borderRadius:Gt==="square"?0:""},er),ut=Oe($e),pt={width:"".concat(ze(ut),"%"),height:$t||(Dt==="small"?6:8),borderRadius:Gt==="square"?0:"",backgroundColor:dr==null?void 0:dr.strokeColor},_t=ut!==void 0?t.createElement("div",{className:"".concat(gt,"-success-bg"),style:pt}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(gt,"-outer")},t.createElement("div",{className:"".concat(gt,"-inner"),style:st},t.createElement("div",{className:"".concat(gt,"-bg"),style:xt}),_t)),Qt)},vt=Ze,Ct={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Be=function($e){var gt=$e.map(function(){return Object(t.useRef)()}),Wt=Object(t.useRef)();return Object(t.useEffect)(function(){var $t=Date.now(),Dt=!1;Object.keys(gt).forEach(function(Kt){var Gt=gt[Kt].current;if(!Gt)return;Dt=!0;var Qt=Gt.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Wt.current&&$t-Wt.current<100&&(Qt.transitionDuration="0s, 0s")}),Dt&&(Wt.current=Date.now())}),[gt]};function Rt(){return Rt=Object.assign||function(Re){for(var $e=1;$e<arguments.length;$e++){var gt=arguments[$e];for(var Wt in gt)Object.prototype.hasOwnProperty.call(gt,Wt)&&(Re[Wt]=gt[Wt])}return Re},Rt.apply(this,arguments)}function He(Re,$e){return lt(Re)||rt(Re,$e)||Ge(Re,$e)||wt()}function wt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ge(Re,$e){if(!Re)return;if(typeof Re=="string")return et(Re,$e);var gt=Object.prototype.toString.call(Re).slice(8,-1);if(gt==="Object"&&Re.constructor&&(gt=Re.constructor.name),gt==="Map"||gt==="Set")return Array.from(Re);if(gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return et(Re,$e)}function et(Re,$e){($e==null||$e>Re.length)&&($e=Re.length);for(var gt=0,Wt=new Array($e);gt<$e;gt++)Wt[gt]=Re[gt];return Wt}function rt(Re,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Re)))return;var gt=[],Wt=!0,$t=!1,Dt=void 0;try{for(var Kt=Re[Symbol.iterator](),Gt;!(Wt=(Gt=Kt.next()).done)&&!(gt.push(Gt.value),$e&&gt.length===$e);Wt=!0);}catch(Qt){$t=!0,Dt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Dt}}return gt}function lt(Re){if(Array.isArray(Re))return Re}function Ve(Re,$e){if(Re==null)return{};var gt=ie(Re,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(Re);for($t=0;$t<Dt.length;$t++){if(Wt=Dt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Re,Wt))continue;gt[Wt]=Re[Wt]}}return gt}function ie(Re,$e){if(Re==null)return{};var gt={},Wt=Object.keys(Re),$t,Dt;for(Dt=0;Dt<Wt.length;Dt++){if($t=Wt[Dt],$e.indexOf($t)>=0)continue;gt[$t]=Re[$t]}return gt}var $=function($e){var gt=$e.className,Wt=$e.percent,$t=$e.prefixCls,Dt=$e.strokeColor,Kt=$e.strokeLinecap,Gt=$e.strokeWidth,Qt=$e.style,Mt=$e.trailColor,dr=$e.trailWidth,er=$e.transition,st=Ve($e,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete st.gapPosition;var xt=Array.isArray(Wt)?Wt:[Wt],ut=Array.isArray(Dt)?Dt:[Dt],pt=Be(xt),_t=He(pt,1),Tt=_t[0],ft=Gt/2,Ht=100-Gt/2,kt="M ".concat(Kt==="round"?ft:0,",").concat(ft,`
L `).concat(Kt==="round"?Ht:100,",").concat(ft),ir="0 0 100 ".concat(Gt),Xt=0;return s.a.createElement("svg",Rt({className:p()("".concat($t,"-line"),gt),viewBox:ir,preserveAspectRatio:"none",style:Qt},st),s.a.createElement("path",{className:"".concat($t,"-line-trail"),d:kt,strokeLinecap:Kt,stroke:Mt,strokeWidth:dr||Gt,fillOpacity:"0"}),xt.map(function(mr,Ar){var Nr={strokeDasharray:"".concat(mr,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:er||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},kr=ut[Ar]||ut[ut.length-1];return Xt+=mr,s.a.createElement("path",{key:Ar,className:"".concat($t,"-line-path"),d:kt,strokeLinecap:Kt,stroke:kr,strokeWidth:Gt,fillOpacity:"0",ref:Tt[Ar],style:Nr})}))};$.defaultProps=Ct;var it=$;function Qe(){return Qe=Object.assign||function(Re){for(var $e=1;$e<arguments.length;$e++){var gt=arguments[$e];for(var Wt in gt)Object.prototype.hasOwnProperty.call(gt,Wt)&&(Re[Wt]=gt[Wt])}return Re},Qe.apply(this,arguments)}function ye(Re,$e){return It(Re)||yt(Re,$e)||ht(Re,$e)||Zt()}function Zt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ht(Re,$e){if(!Re)return;if(typeof Re=="string")return ct(Re,$e);var gt=Object.prototype.toString.call(Re).slice(8,-1);if(gt==="Object"&&Re.constructor&&(gt=Re.constructor.name),gt==="Map"||gt==="Set")return Array.from(Re);if(gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return ct(Re,$e)}function ct(Re,$e){($e==null||$e>Re.length)&&($e=Re.length);for(var gt=0,Wt=new Array($e);gt<$e;gt++)Wt[gt]=Re[gt];return Wt}function yt(Re,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Re)))return;var gt=[],Wt=!0,$t=!1,Dt=void 0;try{for(var Kt=Re[Symbol.iterator](),Gt;!(Wt=(Gt=Kt.next()).done)&&!(gt.push(Gt.value),$e&&gt.length===$e);Wt=!0);}catch(Qt){$t=!0,Dt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Dt}}return gt}function It(Re){if(Array.isArray(Re))return Re}function or(Re,$e){if(Re==null)return{};var gt=Bt(Re,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(Re);for($t=0;$t<Dt.length;$t++){if(Wt=Dt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Re,Wt))continue;gt[Wt]=Re[Wt]}}return gt}function Bt(Re,$e){if(Re==null)return{};var gt={},Wt=Object.keys(Re),$t,Dt;for(Dt=0;Dt<Wt.length;Dt++){if($t=Wt[Dt],$e.indexOf($t)>=0)continue;gt[$t]=Re[$t]}return gt}var Ae=0;function ve(Re){return+Re.replace("%","")}function fe(Re){return Array.isArray(Re)?Re:[Re]}function ue(Re,$e,gt,Wt){var $t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Dt=arguments.length>5?arguments[5]:void 0,Kt=50-Wt/2,Gt=0,Qt=-Kt,Mt=0,dr=-2*Kt;switch(Dt){case"left":Gt=-Kt,Qt=0,Mt=2*Kt,dr=0;break;case"right":Gt=Kt,Qt=0,Mt=-2*Kt,dr=0;break;case"bottom":Qt=Kt,dr=2*Kt;break;default:}var er="M 50,50 m ".concat(Gt,",").concat(Qt,`
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(Mt,",").concat(-dr,`
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(-Mt,",").concat(dr),st=Math.PI*2*Kt,xt={stroke:gt,strokeDasharray:"".concat($e/100*(st-$t),"px ").concat(st,"px"),strokeDashoffset:"-".concat($t/2+Re/100*(st-$t),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:er,pathStyle:xt}}var Ne=function($e){var gt=$e.prefixCls,Wt=$e.strokeWidth,$t=$e.trailWidth,Dt=$e.gapDegree,Kt=$e.gapPosition,Gt=$e.trailColor,Qt=$e.strokeLinecap,Mt=$e.style,dr=$e.className,er=$e.strokeColor,st=$e.percent,xt=or($e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),ut=Object(t.useMemo)(function(){return Ae+=1,Ae},[]),pt=ue(0,100,Gt,Wt,Dt,Kt),_t=pt.pathString,Tt=pt.pathStyle,ft=fe(st),Ht=fe(er),kt=Ht.find(function(Nr){return Object.prototype.toString.call(Nr)==="[object Object]"}),ir=Be(ft),Xt=ye(ir,1),mr=Xt[0],Ar=function(){var kr=0;return ft.map(function(tn,qr){var Lr=Ht[qr]||Ht[Ht.length-1],Qr=Object.prototype.toString.call(Lr)==="[object Object]"?"url(#".concat(gt,"-gradient-").concat(ut,")"):"",Ir=ue(kr,tn,Lr,Wt,Dt,Kt);return kr+=tn,s.a.createElement("path",{key:qr,className:"".concat(gt,"-circle-path"),d:Ir.pathString,stroke:Qr,strokeLinecap:Qt,strokeWidth:Wt,opacity:tn===0?0:1,fillOpacity:"0",style:Ir.pathStyle,ref:mr[qr]})})};return s.a.createElement("svg",Qe({className:p()("".concat(gt,"-circle"),dr),viewBox:"0 0 100 100",style:Mt},xt),kt&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(gt,"-gradient-").concat(ut),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(kt).sort(function(Nr,kr){return ve(Nr)-ve(kr)}).map(function(Nr,kr){return s.a.createElement("stop",{key:kr,offset:Nr,stopColor:kt[Nr]})}))),s.a.createElement("path",{className:"".concat(gt,"-circle-trail"),d:_t,stroke:Gt,strokeLinecap:Qt,strokeWidth:$t||Wt,fillOpacity:"0",style:Tt}),Ar().reverse())};Ne.defaultProps=Ct;var je=Ne,Ke={Line:it,Circle:je};function Ye(Re){var $e=Re.percent,gt=Re.success,Wt=Re.successPercent,$t=ze($e),Dt=Oe({success:gt,successPercent:Wt});return Dt?[ze(Dt),ze($t-ze(Dt))]:$t}function Pe(Re){var $e=Re.success,gt=Re.strokeColor,Wt=Re.successPercent,$t=gt||null,Dt=Oe({success:$e,successPercent:Wt});return Dt?[Y.green,$t]:$t}var nt=function($e){var gt=$e.prefixCls,Wt=$e.width,$t=$e.strokeWidth,Dt=$e.trailColor,Kt=$e.strokeLinecap,Gt=$e.gapPosition,Qt=$e.gapDegree,Mt=$e.type,dr=$e.children,er=Wt||120,st={width:er,height:er,fontSize:er*.15+6},xt=$t||6,ut=Gt||Mt==="dashboard"&&"bottom"||"top",pt=function(){return Qt||Qt===0?Qt:Mt==="dashboard"?75:void 0},_t=Pe($e),Tt=Object.prototype.toString.call(_t)==="[object Object]",ft=p()("".concat(gt,"-inner"),f()({},"".concat(gt,"-circle-gradient"),Tt));return t.createElement("div",{className:ft,style:st},t.createElement(je,{percent:Ye($e),strokeWidth:xt,trailWidth:xt,strokeColor:_t,strokeLinecap:Kt,trailColor:Dt,prefixCls:gt,gapDegree:pt(),gapPosition:ut}),dr)},At=nt,Ot=function($e){for(var gt=$e.size,Wt=$e.steps,$t=$e.percent,Dt=$t===void 0?0:$t,Kt=$e.strokeWidth,Gt=Kt===void 0?8:Kt,Qt=$e.strokeColor,Mt=$e.trailColor,dr=$e.prefixCls,er=$e.children,st=Math.floor(Wt*(Dt/100)),xt=gt==="small"?2:14,ut=[],pt=0;pt<Wt;pt+=1)ut.push(t.createElement("div",{key:pt,className:p()("".concat(dr,"-steps-item"),f()({},"".concat(dr,"-steps-item-active"),pt<=st-1)),style:{backgroundColor:pt<=st-1?Qt:Mt,width:xt,height:Gt}}));return t.createElement("div",{className:"".concat(dr,"-steps-outer")},ut,er)},ne=Ot,he=function(Re,$e){var gt={};for(var Wt in Re)Object.prototype.hasOwnProperty.call(Re,Wt)&&$e.indexOf(Wt)<0&&(gt[Wt]=Re[Wt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Re);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Re,Wt[$t])&&(gt[Wt[$t]]=Re[Wt[$t]]);return gt},Q=Object(N.a)("line","circle","dashboard"),te=Object(N.a)("normal","exception","active","success"),be=function(Re){u()(gt,Re);var $e=l()(gt);function gt(){var Wt;return h()(this,gt),Wt=$e.apply(this,arguments),Wt.renderProgress=function($t){var Dt,Kt=$t.getPrefixCls,Gt=$t.direction,Qt=n()(Wt),Mt=Qt.props,dr=Mt.prefixCls,er=Mt.className,st=Mt.size,xt=Mt.type,ut=Mt.steps,pt=Mt.showInfo,_t=Mt.strokeColor,Tt=he(Mt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),ft=Kt("progress",dr),Ht=Wt.getProgressStatus(),kt=Wt.renderProcessInfo(ft,Ht);Object(k.a)(!("successPercent"in Mt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ir;xt==="line"?ir=ut?t.createElement(ne,m()({},Wt.props,{strokeColor:typeof _t=="string"?_t:void 0,prefixCls:ft,steps:ut}),kt):t.createElement(vt,m()({},Wt.props,{prefixCls:ft}),kt):(xt==="circle"||xt==="dashboard")&&(ir=t.createElement(At,m()({},Wt.props,{prefixCls:ft,progressStatus:Ht}),kt));var Xt=p()(ft,(Dt={},f()(Dt,"".concat(ft,"-").concat(xt==="dashboard"&&"circle"||ut&&"steps"||xt),!0),f()(Dt,"".concat(ft,"-status-").concat(Ht),!0),f()(Dt,"".concat(ft,"-show-info"),pt),f()(Dt,"".concat(ft,"-").concat(st),st),f()(Dt,"".concat(ft,"-rtl"),Gt==="rtl"),Dt),er);return t.createElement("div",m()({},Object(b.default)(Tt,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Xt}),ir)},Wt}return o()(gt,[{key:"getPercentNumber",value:function(){var $t=this.props.percent,Dt=$t===void 0?0:$t,Kt=Oe(this.props);return parseInt(Kt!==void 0?Kt.toString():Dt.toString(),10)}},{key:"getProgressStatus",value:function(){var $t=this.props.status;return te.indexOf($t)<0&&this.getPercentNumber()>=100?"success":$t||"normal"}},{key:"renderProcessInfo",value:function($t,Dt){var Kt=this.props,Gt=Kt.showInfo,Qt=Kt.format,Mt=Kt.type,dr=Kt.percent,er=Oe(this.props);if(!Gt)return null;var st,xt=Qt||function(pt){return"".concat(pt,"%")},ut=Mt==="line";return Qt||Dt!=="exception"&&Dt!=="success"?st=xt(ze(dr),ze(er)):Dt==="exception"?st=ut?t.createElement(C.a,null):t.createElement(E.a,null):Dt==="success"&&(st=ut?t.createElement(L.a,null):t.createElement(x.a,null)),t.createElement("span",{className:"".concat($t,"-text"),title:typeof st=="string"?st:void 0},st)}},{key:"render",value:function(){return t.createElement(O.a,null,this.renderProgress)}}]),gt}(t.Component);be.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Ie=_.a=be},CH3K:function(D,_){function e(g,f){for(var A=-1,m=f.length,v=g.length;++A<m;)g[v+A]=f[A];return g}D.exports=e},"CMP+":function(D,_,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,o){f.call(this,v,h,c),this.type=o||"value",this.model=null};A.prototype={constructor:A,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},g.inherits(A,f);var m=A;D.exports=m},CP8R:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};_.default=g},"CWI+":function(D,_,e){},CbHG:function(D,_,e){var g=e("IwbS"),f=g.subPixelOptimize,A=e("zM3Q"),m=e("OELB"),v=m.parsePercent,h=e("bYtY"),c=h.retrieve2,o=typeof Float32Array!="undefined"?Float32Array:Array,i={seriesType:"candlestick",plan:A(),reset:function(u){var r=u.coordinateSystem,l=u.getData(),t=a(u,l),s=0,d=1,p=["x","y"],b=l.mapDimension(p[s]),w=l.mapDimension(p[d],!0),E=w[0],S=w[1],x=w[2],T=w[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),b==null||w.length<4)return;return{progress:u.pipelineContext.large?y:L};function L(C,O){for(var N;(N=C.next())!=null;){var k=O.get(b,N),F=O.get(E,N),B=O.get(S,N),H=O.get(x,N),W=O.get(T,N),R=Math.min(F,B),U=Math.max(F,B),j=X(R,k),P=X(U,k),K=X(H,k),V=X(W,k),z=[];G(z,P,0),G(z,j,1),z.push(Y(V),Y(P),Y(K),Y(j)),O.setItemLayout(N,{sign:n(O,N,F,B,S),initBaseline:F>B?P[d]:j[d],ends:z,brushRect:le(H,W,k)})}function X(me,we){var pe=[];return pe[s]=we,pe[d]=me,isNaN(we)||isNaN(me)?[NaN,NaN]:r.dataToPoint(pe)}function G(me,we,pe){var Fe=we.slice(),Xe=we.slice();Fe[s]=f(Fe[s]+t/2,1,!1),Xe[s]=f(Xe[s]-t/2,1,!0),pe?me.push(Fe,Xe):me.push(Xe,Fe)}function le(me,we,pe){var Fe=X(me,pe),Xe=X(we,pe);return Fe[s]-=t/2,Xe[s]-=t/2,{x:Fe[0],y:Fe[1],width:d?t:Xe[0]-Fe[0],height:d?Xe[1]-Fe[1]:t}}function Y(me){return me[s]=f(me[s],1),me}}function y(C,O){for(var N=new o(C.count*4),k=0,F,B=[],H=[],W;(W=C.next())!=null;){var R=O.get(b,W),U=O.get(E,W),j=O.get(S,W),P=O.get(x,W),K=O.get(T,W);if(isNaN(R)||isNaN(P)||isNaN(K)){N[k++]=NaN,k+=3;continue}N[k++]=n(O,W,U,j,S),B[s]=R,B[d]=P,F=r.dataToPoint(B,null,H),N[k++]=F?F[0]:NaN,N[k++]=F?F[1]:NaN,B[d]=K,F=r.dataToPoint(B,null,H),N[k++]=F?F[1]:NaN}O.setLayout("largePoints",N)}}};function n(u,r,l,t,s){var d;return l>t?d=-1:l<t?d=1:d=r>0?u.get(s,r-1)<=t?1:-1:1,d}function a(u,r){var l=u.getBaseAxis(),t,s=l.type==="category"?l.getBandWidth():(t=l.getExtent(),Math.abs(t[1]-t[0])/r.count()),d=v(c(u.get("barMaxWidth"),s),s),p=v(c(u.get("barMinWidth"),1),s),b=u.get("barWidth");return b!=null?v(b,s):Math.max(Math.min(s/2,d),p)}D.exports=i},CiB2:function(D,_,e){"use strict";e.d(_,"a",function(){return g});function g(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(D,_,e){e("5NHt"),e("f3JH")},CrYA:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"sessionStorage",read:m,write:v,each:h,remove:c,clearAll:o};function A(){return f.sessionStorage}function m(i){return A().getItem(i)}function v(i,n){return A().setItem(i,n)}function h(i){for(var n=A().length-1;n>=0;n--){var a=A().key(n);i(m(a),a)}}function c(i){return A().removeItem(i)}function o(){return A().clear()}},Csr3:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("4vCz"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},Cwc5:function(D,_,e){var g=e("NKxu"),f=e("Npjl");function A(m,v){var h=f(m,v);return g(h)?h:void 0}D.exports=A},D1WM:function(D,_,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,o,i){f.call(this,v,h,c),this.type=o||"value",this.axisIndex=i};A.prototype={constructor:A,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},g.inherits(A,f);var m=A;D.exports=m},D5nY:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("4NO4"),m=A.makeInner,v=A.getDataItemValue,h=e("bYtY"),c=h.createHashMap,o=h.each,i=h.map,n=h.isArray,a=h.isString,u=h.isObject,r=h.isTypedArray,l=h.isArrayLike,t=h.extend,s=h.assert,d=e("7G+c"),p=e("k9D9"),b=p.SOURCE_FORMAT_ORIGINAL,w=p.SOURCE_FORMAT_ARRAY_ROWS,E=p.SOURCE_FORMAT_OBJECT_ROWS,S=p.SOURCE_FORMAT_KEYED_COLUMNS,x=p.SOURCE_FORMAT_UNKNOWN,T=p.SOURCE_FORMAT_TYPED_ARRAY,L=p.SERIES_LAYOUT_BY_ROW,y={Must:1,Might:2,Not:3},C=m();function O(z){var X=z.option.source,G=x;if(r(X))G=T;else if(n(X)){X.length===0&&(G=w);for(var le=0,Y=X.length;le<Y;le++){var me=X[le];if(me==null)continue;if(n(me)){G=w;break}else if(u(me)){G=E;break}}}else if(u(X)){for(var we in X)if(X.hasOwnProperty(we)&&l(X[we])){G=S;break}}else if(X!=null)throw new Error("Invalid data");C(z).sourceFormat=G}function N(z){return C(z).source}function k(z){C(z).datasetMap=c()}function F(z){var X=z.option,G=X.data,le=r(G)?T:b,Y=!1,me=X.seriesLayoutBy,we=X.sourceHeader,pe=X.dimensions,Fe=P(z);if(Fe){var Xe=Fe.option;G=Xe.source,le=C(Fe).sourceFormat,Y=!0,me=me||Xe.seriesLayoutBy,we==null&&(we=Xe.sourceHeader),pe=pe||Xe.dimensions}var dt=B(G,le,me,we,pe);C(z).source=new d({data:G,fromDataset:Y,seriesLayoutBy:me,sourceFormat:le,dimensionsDefine:dt.dimensionsDefine,startIndex:dt.startIndex,dimensionsDetectCount:dt.dimensionsDetectCount,encodeDefine:X.encode})}function B(z,X,G,le,Y){if(!z)return{dimensionsDefine:H(Y)};var me,we;if(X===w)le==="auto"||le==null?W(function(Fe){Fe!=null&&Fe!=="-"&&(a(Fe)?we==null&&(we=1):we=0)},G,z,10):we=le?1:0,!Y&&we===1&&(Y=[],W(function(Fe,Xe){Y[Xe]=Fe!=null?Fe:""},G,z)),me=Y?Y.length:G===L?z.length:z[0]?z[0].length:null;else if(X===E)Y||(Y=R(z));else if(X===S)Y||(Y=[],o(z,function(Fe,Xe){Y.push(Xe)}));else if(X===b){var pe=v(z[0]);me=n(pe)&&pe.length||1}else X===T;return{startIndex:we,dimensionsDefine:H(Y),dimensionsDetectCount:me}}function H(z){if(!z)return;var X=c();return i(z,function(G,le){if(G=t({},u(G)?G:{name:G}),G.name==null)return G;G.name+="",G.displayName==null&&(G.displayName=G.name);var Y=X.get(G.name);return Y?G.name+="-"+Y.count++:X.set(G.name,{count:1}),G})}function W(z,X,G,le){if(le==null&&(le=Infinity),X===L)for(var Y=0;Y<G.length&&Y<le;Y++)z(G[Y]?G[Y][0]:null,Y);else for(var me=G[0]||[],Y=0;Y<me.length&&Y<le;Y++)z(me[Y],Y)}function R(z){for(var X=0,G;X<z.length&&!(G=z[X++]););if(G){var le=[];return o(G,function(Y,me){le.push(me)}),le}}function U(z,X,G){var le={},Y=P(X);if(!Y||!z)return le;var me=[],we=[],pe=X.ecModel,Fe=C(pe).datasetMap,Xe=Y.uid+"_"+G.seriesLayoutBy,dt,Ee;z=z.slice(),o(z,function(ce,ee){!u(ce)&&(z[ee]={name:ce}),ce.type==="ordinal"&&dt==null&&(dt=ee,Ee=_e(z[ee])),le[ce.name]=[]});var Se=Fe.get(Xe)||Fe.set(Xe,{categoryWayDim:Ee,valueWayDim:0});o(z,function(ce,ee){var se=ce.name,ke=_e(ce);if(dt==null){var Ce=Se.valueWayDim;at(le[se],Ce,ke),at(we,Ce,ke),Se.valueWayDim+=ke}else if(dt===ee)at(le[se],0,ke),at(me,0,ke);else{var Ce=Se.categoryWayDim;at(le[se],Ce,ke),at(we,Ce,ke),Se.categoryWayDim+=ke}});function at(ce,ee,se){for(var ke=0;ke<se;ke++)ce.push(ee+ke)}function _e(ce){var ee=ce.dimsDef;return ee?ee.length:1}return me.length&&(le.itemName=me),we.length&&(le.seriesName=we),le}function j(z,X,G){var le={},Y=P(z);if(!Y)return le;var me=X.sourceFormat,we=X.dimensionsDefine,pe;(me===E||me===S)&&o(we,function(dt,Ee){(u(dt)?dt.name:dt)==="name"&&(pe=Ee)});var Fe=function(){for(var dt={},Ee={},Se=[],at=0,_e=Math.min(5,G);at<_e;at++){var ce=V(X.data,me,X.seriesLayoutBy,we,X.startIndex,at);Se.push(ce);var ee=ce===y.Not;if(ee&&dt.v==null&&at!==pe&&(dt.v=at),(dt.n==null||dt.n===dt.v||!ee&&Se[dt.n]===y.Not)&&(dt.n=at),se(dt)&&Se[dt.n]!==y.Not)return dt;ee||(ce===y.Might&&Ee.v==null&&at!==pe&&(Ee.v=at),(Ee.n==null||Ee.n===Ee.v)&&(Ee.n=at))}function se(ke){return ke.v!=null&&ke.n!=null}return se(dt)?dt:se(Ee)?Ee:null}();if(Fe){le.value=Fe.v;var Xe=pe!=null?pe:Fe.n;le.itemName=[Xe],le.seriesName=[Xe]}return le}function P(z){var X=z.option,G=X.data;if(!G)return z.ecModel.getComponent("dataset",X.datasetIndex||0)}function K(z,X){return V(z.data,z.sourceFormat,z.seriesLayoutBy,z.dimensionsDefine,z.startIndex,X)}function V(z,X,G,le,Y,me){var we,pe=5;if(r(z))return y.Not;var Fe,Xe;if(le){var dt=le[me];u(dt)?(Fe=dt.name,Xe=dt.type):a(dt)&&(Fe=dt)}if(Xe!=null)return Xe==="ordinal"?y.Must:y.Not;if(X===w)if(G===L){for(var Ee=z[me],Se=0;Se<(Ee||[]).length&&Se<pe;Se++)if((we=ee(Ee[Y+Se]))!=null)return we}else for(var Se=0;Se<z.length&&Se<pe;Se++){var at=z[Y+Se];if(at&&(we=ee(at[me]))!=null)return we}else if(X===E){if(!Fe)return y.Not;for(var Se=0;Se<z.length&&Se<pe;Se++){var _e=z[Se];if(_e&&(we=ee(_e[Fe]))!=null)return we}}else if(X===S){if(!Fe)return y.Not;var Ee=z[Fe];if(!Ee||r(Ee))return y.Not;for(var Se=0;Se<Ee.length&&Se<pe;Se++)if((we=ee(Ee[Se]))!=null)return we}else if(X===b)for(var Se=0;Se<z.length&&Se<pe;Se++){var _e=z[Se],ce=v(_e);if(!n(ce))return y.Not;if((we=ee(ce[me]))!=null)return we}function ee(se){var ke=a(se);if(se!=null&&isFinite(se)&&se!=="")return ke?y.Might:y.Not;if(ke&&se!=="-")return y.Must}return y.Not}_.BE_ORDINAL=y,_.detectSourceFormat=O,_.getSource=N,_.resetSourceDefaulter=k,_.prepareSource=F,_.makeSeriesEncodeForAxisCoordSys=U,_.makeSeriesEncodeForNameBased=j,_.guessOrdinal=K},D9ME:function(D,_,e){var g=e("IwbS"),f=e("fls0"),A=e("bYtY"),m=e("oVpE"),v=m.createSymbol,h=e("QBsz"),c=e("Sj9i");function o(a,u,r){g.Group.call(this),this.add(this.createLine(a,u,r)),this._updateEffectSymbol(a,u)}var i=o.prototype;i.createLine=function(a,u,r){return new f(a,u,r)},i._updateEffectSymbol=function(a,u){var r=a.getItemModel(u),l=r.getModel("effect"),t=l.get("symbolSize"),s=l.get("symbol");A.isArray(t)||(t=[t,t]);var d=l.get("color")||a.getItemVisual(u,"color"),p=this.childAt(1);if(this._symbolType!==s&&(this.remove(p),p=v(s,-.5,-.5,1,1,d),p.z2=100,p.culling=!0,this.add(p)),!p)return;p.setStyle("shadowColor",d),p.setStyle(l.getItemStyle(["color"])),p.attr("scale",t),p.setColor(d),p.attr("scale",t),this._symbolType=s,this._symbolScale=t,this._updateEffectAnimation(a,l,u)},i._updateEffectAnimation=function(a,u,r){var l=this.childAt(1);if(!l)return;var t=this,s=a.getItemLayout(r),d=u.get("period")*1e3,p=u.get("loop"),b=u.get("constantSpeed"),w=A.retrieve(u.get("delay"),function(T){return T/a.count()*d/3}),E=typeof w=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),b>0&&(d=this.getLineLength(l)/b*1e3),d!==this._period||p!==this._loop){l.stopAnimation();var S=w;E&&(S=w(r)),l.__t>0&&(S=-d*l.__t),l.__t=0;var x=l.animate("",p).when(d,{__t:1}).delay(S).during(function(){t.updateSymbolPosition(l)});p||x.done(function(){t.remove(l)}),x.start()}this._period=d,this._loop=p},i.getLineLength=function(a){return h.dist(a.__p1,a.__cp1)+h.dist(a.__cp1,a.__p2)},i.updateAnimationPoints=function(a,u){a.__p1=u[0],a.__p2=u[1],a.__cp1=u[2]||[(u[0][0]+u[1][0])/2,(u[0][1]+u[1][1])/2]},i.updateData=function(a,u,r){this.childAt(0).updateData(a,u,r),this._updateEffectSymbol(a,u)},i.updateSymbolPosition=function(a){var u=a.__p1,r=a.__p2,l=a.__cp1,t=a.__t,s=a.position,d=[s[0],s[1]],p=c.quadraticAt,b=c.quadraticDerivativeAt;s[0]=p(u[0],l[0],r[0],t),s[1]=p(u[1],l[1],r[1],t);var w=b(u[0],l[0],r[0],t),E=b(u[1],l[1],r[1],t);if(a.rotation=-Math.atan2(E,w)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(a.__lastT!==void 0&&a.__lastT<a.__t){var S=h.dist(d,s)*1.05;a.attr("scale",[a.scale[0],S]),t===1&&(s[0]=d[0]+(s[0]-d[0])/2,s[1]=d[1]+(s[1]-d[1])/2)}else if(a.__lastT===1){var S=2*h.dist(u,s);a.attr("scale",[a.scale[0],S])}else a.attr("scale",this._symbolScale);a.__lastT=a.__t,a.ignore=!1},i.updateLayout=function(a,u){this.childAt(0).updateLayout(a,u);var r=a.getItemModel(u).getModel("effect");this._updateEffectAnimation(a,r,u)},A.inherits(o,g.Group);var n=o;D.exports=n},DBLp:function(D,_){function e(){}e.prototype={diff:function(h,c,o){o||(o=function(E,S){return E===S}),this.equals=o;var i=this;h=h.slice(),c=c.slice();var n=c.length,a=h.length,u=1,r=n+a,l=[{newPos:-1,components:[]}],t=this.extractCommon(l[0],c,h,0);if(l[0].newPos+1>=n&&t+1>=a){for(var s=[],d=0;d<c.length;d++)s.push(d);return[{indices:s,count:c.length}]}function p(){for(var w=-1*u;w<=u;w+=2){var E,S=l[w-1],x=l[w+1],T=(x?x.newPos:0)-w;S&&(l[w-1]=void 0);var L=S&&S.newPos+1<n,y=x&&0<=T&&T<a;if(!L&&!y){l[w]=void 0;continue}if(!L||y&&S.newPos<x.newPos?(E=f(x),i.pushComponent(E.components,void 0,!0)):(E=S,E.newPos++,i.pushComponent(E.components,!0,void 0)),T=i.extractCommon(E,c,h,w),E.newPos+1>=n&&T+1>=a)return g(i,E.components,c,h);l[w]=E}u++}for(;u<=r;){var b=p();if(b)return b}},pushComponent:function(h,c,o){var i=h[h.length-1];i&&i.added===c&&i.removed===o?h[h.length-1]={count:i.count+1,added:c,removed:o}:h.push({count:1,added:c,removed:o})},extractCommon:function(h,c,o,i){for(var n=c.length,a=o.length,u=h.newPos,r=u-i,l=0;u+1<n&&r+1<a&&this.equals(c[u+1],o[r+1]);)u++,r++,l++;return l&&h.components.push({count:l}),h.newPos=u,r},tokenize:function(h){return h.slice()},join:function(h){return h.slice()}};function g(v,h,c,o){for(var i=0,n=h.length,a=0,u=0;i<n;i++){var r=h[i];if(r.removed){for(var l=[],t=u;t<u+r.count;t++)l.push(t);r.indices=l,u+=r.count}else{for(var l=[],t=a;t<a+r.count;t++)l.push(t);r.indices=l,a+=r.count,r.added||(u+=r.count)}}return h}function f(v){return{newPos:v.newPos,components:v.components.slice(0)}}var A=new e;function m(v,h,c){return A.diff(v,h,c)}D.exports=m},DEFe:function(D,_,e){var g=e("bYtY"),f=e("SgGq"),A=e("Ae+d"),m=e("xSat"),v=m.onIrrelevantElement,h=e("IwbS"),c=e("W4dC"),o=e("iRjW"),i=o.getUID,n=e("DN4a");function a(s){var d=s.getItemStyle(),p=s.get("areaColor");return p!=null&&(d.fill=p),d}function u(s,d,p,b,w){p.off("click"),p.off("mousedown"),d.get("selectedMode")&&(p.on("mousedown",function(){s._mouseDownFlag=!0}),p.on("click",function(E){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var S=E.target;!S.__regions;)S=S.parent;if(!S)return;var x={type:(d.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:g.map(S.__regions,function(T){return{name:T.name,from:w.uid}})};x[d.mainType+"Id"]=d.id,b.dispatchAction(x),r(d,p)}))}function r(s,d){d.eachChild(function(p){g.each(p.__regions,function(b){p.trigger(s.isSelected(b.name)?"emphasis":"normal")})})}function l(s,d){var p=new h.Group;this.uid=i("ec_map_draw"),this._controller=new f(s.getZr()),this._controllerHost={target:d?p:null},this.group=p,this._updateGroup=d,this._mouseDownFlag,this._mapName,this._initialized,p.add(this._regionsGroup=new h.Group),p.add(this._backgroundGroup=new h.Group)}l.prototype={constructor:l,draw:function(s,d,p,b,w){var E=s.mainType==="geo",S=s.getData&&s.getData();E&&d.eachComponent({mainType:"series",subType:"map"},function(P){!S&&P.getHostGeoModel()===s&&(S=P.getData())});var x=s.coordinateSystem;this._updateBackground(x);var T=this._regionsGroup,L=this.group,y=x.getTransformInfo(),C=!T.childAt(0)||w,O;if(C)L.transform=y.roamTransform,L.decomposeTransform(),L.dirty();else{var N=new n;N.transform=y.roamTransform,N.decomposeTransform();var k={scale:N.scale,position:N.position};O=N.scale,h.updateProps(L,k,s)}var F=y.rawScale,B=y.rawPosition;T.removeAll();var H=["itemStyle"],W=["emphasis","itemStyle"],R=["label"],U=["emphasis","label"],j=g.createHashMap();g.each(x.regions,function(P){var K=j.get(P.name)||j.set(P.name,new h.Group),V=new h.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});K.add(V);var z=s.getRegionModel(P.name)||s,X=z.getModel(H),G=z.getModel(W),le=a(X),Y=a(G),me=z.getModel(R),we=z.getModel(U),pe;if(S){pe=S.indexOfName(P.name);var Fe=S.getItemVisual(pe,"color",!0);Fe&&(le.fill=Fe)}var Xe=function(Ce){return[Ce[0]*F[0]+B[0],Ce[1]*F[1]+B[1]]};g.each(P.geometries,function(Ce){if(Ce.type!=="polygon")return;for(var ze=[],Oe=0;Oe<Ce.exterior.length;++Oe)ze.push(Xe(Ce.exterior[Oe]));V.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:ze}}));for(var Oe=0;Oe<(Ce.interiors?Ce.interiors.length:0);++Oe){for(var ae=Ce.interiors[Oe],ze=[],ge=0;ge<ae.length;++ge)ze.push(Xe(ae[ge]));V.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:ze}}))}}),V.setStyle(le),V.style.strokeNoScale=!0,V.culling=!0;var dt=me.get("show"),Ee=we.get("show"),Se=S&&isNaN(S.get(S.mapDimension("value"),pe)),at=S&&S.getItemLayout(pe);if(E||Se&&(dt||Ee)||at&&at.showLabel){var _e=E?P.name:pe,ce;(!S||pe>=0)&&(ce=s);var ee=new h.Text({position:Xe(P.center.slice()),scale:[1/L.scale[0],1/L.scale[1]],z2:10,silent:!0});if(h.setLabelStyle(ee.style,ee.hoverStyle={},me,we,{labelFetcher:ce,labelDataIndex:_e,defaultText:P.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var se=[1/O[0],1/O[1]];h.updateProps(ee,{scale:se},s)}K.add(ee)}if(S)S.setItemGraphicEl(pe,K);else{var z=s.getRegionModel(P.name);V.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:P.name,region:z&&z.option||{}}}var ke=K.__regions||(K.__regions=[]);ke.push(P),K.highDownSilentOnTouch=!!s.get("selectedMode"),h.setHoverStyle(K,Y),T.add(K)}),this._updateController(s,d,p),u(this,s,T,p,b),r(s,T)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var d=s.map;this._mapName!==d&&g.each(c.makeGraphic(d,this.uid),function(p){this._backgroundGroup.add(p)},this),this._mapName=d},_updateController:function(s,d,p){var b=s.coordinateSystem,w=this._controller,E=this._controllerHost;E.zoomLimit=s.get("scaleLimit"),E.zoom=b.getZoom(),w.enable(s.get("roam")||!1);var S=s.mainType;function x(){var T={type:"geoRoam",componentType:S};return T[S+"Id"]=s.id,T}w.off("pan").on("pan",function(T){this._mouseDownFlag=!1,A.updateViewOnPan(E,T.dx,T.dy),p.dispatchAction(g.extend(x(),{dx:T.dx,dy:T.dy}))},this),w.off("zoom").on("zoom",function(T){if(this._mouseDownFlag=!1,A.updateViewOnZoom(E,T.scale,T.originX,T.originY),p.dispatchAction(g.extend(x(),{zoom:T.scale,originX:T.originX,originY:T.originY})),this._updateGroup){var L=this.group.scale;this._regionsGroup.traverse(function(y){y.type==="text"&&y.attr("scale",[1/L[0],1/L[1]])})}},this),w.setPointerChecker(function(T,L,y){return b.getViewRectAfterRoam().contain(L,y)&&!v(T,p,s)})}};var t=l;D.exports=t},DFOY:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("PJYZ"),n=e.n(i),a=e("7W2i"),u=e.n(a),r=e("LQ03"),l=e.n(r),t=e("q1tI"),s=e("uciX"),d=e("2W6z"),p=e.n(d),b=e("4IlW"),w=e("uK0f"),E=e.n(w);function S(fe,ue){if(fe===ue)return!0;if(!fe||!ue)return!1;var Ne=fe.length;if(ue.length!==Ne)return!1;for(var je=0;je<Ne;je++)if(fe[je]!==ue[je])return!1;return!0}function x(fe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(Ne){return typeof Ne}:x=function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},x(fe)}function T(fe,ue){if(!(fe instanceof ue))throw new TypeError("Cannot call a class as a function")}function L(fe,ue){for(var Ne=0;Ne<ue.length;Ne++){var je=ue[Ne];je.enumerable=je.enumerable||!1,je.configurable=!0,"value"in je&&(je.writable=!0),Object.defineProperty(fe,je.key,je)}}function y(fe,ue,Ne){return ue&&L(fe.prototype,ue),Ne&&L(fe,Ne),fe}function C(fe,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Super expression must either be null or a function");fe.prototype=Object.create(ue&&ue.prototype,{constructor:{value:fe,writable:!0,configurable:!0}}),ue&&O(fe,ue)}function O(fe,ue){return O=Object.setPrototypeOf||function(je,Ke){return je.__proto__=Ke,je},O(fe,ue)}function N(fe){var ue=B();return function(){var Ne=H(fe),je;if(ue){var Ke=H(this).constructor;je=Reflect.construct(Ne,arguments,Ke)}else je=Ne.apply(this,arguments);return k(this,je)}}function k(fe,ue){return ue&&(x(ue)==="object"||typeof ue=="function")?ue:F(fe)}function F(fe){if(fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe}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(fe){return!1}}function H(fe){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(Ne){return Ne.__proto__||Object.getPrototypeOf(Ne)},H(fe)}var W=function(){var fe=function(ue){C(je,ue);var Ne=N(je);function je(){var Ke;return T(this,je),Ke=Ne.apply(this,arguments),Ke.menuItems={},Ke.saveMenuItem=function(Ye){return function(Pe){Ke.menuItems[Ye]=Pe}},Ke}return y(je,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(Ye){!Ye.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(Ye){var Pe=this.props,nt=Pe.fieldNames,At=Pe.defaultFieldNames;return nt[Ye]||At[Ye]}},{key:"getOption",value:function(Ye,Pe){var nt=this.props,At=nt.prefixCls,Ot=nt.expandTrigger,ne=nt.expandIcon,he=nt.loadingIcon,Q=this.props.onSelect.bind(this,Ye,Pe),te=this.props.onItemDoubleClick.bind(this,Ye,Pe),be={onClick:Q,onDoubleClick:te},Ie="".concat(At,"-menu-item"),Re=null,$e=Ye[this.getFieldName("children")]&&Ye[this.getFieldName("children")].length>0;($e||Ye.isLeaf===!1)&&(Ie+=" ".concat(At,"-menu-item-expand"),Ye.loading||(Re=t.createElement("span",{className:"".concat(At,"-menu-item-expand-icon")},ne))),Ot==="hover"&&($e||Ye.isLeaf===!1)&&(be={onMouseEnter:this.delayOnSelect.bind(this,Q),onMouseLeave:this.delayOnSelect.bind(this),onClick:Q}),this.isActiveOption(Ye,Pe)&&(Ie+=" ".concat(At,"-menu-item-active"),be.ref=this.saveMenuItem(Pe)),Ye.disabled&&(Ie+=" ".concat(At,"-menu-item-disabled"));var gt=null;Ye.loading&&(Ie+=" ".concat(At,"-menu-item-loading"),gt=he||null);var Wt="";return"title"in Ye?Wt=Ye.title:typeof Ye[this.getFieldName("label")]=="string"&&(Wt=Ye[this.getFieldName("label")]),t.createElement("li",Object.assign({key:Ye[this.getFieldName("value")],className:Ie,title:Wt},be,{role:"menuitem",onMouseDown:function(Dt){return Dt.preventDefault()}}),Ye[this.getFieldName("label")],Re,gt)}},{key:"getActiveOptions",value:function(Ye){var Pe=this,nt=this.props.options,At=Ye||this.props.activeValue;return E()(nt,function(Ot,ne){return Ot[Pe.getFieldName("value")]===At[ne]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Ye=this,Pe=this.props.options,nt=this.getActiveOptions().map(function(At){return At[Ye.getFieldName("children")]}).filter(function(At){return!!At});return nt.unshift(Pe),nt}},{key:"delayOnSelect",value:function(Ye){for(var Pe=this,nt=arguments.length,At=new Array(nt>1?nt-1:0),Ot=1;Ot<nt;Ot++)At[Ot-1]=arguments[Ot];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof Ye=="function"&&(this.delayTimer=window.setTimeout(function(){Ye(At),Pe.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var Ye=this.getShowOptions().length,Pe=0;Pe<Ye;Pe++){var nt=this.menuItems[Pe];nt&&nt.parentElement&&(nt.parentElement.scrollTop=nt.offsetTop)}}},{key:"isActiveOption",value:function(Ye,Pe){var nt=this.props.activeValue,At=nt===void 0?[]:nt;return At[Pe]===Ye[this.getFieldName("value")]}},{key:"render",value:function(){var Ye=this,Pe=this.props,nt=Pe.prefixCls,At=Pe.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(Ot,ne){return t.createElement("ul",{className:"".concat(nt,"-menu"),key:ne,style:At},Ot.map(function(he){return Ye.getOption(he,ne)}))}))}}]),je}(t.Component);return fe.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},fe}(),R=W,U={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},j=U;function P(fe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(Ne){return typeof Ne}:P=function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},P(fe)}function K(fe,ue){if(fe==null)return{};var Ne=V(fe,ue),je,Ke;if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(fe);for(Ke=0;Ke<Ye.length;Ke++){if(je=Ye[Ke],ue.indexOf(je)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(fe,je))continue;Ne[je]=fe[je]}}return Ne}function V(fe,ue){if(fe==null)return{};var Ne={},je=Object.keys(fe),Ke,Ye;for(Ye=0;Ye<je.length;Ye++){if(Ke=je[Ye],ue.indexOf(Ke)>=0)continue;Ne[Ke]=fe[Ke]}return Ne}function z(fe){return Y(fe)||le(fe)||G(fe)||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 G(fe,ue){if(!fe)return;if(typeof fe=="string")return me(fe,ue);var Ne=Object.prototype.toString.call(fe).slice(8,-1);if(Ne==="Object"&&fe.constructor&&(Ne=fe.constructor.name),Ne==="Map"||Ne==="Set")return Array.from(fe);if(Ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ne))return me(fe,ue)}function le(fe){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(fe))return Array.from(fe)}function Y(fe){if(Array.isArray(fe))return me(fe)}function me(fe,ue){(ue==null||ue>fe.length)&&(ue=fe.length);for(var Ne=0,je=new Array(ue);Ne<ue;Ne++)je[Ne]=fe[Ne];return je}function we(fe,ue){if(!(fe instanceof ue))throw new TypeError("Cannot call a class as a function")}function pe(fe,ue){for(var Ne=0;Ne<ue.length;Ne++){var je=ue[Ne];je.enumerable=je.enumerable||!1,je.configurable=!0,"value"in je&&(je.writable=!0),Object.defineProperty(fe,je.key,je)}}function Fe(fe,ue,Ne){return ue&&pe(fe.prototype,ue),Ne&&pe(fe,Ne),fe}function Xe(fe,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Super expression must either be null or a function");fe.prototype=Object.create(ue&&ue.prototype,{constructor:{value:fe,writable:!0,configurable:!0}}),ue&&dt(fe,ue)}function dt(fe,ue){return dt=Object.setPrototypeOf||function(je,Ke){return je.__proto__=Ke,je},dt(fe,ue)}function Ee(fe){var ue=_e();return function(){var Ne=ce(fe),je;if(ue){var Ke=ce(this).constructor;je=Reflect.construct(Ne,arguments,Ke)}else je=Ne.apply(this,arguments);return Se(this,je)}}function Se(fe,ue){return ue&&(P(ue)==="object"||typeof ue=="function")?ue:at(fe)}function at(fe){if(fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe}function _e(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(fe){return!1}}function ce(fe){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(Ne){return Ne.__proto__||Object.getPrototypeOf(Ne)},ce(fe)}var ee=function(){var fe=function(ue){Xe(je,ue);var Ne=Ee(je);function je(Ke){var Ye;we(this,je),Ye=Ne.call(this,Ke),Ye.setPopupVisible=function(nt){var At=Ye.state.value;"popupVisible"in Ye.props||Ye.setState({popupVisible:nt}),nt&&!Ye.state.popupVisible&&Ye.setState({activeValue:At}),Ye.props.onPopupVisibleChange(nt)},Ye.handleChange=function(nt,At,Ot){var ne=At.visible;(Ot.type!=="keydown"||Ot.keyCode===b.a.ENTER)&&(Ye.props.onChange(nt.map(function(he){return he[Ye.getFieldName("value")]}),nt),Ye.setPopupVisible(ne))},Ye.handlePopupVisibleChange=function(nt){Ye.setPopupVisible(nt)},Ye.handleMenuSelect=function(nt,At,Ot){var ne=Ye.trigger.getRootDomNode();ne&&ne.focus&&ne.focus();var he=Ye.props,Q=he.changeOnSelect,te=he.loadData,be=he.expandTrigger;if(!nt||nt.disabled)return;var Ie=Ye.state.activeValue;Ie=Ie.slice(0,At+1),Ie[At]=nt[Ye.getFieldName("value")];var Re=Ye.getActiveOptions(Ie);if(nt.isLeaf===!1&&!nt[Ye.getFieldName("children")]&&te){Q&&Ye.handleChange(Re,{visible:!0},Ot),Ye.setState({activeValue:Ie}),te(Re);return}var $e={};!nt[Ye.getFieldName("children")]||!nt[Ye.getFieldName("children")].length?(Ye.handleChange(Re,{visible:!1},Ot),$e.value=Ie):Q&&(Ot.type==="click"||Ot.type==="keydown")&&(be==="hover"?Ye.handleChange(Re,{visible:!1},Ot):Ye.handleChange(Re,{visible:!0},Ot),$e.value=Ie),$e.activeValue=Ie,("value"in Ye.props||Ot.type==="keydown"&&Ot.keyCode!==b.a.ENTER)&&delete $e.value,Ye.setState($e)},Ye.handleItemDoubleClick=function(){var nt=Ye.props.changeOnSelect;nt&&Ye.setPopupVisible(!1)},Ye.handleKeyDown=function(nt){var At=Ye.props.children;if(At&&At.props.onKeyDown){At.props.onKeyDown(nt);return}var Ot=z(Ye.state.activeValue),ne=Ot.length-1<0?0:Ot.length-1,he=Ye.getCurrentLevelOptions(),Q=he.map(function(Re){return Re[Ye.getFieldName("value")]}).indexOf(Ot[ne]);if(nt.keyCode!==b.a.DOWN&&nt.keyCode!==b.a.UP&&nt.keyCode!==b.a.LEFT&&nt.keyCode!==b.a.RIGHT&&nt.keyCode!==b.a.ENTER&&nt.keyCode!==b.a.SPACE&&nt.keyCode!==b.a.BACKSPACE&&nt.keyCode!==b.a.ESC&&nt.keyCode!==b.a.TAB)return;if(!Ye.state.popupVisible&&nt.keyCode!==b.a.BACKSPACE&&nt.keyCode!==b.a.LEFT&&nt.keyCode!==b.a.RIGHT&&nt.keyCode!==b.a.ESC&&nt.keyCode!==b.a.TAB){Ye.setPopupVisible(!0);return}if(nt.keyCode===b.a.DOWN||nt.keyCode===b.a.UP){nt.preventDefault();var te=Q;te!==-1?nt.keyCode===b.a.DOWN?(te+=1,te=te>=he.length?0:te):(te-=1,te=te<0?he.length-1:te):te=0,Ot[ne]=he[te][Ye.getFieldName("value")]}else if(nt.keyCode===b.a.LEFT||nt.keyCode===b.a.BACKSPACE)nt.preventDefault(),Ot.splice(Ot.length-1,1);else if(nt.keyCode===b.a.RIGHT)nt.preventDefault(),he[Q]&&he[Q][Ye.getFieldName("children")]&&Ot.push(he[Q][Ye.getFieldName("children")][0][Ye.getFieldName("value")]);else if(nt.keyCode===b.a.ESC||nt.keyCode===b.a.TAB){Ye.setPopupVisible(!1);return}(!Ot||Ot.length===0)&&Ye.setPopupVisible(!1);var be=Ye.getActiveOptions(Ot),Ie=be[be.length-1];Ye.handleMenuSelect(Ie,be.length-1,nt),Ye.props.onKeyDown&&Ye.props.onKeyDown(nt)},Ye.saveTrigger=function(nt){Ye.trigger=nt};var Pe=[];return"value"in Ke?Pe=Ke.value||[]:"defaultValue"in Ke&&(Pe=Ke.defaultValue||[]),p()(!("filedNames"in Ke),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Ye.state={popupVisible:Ke.popupVisible,activeValue:Pe,value:Pe,prevProps:Ke},Ye.defaultFieldNames={label:"label",value:"value",children:"children"},Ye}return Fe(je,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Ye){var Pe=this.defaultFieldNames,nt=this.props,At=nt.fieldNames,Ot=nt.filedNames;return"filedNames"in this.props?Ot[Ye]||Pe[Ye]:At[Ye]||Pe[Ye]}},{key:"getFieldNames",value:function(){var Ye=this.props,Pe=Ye.fieldNames,nt=Ye.filedNames;return"filedNames"in this.props?nt:Pe}},{key:"getCurrentLevelOptions",value:function(){var Ye=this,Pe=this.props.options,nt=Pe===void 0?[]:Pe,At=this.state.activeValue,Ot=At===void 0?[]:At,ne=E()(nt,function(he,Q){return he[Ye.getFieldName("value")]===Ot[Q]},{childrenKeyName:this.getFieldName("children")});return ne[ne.length-2]?ne[ne.length-2][this.getFieldName("children")]:z(nt).filter(function(he){return!he.disabled})}},{key:"getActiveOptions",value:function(Ye){var Pe=this;return E()(this.props.options||[],function(nt,At){return nt[Pe.getFieldName("value")]===Ye[At]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Ye=this.props,Pe=Ye.prefixCls,nt=Ye.transitionName,At=Ye.popupClassName,Ot=Ye.options,ne=Ot===void 0?[]:Ot,he=Ye.disabled,Q=Ye.builtinPlacements,te=Ye.popupPlacement,be=Ye.children,Ie=Ye.dropdownRender,Re=K(Ye,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),$e=t.createElement("div",null),gt="";ne&&ne.length>0?$e=t.createElement(R,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):gt=" ".concat(Pe,"-menus-empty");var Wt=$e;return Ie&&(Wt=Ie($e)),t.createElement(s.a,Object.assign({ref:this.saveTrigger},Re,{popupPlacement:te,builtinPlacements:Q,popupTransitionName:nt,action:he?[]:["click"],popupVisible:he?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Pe,"-menus"),popupClassName:At+gt,popup:Wt}),t.cloneElement(be,{onKeyDown:this.handleKeyDown,tabIndex:he?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Ye,Pe){var nt=Pe.prevProps,At=nt===void 0?{}:nt,Ot={prevProps:Ye};return"value"in Ye&&!S(At.value,Ye.value)&&(Ot.value=Ye.value||[],"loadData"in Ye||(Ot.activeValue=Ye.value||[])),"popupVisible"in Ye&&(Ot.popupVisible=Ye.popupVisible),Ot}}]),je}(t.Component);return fe.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:j,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},fe}(),se=ee,ke=se,Ce=e("TSYQ"),ze=e.n(Ce),Oe=e("BGR+"),ae=e("kbBi"),ge=e.n(ae),Le=e("HQEm"),Ze=e.n(Le),vt=e("fEPi"),Ct=e.n(vt),Be=e("5YOS"),Rt=e.n(Be),He=e("DFhj"),wt=e.n(He),Ge=e("5rEg"),et=e("H84U"),rt=e("YMnH"),lt=e("uaoM"),Ve=e("3Nzz"),ie=e("0n0R"),$=function(fe,ue){var Ne={};for(var je in fe)Object.prototype.hasOwnProperty.call(fe,je)&&ue.indexOf(je)<0&&(Ne[je]=fe[je]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,je=Object.getOwnPropertySymbols(fe);Ke<je.length;Ke++)ue.indexOf(je[Ke])<0&&Object.prototype.propertyIsEnumerable.call(fe,je[Ke])&&(Ne[je[Ke]]=fe[je[Ke]]);return Ne},it=50;function Qe(fe,ue,Ne){return fe.split(ue).map(function(je,Ke){return Ke===0?je:[t.createElement("span",{className:"".concat(Ne,"-menu-item-keyword"),key:"seperator"},ue),je]})}function ye(fe,ue,Ne){return ue.some(function(je){return je[Ne.label].indexOf(fe)>-1})}function Zt(fe,ue,Ne,je){return ue.map(function(Ke,Ye){var Pe=Ke[je.label],nt=Pe.indexOf(fe)>-1?Qe(Pe,fe,Ne):Pe;return Ye===0?nt:[" / ",nt]})}function ht(fe,ue,Ne,je){function Ke(Ye){return Ye[je.label].indexOf(Ne)>-1}return fe.findIndex(Ke)-ue.findIndex(Ke)}function ct(fe){var ue=fe.fieldNames;return ue}function yt(fe){var ue=ct(fe)||{},Ne={children:ue.children||"children",label:ue.label||"label",value:ue.value||"value"};return Ne}function It(fe,ue){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],je=yt(ue),Ke=[],Ye=je.children;return fe.forEach(function(Pe){var nt=Ne.concat(Pe);(ue.changeOnSelect||!Pe[Ye]||!Pe[Ye].length)&&Ke.push(nt),Pe[Ye]&&(Ke=Ke.concat(It(Pe[Ye],ue,nt)))}),Ke}var or=function(ue){return ue.join(" / ")};function Bt(fe){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(fe||[]).forEach(function(Ne){var je=ue.value||"value";Object(lt.a)(je in Ne,"Cascader","Not found `value` in `options`."),Bt(Ne[ue.children||"children"],ue)})}var Ae=function(fe){u()(Ne,fe);var ue=l()(Ne);function Ne(je){var Ke;return h()(this,Ne),Ke=ue.call(this,je),Ke.cachedOptions=[],Ke.setValue=function(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Ke.props||Ke.setState({value:Ye});var nt=Ke.props.onChange;nt&&nt(Ye,Pe)},Ke.saveInput=function(Ye){Ke.input=Ye},Ke.handleChange=function(Ye,Pe){if(Ke.setState({inputValue:""}),Pe[0].__IS_FILTERED_OPTION){var nt=Ye[0],At=Pe[0].path;Ke.setValue(nt,At);return}Ke.setValue(Ye,Pe)},Ke.handlePopupVisibleChange=function(Ye){"popupVisible"in Ke.props||Ke.setState(function(nt){return{popupVisible:Ye,inputFocused:Ye,inputValue:Ye?nt.inputValue:""}});var Pe=Ke.props.onPopupVisibleChange;Pe&&Pe(Ye)},Ke.handleInputBlur=function(){Ke.setState({inputFocused:!1})},Ke.handleInputClick=function(Ye){var Pe=Ke.state,nt=Pe.inputFocused,At=Pe.popupVisible;(nt||At)&&Ye.stopPropagation()},Ke.handleKeyDown=function(Ye){(Ye.keyCode===b.a.BACKSPACE||Ye.keyCode===b.a.SPACE)&&Ye.stopPropagation()},Ke.handleInputChange=function(Ye){var Pe=Ke.state.popupVisible,nt=Ye.target.value;Pe||Ke.handlePopupVisibleChange(!0),Ke.setState({inputValue:nt})},Ke.clearSelection=function(Ye){var Pe=Ke.state.inputValue;Ye.preventDefault(),Ye.stopPropagation(),Pe?Ke.setState({inputValue:""}):(Ke.handlePopupVisibleChange(!1),Ke.clearSelectionTimeout=setTimeout(function(){Ke.setValue([])},200))},Ke.renderCascader=function(Ye,Pe){var nt=Ye.getPopupContainer,At=Ye.getPrefixCls,Ot=Ye.renderEmpty,ne=Ye.direction;return t.createElement(Ve.b.Consumer,null,function(he){var Q,te,be,Ie,Re=n()(Ke),$e=Re.props,gt=Re.state,Wt=$e.prefixCls,$t=$e.inputPrefixCls,Dt=$e.children,Kt=$e.placeholder,Gt=Kt===void 0?Pe.placeholder||"Please select":Kt,Qt=$e.size,Mt=$e.disabled,dr=$e.className,er=$e.style,st=$e.allowClear,xt=$e.showSearch,ut=xt===void 0?!1:xt,pt=$e.suffixIcon,_t=$e.expandIcon,Tt=$e.notFoundContent,ft=$e.popupClassName,Ht=$e.bordered,kt=$e.dropdownRender,ir=$($e,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Xt=Qt||he,mr=gt.value,Ar=gt.inputFocused,Nr=ne==="rtl",kr=At("cascader",Wt),tn=At("input",$t),qr=ze()((Q={},m()(Q,"".concat(tn,"-lg"),Xt==="large"),m()(Q,"".concat(tn,"-sm"),Xt==="small"),Q)),Lr=st&&!Mt&&mr.length>0||gt.inputValue?t.createElement(ge.a,{className:"".concat(kr,"-picker-clear"),onClick:Ke.clearSelection}):null,Qr=ze()((te={},m()(te,"".concat(kr,"-picker-arrow"),!0),m()(te,"".concat(kr,"-picker-arrow-expand"),gt.popupVisible),te)),Ir=ze()(dr,"".concat(kr,"-picker"),(be={},m()(be,"".concat(kr,"-picker-rtl"),Nr),m()(be,"".concat(kr,"-picker-with-value"),gt.inputValue),m()(be,"".concat(kr,"-picker-disabled"),Mt),m()(be,"".concat(kr,"-picker-").concat(Xt),!!Xt),m()(be,"".concat(kr,"-picker-show-search"),!!ut),m()(be,"".concat(kr,"-picker-focused"),Ar),m()(be,"".concat(kr,"-picker-borderless"),!Ht),be)),ur=Object(Oe.default)(ir,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=$e.options,cr=yt(Ke.props);if(pr&&pr.length>0)gt.inputValue&&(pr=Ke.generateFilteredOptions(kr,Ot));else{var fr;pr=[(fr={},m()(fr,cr.label,Tt||Ot("Cascader")),m()(fr,cr.value,"ANT_CASCADER_NOT_FOUND"),fr)]}gt.popupVisible?Ke.cachedOptions=pr:pr=Ke.cachedOptions;var xr={},Yr=(pr||[]).length===1&&pr[0].isEmptyNode;Yr&&(xr.height="auto");var un=ut.matchInputWidth!==!1;un&&(gt.inputValue||Yr)&&Ke.input&&(xr.width=Ke.input.input.offsetWidth);var Nn;pt?Nn=Object(ie.c)(pt,t.createElement("span",{className:"".concat(kr,"-picker-arrow")},pt),function(){var Yn;return{className:ze()((Yn={},m()(Yn,pt.props.className,pt.props.className),m()(Yn,"".concat(kr,"-picker-arrow"),!0),Yn))}}):Nn=t.createElement(Ze.a,{className:Qr});var jr=Dt||t.createElement("span",{style:er,className:Ir},t.createElement("span",{className:"".concat(kr,"-picker-label")},Ke.getLabel()),t.createElement(Ge.a,f()({},ur,{tabIndex:"-1",ref:Ke.saveInput,prefixCls:tn,placeholder:mr&&mr.length>0?void 0:Gt,className:"".concat(kr,"-input ").concat(qr),value:gt.inputValue,disabled:Mt,readOnly:!ut,autoComplete:ur.autoComplete||"off",onClick:ut?Ke.handleInputClick:void 0,onBlur:ut?Ke.handleInputBlur:void 0,onKeyDown:Ke.handleKeyDown,onChange:ut?Ke.handleInputChange:void 0})),Lr,Nn),Tn;_t?Tn=_t:Tn=Nr?t.createElement(wt.a,null):t.createElement(Ct.a,null);var gn=t.createElement("span",{className:"".concat(kr,"-menu-item-loading-icon")},t.createElement(Rt.a,{spin:!0})),Pn=$e.getPopupContainer||nt,zn=Object(Oe.default)($e,["inputIcon","expandIcon","loadingIcon","bordered"]),qn=ze()(ft,(Ie={},m()(Ie,"".concat(kr,"-menu-").concat(ne),ne==="rtl"),m()(Ie,"".concat(kr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),Ie));return t.createElement(ke,f()({},zn,{prefixCls:kr,getPopupContainer:Pn,options:pr,value:mr,popupVisible:gt.popupVisible,onPopupVisibleChange:Ke.handlePopupVisibleChange,onChange:Ke.handleChange,dropdownMenuColumnStyle:xr,expandIcon:Tn,loadingIcon:gn,popupClassName:qn,popupPlacement:Ke.getPopupPlacement(ne),dropdownRender:kt}),jr)})},Ke.state={value:je.value||je.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:je.popupVisible,flattenOptions:je.showSearch?It(je.options,je):void 0,prevProps:je},Ke}return o()(Ne,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Ke=this.props,Ye=Ke.options,Pe=Ke.displayRender,nt=Pe===void 0?or:Pe,At=yt(this.props),Ot=this.state.value,ne=Array.isArray(Ot[0])?Ot[0]:Ot,he=E()(Ye,function(te,be){return te[At.value]===ne[be]},{childrenKeyName:At.children}),Q=he.length?he.map(function(te){return te[At.label]}):Ot;return nt(Q,he)}},{key:"generateFilteredOptions",value:function(Ke,Ye){var Pe=this,nt,At=this.props,Ot=At.showSearch,ne=At.notFoundContent,he=yt(this.props),Q=Ot.filter,te=Q===void 0?ye:Q,be=Ot.render,Ie=be===void 0?Zt:be,Re=Ot.sort,$e=Re===void 0?ht:Re,gt=Ot.limit,Wt=gt===void 0?it:gt,$t=this.state,Dt=$t.flattenOptions,Kt=Dt===void 0?[]:Dt,Gt=$t.inputValue,Qt;if(Wt>0){Qt=[];var Mt=0;Kt.some(function(dr){var er=te(Pe.state.inputValue,dr,he);return er&&(Qt.push(dr),Mt+=1),Mt>=Wt})}else Object(lt.a)(typeof Wt!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=Kt.filter(function(dr){return te(Pe.state.inputValue,dr,he)});return Qt=Qt.sort(function(dr,er){return $e(dr,er,Gt,he)}),Qt.length>0?Qt.map(function(dr){var er;return er={__IS_FILTERED_OPTION:!0,path:dr},m()(er,he.value,dr.map(function(st){return st[he.value]})),m()(er,he.label,Ie(Gt,dr,Ke,he)),m()(er,"disabled",dr.some(function(st){return!!st.disabled})),m()(er,"isEmptyNode",!0),er}):[(nt={},m()(nt,he.value,"ANT_CASCADER_NOT_FOUND"),m()(nt,he.label,ne||Ye("Cascader")),m()(nt,"disabled",!0),m()(nt,"isEmptyNode",!0),nt)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Ye=this.props.popupPlacement;return Ye!==void 0?Ye:Ke==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Ke=this;return t.createElement(et.a,null,function(Ye){return t.createElement(rt.a,null,function(Pe){return Ke.renderCascader(Ye,Pe)})})}}],[{key:"getDerivedStateFromProps",value:function(Ke,Ye){var Pe=Ye.prevProps,nt={prevProps:Ke};return"value"in Ke&&(nt.value=Ke.value||[]),"popupVisible"in Ke&&(nt.popupVisible=Ke.popupVisible),Ke.showSearch&&Pe.options!==Ke.options&&(nt.flattenOptions=It(Ke.options,Ke)),nt}}]),Ne}(t.Component);Ae.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var ve=_.a=Ae},DFhj:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("GGyF"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},DL4k:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};_.default=g},DN4a:function(D,_,e){var g=e("Fofx"),f=e("QBsz"),A=g.identity,m=5e-5;function v(u){return u>m||u<-m}var h=function(r){r=r||{},r.position||(this.position=[0,0]),r.rotation==null&&(this.rotation=0),r.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=h.prototype;c.transform=null,c.needLocalTransform=function(){return v(this.rotation)||v(this.position[0])||v(this.position[1])||v(this.scale[0]-1)||v(this.scale[1]-1)};var o=[];c.updateTransform=function(){var u=this.parent,r=u&&u.transform,l=this.needLocalTransform(),t=this.transform;if(!(l||r)){t&&A(t);return}t=t||g.create(),l?this.getLocalTransform(t):A(t),r&&(l?g.mul(t,u.transform,t):g.copy(t,u.transform)),this.transform=t;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(o);var d=o[0]<0?-1:1,p=o[1]<0?-1:1,b=((o[0]-d)*s+d)/o[0]||0,w=((o[1]-p)*s+p)/o[1]||0;t[0]*=b,t[1]*=b,t[2]*=w,t[3]*=w}this.invTransform=this.invTransform||g.create(),g.invert(this.invTransform,t)},c.getLocalTransform=function(u){return h.getLocalTransform(this,u)},c.setTransform=function(u){var r=this.transform,l=u.dpr||1;r?u.setTransform(l*r[0],l*r[1],l*r[2],l*r[3],l*r[4],l*r[5]):u.setTransform(l,0,0,l,0,0)},c.restoreTransform=function(u){var r=u.dpr||1;u.setTransform(r,0,0,r,0,0)};var i=[],n=g.create();c.setLocalTransform=function(u){if(!u)return;var r=u[0]*u[0]+u[1]*u[1],l=u[2]*u[2]+u[3]*u[3],t=this.position,s=this.scale;v(r-1)&&(r=Math.sqrt(r)),v(l-1)&&(l=Math.sqrt(l)),u[0]<0&&(r=-r),u[3]<0&&(l=-l),t[0]=u[4],t[1]=u[5],s[0]=r,s[1]=l,this.rotation=Math.atan2(-u[1]/l,u[0]/r)},c.decomposeTransform=function(){if(!this.transform)return;var u=this.parent,r=this.transform;u&&u.transform&&(g.mul(i,u.invTransform,r),r=i);var l=this.origin;l&&(l[0]||l[1])&&(n[4]=l[0],n[5]=l[1],g.mul(i,r,n),i[4]-=l[0],i[5]-=l[1],r=i),this.setLocalTransform(r)},c.getGlobalScale=function(u){var r=this.transform;return u=u||[],r?(u[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),u[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(u[0]=-u[0]),r[3]<0&&(u[1]=-u[1]),u):(u[0]=1,u[1]=1,u)},c.transformCoordToLocal=function(u,r){var l=[u,r],t=this.invTransform;return t&&f.applyTransform(l,l,t),l},c.transformCoordToGlobal=function(u,r){var l=[u,r],t=this.transform;return t&&f.applyTransform(l,l,t),l},h.getLocalTransform=function(u,r){r=r||[],A(r);var l=u.origin,t=u.scale||[1,1],s=u.rotation||0,d=u.position||[0,0];return l&&(r[4]-=l[0],r[5]-=l[1]),g.scale(r,r,t),s&&g.rotate(r,r,s),l&&(r[4]+=l[0],r[5]+=l[1]),r[4]+=d[0],r[5]+=d[1],r};var a=h;D.exports=a},DO2E:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};_.default=g},DSRE:function(D,_,e){(function(g){var f=e("Kz5y"),A=e("B8du"),m=_&&!_.nodeType&&_,v=m&&typeof g=="object"&&g&&!g.nodeType&&g,h=v&&v.exports===m,c=h?f.Buffer:void 0,o=c?c.isBuffer:void 0,i=o||A;g.exports=i}).call(this,e("YuTi")(D))},DYRE:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("OPEp"),m=e.n(A)},DZo9:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("JGo8"),m=e.n(A),v=e("+L6B"),h=e("MXD1"),c=e("5Dmo")},Dagg:function(D,_,e){var g=e("Gev7"),f=e("mFDi"),A=e("bYtY"),m=e("Xnb7");function v(c){g.call(this,c)}v.prototype={constructor:v,type:"image",brush:function(o,i){var n=this.style,a=n.image;n.bind(o,this,i);var u=this._image=m.createOrUpdateImage(a,this._image,this,this.onload);if(!u||!m.isImageReady(u))return;var r=n.x||0,l=n.y||0,t=n.width,s=n.height,d=u.width/u.height;if(t==null&&s!=null?t=s*d:s==null&&t!=null?s=t/d:t==null&&s==null&&(t=u.width,s=u.height),this.setTransform(o),n.sWidth&&n.sHeight){var p=n.sx||0,b=n.sy||0;o.drawImage(u,p,b,n.sWidth,n.sHeight,r,l,t,s)}else if(n.sx&&n.sy){var p=n.sx,b=n.sy,w=t-p,E=s-b;o.drawImage(u,p,b,w,E,r,l,t,s)}else o.drawImage(u,r,l,t,s);n.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))},getBoundingRect:function(){var o=this.style;return this._rect||(this._rect=new f(o.x||0,o.y||0,o.width||0,o.height||0)),this._rect}},A.inherits(v,g);var h=v;D.exports=h},Dg8C:function(D,_,e){var g=e("XxSj"),f=e("bYtY");function A(m,v){m.eachSeriesByType("sankey",function(h){var c=h.getGraph(),o=c.nodes;if(o.length){var i=Infinity,n=-Infinity;f.each(o,function(a){var u=a.getLayout().value;u<i&&(i=u),u>n&&(n=u)}),f.each(o,function(a){var u=new g({type:"color",mappingMethod:"linear",dataExtent:[i,n],visual:h.get("color")}),r=u.mapValueToVisual(a.getLayout().value),l=a.getModel().get("itemStyle.color");l!=null?a.setVisual("color",l):a.setVisual("color",r)})}})}D.exports=A},DjyN:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("Urep"),m=e.n(A),v=e("OaEy")},DlQD:function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(et,rt){for(var lt=0;lt<rt.length;lt++){var Ve=rt[lt];Ve.enumerable=Ve.enumerable||!1,Ve.configurable=!0,"value"in Ve&&(Ve.writable=!0),Object.defineProperty(et,Ve.key,Ve)}}function f(et,rt,lt){return rt&&g(et.prototype,rt),lt&&g(et,lt),et}function A(et,rt){if(!et)return;if(typeof et=="string")return m(et,rt);var lt=Object.prototype.toString.call(et).slice(8,-1);if(lt==="Object"&&et.constructor&&(lt=et.constructor.name),lt==="Map"||lt==="Set")return Array.from(et);if(lt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(lt))return m(et,rt)}function m(et,rt){(rt==null||rt>et.length)&&(rt=et.length);for(var lt=0,Ve=new Array(rt);lt<rt;lt++)Ve[lt]=et[lt];return Ve}function v(et,rt){var lt;if(typeof Symbol=="undefined"||et[Symbol.iterator]==null){if(Array.isArray(et)||(lt=A(et))||rt&&et&&typeof et.length=="number"){lt&&(et=lt);var Ve=0;return function(){return Ve>=et.length?{done:!0}:{done:!1,value:et[Ve++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return lt=et[Symbol.iterator](),lt.next.bind(lt)}function h(et,rt){return rt={exports:{}},et(rt,rt.exports),rt.exports}var c=h(function(et){function rt(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function lt(Ve){et.exports.defaults=Ve}et.exports={defaults:rt(),getDefaults:rt,changeDefaults:lt}}),o=c.defaults,i=c.getDefaults,n=c.changeDefaults,a=/[&<>"']/,u=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=function(rt){return t[rt]};function d(et,rt){if(rt){if(a.test(et))return et.replace(u,s)}else if(r.test(et))return et.replace(l,s);return et}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function b(et){return et.replace(p,function(rt,lt){return lt=lt.toLowerCase(),lt==="colon"?":":lt.charAt(0)==="#"?lt.charAt(1)==="x"?String.fromCharCode(parseInt(lt.substring(2),16)):String.fromCharCode(+lt.substring(1)):""})}var w=/(^|[^\[])\^/g;function E(et,rt){et=et.source||et,rt=rt||"";var lt={replace:function(ie,$){return $=$.source||$,$=$.replace(w,"$1"),et=et.replace(ie,$),lt},getRegex:function(){return new RegExp(et,rt)}};return lt}var S=/[^\w:]/g,x=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(et,rt,lt){if(et){var Ve;try{Ve=decodeURIComponent(b(lt)).replace(S,"").toLowerCase()}catch(ie){return null}if(Ve.indexOf("javascript:")===0||Ve.indexOf("vbscript:")===0||Ve.indexOf("data:")===0)return null}rt&&!x.test(lt)&&(lt=N(rt,lt));try{lt=encodeURI(lt).replace(/%25/g,"%")}catch(ie){return null}return lt}var L={},y=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,O=/^([^:]+:\/*[^/]*)[\s\S]*$/;function N(et,rt){L[" "+et]||(y.test(et)?L[" "+et]=et+"/":L[" "+et]=H(et,"/",!0)),et=L[" "+et];var lt=et.indexOf(":")===-1;return rt.substring(0,2)==="//"?lt?rt:et.replace(C,"$1")+rt:rt.charAt(0)==="/"?lt?rt:et.replace(O,"$1")+rt:et+rt}var k={exec:function(){}};function F(et){for(var rt=1,lt,Ve;rt<arguments.length;rt++){lt=arguments[rt];for(Ve in lt)Object.prototype.hasOwnProperty.call(lt,Ve)&&(et[Ve]=lt[Ve])}return et}function B(et,rt){var lt=et.replace(/\|/g,function($,it,Qe){for(var ye=!1,Zt=it;--Zt>=0&&Qe[Zt]==="\\";)ye=!ye;return ye?"|":" |"}),Ve=lt.split(/ \|/),ie=0;if(Ve.length>rt)Ve.splice(rt);else for(;Ve.length<rt;)Ve.push("");for(;ie<Ve.length;ie++)Ve[ie]=Ve[ie].trim().replace(/\\\|/g,"|");return Ve}function H(et,rt,lt){var Ve=et.length;if(Ve===0)return"";for(var ie=0;ie<Ve;){var $=et.charAt(Ve-ie-1);if($===rt&&!lt)ie++;else if($!==rt&&lt)ie++;else break}return et.substr(0,Ve-ie)}function W(et,rt){if(et.indexOf(rt[1])===-1)return-1;for(var lt=et.length,Ve=0,ie=0;ie<lt;ie++)if(et[ie]==="\\")ie++;else if(et[ie]===rt[0])Ve++;else if(et[ie]===rt[1]&&(Ve--,Ve<0))return ie;return-1}function R(et){et&&et.sanitize&&!et.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var U={escape:d,unescape:b,edit:E,cleanUrl:T,resolveUrl:N,noopTest:k,merge:F,splitCells:B,rtrim:H,findClosingBracket:W,checkSanitizeDeprecation:R},j=c.defaults,P=U.rtrim,K=U.splitCells,V=U.escape,z=U.findClosingBracket;function X(et,rt,lt){var Ve=rt.href,ie=rt.title?V(rt.title):null,$=et[1].replace(/\\([\[\]])/g,"$1");return et[0].charAt(0)!=="!"?{type:"link",raw:lt,href:Ve,title:ie,text:$}:{type:"image",raw:lt,href:Ve,title:ie,text:V($)}}function G(et,rt){var lt=et.match(/^(\s+)(?:```)/);if(lt===null)return rt;var Ve=lt[1];return rt.split(`
`).map(function(ie){var $=ie.match(/^\s+/);if($===null)return ie;var it=$[0];return it.length>=Ve.length?ie.slice(Ve.length):ie}).join(`
`)}var le=function(){function et(lt){this.options=lt||j}var rt=et.prototype;return rt.space=function(Ve){var ie=this.rules.block.newline.exec(Ve);if(ie)return ie[0].length>1?{type:"space",raw:ie[0]}:{raw:`
`}},rt.code=function(Ve,ie){var $=this.rules.block.code.exec(Ve);if($){var it=ie[ie.length-1];if(it&&it.type==="paragraph")return{raw:$[0],text:$[0].trimRight()};var Qe=$[0].replace(/^ {4}/gm,"");return{type:"code",raw:$[0],codeBlockStyle:"indented",text:this.options.pedantic?Qe:P(Qe,`
`)}}},rt.fences=function(Ve){var ie=this.rules.block.fences.exec(Ve);if(ie){var $=ie[0],it=G($,ie[3]||"");return{type:"code",raw:$,lang:ie[2]?ie[2].trim():ie[2],text:it}}},rt.heading=function(Ve){var ie=this.rules.block.heading.exec(Ve);if(ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},rt.nptable=function(Ve){var ie=this.rules.block.nptable.exec(Ve);if(ie){var $={type:"table",header:K(ie[1].replace(/^ *| *\| *$/g,"")),align:ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ie[3]?ie[3].replace(/\n$/,"").split(`
`):[],raw:ie[0]};if($.header.length===$.align.length){var it=$.align.length,Qe;for(Qe=0;Qe<it;Qe++)/^ *-+: *$/.test($.align[Qe])?$.align[Qe]="right":/^ *:-+: *$/.test($.align[Qe])?$.align[Qe]="center":/^ *:-+ *$/.test($.align[Qe])?$.align[Qe]="left":$.align[Qe]=null;for(it=$.cells.length,Qe=0;Qe<it;Qe++)$.cells[Qe]=K($.cells[Qe],$.header.length);return $}}},rt.hr=function(Ve){var ie=this.rules.block.hr.exec(Ve);if(ie)return{type:"hr",raw:ie[0]}},rt.blockquote=function(Ve){var ie=this.rules.block.blockquote.exec(Ve);if(ie){var $=ie[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ie[0],text:$}}},rt.list=function(Ve){var ie=this.rules.block.list.exec(Ve);if(ie){for(var $=ie[0],it=ie[2],Qe=it.length>1,ye=it[it.length-1]===")",Zt={type:"list",raw:$,ordered:Qe,start:Qe?+it.slice(0,-1):"",loose:!1,items:[]},ht=ie[0].match(this.rules.block.item),ct=!1,yt,It,or,Bt,Ae,ve,fe,ue=ht.length,Ne=0;Ne<ue;Ne++)yt=ht[Ne],$=yt,It=yt.length,yt=yt.replace(/^ *([*+-]|\d+[.)]) */,""),~yt.indexOf(`
`)&&(It-=yt.length,yt=this.options.pedantic?yt.replace(/^ {1,4}/gm,""):yt.replace(new RegExp("^ {1,"+It+"}","gm"),"")),Ne!==ue-1&&(or=this.rules.block.bullet.exec(ht[Ne+1])[0],(Qe?or.length===1||!ye&&or[or.length-1]===")":or.length>1||this.options.smartLists&&or!==it)&&(Bt=ht.slice(Ne+1).join(`
`),Zt.raw=Zt.raw.substring(0,Zt.raw.length-Bt.length),Ne=ue-1)),Ae=ct||/\n\n(?!\s*$)/.test(yt),Ne!==ue-1&&(ct=yt.charAt(yt.length-1)===`
`,Ae||(Ae=ct)),Ae&&(Zt.loose=!0),ve=/^\[[ xX]\] /.test(yt),fe=void 0,ve&&(fe=yt[1]!==" ",yt=yt.replace(/^\[[ xX]\] +/,"")),Zt.items.push({type:"list_item",raw:$,task:ve,checked:fe,loose:Ae,text:yt});return Zt}},rt.html=function(Ve){var ie=this.rules.block.html.exec(Ve);if(ie)return{type:this.options.sanitize?"paragraph":"html",raw:ie[0],pre:!this.options.sanitizer&&(ie[1]==="pre"||ie[1]==="script"||ie[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ie[0]):V(ie[0]):ie[0]}},rt.def=function(Ve){var ie=this.rules.block.def.exec(Ve);if(ie){ie[3]&&(ie[3]=ie[3].substring(1,ie[3].length-1));var $=ie[1].toLowerCase().replace(/\s+/g," ");return{tag:$,raw:ie[0],href:ie[2],title:ie[3]}}},rt.table=function(Ve){var ie=this.rules.block.table.exec(Ve);if(ie){var $={type:"table",header:K(ie[1].replace(/^ *| *\| *$/g,"")),align:ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ie[3]?ie[3].replace(/\n$/,"").split(`
`):[]};if($.header.length===$.align.length){$.raw=ie[0];var it=$.align.length,Qe;for(Qe=0;Qe<it;Qe++)/^ *-+: *$/.test($.align[Qe])?$.align[Qe]="right":/^ *:-+: *$/.test($.align[Qe])?$.align[Qe]="center":/^ *:-+ *$/.test($.align[Qe])?$.align[Qe]="left":$.align[Qe]=null;for(it=$.cells.length,Qe=0;Qe<it;Qe++)$.cells[Qe]=K($.cells[Qe].replace(/^ *\| *| *\| *$/g,""),$.header.length);return $}}},rt.lheading=function(Ve){var ie=this.rules.block.lheading.exec(Ve);if(ie)return{type:"heading",raw:ie[0],depth:ie[2].charAt(0)==="="?1:2,text:ie[1]}},rt.paragraph=function(Ve){var ie=this.rules.block.paragraph.exec(Ve);if(ie)return{type:"paragraph",raw:ie[0],text:ie[1].charAt(ie[1].length-1)===`
`?ie[1].slice(0,-1):ie[1]}},rt.text=function(Ve,ie){var $=this.rules.block.text.exec(Ve);if($){var it=ie[ie.length-1];return it&&it.type==="text"?{raw:$[0],text:$[0]}:{type:"text",raw:$[0],text:$[0]}}},rt.escape=function(Ve){var ie=this.rules.inline.escape.exec(Ve);if(ie)return{type:"escape",raw:ie[0],text:V(ie[1])}},rt.tag=function(Ve,ie,$){var it=this.rules.inline.tag.exec(Ve);if(it)return!ie&&/^<a /i.test(it[0])?ie=!0:ie&&/^<\/a>/i.test(it[0])&&(ie=!1),!$&&/^<(pre|code|kbd|script)(\s|>)/i.test(it[0])?$=!0:$&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(it[0])&&($=!1),{type:this.options.sanitize?"text":"html",raw:it[0],inLink:ie,inRawBlock:$,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):V(it[0]):it[0]}},rt.link=function(Ve){var ie=this.rules.inline.link.exec(Ve);if(ie){var $=z(ie[2],"()");if($>-1){var it=ie[0].indexOf("!")===0?5:4,Qe=it+ie[1].length+$;ie[2]=ie[2].substring(0,$),ie[0]=ie[0].substring(0,Qe).trim(),ie[3]=""}var ye=ie[2],Zt="";if(this.options.pedantic){var ht=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ye);ht?(ye=ht[1],Zt=ht[3]):Zt=""}else Zt=ie[3]?ie[3].slice(1,-1):"";ye=ye.trim().replace(/^<([\s\S]*)>$/,"$1");var ct=X(ie,{href:ye&&ye.replace(this.rules.inline._escapes,"$1"),title:Zt&&Zt.replace(this.rules.inline._escapes,"$1")},ie[0]);return ct}},rt.reflink=function(Ve,ie){var $;if(($=this.rules.inline.reflink.exec(Ve))||($=this.rules.inline.nolink.exec(Ve))){var it=($[2]||$[1]).replace(/\s+/g," ");if(it=ie[it.toLowerCase()],!it||!it.href){var Qe=$[0].charAt(0);return{type:"text",raw:Qe,text:Qe}}var ye=X($,it,$[0]);return ye}},rt.strong=function(Ve,ie,$){$===void 0&&($="");var it=this.rules.inline.strong.start.exec(Ve);if(it&&(!it[1]||it[1]&&($===""||this.rules.inline.punctuation.exec($)))){ie=ie.slice(-1*Ve.length);var Qe=it[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Qe.lastIndex=0;for(var ye;(it=Qe.exec(ie))!=null;)if(ye=this.rules.inline.strong.middle.exec(ie.slice(0,it.index+3)),ye)return{type:"strong",raw:Ve.slice(0,ye[0].length),text:Ve.slice(2,ye[0].length-2)}}},rt.em=function(Ve,ie,$){$===void 0&&($="");var it=this.rules.inline.em.start.exec(Ve);if(it&&(!it[1]||it[1]&&($===""||this.rules.inline.punctuation.exec($)))){ie=ie.slice(-1*Ve.length);var Qe=it[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Qe.lastIndex=0;for(var ye;(it=Qe.exec(ie))!=null;)if(ye=this.rules.inline.em.middle.exec(ie.slice(0,it.index+2)),ye)return{type:"em",raw:Ve.slice(0,ye[0].length),text:Ve.slice(1,ye[0].length-1)}}},rt.codespan=function(Ve){var ie=this.rules.inline.code.exec(Ve);if(ie){var $=ie[2].replace(/\n/g," "),it=/[^ ]/.test($),Qe=$.startsWith(" ")&&$.endsWith(" ");return it&&Qe&&($=$.substring(1,$.length-1)),$=V($,!0),{type:"codespan",raw:ie[0],text:$}}},rt.br=function(Ve){var ie=this.rules.inline.br.exec(Ve);if(ie)return{type:"br",raw:ie[0]}},rt.del=function(Ve){var ie=this.rules.inline.del.exec(Ve);if(ie)return{type:"del",raw:ie[0],text:ie[1]}},rt.autolink=function(Ve,ie){var $=this.rules.inline.autolink.exec(Ve);if($){var it,Qe;return $[2]==="@"?(it=V(this.options.mangle?ie($[1]):$[1]),Qe="mailto:"+it):(it=V($[1]),Qe=it),{type:"link",raw:$[0],text:it,href:Qe,tokens:[{type:"text",raw:it,text:it}]}}},rt.url=function(Ve,ie){var $;if($=this.rules.inline.url.exec(Ve)){var it,Qe;if($[2]==="@")it=V(this.options.mangle?ie($[0]):$[0]),Qe="mailto:"+it;else{var ye;do ye=$[0],$[0]=this.rules.inline._backpedal.exec($[0])[0];while(ye!==$[0]);it=V($[0]),$[1]==="www."?Qe="http://"+it:Qe=it}return{type:"link",raw:$[0],text:it,href:Qe,tokens:[{type:"text",raw:it,text:it}]}}},rt.inlineText=function(Ve,ie,$){var it=this.rules.inline.text.exec(Ve);if(it){var Qe;return ie?Qe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):V(it[0]):it[0]:Qe=V(this.options.smartypants?$(it[0]):it[0]),{type:"text",raw:it[0],text:Qe}}},et}(),Y=U.noopTest,me=U.edit,we=U.merge,pe={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:Y,table:Y,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};pe._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,pe._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,pe.def=me(pe.def).replace("label",pe._label).replace("title",pe._title).getRegex(),pe.bullet=/(?:[*+-]|\d{1,9}[.)])/,pe.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,pe.item=me(pe.item,"gm").replace(/bull/g,pe.bullet).getRegex(),pe.list=me(pe.list).replace(/bull/g,pe.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+pe.def.source+")").getRegex(),pe._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",pe._comment=/<!--(?!-?>)[\s\S]*?-->/,pe.html=me(pe.html,"i").replace("comment",pe._comment).replace("tag",pe._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pe.paragraph=me(pe._paragraph).replace("hr",pe.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",pe._tag).getRegex(),pe.blockquote=me(pe.blockquote).replace("paragraph",pe.paragraph).getRegex(),pe.normal=we({},pe),pe.gfm=we({},pe.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*|$)"}),pe.gfm.nptable=me(pe.gfm.nptable).replace("hr",pe.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",pe._tag).getRegex(),pe.gfm.table=me(pe.gfm.table).replace("hr",pe.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",pe._tag).getRegex(),pe.pedantic=we({},pe.normal,{html:me(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",pe._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:Y,paragraph:me(pe.normal._paragraph).replace("hr",pe.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",pe.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Fe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Y,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:Y,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Fe._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Fe.punctuation=me(Fe.punctuation).replace(/punctuation/g,Fe._punctuation).getRegex(),Fe._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Fe._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Fe.em.start=me(Fe.em.start).replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.em.middle=me(Fe.em.middle).replace(/punctuation/g,Fe._punctuation).replace(/overlapSkip/g,Fe._overlapSkip).getRegex(),Fe.em.endAst=me(Fe.em.endAst,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.em.endUnd=me(Fe.em.endUnd,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.strong.start=me(Fe.strong.start).replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.strong.middle=me(Fe.strong.middle).replace(/punctuation/g,Fe._punctuation).replace(/blockSkip/g,Fe._blockSkip).getRegex(),Fe.strong.endAst=me(Fe.strong.endAst,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.strong.endUnd=me(Fe.strong.endUnd,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.blockSkip=me(Fe._blockSkip,"g").getRegex(),Fe.overlapSkip=me(Fe._overlapSkip,"g").getRegex(),Fe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Fe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Fe._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])?)+(?![-_])/,Fe.autolink=me(Fe.autolink).replace("scheme",Fe._scheme).replace("email",Fe._email).getRegex(),Fe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Fe.tag=me(Fe.tag).replace("comment",pe._comment).replace("attribute",Fe._attribute).getRegex(),Fe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Fe._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Fe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Fe.link=me(Fe.link).replace("label",Fe._label).replace("href",Fe._href).replace("title",Fe._title).getRegex(),Fe.reflink=me(Fe.reflink).replace("label",Fe._label).getRegex(),Fe.reflinkSearch=me(Fe.reflinkSearch,"g").replace("reflink",Fe.reflink).replace("nolink",Fe.nolink).getRegex(),Fe.normal=we({},Fe),Fe.pedantic=we({},Fe.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:me(/^!?\[(label)\]\((.*?)\)/).replace("label",Fe._label).getRegex(),reflink:me(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Fe._label).getRegex()}),Fe.gfm=we({},Fe.normal,{escape:me(Fe.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Fe.gfm.url=me(Fe.gfm.url,"i").replace("email",Fe.gfm._extended_email).getRegex(),Fe.breaks=we({},Fe.gfm,{br:me(Fe.br).replace("{2,}","*").getRegex(),text:me(Fe.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Xe={block:pe,inline:Fe},dt=c.defaults,Ee=Xe.block,Se=Xe.inline;function at(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 _e(et){var rt="",lt,Ve,ie=et.length;for(lt=0;lt<ie;lt++)Ve=et.charCodeAt(lt),Math.random()>.5&&(Ve="x"+Ve.toString(16)),rt+="&#"+Ve+";";return rt}var ce=function(){function et(lt){this.tokens=[],this.tokens.links=Object.create(null),this.options=lt||dt,this.options.tokenizer=this.options.tokenizer||new le,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ve={block:Ee.normal,inline:Se.normal};this.options.pedantic?(Ve.block=Ee.pedantic,Ve.inline=Se.pedantic):this.options.gfm&&(Ve.block=Ee.gfm,this.options.breaks?Ve.inline=Se.breaks:Ve.inline=Se.gfm),this.tokenizer.rules=Ve}et.lex=function(Ve,ie){var $=new et(ie);return $.lex(Ve)};var rt=et.prototype;return rt.lex=function(Ve){return Ve=Ve.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(Ve,this.tokens,!0),this.inline(this.tokens),this.tokens},rt.blockTokens=function(Ve,ie,$){ie===void 0&&(ie=[]),$===void 0&&($=!0),Ve=Ve.replace(/^ +$/gm,"");for(var it,Qe,ye,Zt;Ve;){if(it=this.tokenizer.space(Ve)){Ve=Ve.substring(it.raw.length),it.type&&ie.push(it);continue}if(it=this.tokenizer.code(Ve,ie)){Ve=Ve.substring(it.raw.length),it.type?ie.push(it):(Zt=ie[ie.length-1],Zt.raw+=`
`+it.raw,Zt.text+=`
`+it.text);continue}if(it=this.tokenizer.fences(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.heading(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.nptable(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.hr(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.blockquote(Ve)){Ve=Ve.substring(it.raw.length),it.tokens=this.blockTokens(it.text,[],$),ie.push(it);continue}if(it=this.tokenizer.list(Ve)){for(Ve=Ve.substring(it.raw.length),ye=it.items.length,Qe=0;Qe<ye;Qe++)it.items[Qe].tokens=this.blockTokens(it.items[Qe].text,[],!1);ie.push(it);continue}if(it=this.tokenizer.html(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if($&&(it=this.tokenizer.def(Ve))){Ve=Ve.substring(it.raw.length),this.tokens.links[it.tag]||(this.tokens.links[it.tag]={href:it.href,title:it.title});continue}if(it=this.tokenizer.table(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.lheading(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if($&&(it=this.tokenizer.paragraph(Ve))){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.text(Ve,ie)){Ve=Ve.substring(it.raw.length),it.type?ie.push(it):(Zt=ie[ie.length-1],Zt.raw+=`
`+it.raw,Zt.text+=`
`+it.text);continue}if(Ve){var ht="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(ht);break}else throw new Error(ht)}}return ie},rt.inline=function(Ve){var ie,$,it,Qe,ye,Zt,ht=Ve.length;for(ie=0;ie<ht;ie++){Zt=Ve[ie];switch(Zt.type){case"paragraph":case"text":case"heading":{Zt.tokens=[],this.inlineTokens(Zt.text,Zt.tokens);break}case"table":{for(Zt.tokens={header:[],cells:[]},Qe=Zt.header.length,$=0;$<Qe;$++)Zt.tokens.header[$]=[],this.inlineTokens(Zt.header[$],Zt.tokens.header[$]);for(Qe=Zt.cells.length,$=0;$<Qe;$++)for(ye=Zt.cells[$],Zt.tokens.cells[$]=[],it=0;it<ye.length;it++)Zt.tokens.cells[$][it]=[],this.inlineTokens(ye[it],Zt.tokens.cells[$][it]);break}case"blockquote":{this.inline(Zt.tokens);break}case"list":{for(Qe=Zt.items.length,$=0;$<Qe;$++)this.inline(Zt.items[$].tokens);break}}}return Ve},rt.inlineTokens=function(Ve,ie,$,it,Qe){ie===void 0&&(ie=[]),$===void 0&&($=!1),it===void 0&&(it=!1),Qe===void 0&&(Qe="");var ye,Zt=Ve,ht;if(this.tokens.links){var ct=Object.keys(this.tokens.links);if(ct.length>0)for(;(ht=this.tokenizer.rules.inline.reflinkSearch.exec(Zt))!=null;)ct.includes(ht[0].slice(ht[0].lastIndexOf("[")+1,-1))&&(Zt=Zt.slice(0,ht.index)+"["+"a".repeat(ht[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(ht=this.tokenizer.rules.inline.blockSkip.exec(Zt))!=null;)Zt=Zt.slice(0,ht.index)+"["+"a".repeat(ht[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ve;){if(ye=this.tokenizer.escape(Ve)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.tag(Ve,$,it)){Ve=Ve.substring(ye.raw.length),$=ye.inLink,it=ye.inRawBlock,ie.push(ye);continue}if(ye=this.tokenizer.link(Ve)){Ve=Ve.substring(ye.raw.length),ye.type==="link"&&(ye.tokens=this.inlineTokens(ye.text,[],!0,it)),ie.push(ye);continue}if(ye=this.tokenizer.reflink(Ve,this.tokens.links)){Ve=Ve.substring(ye.raw.length),ye.type==="link"&&(ye.tokens=this.inlineTokens(ye.text,[],!0,it)),ie.push(ye);continue}if(ye=this.tokenizer.strong(Ve,Zt,Qe)){Ve=Ve.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],$,it),ie.push(ye);continue}if(ye=this.tokenizer.em(Ve,Zt,Qe)){Ve=Ve.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],$,it),ie.push(ye);continue}if(ye=this.tokenizer.codespan(Ve)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.br(Ve)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.del(Ve)){Ve=Ve.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],$,it),ie.push(ye);continue}if(ye=this.tokenizer.autolink(Ve,_e)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(!$&&(ye=this.tokenizer.url(Ve,_e))){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.inlineText(Ve,it,at)){Ve=Ve.substring(ye.raw.length),Qe=ye.raw.slice(-1),ie.push(ye);continue}if(Ve){var yt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(yt);break}else throw new Error(yt)}}return ie},f(et,null,[{key:"rules",get:function(){return{block:Ee,inline:Se}}}]),et}(),ee=c.defaults,se=U.cleanUrl,ke=U.escape,Ce=function(){function et(lt){this.options=lt||ee}var rt=et.prototype;return rt.code=function(Ve,ie,$){var it=(ie||"").match(/\S*/)[0];if(this.options.highlight){var Qe=this.options.highlight(Ve,it);Qe!=null&&Qe!==Ve&&($=!0,Ve=Qe)}return it?'<pre><code class="'+this.options.langPrefix+ke(it,!0)+'">'+($?Ve:ke(Ve,!0))+`</code></pre>
`:"<pre><code>"+($?Ve:ke(Ve,!0))+`</code></pre>
`},rt.blockquote=function(Ve){return`<blockquote>
`+Ve+`</blockquote>
`},rt.html=function(Ve){return Ve},rt.heading=function(Ve,ie,$,it){return this.options.headerIds?"<h"+ie+' id="'+this.options.headerPrefix+it.slug($)+'">'+Ve+"</h"+ie+`>
`:"<h"+ie+">"+Ve+"</h"+ie+`>
`},rt.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},rt.list=function(Ve,ie,$){var it=ie?"ol":"ul",Qe=ie&&$!==1?' start="'+$+'"':"";return"<"+it+Qe+`>
`+Ve+"</"+it+`>
`},rt.listitem=function(Ve){return"<li>"+Ve+`</li>
`},rt.checkbox=function(Ve){return"<input "+(Ve?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},rt.paragraph=function(Ve){return"<p>"+Ve+`</p>
`},rt.table=function(Ve,ie){return ie&&(ie="<tbody>"+ie+"</tbody>"),`<table>
<thead>
`+Ve+`</thead>
`+ie+`</table>
`},rt.tablerow=function(Ve){return`<tr>
`+Ve+`</tr>
`},rt.tablecell=function(Ve,ie){var $=ie.header?"th":"td",it=ie.align?"<"+$+' align="'+ie.align+'">':"<"+$+">";return it+Ve+"</"+$+`>
`},rt.strong=function(Ve){return"<strong>"+Ve+"</strong>"},rt.em=function(Ve){return"<em>"+Ve+"</em>"},rt.codespan=function(Ve){return"<code>"+Ve+"</code>"},rt.br=function(){return this.options.xhtml?"<br/>":"<br>"},rt.del=function(Ve){return"<del>"+Ve+"</del>"},rt.link=function(Ve,ie,$){if(Ve=se(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return $;var it='<a href="'+ke(Ve)+'"';return ie&&(it+=' title="'+ie+'"'),it+=">"+$+"</a>",it},rt.image=function(Ve,ie,$){if(Ve=se(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return $;var it='<img src="'+Ve+'" alt="'+$+'"';return ie&&(it+=' title="'+ie+'"'),it+=this.options.xhtml?"/>":">",it},rt.text=function(Ve){return Ve},et}(),ze=function(){function et(){}var rt=et.prototype;return rt.strong=function(Ve){return Ve},rt.em=function(Ve){return Ve},rt.codespan=function(Ve){return Ve},rt.del=function(Ve){return Ve},rt.html=function(Ve){return Ve},rt.text=function(Ve){return Ve},rt.link=function(Ve,ie,$){return""+$},rt.image=function(Ve,ie,$){return""+$},rt.br=function(){return""},et}(),Oe=function(){function et(){this.seen={}}var rt=et.prototype;return rt.slug=function(Ve){var ie=Ve.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ie)){var $=ie;do this.seen[$]++,ie=$+"-"+this.seen[$];while(this.seen.hasOwnProperty(ie))}return this.seen[ie]=0,ie},et}(),ae=c.defaults,ge=U.unescape,Le=function(){function et(lt){this.options=lt||ae,this.options.renderer=this.options.renderer||new Ce,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ze,this.slugger=new Oe}et.parse=function(Ve,ie){var $=new et(ie);return $.parse(Ve)};var rt=et.prototype;return rt.parse=function(Ve,ie){ie===void 0&&(ie=!0);var $="",it,Qe,ye,Zt,ht,ct,yt,It,or,Bt,Ae,ve,fe,ue,Ne,je,Ke,Ye,Pe=Ve.length;for(it=0;it<Pe;it++){Bt=Ve[it];switch(Bt.type){case"space":continue;case"hr":{$+=this.renderer.hr();continue}case"heading":{$+=this.renderer.heading(this.parseInline(Bt.tokens),Bt.depth,ge(this.parseInline(Bt.tokens,this.textRenderer)),this.slugger);continue}case"code":{$+=this.renderer.code(Bt.text,Bt.lang,Bt.escaped);continue}case"table":{for(It="",yt="",Zt=Bt.header.length,Qe=0;Qe<Zt;Qe++)yt+=this.renderer.tablecell(this.parseInline(Bt.tokens.header[Qe]),{header:!0,align:Bt.align[Qe]});for(It+=this.renderer.tablerow(yt),or="",Zt=Bt.cells.length,Qe=0;Qe<Zt;Qe++){for(ct=Bt.tokens.cells[Qe],yt="",ht=ct.length,ye=0;ye<ht;ye++)yt+=this.renderer.tablecell(this.parseInline(ct[ye]),{header:!1,align:Bt.align[ye]});or+=this.renderer.tablerow(yt)}$+=this.renderer.table(It,or);continue}case"blockquote":{or=this.parse(Bt.tokens),$+=this.renderer.blockquote(or);continue}case"list":{for(Ae=Bt.ordered,ve=Bt.start,fe=Bt.loose,Zt=Bt.items.length,or="",Qe=0;Qe<Zt;Qe++)Ne=Bt.items[Qe],je=Ne.checked,Ke=Ne.task,ue="",Ne.task&&(Ye=this.renderer.checkbox(je),fe?Ne.tokens.length>0&&Ne.tokens[0].type==="text"?(Ne.tokens[0].text=Ye+" "+Ne.tokens[0].text,Ne.tokens[0].tokens&&Ne.tokens[0].tokens.length>0&&Ne.tokens[0].tokens[0].type==="text"&&(Ne.tokens[0].tokens[0].text=Ye+" "+Ne.tokens[0].tokens[0].text)):Ne.tokens.unshift({type:"text",text:Ye}):ue+=Ye),ue+=this.parse(Ne.tokens,fe),or+=this.renderer.listitem(ue,Ke,je);$+=this.renderer.list(or,Ae,ve);continue}case"html":{$+=this.renderer.html(Bt.text);continue}case"paragraph":{$+=this.renderer.paragraph(this.parseInline(Bt.tokens));continue}case"text":{for(or=Bt.tokens?this.parseInline(Bt.tokens):Bt.text;it+1<Pe&&Ve[it+1].type==="text";)Bt=Ve[++it],or+=`
`+(Bt.tokens?this.parseInline(Bt.tokens):Bt.text);$+=ie?this.renderer.paragraph(or):or;continue}default:{var nt='Token with "'+Bt.type+'" type was not found.';if(this.options.silent){console.error(nt);return}else throw new Error(nt)}}}return $},rt.parseInline=function(Ve,ie){ie=ie||this.renderer;var $="",it,Qe,ye=Ve.length;for(it=0;it<ye;it++){Qe=Ve[it];switch(Qe.type){case"escape":{$+=ie.text(Qe.text);break}case"html":{$+=ie.html(Qe.text);break}case"link":{$+=ie.link(Qe.href,Qe.title,this.parseInline(Qe.tokens,ie));break}case"image":{$+=ie.image(Qe.href,Qe.title,Qe.text);break}case"strong":{$+=ie.strong(this.parseInline(Qe.tokens,ie));break}case"em":{$+=ie.em(this.parseInline(Qe.tokens,ie));break}case"codespan":{$+=ie.codespan(Qe.text);break}case"br":{$+=ie.br();break}case"del":{$+=ie.del(this.parseInline(Qe.tokens,ie));break}case"text":{$+=ie.text(Qe.text);break}default:{var Zt='Token with "'+Qe.type+'" type was not found.';if(this.options.silent){console.error(Zt);return}else throw new Error(Zt)}}}return $},et}(),Ze=U.merge,vt=U.checkSanitizeDeprecation,Ct=U.escape,Be=c.getDefaults,Rt=c.changeDefaults,He=c.defaults;function wt(et,rt,lt){if(typeof et=="undefined"||et===null)throw new Error("marked(): input parameter is undefined or null");if(typeof et!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(et)+", string expected");if(typeof rt=="function"&&(lt=rt,rt=null),rt=Ze({},wt.defaults,rt||{}),vt(rt),lt){var Ve=rt.highlight,ie;try{ie=ce.lex(et,rt)}catch(ye){return lt(ye)}var $=function(Zt){var ht;if(!Zt)try{ht=Le.parse(ie,rt)}catch(ct){Zt=ct}return rt.highlight=Ve,Zt?lt(Zt):lt(null,ht)};if(!Ve||Ve.length<3)return $();if(delete rt.highlight,!ie.length)return $();var it=0;wt.walkTokens(ie,function(ye){ye.type==="code"&&(it++,setTimeout(function(){Ve(ye.text,ye.lang,function(Zt,ht){if(Zt)return $(Zt);ht!=null&&ht!==ye.text&&(ye.text=ht,ye.escaped=!0),it--,it===0&&$()})},0))}),it===0&&$();return}try{var Qe=ce.lex(et,rt);return rt.walkTokens&&wt.walkTokens(Qe,rt.walkTokens),Le.parse(Qe,rt)}catch(ye){if(ye.message+=`
Please report this to https://github.com/markedjs/marked.`,rt.silent)return"<p>An error occurred:</p><pre>"+Ct(ye.message+"",!0)+"</pre>";throw ye}}wt.options=wt.setOptions=function(et){return Ze(wt.defaults,et),Rt(wt.defaults),wt},wt.getDefaults=Be,wt.defaults=He,wt.use=function(et){var rt=Ze({},et);if(et.renderer&&function(){var Ve=wt.defaults.renderer||new Ce,ie=function(Qe){var ye=Ve[Qe];Ve[Qe]=function(){for(var Zt=arguments.length,ht=new Array(Zt),ct=0;ct<Zt;ct++)ht[ct]=arguments[ct];var yt=et.renderer[Qe].apply(Ve,ht);return yt===!1&&(yt=ye.apply(Ve,ht)),yt}};for(var $ in et.renderer)ie($);rt.renderer=Ve}(),et.tokenizer&&function(){var Ve=wt.defaults.tokenizer||new le,ie=function(Qe){var ye=Ve[Qe];Ve[Qe]=function(){for(var Zt=arguments.length,ht=new Array(Zt),ct=0;ct<Zt;ct++)ht[ct]=arguments[ct];var yt=et.tokenizer[Qe].apply(Ve,ht);return yt===!1&&(yt=ye.apply(Ve,ht)),yt}};for(var $ in et.tokenizer)ie($);rt.tokenizer=Ve}(),et.walkTokens){var lt=wt.defaults.walkTokens;rt.walkTokens=function(Ve){et.walkTokens(Ve),lt&&lt(Ve)}}wt.setOptions(rt)},wt.walkTokens=function(et,rt){for(var lt=v(et),Ve;!(Ve=lt()).done;){var ie=Ve.value;rt(ie);switch(ie.type){case"table":{for(var $=v(ie.tokens.header),it;!(it=$()).done;){var Qe=it.value;wt.walkTokens(Qe,rt)}for(var ye=v(ie.tokens.cells),Zt;!(Zt=ye()).done;)for(var ht=Zt.value,ct=v(ht),yt;!(yt=ct()).done;){var It=yt.value;wt.walkTokens(It,rt)}break}case"list":{wt.walkTokens(ie.items,rt);break}default:ie.tokens&&wt.walkTokens(ie.tokens,rt)}}},wt.Parser=Le,wt.parser=Le.parse,wt.Renderer=Ce,wt.TextRenderer=ze,wt.Lexer=ce,wt.lexer=ce.lex,wt.Tokenizer=le,wt.Slugger=Oe,wt.parse=wt;var Ge=wt;return Ge})},"DlR+":function(D,_,e){var g=e("MFOe"),f=g.Global,A=g.trim;D.exports={name:"cookieStorage",read:v,write:c,each:h,remove:o,clearAll:i};var m=f.document;function v(a){if(!a||!n(a))return null;var u="(?:^|.*;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(u),"$1"))}function h(a){for(var u=m.cookie.split(/; ?/g),r=u.length-1;r>=0;r--){if(!A(u[r]))continue;var l=u[r].split("="),t=unescape(l[0]),s=unescape(l[1]);a(s,t)}}function c(a,u){if(!a)return;m.cookie=escape(a)+"="+escape(u)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function o(a){if(!a||!n(a))return;m.cookie=escape(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function i(){h(function(a,u){o(u)})}function n(a){return new RegExp("(?:^|;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("+TT/"),m=e("XpcN"),v=f.Group,h=["width","height"],c=["x","y"],o=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){o.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new v),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new v),this._showController},resetInner:function(){o.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(n,a,u,r,l,t,s){var d=this;o.superCall(this,"renderInner",n,a,u,r,l,t,s);var p=this._controllerGroup,b=a.get("pageIconSize",!0);g.isArray(b)||(b=[b,b]),E("pagePrev",0);var w=a.getModel("pageTextStyle");p.add(new f.Text({name:"pageText",style:{textFill:w.getTextColor(),font:w.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),E("pageNext",1);function E(S,x){var T=S+"DataIndex",L=f.createIcon(a.get("pageIcons",!0)[a.getOrient().name][x],{onclick:g.bind(d._pageGo,d,T,a,r)},{x:-b[0]/2,y:-b[1]/2,width:b[0],height:b[1]});L.name=S,p.add(L)}},layoutInner:function(n,a,u,r,l,t){var s=this.getSelectorGroup(),d=n.getOrient().index,p=h[d],b=c[d],w=h[1-d],E=c[1-d];l&&A.box("horizontal",s,n.get("selectorItemGap",!0));var S=n.get("selectorButtonGap",!0),x=s.getBoundingRect(),T=[-x.x,-x.y],L=g.clone(u);l&&(L[p]=u[p]-x[p]-S);var y=this._layoutContentAndController(n,r,L,d,p,w,E);if(l){if(t==="end")T[d]+=y[p]+S;else{var C=x[p]+S;T[d]-=C,y[b]-=C}y[p]+=x[p]+S,T[1-d]+=y[E]+y[w]/2-x[w]/2,y[w]=Math.max(y[w],x[w]),y[E]=Math.min(y[E],x[E]+T[1-d]),s.attr("position",T)}return y},_layoutContentAndController:function(n,a,u,r,l,t,s){var d=this.getContentGroup(),p=this._containerGroup,b=this._controllerGroup;A.box(n.get("orient"),d,n.get("itemGap"),r?u.width:null,r?null:u.height),A.box("horizontal",b,n.get("pageButtonItemGap",!0));var w=d.getBoundingRect(),E=b.getBoundingRect(),S=this._showController=w[l]>u[l],x=[-w.x,-w.y];a||(x[r]=d.position[r]);var T=[0,0],L=[-E.x,-E.y],y=g.retrieve2(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(S){var C=n.get("pageButtonPosition",!0);C==="end"?L[r]+=u[l]-E[l]:T[r]+=E[l]+y}L[1-r]+=w[t]/2-E[t]/2,d.attr("position",x),p.attr("position",T),b.attr("position",L);var O={x:0,y:0};if(O[l]=S?u[l]:w[l],O[t]=Math.max(w[t],E[t]),O[s]=Math.min(0,E[s]+L[1-r]),p.__rectSize=u[l],S){var N={x:0,y:0};N[l]=Math.max(u[l]-E[l]-y,0),N[t]=O[t],p.setClipPath(new f.Rect({shape:N})),p.__rectSize=N[l]}else b.eachChild(function(F){F.attr({invisible:!0,silent:!0})});var k=this._getPageInfo(n);return k.pageIndex!=null&&f.updateProps(d,{position:k.contentPosition},S?n:!1),this._updatePageInfoView(n,k),O},_pageGo:function(n,a,u){var r=this._getPageInfo(a)[n];r!=null&&u.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:a.id})},_updatePageInfoView:function(n,a){var u=this._controllerGroup;g.each(["pagePrev","pageNext"],function(p){var b=a[p+"DataIndex"]!=null,w=u.childOfName(p);w&&(w.setStyle("fill",b?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),w.cursor=b?"pointer":"default")});var r=u.childOfName("pageText"),l=n.get("pageFormatter"),t=a.pageIndex,s=t!=null?t+1:0,d=a.pageCount;r&&l&&r.setStyle("text",g.isString(l)?l.replace("{current}",s).replace("{total}",d):l({current:s,total:d}))},_getPageInfo:function(n){var a=n.get("scrollDataIndex",!0),u=this.getContentGroup(),r=this._containerGroup.__rectSize,l=n.getOrient().index,t=h[l],s=c[l],d=this._findTargetItemIndex(a),p=u.children(),b=p[d],w=p.length,E=w?1:0,S={contentPosition:u.position.slice(),pageCount:E,pageIndex:E-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!b)return S;var x=O(b);S.contentPosition[l]=-x.s;for(var T=d+1,L=x,y=x,C=null;T<=w;++T)C=O(p[T]),(!C&&y.e>L.s+r||C&&!N(C,L.s))&&(y.i>L.i?L=y:L=C,L&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=L.i),++S.pageCount)),y=C;for(var T=d-1,L=x,y=x,C=null;T>=-1;--T)C=O(p[T]),(!C||!N(y,C.s))&&L.i<y.i&&(y=L,S.pagePrevDataIndex==null&&(S.pagePrevDataIndex=L.i),++S.pageCount,++S.pageIndex),L=C;return S;function O(k){if(k){var F=k.getBoundingRect(),B=F[s]+k.position[l];return{s:B,e:B+F[t],i:k.__legendDataIndex}}}function N(k,F){return k.e>=F&&k.s<=F+r}},_findTargetItemIndex:function(n){if(!this._showController)return 0;var a,u=this.getContentGroup(),r;return u.eachChild(function(l,t){var s=l.__legendDataIndex;r==null&&s!=null&&(r=t),s===n&&(a=t)}),a!=null?a:r}}),i=o;D.exports=i},"E/ki":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};_.default=g},E2g8:function(D,_,e){(function(g,f){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6
*/(function(A,m){D.exports=m()})(this,function(){"use strict";function A(Ce){var ze=typeof Ce;return Ce!==null&&(ze==="object"||ze==="function")}function m(Ce){return typeof Ce=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(ze){return Object.prototype.toString.call(ze)==="[object Array]"};var h=v,c=0,o=void 0,i=void 0,n=function(ze,Oe){x[c]=ze,x[c+1]=Oe,c+=2,c===2&&(i?i(T):y())};function a(Ce){i=Ce}function u(Ce){n=Ce}var r=typeof window!="undefined"?window:void 0,l=r||{},t=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof g!="undefined"&&{}.toString.call(g)==="[object process]",d=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function p(){return function(){return g.nextTick(T)}}function b(){return typeof o!="undefined"?function(){o(T)}:S()}function w(){var Ce=0,ze=new t(T),Oe=document.createTextNode("");return ze.observe(Oe,{characterData:!0}),function(){Oe.data=Ce=++Ce%2}}function E(){var Ce=new MessageChannel;return Ce.port1.onmessage=T,function(){return Ce.port2.postMessage(0)}}function S(){var Ce=setTimeout;return function(){return Ce(T,1)}}var x=new Array(1e3);function T(){for(var Ce=0;Ce<c;Ce+=2){var ze=x[Ce],Oe=x[Ce+1];ze(Oe),x[Ce]=void 0,x[Ce+1]=void 0}c=0}function L(){try{var Ce=Function("return this")().require("vertx");return o=Ce.runOnLoop||Ce.runOnContext,b()}catch(ze){return S()}}var y=void 0;s?y=p():t?y=w():d?y=E():r===void 0&&!0?y=L():y=S();function C(Ce,ze){var Oe=this,ae=new this.constructor(k);ae[N]===void 0&&Xe(ae);var ge=Oe._state;if(ge){var Le=arguments[ge-1];n(function(){return me(ge,ae,Le,Oe._result)})}else le(Oe,ae,Ce,ze);return ae}function O(Ce){var ze=this;if(Ce&&typeof Ce=="object"&&Ce.constructor===ze)return Ce;var Oe=new ze(k);return V(Oe,Ce),Oe}var N=Math.random().toString(36).substring(2);function k(){}var F=void 0,B=1,H=2;function W(){return new TypeError("You cannot resolve a promise with itself")}function R(){return new TypeError("A promises callback cannot return that same promise.")}function U(Ce,ze,Oe,ae){try{Ce.call(ze,Oe,ae)}catch(ge){return ge}}function j(Ce,ze,Oe){n(function(ae){var ge=!1,Le=U(Oe,ze,function(Ze){if(ge)return;ge=!0,ze!==Ze?V(ae,Ze):X(ae,Ze)},function(Ze){if(ge)return;ge=!0,G(ae,Ze)},"Settle: "+(ae._label||" unknown promise"));!ge&&Le&&(ge=!0,G(ae,Le))},Ce)}function P(Ce,ze){ze._state===B?X(Ce,ze._result):ze._state===H?G(Ce,ze._result):le(ze,void 0,function(Oe){return V(Ce,Oe)},function(Oe){return G(Ce,Oe)})}function K(Ce,ze,Oe){ze.constructor===Ce.constructor&&Oe===C&&ze.constructor.resolve===O?P(Ce,ze):Oe===void 0?X(Ce,ze):m(Oe)?j(Ce,ze,Oe):X(Ce,ze)}function V(Ce,ze){if(Ce===ze)G(Ce,W());else if(A(ze)){var Oe=void 0;try{Oe=ze.then}catch(ae){G(Ce,ae);return}K(Ce,ze,Oe)}else X(Ce,ze)}function z(Ce){Ce._onerror&&Ce._onerror(Ce._result),Y(Ce)}function X(Ce,ze){if(Ce._state!==F)return;Ce._result=ze,Ce._state=B,Ce._subscribers.length!==0&&n(Y,Ce)}function G(Ce,ze){if(Ce._state!==F)return;Ce._state=H,Ce._result=ze,n(z,Ce)}function le(Ce,ze,Oe,ae){var ge=Ce._subscribers,Le=ge.length;Ce._onerror=null,ge[Le]=ze,ge[Le+B]=Oe,ge[Le+H]=ae,Le===0&&Ce._state&&n(Y,Ce)}function Y(Ce){var ze=Ce._subscribers,Oe=Ce._state;if(ze.length===0)return;for(var ae=void 0,ge=void 0,Le=Ce._result,Ze=0;Ze<ze.length;Ze+=3)ae=ze[Ze],ge=ze[Ze+Oe],ae?me(Oe,ae,ge,Le):ge(Le);Ce._subscribers.length=0}function me(Ce,ze,Oe,ae){var ge=m(Oe),Le=void 0,Ze=void 0,vt=!0;if(ge){try{Le=Oe(ae)}catch(Ct){vt=!1,Ze=Ct}if(ze===Le){G(ze,R());return}}else Le=ae;ze._state!==F||(ge&&vt?V(ze,Le):vt===!1?G(ze,Ze):Ce===B?X(ze,Le):Ce===H&&G(ze,Le))}function we(Ce,ze){try{ze(function(ae){V(Ce,ae)},function(ae){G(Ce,ae)})}catch(Oe){G(Ce,Oe)}}var pe=0;function Fe(){return pe++}function Xe(Ce){Ce[N]=pe++,Ce._state=void 0,Ce._result=void 0,Ce._subscribers=[]}function dt(){return new Error("Array Methods must be provided an Array")}var Ee=function(){function Ce(ze,Oe){this._instanceConstructor=ze,this.promise=new ze(k),this.promise[N]||Xe(this.promise),h(Oe)?(this.length=Oe.length,this._remaining=Oe.length,this._result=new Array(this.length),this.length===0?X(this.promise,this._result):(this.length=this.length||0,this._enumerate(Oe),this._remaining===0&&X(this.promise,this._result))):G(this.promise,dt())}return Ce.prototype._enumerate=function(Oe){for(var ae=0;this._state===F&&ae<Oe.length;ae++)this._eachEntry(Oe[ae],ae)},Ce.prototype._eachEntry=function(Oe,ae){var ge=this._instanceConstructor,Le=ge.resolve;if(Le===O){var Ze=void 0,vt=void 0,Ct=!1;try{Ze=Oe.then}catch(Rt){Ct=!0,vt=Rt}if(Ze===C&&Oe._state!==F)this._settledAt(Oe._state,ae,Oe._result);else if(typeof Ze!="function")this._remaining--,this._result[ae]=Oe;else if(ge===se){var Be=new ge(k);Ct?G(Be,vt):K(Be,Oe,Ze),this._willSettleAt(Be,ae)}else this._willSettleAt(new ge(function(Rt){return Rt(Oe)}),ae)}else this._willSettleAt(Le(Oe),ae)},Ce.prototype._settledAt=function(Oe,ae,ge){var Le=this.promise;Le._state===F&&(this._remaining--,Oe===H?G(Le,ge):this._result[ae]=ge),this._remaining===0&&X(Le,this._result)},Ce.prototype._willSettleAt=function(Oe,ae){var ge=this;le(Oe,void 0,function(Le){return ge._settledAt(B,ae,Le)},function(Le){return ge._settledAt(H,ae,Le)})},Ce}();function Se(Ce){return new Ee(this,Ce).promise}function at(Ce){var ze=this;return h(Ce)?new ze(function(Oe,ae){for(var ge=Ce.length,Le=0;Le<ge;Le++)ze.resolve(Ce[Le]).then(Oe,ae)}):new ze(function(Oe,ae){return ae(new TypeError("You must pass an array to race."))})}function _e(Ce){var ze=this,Oe=new ze(k);return G(Oe,Ce),Oe}function ce(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ee(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var se=function(){function Ce(ze){this[N]=Fe(),this._result=this._state=void 0,this._subscribers=[],k!==ze&&(typeof ze!="function"&&ce(),this instanceof Ce?we(this,ze):ee())}return Ce.prototype.catch=function(Oe){return this.then(null,Oe)},Ce.prototype.finally=function(Oe){var ae=this,ge=ae.constructor;return m(Oe)?ae.then(function(Le){return ge.resolve(Oe()).then(function(){return Le})},function(Le){return ge.resolve(Oe()).then(function(){throw Le})}):ae.then(Oe,Oe)},Ce}();se.prototype.then=C,se.all=Se,se.race=at,se.resolve=O,se.reject=_e,se._setScheduler=a,se._setAsap=u,se._asap=n;function ke(){var Ce=void 0;if(typeof f!="undefined")Ce=f;else if(typeof self!="undefined")Ce=self;else try{Ce=Function("return this")()}catch(ae){throw new Error("polyfill failed because global object is unavailable in this environment")}var ze=Ce.Promise;if(ze){var Oe=null;try{Oe=Object.prototype.toString.call(ze.resolve())}catch(ae){}if(Oe==="[object Promise]"&&!ze.cast)return}Ce.Promise=se}return se.polyfill=ke,se.Promise=se,se})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(D,_,e){var g=e("2gN3"),f=function(){var m=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||"");return m?"Symbol(src)_1."+m:""}();function A(m){return!!f&&f in m}D.exports=A},E9nw:function(D,_){D.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var g=document.activeElement,f=[],A=0;A<e.rangeCount;A++)f.push(e.getRangeAt(A));switch(g.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":g.blur();break;default:g=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||f.forEach(function(m){e.addRange(m)}),g&&g.focus()}}},ELLl:function(D,_,e){(function(g){g(e("VrN/"))})(function(g){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},A=g.Pos;g.defineOption("autoCloseBrackets",!1,function(t,s,d){d&&d!=g.Init&&(t.removeKeyMap(v),t.state.closeBrackets=null),s&&(h(m(s,"pairs")),t.state.closeBrackets=s,t.addKeyMap(v))});function m(t,s){return s=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[s]!=null?t[s]:f[s]}var v={Backspace:i,Enter:n};function h(t){for(var s=0;s<t.length;s++){var d=t.charAt(s),p="'"+d+"'";v[p]||(v[p]=c(d))}}h(f.pairs+"`");function c(t){return function(s){return u(s,t)}}function o(t){var s=t.state.closeBrackets;if(!s||s.override)return s;var d=t.getModeAt(t.getCursor());return d.closeBrackets||s}function i(t){var s=o(t);if(!s||t.getOption("disableInput"))return g.Pass;for(var d=m(s,"pairs"),p=t.listSelections(),b=0;b<p.length;b++){if(!p[b].empty())return g.Pass;var w=r(t,p[b].head);if(!w||d.indexOf(w)%2!=0)return g.Pass}for(var b=p.length-1;b>=0;b--){var E=p[b].head;t.replaceRange("",A(E.line,E.ch-1),A(E.line,E.ch+1),"+delete")}}function n(t){var s=o(t),d=s&&m(s,"explode");if(!d||t.getOption("disableInput"))return g.Pass;for(var p=t.listSelections(),b=0;b<p.length;b++){if(!p[b].empty())return g.Pass;var w=r(t,p[b].head);if(!w||d.indexOf(w)%2!=0)return g.Pass}t.operation(function(){var E=t.lineSeparator()||`
`;t.replaceSelection(E+E,null),t.execCommand("goCharLeft"),p=t.listSelections();for(var S=0;S<p.length;S++){var x=p[S].head.line;t.indentLine(x,null,!0),t.indentLine(x+1,null,!0)}})}function a(t){var s=g.cmpPos(t.anchor,t.head)>0;return{anchor:new A(t.anchor.line,t.anchor.ch+(s?-1:1)),head:new A(t.head.line,t.head.ch+(s?1:-1))}}function u(t,s){var d=o(t);if(!d||t.getOption("disableInput"))return g.Pass;var p=m(d,"pairs"),b=p.indexOf(s);if(b==-1)return g.Pass;for(var w=m(d,"closeBefore"),E=m(d,"triples"),S=p.charAt(b+1)==s,x=t.listSelections(),T=b%2==0,L,y=0;y<x.length;y++){var C=x[y],O=C.head,N,k=t.getRange(O,A(O.line,O.ch+1));if(T&&!C.empty())N="surround";else if((S||!T)&&k==s)S&&l(t,O)?N="both":E.indexOf(s)>=0&&t.getRange(O,A(O.line,O.ch+3))==s+s+s?N="skipThree":N="skip";else if(S&&O.ch>1&&E.indexOf(s)>=0&&t.getRange(A(O.line,O.ch-2),O)==s+s){if(O.ch>2&&/\bstring/.test(t.getTokenTypeAt(A(O.line,O.ch-2))))return g.Pass;N="addFour"}else if(S){var F=O.ch==0?" ":t.getRange(A(O.line,O.ch-1),O);if(!g.isWordChar(k)&&F!=s&&!g.isWordChar(F))N="both";else return g.Pass}else if(T&&(k.length===0||/\s/.test(k)||w.indexOf(k)>-1))N="both";else return g.Pass;if(!L)L=N;else if(L!=N)return g.Pass}var B=b%2?p.charAt(b-1):s,H=b%2?s:p.charAt(b+1);t.operation(function(){if(L=="skip")t.execCommand("goCharRight");else if(L=="skipThree")for(var W=0;W<3;W++)t.execCommand("goCharRight");else if(L=="surround"){for(var R=t.getSelections(),W=0;W<R.length;W++)R[W]=B+R[W]+H;t.replaceSelections(R,"around"),R=t.listSelections().slice();for(var W=0;W<R.length;W++)R[W]=a(R[W]);t.setSelections(R)}else L=="both"?(t.replaceSelection(B+H,null),t.triggerElectric(B+H),t.execCommand("goCharLeft")):L=="addFour"&&(t.replaceSelection(B+B+B+B,"before"),t.execCommand("goCharRight"))})}function r(t,s){var d=t.getRange(A(s.line,s.ch-1),A(s.line,s.ch+1));return d.length==2?d:null}function l(t,s){var d=t.getTokenAt(A(s.line,s.ch+1));return/\bstring/.test(d.type)&&d.start==s.ch&&(s.ch==0||!/\bstring/.test(t.getTokenTypeAt(s)))}})},EMyp:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("mFDi"),m=e("K4ya"),v=e("qJCg"),h=e("iLNv"),c=e("vZ6x"),o=["inBrush","outOfBrush"],i="__ecBrushSelect",n="__ecInBrushSelectEvent",a=g.PRIORITY.VISUAL.BRUSH;g.registerLayout(a,function(E,S,x){E.eachComponent({mainType:"brush"},function(T){x&&x.type==="takeGlobalCursor"&&T.setBrushOption(x.key==="brush"?x.brushOption:{brushType:!1})}),u(E)});function u(E){E.eachComponent({mainType:"brush"},function(S){var x=S.brushTargetManager=new c(S.option,E);x.setInputRanges(S.areas,E)})}g.registerVisual(a,function(E,S,x){var T=[],L,y;E.eachComponent({mainType:"brush"},function(C,O){var N={brushId:C.id,brushIndex:O,brushName:C.name,areas:f.clone(C.areas),selected:[]};T.push(N);var k=C.option,F=k.brushLink,B=[],H=[],W=[],R=0;O||(L=k.throttleType,y=k.throttleDelay);var U=f.map(C.areas,function(X){return p(f.defaults({boundingRect:b[X.brushType](X)},X))}),j=m.createVisualMappings(C.option,o,function(X){X.mappingMethod="fixed"});f.isArray(F)&&f.each(F,function(X){B[X]=1});function P(X){return F==="all"||B[X]}function K(X){return!!X.length}E.eachSeries(function(X,G){var le=W[G]=[];X.subType==="parallel"?V(X,G,le):z(X,G,le)});function V(X,G){var le=X.coordinateSystem;R|=le.hasAxisBrushed(),P(G)&&le.eachActiveState(X.getData(),function(Y,me){Y==="active"&&(H[me]=1)})}function z(X,G,le){var Y=s(X);if(!Y||d(C,G))return;if(f.each(U,function(we){Y[we.brushType]&&C.brushTargetManager.controlSeries(we,X,E)&&le.push(we),R|=K(le)}),P(G)&&K(le)){var me=X.getData();me.each(function(we){t(Y,le,me,we)&&(H[we]=1)})}}E.eachSeries(function(X,G){var le={seriesId:X.id,seriesIndex:G,seriesName:X.name,dataIndex:[]};N.selected.push(le);var Y=s(X),me=W[G],we=X.getData(),pe=P(G)?function(Fe){return H[Fe]?(le.dataIndex.push(we.getRawIndex(Fe)),"inBrush"):"outOfBrush"}:function(Fe){return t(Y,me,we,Fe)?(le.dataIndex.push(we.getRawIndex(Fe)),"inBrush"):"outOfBrush"};(P(G)?R:K(me))&&m.applyVisual(o,j,we,pe)})}),r(S,L,y,T,x)});function r(E,S,x,T,L){if(!L)return;var y=E.getZr();if(y[n])return;y[i]||(y[i]=l);var C=h.createOrUpdate(y,i,x,S);C(E,T)}function l(E,S){if(!E.isDisposed()){var x=E.getZr();x[n]=!0,E.dispatchAction({type:"brushSelect",batch:S}),x[n]=!1}}function t(E,S,x,T){for(var L=0,y=S.length;L<y;L++){var C=S[L];if(E[C.brushType](T,x,C.selectors,C))return!0}}function s(E){var S=E.brushSelector;if(f.isString(S)){var x=[];return f.each(v,function(L,y){x[y]=function(C,O,N,k){var F=O.getItemLayout(C);return L[S](F,N,k)}}),x}else if(f.isFunction(S)){var T={};return f.each(v,function(L,y){T[y]=S}),T}return S}function d(E,S){var x=E.option.seriesIndex;return x!=null&&x!=="all"&&(f.isArray(x)?f.indexOf(x,S)<0:S!==x)}function p(E){var S=E.selectors={};return f.each(v[E.brushType],function(x,T){S[T]=function(L){return x(L,S,E)}}),E}var b={lineX:f.noop,lineY:f.noop,rect:function(E){return w(E.range)},polygon:function(E){for(var S,x=E.range,T=0,L=x.length;T<L;T++){S=S||[[Infinity,-Infinity],[Infinity,-Infinity]];var y=x[T];y[0]<S[0][0]&&(S[0][0]=y[0]),y[0]>S[0][1]&&(S[0][1]=y[0]),y[1]<S[1][0]&&(S[1][0]=y[1]),y[1]>S[1][1]&&(S[1][1]=y[1])}return S&&w(S)}};function w(E){return new A(E[0][0],E[1][0],E[0][1]-E[0][0],E[1][1]-E[1][0])}_.layoutCovers=u},ERHi:function(D,_,e){var g=e("ProS");e("Z6js"),e("R4Th");var f=e("f5Yq"),A=e("h8O9");g.registerVisual(f("effectScatter","circle")),g.registerLayout(A("effectScatter"))},EXcs:function(D,_,e){"use strict";var g=function(){return{height:0,opacity:0}},f=function(c){return{height:c.scrollHeight,opacity:1}},A=function(c){return{height:c.offsetHeight}},m=function(c,o){return o.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:g,onEnterStart:g,onAppearActive:f,onEnterActive:f,onLeaveStart:A,onLeaveActive:g,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};_.a=v},Em2t:function(D,_,e){var g=e("bahg"),f=e("quyA"),A=e("0JQy");function m(v){return f(v)?A(v):g(v)}D.exports=m},EpBk:function(D,_){function e(g){var f=typeof g;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?g!=="__proto__":g===null}D.exports=e},Ez2D:function(D,_,e){var g=e("bYtY"),f=e("4NO4");function A(m,v){var h=[],c=m.seriesIndex,o;if(c==null||!(o=v.getSeriesByIndex(c)))return{point:[]};var i=o.getData(),n=f.queryDataIndex(i,m);if(n==null||n<0||g.isArray(n))return{point:[]};var a=i.getItemGraphicEl(n),u=o.coordinateSystem;if(o.getTooltipPosition)h=o.getTooltipPosition(n)||[];else if(u&&u.dataToPoint)h=u.dataToPoint(i.getValues(g.map(u.dimensions,function(l){return i.mapDimension(l)}),n,!0))||[];else if(a){var r=a.getBoundingRect().clone();r.applyTransform(a.transform),h=[r.x+r.width/2,r.y+r.height/2]}return{point:h,el:a}}D.exports=A},F0hE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("ca2m"),m=e("Qxkt"),v=e("ICMv"),h=A.valueAxis;function c(n,a){return f.defaults({show:a},n)}var o=g.extendComponentModel({type:"radar",optionUpdated:function(){var n=this.get("boundaryGap"),a=this.get("splitNumber"),u=this.get("scale"),r=this.get("axisLine"),l=this.get("axisTick"),t=this.get("axisType"),s=this.get("axisLabel"),d=this.get("name"),p=this.get("name.show"),b=this.get("name.formatter"),w=this.get("nameGap"),E=this.get("triggerEvent"),S=f.map(this.get("indicator")||[],function(x){x.max!=null&&x.max>0&&!x.min?x.min=0:x.min!=null&&x.min<0&&!x.max&&(x.max=0);var T=d;if(x.color!=null&&(T=f.defaults({color:x.color},d)),x=f.merge(f.clone(x),{boundaryGap:n,splitNumber:a,scale:u,axisLine:r,axisTick:l,axisType:t,axisLabel:s,name:x.text,nameLocation:"end",nameGap:w,nameTextStyle:T,triggerEvent:E},!1),p||(x.name=""),typeof b=="string"){var L=x.name;x.name=b.replace("{value}",L!=null?L:"")}else typeof b=="function"&&(x.name=b(x.name,x));var y=f.extend(new m(x,null,this.ecModel),v);return y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this.getIndicatorModels=function(){return S}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:f.merge({lineStyle:{color:"#bbb"}},h.axisLine),axisLabel:c(h.axisLabel,!1),axisTick:c(h.axisTick,!1),axisType:"interval",splitLine:c(h.splitLine,!0),splitArea:c(h.splitArea,!0),indicator:[]}}),i=o;D.exports=i},F1Ou:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},f=g;_.default=f},F5Ls:function(D,_){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function g(f,A){if(f==="china"){var m=e[A.name];if(m){var v=A.center;v[0]+=m[0]/10.5,v[1]+=-m[1]/(10.5/.75)}}}D.exports=g},F7hV:function(D,_,e){var g=e("MBQ8"),f=g.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var A=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>A&&(A=m),A},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});D.exports=f},F9bG:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),A=e("4NO4"),m=A.makeInner,v=m(),h=g.each;function c(l,t,s){if(f.node)return;var d=t.getZr();v(d).records||(v(d).records={}),o(d,t);var p=v(d).records[l]||(v(d).records[l]={});p.handler=s}function o(l,t){if(v(l).initialized)return;v(l).initialized=!0,s("click",g.curry(a,"click")),s("mousemove",g.curry(a,"mousemove")),s("globalout",n);function s(d,p){l.on(d,function(b){var w=u(t);h(v(l).records,function(E){E&&p(E,b,w.dispatchAction)}),i(w.pendings,t)})}}function i(l,t){var s=l.showTip.length,d=l.hideTip.length,p;s?p=l.showTip[s-1]:d&&(p=l.hideTip[d-1]),p&&(p.dispatchAction=null,t.dispatchAction(p))}function n(l,t,s){l.handler("leave",null,s)}function a(l,t,s,d){t.handler(l,s,d)}function u(l){var t={showTip:[],hideTip:[]},s=function(d){var p=t[d.type];p?p.push(d):(d.dispatchAction=s,l.dispatchAction(d))};return{dispatchAction:s,pendings:t}}function r(l,t){if(f.node)return;var s=t.getZr(),d=(v(s).records||{})[l];d&&(v(s).records[l]=null)}_.register=c,_.unregister=r},FBjb:function(D,_,e){var g=e("bYtY"),f=e("oVpE"),A=f.createSymbol,m=e("IwbS"),v=e("OELB"),h=v.parsePercent,c=e("x3X8"),o=c.getDefaultLabel;function i(w,E,S){m.Group.call(this),this.updateData(w,E,S)}var n=i.prototype,a=i.getSymbolSize=function(w,E){var S=w.getItemVisual(E,"symbolSize");return S instanceof Array?S.slice():[+S,+S]};function u(w){return[w[0]/2,w[1]/2]}function r(w,E){this.parent.drift(w,E)}n._createSymbol=function(w,E,S,x,T){this.removeAll();var L=E.getItemVisual(S,"color"),y=A(w,-1,-1,2,2,L,T);y.attr({z2:100,culling:!0,scale:u(x)}),y.drift=r,this._symbolType=w,this.add(y)},n.stopSymbolAnimation=function(w){this.childAt(0).stopAnimation(w)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(w,E){var S=this.childAt(0);S.zlevel=w,S.z=E},n.setDraggable=function(w){var E=this.childAt(0);E.draggable=w,E.cursor=w?"move":E.cursor},n.updateData=function(w,E,S){this.silent=!1;var x=w.getItemVisual(E,"symbol")||"circle",T=w.hostModel,L=a(w,E),y=x!==this._symbolType;if(y){var C=w.getItemVisual(E,"symbolKeepAspect");this._createSymbol(x,w,E,L,C)}else{var O=this.childAt(0);O.silent=!1,m.updateProps(O,{scale:u(L)},T,E)}if(this._updateCommon(w,E,L,S),y){var O=this.childAt(0),N=S&&S.fadeIn,k={scale:O.scale.slice()};N&&(k.style={opacity:O.style.opacity}),O.scale=[0,0],N&&(O.style.opacity=0),m.initProps(O,k,T,E)}this._seriesModel=T};var l=["itemStyle"],t=["emphasis","itemStyle"],s=["label"],d=["emphasis","label"];n._updateCommon=function(w,E,S,x){var T=this.childAt(0),L=w.hostModel,y=w.getItemVisual(E,"color");T.type!=="image"?T.useStyle({strokeNoScale:!0}):T.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=x&&x.itemStyle,O=x&&x.hoverItemStyle,N=x&&x.symbolOffset,k=x&&x.labelModel,F=x&&x.hoverLabelModel,B=x&&x.hoverAnimation,H=x&&x.cursorStyle;if(!x||w.hasItemOption){var W=x&&x.itemModel?x.itemModel:w.getItemModel(E);C=W.getModel(l).getItemStyle(["color"]),O=W.getModel(t).getItemStyle(),N=W.getShallow("symbolOffset"),k=W.getModel(s),F=W.getModel(d),B=W.getShallow("hoverAnimation"),H=W.getShallow("cursor")}else O=g.extend({},O);var R=T.style,U=w.getItemVisual(E,"symbolRotate");T.attr("rotation",(U||0)*Math.PI/180||0),N&&T.attr("position",[h(N[0],S[0]),h(N[1],S[1])]),H&&T.attr("cursor",H),T.setColor(y,x&&x.symbolInnerColor),T.setStyle(C);var j=w.getItemVisual(E,"opacity");j!=null&&(R.opacity=j);var P=w.getItemVisual(E,"liftZ"),K=T.__z2Origin;P!=null?K==null&&(T.__z2Origin=T.z2,T.z2+=P):K!=null&&(T.z2=K,T.__z2Origin=null);var V=x&&x.useNameLabel;m.setLabelStyle(R,O,k,F,{labelFetcher:L,labelDataIndex:E,defaultText:z,isRectText:!0,autoColor:y});function z(X,G){return V?w.getName(X):o(w,X)}T.__symbolOriginalScale=u(S),T.hoverStyle=O,T.highDownOnUpdate=B&&L.isAnimationEnabled()?p:null,m.setHoverStyle(T)};function p(w,E){if(this.incremental||this.useHoverLayer)return;if(E==="emphasis"){var S=this.__symbolOriginalScale,x=S[1]/S[0],T={scale:[Math.max(S[0]*1.1,S[0]+3),Math.max(S[1]*1.1,S[1]+3*x)]};this.animateTo(T,400,"elasticOut")}else E==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}n.fadeOut=function(w,E){var S=this.childAt(0);this.silent=S.silent=!0,!(E&&E.keepLabel)&&(S.style.text=null),m.updateProps(S,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,w)},g.inherits(i,m.Group);var b=i;D.exports=b},FGaS:function(D,_,e){var g=e("ProS"),f=e("IwbS"),A=e("bYtY"),m=e("oVpE");function v(c){return A.isArray(c)||(c=[+c,+c]),c}var h=g.extendChartView({type:"radar",render:function(c,o,i){var n=c.coordinateSystem,a=this.group,u=c.getData(),r=this._data;function l(d,p){var b=d.getItemVisual(p,"symbol")||"circle",w=d.getItemVisual(p,"color");if(b==="none")return;var E=v(d.getItemVisual(p,"symbolSize")),S=m.createSymbol(b,-1,-1,2,2,w);return S.attr({style:{strokeNoScale:!0},z2:100,scale:[E[0]/2,E[1]/2]}),S}function t(d,p,b,w,E,S){b.removeAll();for(var x=0;x<p.length-1;x++){var T=l(w,E);T&&(T.__dimIdx=x,d[x]?(T.attr("position",d[x]),f[S?"initProps":"updateProps"](T,{position:p[x]},c,E)):T.attr("position",p[x]),b.add(T))}}function s(d){return A.map(d,function(p){return[n.cx,n.cy]})}u.diff(r).add(function(d){var p=u.getItemLayout(d);if(!p)return;var b=new f.Polygon,w=new f.Polyline,E={shape:{points:p}};b.shape.points=s(p),w.shape.points=s(p),f.initProps(b,E,c,d),f.initProps(w,E,c,d);var S=new f.Group,x=new f.Group;S.add(w),S.add(b),S.add(x),t(w.shape.points,p,x,u,d,!0),u.setItemGraphicEl(d,S)}).update(function(d,p){var b=r.getItemGraphicEl(p),w=b.childAt(0),E=b.childAt(1),S=b.childAt(2),x={shape:{points:u.getItemLayout(d)}};if(!x.shape.points)return;t(w.shape.points,x.shape.points,S,u,d,!1),f.updateProps(w,x,c),f.updateProps(E,x,c),u.setItemGraphicEl(d,b)}).remove(function(d){a.remove(r.getItemGraphicEl(d))}).execute(),u.eachItemGraphicEl(function(d,p){var b=u.getItemModel(p),w=d.childAt(0),E=d.childAt(1),S=d.childAt(2),x=u.getItemVisual(p,"color");a.add(d),w.useStyle(A.defaults(b.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:x})),w.hoverStyle=b.getModel("emphasis.lineStyle").getLineStyle();var T=b.getModel("areaStyle"),L=b.getModel("emphasis.areaStyle"),y=T.isEmpty()&&T.parentModel.isEmpty(),C=L.isEmpty()&&L.parentModel.isEmpty();C=C&&y,E.ignore=y,E.useStyle(A.defaults(T.getAreaStyle(),{fill:x,opacity:.7})),E.hoverStyle=L.getAreaStyle();var O=b.getModel("itemStyle").getItemStyle(["color"]),N=b.getModel("emphasis.itemStyle").getItemStyle(),k=b.getModel("label"),F=b.getModel("emphasis.label");S.eachChild(function(B){B.setStyle(O),B.hoverStyle=A.clone(N);var H=u.get(u.dimensions[B.__dimIdx],p);(H==null||isNaN(H))&&(H=""),f.setLabelStyle(B.style,B.hoverStyle,k,F,{labelFetcher:u.hostModel,labelDataIndex:p,labelDimIndex:B.__dimIdx,defaultText:H,autoColor:x,isRectText:!0})}),d.highDownOnUpdate=function(B,H){E.attr("ignore",H==="emphasis"?C:y)},f.setHoverStyle(d)}),this._data=u},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});D.exports=h},FH2Y:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("ZMnZ"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},FIfw:function(D,_,e){},FNN5:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("+rIm"),m=e("Znkb"),v=["axisLine","axisTickLabel","axisName"],h=["splitLine","splitArea","minorSplitLine"],c=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(i,n){if(this.group.removeAll(),!i.get("show"))return;var a=i.axis,u=a.polar,r=u.getAngleAxis(),l=a.getTicksCoords(),t=a.getMinorTicksCoords(),s=r.getExtent()[0],d=a.getExtent(),p=o(u,i,s),b=new A(i,p);g.each(v,b.add,b),this.group.add(b.getGroup()),g.each(h,function(w){i.get(w+".show")&&!a.scale.isBlank()&&this["_"+w](i,u,s,d,l,t)},this)},_splitLine:function(i,n,a,u,r){var l=i.getModel("splitLine"),t=l.getModel("lineStyle"),s=t.get("color"),d=0;s=s instanceof Array?s:[s];for(var p=[],b=0;b<r.length;b++){var w=d++%s.length;p[w]=p[w]||[],p[w].push(new f.Circle({shape:{cx:n.cx,cy:n.cy,r:r[b].coord}}))}for(var b=0;b<p.length;b++)this.group.add(f.mergePath(p[b],{style:g.defaults({stroke:s[b%s.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(i,n,a,u,r,l){if(!l.length)return;for(var t=i.getModel("minorSplitLine"),s=t.getModel("lineStyle"),d=[],p=0;p<l.length;p++)for(var b=0;b<l[p].length;b++)d.push(new f.Circle({shape:{cx:n.cx,cy:n.cy,r:l[p][b].coord}}));this.group.add(f.mergePath(d,{style:g.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(i,n,a,u,r){if(!r.length)return;var l=i.getModel("splitArea"),t=l.getModel("areaStyle"),s=t.get("color"),d=0;s=s instanceof Array?s:[s];for(var p=[],b=r[0].coord,w=1;w<r.length;w++){var E=d++%s.length;p[E]=p[E]||[],p[E].push(new f.Sector({shape:{cx:n.cx,cy:n.cy,r0:b,r:r[w].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),b=r[w].coord}for(var w=0;w<p.length;w++)this.group.add(f.mergePath(p[w],{style:g.defaults({fill:s[w%s.length]},t.getAreaStyle()),silent:!0}))}});function o(i,n,a){return{position:[i.cx,i.cy],rotation:a/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:n.getModel("axisLabel").get("rotate"),z2:1}}D.exports=c},FUi9:function(D,_,e){var g=e("bYtY"),f=e("MwEJ"),A=e("aX7z"),m=e("ICMv"),v=e("Qxkt"),h=e("+TT/"),c=h.getLayoutRect;_.getLayoutRect=h.getLayoutRect;var o=e("7hqr"),i=o.enableDataStack,n=o.isDimensionStacked,a=o.getStackedDimension,u=e("hi0g");_.completeDimensions=u;var r=e("sdST");_.createDimensions=r;var l=e("oVpE");_.createSymbol=l.createSymbol;function t(b){return f(b.getSource(),b)}var s={isDimensionStacked:n,enableDataStack:i,getStackedDimension:a};function d(b,w){var E=w;v.isInstance(w)||(E=new v(w),g.mixin(E,m));var S=A.createScaleByModel(E);return S.setExtent(b[0],b[1]),A.niceScaleExtent(S,E),S}function p(b){g.mixin(b,m)}_.createList=t,_.dataStack=s,_.createScale=d,_.mixinAxisModelCommonMethods=p},"Fa/5":function(D,_,e){var g=e("ProS");e("y2l5"),e("q/+u");var f=e("f5Yq"),A=e("h8O9");e("Ae16"),g.registerVisual(f("scatter","circle")),g.registerLayout(A("scatter"))},FhB9:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};_.default=g},"Fm1+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("a7Wl")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="CaretUpOutlined";var c=A.forwardRef(h);_.default=c},Fofx:function(D,_){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(){var n=new e(6);return f(n),n}function f(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function A(n,a){return n[0]=a[0],n[1]=a[1],n[2]=a[2],n[3]=a[3],n[4]=a[4],n[5]=a[5],n}function m(n,a,u){var r=a[0]*u[0]+a[2]*u[1],l=a[1]*u[0]+a[3]*u[1],t=a[0]*u[2]+a[2]*u[3],s=a[1]*u[2]+a[3]*u[3],d=a[0]*u[4]+a[2]*u[5]+a[4],p=a[1]*u[4]+a[3]*u[5]+a[5];return n[0]=r,n[1]=l,n[2]=t,n[3]=s,n[4]=d,n[5]=p,n}function v(n,a,u){return n[0]=a[0],n[1]=a[1],n[2]=a[2],n[3]=a[3],n[4]=a[4]+u[0],n[5]=a[5]+u[1],n}function h(n,a,u){var r=a[0],l=a[2],t=a[4],s=a[1],d=a[3],p=a[5],b=Math.sin(u),w=Math.cos(u);return n[0]=r*w+s*b,n[1]=-r*b+s*w,n[2]=l*w+d*b,n[3]=-l*b+w*d,n[4]=w*t+b*p,n[5]=w*p-b*t,n}function c(n,a,u){var r=u[0],l=u[1];return n[0]=a[0]*r,n[1]=a[1]*l,n[2]=a[2]*r,n[3]=a[3]*l,n[4]=a[4]*r,n[5]=a[5]*l,n}function o(n,a){var u=a[0],r=a[2],l=a[4],t=a[1],s=a[3],d=a[5],p=u*s-t*r;return p?(p=1/p,n[0]=s*p,n[1]=-t*p,n[2]=-r*p,n[3]=u*p,n[4]=(r*d-s*l)*p,n[5]=(t*l-u*d)*p,n):null}function i(n){var a=g();return A(a,n),a}_.create=g,_.identity=f,_.copy=A,_.mul=m,_.translate=v,_.rotate=h,_.scale=c,_.invert=o,_.clone=i},Fv0C:function(D,_,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=i(e("Lo0S")),A=e("vewr"),m=i(e("8CQX")),v=c(e("mHUz")),h=i(e("GdRQ"));function c(l){return l&&l.__esModule?l:{default:l}}function o(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return o=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=o();if(t&&t.has(l))return t.get(l);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var b=d?Object.getOwnPropertyDescriptor(l,p):null;b&&(b.get||b.set)?Object.defineProperty(s,p,b):s[p]=l[p]}return s.default=l,t&&t.set(l,s),s}function n(l,t){if(!(l instanceof t))throw new TypeError("Cannot call a class as a function")}function a(l,t){for(var s=0;s<t.length;s++){var d=t[s];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(l,d.key,d)}}function u(l,t,s){return t&&a(l.prototype,t),s&&a(l,s),l}var r=function(){function l(t){n(this,l),this._target=t||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return u(l,[{key:"_sendKeyEvent",value:function(s,d,p){if(p)this._keyDownList[d]=s;else{if(!(d in this._keyDownList))return;delete this._keyDownList[d]}f.Debug("onkeyevent "+(p?"down":"up")+", keysym: "+s,", code: "+d),this.onkeyevent(s,d,p)}},{key:"_getKeyCode",value:function(s){var d=m.getKeycode(s);if(d!=="Unidentified")return d;if(s.keyCode&&s.type!=="keypress"&&s.keyCode!==229)return"Platform"+s.keyCode;if(s.keyIdentifier){if(s.keyIdentifier.substr(0,2)!=="U+")return s.keyIdentifier;var p=parseInt(s.keyIdentifier.substr(2),16),b=String.fromCharCode(p).toUpperCase();return"Platform"+b.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var d=this._getKeyCode(s),p=m.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),d==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?p=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),d==="Unidentified"){p&&(this._sendKeyEvent(p,d,!0),this._sendKeyEvent(p,d,!1)),(0,A.stopEvent)(s);return}if(h.isMac()||h.isIOS())switch(p){case v.default.XK_Super_L:p=v.default.XK_Alt_L;break;case v.default.XK_Super_R:p=v.default.XK_Super_L;break;case v.default.XK_Alt_L:p=v.default.XK_Mode_switch;break;case v.default.XK_Alt_R:p=v.default.XK_ISO_Level3_Shift;break}if(d in this._keyDownList&&(p=this._keyDownList[d]),(h.isMac()||h.isIOS())&&d==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,A.stopEvent)(s);return}if(!p&&(!s.key||h.isIE()||h.isEdge())){this._pendingKey=d,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,A.stopEvent)(s),d==="ControlLeft"&&h.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(p,d,!0)}},{key:"_handleKeyPress",value:function(s){if((0,A.stopEvent)(s),this._pendingKey===null)return;var d=this._getKeyCode(s),p=m.getKeysym(s);if(d!=="Unidentified"&&d!=this._pendingKey)return;if(d=this._pendingKey,this._pendingKey=null,!p){f.Info("keypress with no keysym:",s);return}this._sendKeyEvent(p,d,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var d,p=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)d=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var b=String.fromCharCode(s.keyCode);s.shiftKey?b=b.toUpperCase():b=b.toLowerCase(),d=b.charCodeAt()}else d=0;this._sendKeyEvent(d,p,!0)}},{key:"_handleKeyUp",value:function(s){(0,A.stopEvent)(s);var d=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(h.isMac()||h.isIOS())&&d==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[d],d,!1),h.isWindows()&&(d==="ShiftLeft"||d==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){f.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);f.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(s){if(s.skipCheckAlt)return;if(s.altKey)return;var d=this._target,p=this._keyDownList;["AltLeft","AltRight"].forEach(function(b){if(!(b in p))return;var w=new KeyboardEvent("keyup",{key:p[b],code:b});w.skipCheckAlt=!0,d.dispatchEvent(w)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(d){return document.addEventListener(d,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(d){return document.removeEventListener(d,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();_.default=r},FxDU:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=e("QO+J"),f=e("j5sG"),A=typeof ResizeObserver!="undefined"?f.createSensor:g.createSensor;_.createSensor=A},GGyF:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("wgjA")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="LeftOutlined";var c=A.forwardRef(h);_.default=c},GIiI:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="PoweroffOutlined";var h=_.a=g.forwardRef(v)},GMDS:function(D,_,e){var g=e("bYtY"),f=e("4NgU"),A=e("jkPA"),m=f.prototype,v=f.extend({type:"ordinal",init:function(c,o){(!c||g.isArray(c))&&(c=new A({categories:c})),this._ordinalMeta=c,this._extent=o||[0,c.categories.length-1]},parse:function(c){return typeof c=="string"?this._ordinalMeta.getOrdinal(c):Math.round(c)},contain:function(c){return c=this.parse(c),m.contain.call(this,c)&&this._ordinalMeta.categories[c]!=null},normalize:function(c){return m.normalize.call(this,this.parse(c))},scale:function(c){return Math.round(m.scale.call(this,c))},getTicks:function(){for(var c=[],o=this._extent,i=o[0];i<=o[1];)c.push(i),i++;return c},getLabel:function(c){if(!this.isBlank())return this._ordinalMeta.categories[c]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(c,o){this.unionExtent(c.getApproximateExtent(o))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:g.noop,niceExtent:g.noop});v.create=function(){return new v};var h=v;D.exports=h},GQ8N:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.toUnsigned32bit=g,_.toSigned32bit=f;function g(A){return A>>>0}function f(A){return A|0}},GUcZ:function(D,_,e){"use strict";var g=e("fWQN"),f=e("mtLc"),A=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Q,te){return Q.__proto__=te,Q},Object.assign=Object.assign||function(Q){if(Q==null)throw new TypeError("Cannot convert undefined or null to object");for(var te=Object(Q),be=1;be<arguments.length;be++){var Ie=arguments[be];if(Ie!=null)for(var Re in Ie)Ie.hasOwnProperty(Re)&&(te[Re]=Ie[Re])}return te},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),ne}();A.install();var m=A,v=e("+qE3"),h=e.n(v),c=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"e",value:function(Q,te){(!Q||ne.FORCE_GLOBAL_TAG)&&(Q=ne.GLOBAL_TAG);var be="[".concat(Q,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","error",be),!ne.ENABLE_ERROR)return;console.error?console.error(be):console.warn?console.warn(be):console.log(be)}},{key:"i",value:function(Q,te){(!Q||ne.FORCE_GLOBAL_TAG)&&(Q=ne.GLOBAL_TAG);var be="[".concat(Q,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","info",be),!ne.ENABLE_INFO)return;console.info?console.info(be):console.log(be)}},{key:"w",value:function(Q,te){(!Q||ne.FORCE_GLOBAL_TAG)&&(Q=ne.GLOBAL_TAG);var be="[".concat(Q,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","warn",be),!ne.ENABLE_WARN)return;console.warn?console.warn(be):console.log(be)}},{key:"d",value:function(Q,te){(!Q||ne.FORCE_GLOBAL_TAG)&&(Q=ne.GLOBAL_TAG);var be="[".concat(Q,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","debug",be),!ne.ENABLE_DEBUG)return;console.debug?console.debug(be):console.log(be)}},{key:"v",value:function(Q,te){(!Q||ne.FORCE_GLOBAL_TAG)&&(Q=ne.GLOBAL_TAG);var be="[".concat(Q,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","verbose",be),!ne.ENABLE_VERBOSE)return;console.log(be)}}]),ne}();c.GLOBAL_TAG="flv.js",c.FORCE_GLOBAL_TAG=!1,c.ENABLE_ERROR=!0,c.ENABLE_INFO=!0,c.ENABLE_WARN=!0,c.ENABLE_DEBUG=!0,c.ENABLE_VERBOSE=!0,c.ENABLE_CALLBACK=!1,c.emitter=new h.a;var o=c,i=function(){function ne(){Object(g.a)(this,ne),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(f.a)(ne,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Q){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Q,this._totalBytes+=Q):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Q,this._totalBytes+=Q):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Q,this._totalBytes+=Q,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Q=(this._now()-this._lastCheckpoint)/1e3;return Q==0&&(Q=1),this._intervalBytes/Q/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var Q=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Q/1024}}]),ne}(),n=i,a=e("yKVA"),u=e("879j"),r=function(){function ne(he){Object(g.a)(this,ne),this._message=he}return Object(f.a)(ne,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),ne}(),l=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);function Q(te){return Object(g.a)(this,Q),he.call(this,te)}return Object(f.a)(Q,[{key:"name",get:function(){return"IllegalStateException"}}]),Q}(r),t=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);function Q(te){return Object(g.a)(this,Q),he.call(this,te)}return Object(f.a)(Q,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Q}(r),s=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);function Q(te){return Object(g.a)(this,Q),he.call(this,te)}return Object(f.a)(Q,[{key:"name",get:function(){return"NotImplementedException"}}]),Q}(r),d={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},p={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},b=function(){function ne(he){Object(g.a)(this,ne),this._type=he||"undefined",this._status=d.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(f.a)(ne,[{key:"destroy",value:function(){this._status=d.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===d.kConnecting||this._status===d.kBuffering}},{key:"open",value:function(Q,te){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(Q){this._onContentLengthKnown=Q}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Q){this._onURLRedirect=Q}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Q){this._onDataArrival=Q}},{key:"onError",get:function(){return this._onError},set:function(Q){this._onError=Q}},{key:"onComplete",get:function(){return this._onComplete},set:function(Q){this._onComplete=Q}}]),ne}(),w=e("oZsa");function E(ne,he){for(;!Object.prototype.hasOwnProperty.call(ne,he)&&!(ne=Object(w.a)(ne),ne===null););return ne}function S(ne,he,Q){return typeof Reflect!="undefined"&&Reflect.get?S=Reflect.get:S=function(be,Ie,Re){var $e=E(be,Ie);if(!$e)return;var gt=Object.getOwnPropertyDescriptor($e,Ie);return gt.get?gt.get.call(Re):gt.value},S(ne,he,Q||ne)}var x={};function T(){var ne=self.navigator.userAgent.toLowerCase(),he=/(edge)\/([\w.]+)/.exec(ne)||/(opr)[\/]([\w.]+)/.exec(ne)||/(chrome)[ \/]([\w.]+)/.exec(ne)||/(iemobile)[\/]([\w.]+)/.exec(ne)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ne)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ne)||/(webkit)[ \/]([\w.]+)/.exec(ne)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ne)||/(msie) ([\w.]+)/.exec(ne)||ne.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(ne)||ne.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(ne)||[],Q=/(ipad)/.exec(ne)||/(ipod)/.exec(ne)||/(windows phone)/.exec(ne)||/(iphone)/.exec(ne)||/(kindle)/.exec(ne)||/(android)/.exec(ne)||/(windows)/.exec(ne)||/(mac)/.exec(ne)||/(linux)/.exec(ne)||/(cros)/.exec(ne)||[],te={browser:he[5]||he[3]||he[1]||"",version:he[2]||he[4]||"0",majorVersion:he[4]||he[2]||"0",platform:Q[0]||""},be={};if(te.browser){be[te.browser]=!0;var Ie=te.majorVersion.split(".");be.version={major:parseInt(te.majorVersion,10),string:te.version},Ie.length>1&&(be.version.minor=parseInt(Ie[1],10)),Ie.length>2&&(be.version.build=parseInt(Ie[2],10))}if(te.platform&&(be[te.platform]=!0),(be.chrome||be.opr||be.safari)&&(be.webkit=!0),be.rv||be.iemobile){be.rv&&delete be.rv;var Re="msie";te.browser=Re,be[Re]=!0}if(be.edge){delete be.edge;var $e="msedge";te.browser=$e,be[$e]=!0}if(be.opr){var gt="opera";te.browser=gt,be[gt]=!0}if(be.safari&&be.android){var Wt="android";te.browser=Wt,be[Wt]=!0}be.name=te.browser,be.platform=te.platform;for(var $t in x)x.hasOwnProperty($t)&&delete x[$t];Object.assign(x,be)}T();var L=x,y=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);Object(f.a)(Q,null,[{key:"isSupported",value:function(){try{var be=L.msedge&&L.version.minor>=15048,Ie=L.msedge?be:!0;return self.fetch&&self.ReadableStream&&Ie}catch(Re){return!1}}}]);function Q(te,be){var Ie;return Object(g.a)(this,Q),Ie=he.call(this,"fetch-stream-loader"),Ie.TAG="FetchStreamLoader",Ie._seekHandler=te,Ie._config=be,Ie._needStash=!0,Ie._requestAbort=!1,Ie._contentLength=null,Ie._receivedLength=0,Ie}return Object(f.a)(Q,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),S(Object(w.a)(Q.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Ie){var Re=this;this._dataSource=be,this._range=Ie;var $e=be.url;this._config.reuseRedirectedURL&&be.redirectedURL!=null&&($e=be.redirectedURL);var gt=this._seekHandler.getConfig($e,Ie),Wt=new self.Headers;if(typeof gt.headers=="object"){var $t=gt.headers;for(var Dt in $t)$t.hasOwnProperty(Dt)&&Wt.append(Dt,$t[Dt])}var Kt={method:"GET",headers:Wt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Gt in this._config.headers)Wt.append(Gt,this._config.headers[Gt]);be.cors===!1&&(Kt.mode="same-origin"),be.withCredentials&&(Kt.credentials="include"),be.referrerPolicy&&(Kt.referrerPolicy=be.referrerPolicy),this._status=d.kConnecting,self.fetch(gt.url,Kt).then(function(Qt){if(Re._requestAbort){Re._requestAbort=!1,Re._status=d.kIdle;return}if(Qt.ok&&Qt.status>=200&&Qt.status<=299){if(Qt.url!==gt.url&&Re._onURLRedirect){var Mt=Re._seekHandler.removeURLParameters(Qt.url);Re._onURLRedirect(Mt)}var dr=Qt.headers.get("Content-Length");return dr!=null&&(Re._contentLength=parseInt(dr),Re._contentLength!==0&&(Re._onContentLengthKnown&&Re._onContentLengthKnown(Re._contentLength))),Re._pump.call(Re,Qt.body.getReader())}else if(Re._status=d.kError,Re._onError)Re._onError(p.HTTP_STATUS_CODE_INVALID,{code:Qt.status,msg:Qt.statusText});else throw new r("FetchStreamLoader: Http code invalid, "+Qt.status+" "+Qt.statusText)}).catch(function(Qt){if(Re._status=d.kError,Re._onError)Re._onError(p.EXCEPTION,{code:-1,msg:Qt.message});else throw Qt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(be){var Ie=this;return be.read().then(function(Re){if(Re.done)if(Ie._contentLength!==null&&Ie._receivedLength<Ie._contentLength){Ie._status=d.kError;var $e=p.EARLY_EOF,gt={code:-1,msg:"Fetch stream meet Early-EOF"};if(Ie._onError)Ie._onError($e,gt);else throw new r(gt.msg)}else Ie._status=d.kComplete,Ie._onComplete&&Ie._onComplete(Ie._range.from,Ie._range.from+Ie._receivedLength-1);else{if(Ie._requestAbort===!0)return Ie._requestAbort=!1,Ie._status=d.kComplete,be.cancel();Ie._status=d.kBuffering;var Wt=Re.value.buffer,$t=Ie._range.from+Ie._receivedLength;Ie._receivedLength+=Wt.byteLength,Ie._onDataArrival&&Ie._onDataArrival(Wt,$t,Ie._receivedLength),Ie._pump(be)}}).catch(function(Re){if(Re.code===11&&L.msedge)return;Ie._status=d.kError;var $e=0,gt=null;if((Re.code===19||Re.message==="network error")&&(Ie._contentLength===null||Ie._contentLength!==null&&Ie._receivedLength<Ie._contentLength)?($e=p.EARLY_EOF,gt={code:Re.code,msg:"Fetch stream meet Early-EOF"}):($e=p.EXCEPTION,gt={code:Re.code,msg:Re.message}),Ie._onError)Ie._onError($e,gt);else throw new r(gt.msg)})}}]),Q}(b),C=y,O=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);Object(f.a)(Q,null,[{key:"isSupported",value:function(){try{var be=new XMLHttpRequest;return be.open("GET","https://example.com",!0),be.responseType="moz-chunked-arraybuffer",be.responseType==="moz-chunked-arraybuffer"}catch(Ie){return o.w("MozChunkedLoader",Ie.message),!1}}}]);function Q(te,be){var Ie;return Object(g.a)(this,Q),Ie=he.call(this,"xhr-moz-chunked-loader"),Ie.TAG="MozChunkedLoader",Ie._seekHandler=te,Ie._config=be,Ie._needStash=!0,Ie._xhr=null,Ie._requestAbort=!1,Ie._contentLength=null,Ie._receivedLength=0,Ie}return Object(f.a)(Q,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),S(Object(w.a)(Q.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Ie){this._dataSource=be,this._range=Ie;var Re=be.url;this._config.reuseRedirectedURL&&be.redirectedURL!=null&&(Re=be.redirectedURL);var $e=this._seekHandler.getConfig(Re,Ie);this._requestURL=$e.url;var gt=this._xhr=new XMLHttpRequest;if(gt.open("GET",$e.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),be.withCredentials&&(gt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&gt.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Dt=this._config.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&&gt.setRequestHeader(Kt,Dt[Kt])}this._status=d.kConnecting,gt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=d.kComplete}},{key:"_onReadyStateChange",value:function(be){var Ie=be.target;if(Ie.readyState===2){if(Ie.responseURL!=null&&Ie.responseURL!==this._requestURL&&this._onURLRedirect){var Re=this._seekHandler.removeURLParameters(Ie.responseURL);this._onURLRedirect(Re)}if(Ie.status!==0&&(Ie.status<200||Ie.status>299))if(this._status=d.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ie.status,msg:Ie.statusText});else throw new r("MozChunkedLoader: Http code invalid, "+Ie.status+" "+Ie.statusText);else this._status=d.kBuffering}}},{key:"_onProgress",value:function(be){if(this._status===d.kError)return;this._contentLength===null&&(be.total!==null&&be.total!==0&&(this._contentLength=be.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var Ie=be.target.response,Re=this._range.from+this._receivedLength;this._receivedLength+=Ie.byteLength,this._onDataArrival&&this._onDataArrival(Ie,Re,this._receivedLength)}},{key:"_onLoadEnd",value:function(be){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===d.kError)return;this._status=d.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(be){this._status=d.kError;var Ie=0,Re=null;if(this._contentLength&&be.loaded<this._contentLength?(Ie=p.EARLY_EOF,Re={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(Ie=p.EXCEPTION,Re={code:-1,msg:be.constructor.name+" "+be.type}),this._onError)this._onError(Ie,Re);else throw new r(Re.msg)}}]),Q}(b),N=O,k=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);Object(f.a)(Q,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var be=new XMLHttpRequest;return be.open("GET","https://example.com",!0),be.responseType="ms-stream",be.responseType==="ms-stream"}catch(Ie){return o.w("MSStreamLoader",Ie.message),!1}}}]);function Q(te,be){var Ie;return Object(g.a)(this,Q),Ie=he.call(this,"xhr-msstream-loader"),Ie.TAG="MSStreamLoader",Ie._seekHandler=te,Ie._config=be,Ie._needStash=!0,Ie._xhr=null,Ie._reader=null,Ie._totalRange=null,Ie._currentRange=null,Ie._currentRequestURL=null,Ie._currentRedirectedURL=null,Ie._contentLength=null,Ie._receivedLength=0,Ie._bufferLimit=16*1024*1024,Ie._lastTimeBufferSize=0,Ie._isReconnecting=!1,Ie}return Object(f.a)(Q,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),S(Object(w.a)(Q.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Ie){this._internalOpen(be,Ie,!1)}},{key:"_internalOpen",value:function(be,Ie,Re){this._dataSource=be,Re?this._currentRange=Ie:this._totalRange=Ie;var $e=be.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$e=this._currentRedirectedURL:be.redirectedURL!=null&&($e=be.redirectedURL));var gt=this._seekHandler.getConfig($e,Ie);this._currentRequestURL=gt.url;var Wt=this._reader=new self.MSStreamReader;Wt.onprogress=this._msrOnProgress.bind(this),Wt.onload=this._msrOnLoad.bind(this),Wt.onerror=this._msrOnError.bind(this);var $t=this._xhr=new XMLHttpRequest;if($t.open("GET",gt.url,!0),$t.responseType="ms-stream",$t.onreadystatechange=this._xhrOnReadyStateChange.bind(this),$t.onerror=this._xhrOnError.bind(this),be.withCredentials&&($t.withCredentials=!0),typeof gt.headers=="object"){var Dt=gt.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&&$t.setRequestHeader(Kt,Dt[Kt])}if(typeof this._config.headers=="object"){var Gt=this._config.headers;for(var Qt in Gt)Gt.hasOwnProperty(Qt)&&$t.setRequestHeader(Qt,Gt[Qt])}this._isReconnecting?this._isReconnecting=!1:this._status=d.kConnecting,$t.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=d.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(be){var Ie=be.target;if(Ie.readyState===2)if(Ie.status>=200&&Ie.status<=299){if(this._status=d.kBuffering,Ie.responseURL!=null){var Re=this._seekHandler.removeURLParameters(Ie.responseURL);Ie.responseURL!==this._currentRequestURL&&Re!==this._currentRedirectedURL&&(this._currentRedirectedURL=Re,this._onURLRedirect&&this._onURLRedirect(Re))}var $e=Ie.getResponseHeader("Content-Length");if($e!=null&&this._contentLength==null){var gt=parseInt($e);gt>0&&(this._contentLength=gt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=d.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ie.status,msg:Ie.statusText});else throw new r("MSStreamLoader: Http code invalid, "+Ie.status+" "+Ie.statusText);else if(Ie.readyState===3&&(Ie.status>=200&&Ie.status<=299)){this._status=d.kBuffering;var Wt=Ie.response;this._reader.readAsArrayBuffer(Wt)}}},{key:"_xhrOnError",value:function(be){this._status=d.kError;var Ie=p.EXCEPTION,Re={code:-1,msg:be.constructor.name+" "+be.type};if(this._onError)this._onError(Ie,Re);else throw new r(Re.msg)}},{key:"_msrOnProgress",value:function(be){var Ie=be.target,Re=Ie.result;if(Re==null){this._doReconnectIfNeeded();return}var $e=Re.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Re.byteLength;var gt=this._totalRange.from+this._receivedLength;this._receivedLength+=$e.byteLength,this._onDataArrival&&this._onDataArrival($e,gt,this._receivedLength),Re.byteLength>=this._bufferLimit&&(o.v(this.TAG,"MSStream buffer exceeded max size near ".concat(gt+$e.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var be={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,be,!0)}}},{key:"_msrOnLoad",value:function(be){this._status=d.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(be){this._status=d.kError;var Ie=0,Re=null;if(this._contentLength&&this._receivedLength<this._contentLength?(Ie=p.EARLY_EOF,Re={code:-1,msg:"MSStream meet Early-Eof"}):(Ie=p.EARLY_EOF,Re={code:-1,msg:be.constructor.name+" "+be.type}),this._onError)this._onError(Ie,Re);else throw new r(Re.msg)}}]),Q}(b),F=k,B=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);Object(f.a)(Q,null,[{key:"isSupported",value:function(){try{var be=new XMLHttpRequest;return be.open("GET","https://example.com",!0),be.responseType="arraybuffer",be.responseType==="arraybuffer"}catch(Ie){return o.w("RangeLoader",Ie.message),!1}}}]);function Q(te,be){var Ie;return Object(g.a)(this,Q),Ie=he.call(this,"xhr-range-loader"),Ie.TAG="RangeLoader",Ie._seekHandler=te,Ie._config=be,Ie._needStash=!1,Ie._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],Ie._currentChunkSizeKB=384,Ie._currentSpeedNormalized=0,Ie._zeroSpeedChunkCount=0,Ie._xhr=null,Ie._speedSampler=new n,Ie._requestAbort=!1,Ie._waitForTotalLength=!1,Ie._totalLengthReceived=!1,Ie._currentRequestURL=null,Ie._currentRedirectedURL=null,Ie._currentRequestRange=null,Ie._totalLength=null,Ie._contentLength=null,Ie._receivedLength=0,Ie._lastTimeLoaded=0,Ie}return Object(f.a)(Q,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),S(Object(w.a)(Q.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Ie){this._dataSource=be,this._range=Ie,this._status=d.kConnecting;var Re=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Re=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Re?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var be=this._currentChunkSizeKB*1024,Ie=this._range.from+this._receivedLength,Re=Ie+be;this._contentLength!=null&&(Re-this._range.from>=this._contentLength&&(Re=this._range.from+this._contentLength-1)),this._currentRequestRange={from:Ie,to:Re},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(be,Ie){this._lastTimeLoaded=0;var Re=be.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Re=this._currentRedirectedURL:be.redirectedURL!=null&&(Re=be.redirectedURL));var $e=this._seekHandler.getConfig(Re,Ie);this._currentRequestURL=$e.url;var gt=this._xhr=new XMLHttpRequest;if(gt.open("GET",$e.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),be.withCredentials&&(gt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&gt.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Dt=this._config.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&&gt.setRequestHeader(Kt,Dt[Kt])}gt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=d.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(be){var Ie=be.target;if(Ie.readyState===2){if(Ie.responseURL!=null){var Re=this._seekHandler.removeURLParameters(Ie.responseURL);Ie.responseURL!==this._currentRequestURL&&Re!==this._currentRedirectedURL&&(this._currentRedirectedURL=Re,this._onURLRedirect&&this._onURLRedirect(Re))}if(Ie.status>=200&&Ie.status<=299){if(this._waitForTotalLength)return;this._status=d.kBuffering}else if(this._status=d.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ie.status,msg:Ie.statusText});else throw new r("RangeLoader: Http code invalid, "+Ie.status+" "+Ie.statusText)}}},{key:"_onProgress",value:function(be){if(this._status===d.kError)return;if(this._contentLength===null){var Ie=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Ie=!0;var Re=be.total;this._internalAbort(),Re!=null&Re!==0&&(this._totalLength=Re)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Ie){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var $e=be.loaded-this._lastTimeLoaded;this._lastTimeLoaded=be.loaded,this._speedSampler.addBytes($e)}},{key:"_normalizeSpeed",value:function(be){var Ie=this._chunkSizeKBList,Re=Ie.length-1,$e=0,gt=0,Wt=Re;if(be<Ie[0])return Ie[0];for(;gt<=Wt;){if($e=gt+Math.floor((Wt-gt)/2),$e===Re||be>=Ie[$e]&&be<Ie[$e+1])return Ie[$e];Ie[$e]<be?gt=$e+1:Wt=$e-1}}},{key:"_onLoad",value:function(be){if(this._status===d.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var Ie=this._speedSampler.lastSecondKBps;if(Ie===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(Ie=this._speedSampler.currentKBps)),Ie!==0){var Re=this._normalizeSpeed(Ie);this._currentSpeedNormalized!==Re&&(this._currentSpeedNormalized=Re,this._currentChunkSizeKB=Re)}var $e=be.target.response,gt=this._range.from+this._receivedLength;this._receivedLength+=$e.byteLength;var Wt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Wt=!0,this._onDataArrival&&this._onDataArrival($e,gt,this._receivedLength),Wt&&(this._status=d.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(be){this._status=d.kError;var Ie=0,Re=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(Ie=p.EARLY_EOF,Re={code:-1,msg:"RangeLoader meet Early-Eof"}):(Ie=p.EXCEPTION,Re={code:-1,msg:be.constructor.name+" "+be.type}),this._onError)this._onError(Ie,Re);else throw new r(Re.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),Q}(b),H=B,W=function(ne){Object(a.a)(Q,ne);var he=Object(u.a)(Q);Object(f.a)(Q,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(be){return!1}}}]);function Q(){var te;return Object(g.a)(this,Q),te=he.call(this,"websocket-loader"),te.TAG="WebSocketLoader",te._needStash=!0,te._ws=null,te._requestAbort=!1,te._receivedLength=0,te}return Object(f.a)(Q,[{key:"destroy",value:function(){this._ws&&this.abort(),S(Object(w.a)(Q.prototype),"destroy",this).call(this)}},{key:"open",value:function(be){try{var Ie=this._ws=new self.WebSocket(be.url);Ie.binaryType="arraybuffer",Ie.onopen=this._onWebSocketOpen.bind(this),Ie.onclose=this._onWebSocketClose.bind(this),Ie.onmessage=this._onWebSocketMessage.bind(this),Ie.onerror=this._onWebSocketError.bind(this),this._status=d.kConnecting}catch($e){this._status=d.kError;var Re={code:$e.code,msg:$e.message};if(this._onError)this._onError(p.EXCEPTION,Re);else throw new r(Re.msg)}}},{key:"abort",value:function(){var be=this._ws;be&&(be.readyState===0||be.readyState===1)&&(this._requestAbort=!0,be.close()),this._ws=null,this._status=d.kComplete}},{key:"_onWebSocketOpen",value:function(be){this._status=d.kBuffering}},{key:"_onWebSocketClose",value:function(be){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=d.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(be){var Ie=this;if(be.data instanceof ArrayBuffer)this._dispatchArrayBuffer(be.data);else if(be.data instanceof Blob){var Re=new FileReader;Re.onload=function(){Ie._dispatchArrayBuffer(Re.result)},Re.readAsArrayBuffer(be.data)}else{this._status=d.kError;var $e={code:-1,msg:"Unsupported WebSocket message type: "+be.data.constructor.name};if(this._onError)this._onError(p.EXCEPTION,$e);else throw new r($e.msg)}}},{key:"_dispatchArrayBuffer",value:function(be){var Ie=be,Re=this._receivedLength;this._receivedLength+=Ie.byteLength,this._onDataArrival&&this._onDataArrival(Ie,Re,this._receivedLength)}},{key:"_onWebSocketError",value:function(be){this._status=d.kError;var Ie={code:be.code,msg:be.message};if(this._onError)this._onError(p.EXCEPTION,Ie);else throw new r(Ie.msg)}}]),Q}(b),R=W,U=function(){function ne(he){Object(g.a)(this,ne),this._zeroStart=he||!1}return Object(f.a)(ne,[{key:"getConfig",value:function(Q,te){var be={};if(te.from!==0||te.to!==-1){var Ie;te.to!==-1?Ie="bytes=".concat(te.from.toString(),"-").concat(te.to.toString()):Ie="bytes=".concat(te.from.toString(),"-"),be.Range=Ie}else this._zeroStart&&(be.Range="bytes=0-");return{url:Q,headers:be}}},{key:"removeURLParameters",value:function(Q){return Q}}]),ne}(),j=U,P=function(){function ne(he,Q){Object(g.a)(this,ne),this._startName=he,this._endName=Q}return Object(f.a)(ne,[{key:"getConfig",value:function(Q,te){var be=Q;if(te.from!==0||te.to!==-1){var Ie=!0;be.indexOf("?")===-1&&(be+="?",Ie=!1),Ie&&(be+="&"),be+="".concat(this._startName,"=").concat(te.from.toString()),te.to!==-1&&(be+="&".concat(this._endName,"=").concat(te.to.toString()))}return{url:be,headers:{}}}},{key:"removeURLParameters",value:function(Q){var te=Q.split("?")[0],be=void 0,Ie=Q.indexOf("?");Ie!==-1&&(be=Q.substring(Ie+1));var Re="";if(be!=null&&be.length>0)for(var $e=be.split("&"),gt=0;gt<$e.length;gt++){var Wt=$e[gt].split("="),$t=gt>0;Wt[0]!==this._startName&&Wt[0]!==this._endName&&($t&&(Re+="&"),Re+=$e[gt])}return Re.length===0?te:te+"?"+Re}}]),ne}(),K=P,V=function(){function ne(he,Q,te){Object(g.a)(this,ne),this.TAG="IOController",this._config=Q,this._extraData=te,this._stashInitialSize=1024*384,Q.stashInitialSize!=null&&Q.stashInitialSize>0&&(this._stashInitialSize=Q.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,Q.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=he,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(he.url),this._refTotalLength=he.filesize?he.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new n,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(f.a)(ne,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var Q=this._config;if(Q.seekType==="range")this._seekHandler=new j(this._config.rangeLoadZeroStart);else if(Q.seekType==="param"){var te=Q.seekParamStart||"bstart",be=Q.seekParamEnd||"bend";this._seekHandler=new K(te,be)}else if(Q.seekType==="custom"){if(typeof Q.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Q.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(Q.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=R;else if(C.isSupported())this._loaderClass=C;else if(N.isSupported())this._loaderClass=N;else if(H.isSupported())this._loaderClass=H;else throw new r("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(Q){this._currentRange={from:0,to:-1},Q&&(this._currentRange.from=Q),this._speedSampler.reset(),Q||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var Q=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Q,!0)}}},{key:"seek",value:function(Q){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Q,!0)}},{key:"_internalSeek",value:function(Q,te){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(te),this._loader.destroy(),this._loader=null;var be={from:Q,to:-1};this._currentRange={from:be.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,be),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Q){if(!Q||typeof Q!="string"||Q.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=Q}},{key:"_expandBuffer",value:function(Q){for(var te=this._stashSize;te+1024*1024*1<Q;)te*=2;if(te+=1024*1024*1,te===this._bufferSize)return;var be=new ArrayBuffer(te);if(this._stashUsed>0){var Ie=new Uint8Array(this._stashBuffer,0,this._stashUsed),Re=new Uint8Array(be,0,te);Re.set(Ie,0)}this._stashBuffer=be,this._bufferSize=te}},{key:"_normalizeSpeed",value:function(Q){var te=this._speedNormalizeList,be=te.length-1,Ie=0,Re=0,$e=be;if(Q<te[0])return te[0];for(;Re<=$e;){if(Ie=Re+Math.floor(($e-Re)/2),Ie===be||Q>=te[Ie]&&Q<te[Ie+1])return te[Ie];te[Ie]<Q?Re=Ie+1:$e=Ie-1}}},{key:"_adjustStashSize",value:function(Q){var te=0;this._config.isLive||Q<512?te=Q:Q>=512&&Q<=1024?te=Math.floor(Q*1.5):te=Q*2,te>8192&&(te=8192);var be=te*1024+1024*1024*1;this._bufferSize<be&&this._expandBuffer(be),this._stashSize=te*1024}},{key:"_dispatchChunks",value:function(Q,te){return this._currentRange.to=te+Q.byteLength-1,this._onDataArrival(Q,te)}},{key:"_onURLRedirect",value:function(Q){this._redirectedURL=Q,this._onRedirect&&this._onRedirect(Q)}},{key:"_onContentLengthKnown",value:function(Q){Q&&this._fullRequestFlag&&(this._totalLength=Q,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Q,te,be){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Q.byteLength);var Ie=this._speedSampler.lastSecondKBps;if(Ie!==0){var Re=this._normalizeSpeed(Ie);this._speedNormalized!==Re&&(this._speedNormalized=Re,this._adjustStashSize(Re))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=te),this._stashUsed+Q.byteLength<=this._stashSize){var Gt=new Uint8Array(this._stashBuffer,0,this._stashSize);Gt.set(new Uint8Array(Q),this._stashUsed),this._stashUsed+=Q.byteLength}else{var Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Mt=this._stashBuffer.slice(0,this._stashUsed),dr=this._dispatchChunks(Mt,this._stashByteStart);if(dr<Mt.byteLength){if(dr>0){var er=new Uint8Array(Mt,dr);Qt.set(er,0),this._stashUsed=er.byteLength,this._stashByteStart+=dr}}else this._stashUsed=0,this._stashByteStart+=dr;this._stashUsed+Q.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Q.byteLength),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(Q),this._stashUsed),this._stashUsed+=Q.byteLength}else{var st=this._dispatchChunks(Q,te);if(st<Q.byteLength){var xt=Q.byteLength-st;xt>this._bufferSize&&(this._expandBuffer(xt),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(Q,st),0),this._stashUsed+=xt,this._stashByteStart=te+st}}}else if(this._stashUsed===0){var $e=this._dispatchChunks(Q,te);if($e<Q.byteLength){var gt=Q.byteLength-$e;gt>this._bufferSize&&this._expandBuffer(gt);var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wt.set(new Uint8Array(Q,$e),0),this._stashUsed+=gt,this._stashByteStart=te+$e}}else{this._stashUsed+Q.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Q.byteLength);var $t=new Uint8Array(this._stashBuffer,0,this._bufferSize);$t.set(new Uint8Array(Q),this._stashUsed),this._stashUsed+=Q.byteLength;var Dt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Dt<this._stashUsed&&Dt>0){var Kt=new Uint8Array(this._stashBuffer,Dt);$t.set(Kt,0)}this._stashUsed-=Dt,this._stashByteStart+=Dt}}},{key:"_flushStashBuffer",value:function(Q){if(this._stashUsed>0){var te=this._stashBuffer.slice(0,this._stashUsed),be=this._dispatchChunks(te,this._stashByteStart),Ie=te.byteLength-be;if(be<te.byteLength)if(Q)o.w(this.TAG,"".concat(Ie," bytes unconsumed data remain when flush buffer, dropped"));else{if(be>0){var Re=new Uint8Array(this._stashBuffer,0,this._bufferSize),$e=new Uint8Array(te,be);Re.set($e,0),this._stashUsed=$e.byteLength,this._stashByteStart+=be}return 0}return this._stashUsed=0,this._stashByteStart=0,Ie}return 0}},{key:"_onLoaderComplete",value:function(Q,te){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Q,te){o.e(this.TAG,"Loader error, code = ".concat(te.code,", msg = ").concat(te.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Q=p.UNRECOVERABLE_EARLY_EOF);switch(Q){case p.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var be=this._currentRange.to+1;be<this._totalLength&&(o.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(be,!1));return}Q=p.UNRECOVERABLE_EARLY_EOF;break}case p.UNRECOVERABLE_EARLY_EOF:case p.CONNECTING_TIMEOUT:case p.HTTP_STATUS_CODE_INVALID:case p.EXCEPTION:break}if(this._onError)this._onError(Q,te);else throw new r("IOException: "+te.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(Q){this._extraData=Q}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Q){this._onDataArrival=Q}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Q){this._onSeeked=Q}},{key:"onError",get:function(){return this._onError},set:function(Q){this._onError=Q}},{key:"onComplete",get:function(){return this._onComplete},set:function(Q){this._onComplete=Q}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Q){this._onRedirect=Q}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Q){this._onRecoveredEarlyEof=Q}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===H?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),ne}(),z=V,X={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 G(){return Object.assign({},X)}var le=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var Q=new z({},G()),te=Q.loaderType;return Q.destroy(),te=="fetch-stream-loader"||te=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var Q=new z({},G()),te=Q.loaderType;return Q.destroy(),te}},{key:"supportNativeMediaPlayback",value:function(Q){ne.videoElement==null&&(ne.videoElement=window.document.createElement("video"));var te=ne.videoElement.canPlayType(Q);return te==="probably"||te=="maybe"}},{key:"getFeatureList",value:function(){var Q={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return Q.mseFlvPlayback=ne.supportMSEH264Playback(),Q.networkStreamIO=ne.supportNetworkStreamIO(),Q.networkLoaderName=ne.getNetworkLoaderTypeName(),Q.mseLiveFlvPlayback=Q.mseFlvPlayback&&Q.networkStreamIO,Q.nativeMP4H264Playback=ne.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),Q.nativeWebmVP8Playback=ne.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),Q.nativeWebmVP9Playback=ne.supportNativeMediaPlayback('video/webm; codecs="vp9"'),Q}}]),ne}(),Y=le,me={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"},we=me,pe=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"getConfig",value:function(){return{globalTag:o.GLOBAL_TAG,forceGlobalTag:o.FORCE_GLOBAL_TAG,enableVerbose:o.ENABLE_VERBOSE,enableDebug:o.ENABLE_DEBUG,enableInfo:o.ENABLE_INFO,enableWarn:o.ENABLE_WARN,enableError:o.ENABLE_ERROR,enableCallback:o.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(Q){o.GLOBAL_TAG=Q.globalTag,o.FORCE_GLOBAL_TAG=Q.forceGlobalTag,o.ENABLE_VERBOSE=Q.enableVerbose,o.ENABLE_DEBUG=Q.enableDebug,o.ENABLE_INFO=Q.enableInfo,o.ENABLE_WARN=Q.enableWarn,o.ENABLE_ERROR=Q.enableError,o.ENABLE_CALLBACK=Q.enableCallback}},{key:"_notifyChange",value:function(){var Q=ne.emitter;if(Q.listenerCount("change")>0){var te=ne.getConfig();Q.emit("change",te)}}},{key:"registerListener",value:function(Q){ne.emitter.addListener("change",Q)}},{key:"removeListener",value:function(Q){ne.emitter.removeListener("change",Q)}},{key:"addLogListener",value:function(Q){o.emitter.addListener("log",Q),o.emitter.listenerCount("log")>0&&(o.ENABLE_CALLBACK=!0,ne._notifyChange())}},{key:"removeLogListener",value:function(Q){o.emitter.removeListener("log",Q),o.emitter.listenerCount("log")===0&&(o.ENABLE_CALLBACK=!1,ne._notifyChange())}},{key:"forceGlobalTag",get:function(){return o.FORCE_GLOBAL_TAG},set:function(Q){o.FORCE_GLOBAL_TAG=Q,ne._notifyChange()}},{key:"globalTag",get:function(){return o.GLOBAL_TAG},set:function(Q){o.GLOBAL_TAG=Q,ne._notifyChange()}},{key:"enableAll",get:function(){return o.ENABLE_VERBOSE&&o.ENABLE_DEBUG&&o.ENABLE_INFO&&o.ENABLE_WARN&&o.ENABLE_ERROR},set:function(Q){o.ENABLE_VERBOSE=Q,o.ENABLE_DEBUG=Q,o.ENABLE_INFO=Q,o.ENABLE_WARN=Q,o.ENABLE_ERROR=Q,ne._notifyChange()}},{key:"enableDebug",get:function(){return o.ENABLE_DEBUG},set:function(Q){o.ENABLE_DEBUG=Q,ne._notifyChange()}},{key:"enableVerbose",get:function(){return o.ENABLE_VERBOSE},set:function(Q){o.ENABLE_VERBOSE=Q,ne._notifyChange()}},{key:"enableInfo",get:function(){return o.ENABLE_INFO},set:function(Q){o.ENABLE_INFO=Q,ne._notifyChange()}},{key:"enableWarn",get:function(){return o.ENABLE_WARN},set:function(Q){o.ENABLE_WARN=Q,ne._notifyChange()}},{key:"enableError",get:function(){return o.ENABLE_ERROR},set:function(Q){o.ENABLE_ERROR=Q,ne._notifyChange()}}]),ne}();pe.emitter=new h.a;var Fe=pe,Xe=function(){function ne(){Object(g.a)(this,ne),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(f.a)(ne,[{key:"isComplete",value:function(){var Q=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,te=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&Q&&te}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Q){if(this.keyframesIndex==null)return null;var te=this.keyframesIndex,be=this._search(te.times,Q);return{index:be,milliseconds:te.times[be],fileposition:te.filepositions[be]}}},{key:"_search",value:function(Q,te){var be=0,Ie=Q.length-1,Re=0,$e=0,gt=Ie;for(te<Q[0]&&(be=0,$e=gt+1);$e<=gt;)if(Re=$e+Math.floor((gt-$e)/2),Re===Ie||te>=Q[Re]&&te<Q[Re+1]){be=Re;break}else Q[Re]<te?$e=Re+1:gt=Re-1;return be}}]),ne}(),dt=Xe;function Ee(ne,he,Q){var te=ne;if(he+Q<te.length){for(;Q--;)if((te[++he]&192)!==128)return!1;return!0}else return!1}function Se(ne){for(var he=[],Q=ne,te=0,be=ne.length;te<be;){if(Q[te]<128){he.push(String.fromCharCode(Q[te])),++te;continue}else if(!(Q[te]<192)){if(Q[te]<224){if(Ee(Q,te,1)){var Ie=(Q[te]&31)<<6|Q[te+1]&63;if(Ie>=128){he.push(String.fromCharCode(Ie&65535)),te+=2;continue}}}else if(Q[te]<240){if(Ee(Q,te,2)){var Re=(Q[te]&15)<<12|(Q[te+1]&63)<<6|Q[te+2]&63;if(Re>=2048&&(Re&63488)!==55296){he.push(String.fromCharCode(Re&65535)),te+=3;continue}}}else if(Q[te]<248&&Ee(Q,te,3)){var $e=(Q[te]&7)<<18|(Q[te+1]&63)<<12|(Q[te+2]&63)<<6|Q[te+3]&63;if($e>65536&&$e<1114112){$e-=65536,he.push(String.fromCharCode($e>>>10|55296)),he.push(String.fromCharCode($e&1023|56320)),te+=4;continue}}}he.push(String.fromCharCode(65533)),++te}return he.join("")}var at=Se,_e=function(){var ne=new ArrayBuffer(2);return new DataView(ne).setInt16(0,256,!0),new Int16Array(ne)[0]===256}(),ce=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"parseScriptData",value:function(Q,te,be){var Ie={};try{var Re=ne.parseValue(Q,te,be),$e=ne.parseValue(Q,te+Re.size,be-Re.size);Ie[Re.data]=$e.data}catch(gt){o.e("AMF",gt.toString())}return Ie}},{key:"parseObject",value:function(Q,te,be){if(be<3)throw new l("Data not enough when parse ScriptDataObject");var Ie=ne.parseString(Q,te,be),Re=ne.parseValue(Q,te+Ie.size,be-Ie.size),$e=Re.objectEnd;return{data:{name:Ie.data,value:Re.data},size:Ie.size+Re.size,objectEnd:$e}}},{key:"parseVariable",value:function(Q,te,be){return ne.parseObject(Q,te,be)}},{key:"parseString",value:function(Q,te,be){if(be<2)throw new l("Data not enough when parse String");var Ie=new DataView(Q,te,be),Re=Ie.getUint16(0,!_e),$e;return Re>0?$e=at(new Uint8Array(Q,te+2,Re)):$e="",{data:$e,size:2+Re}}},{key:"parseLongString",value:function(Q,te,be){if(be<4)throw new l("Data not enough when parse LongString");var Ie=new DataView(Q,te,be),Re=Ie.getUint32(0,!_e),$e;return Re>0?$e=at(new Uint8Array(Q,te+4,Re)):$e="",{data:$e,size:4+Re}}},{key:"parseDate",value:function(Q,te,be){if(be<10)throw new l("Data size invalid when parse Date");var Ie=new DataView(Q,te,be),Re=Ie.getFloat64(0,!_e),$e=Ie.getInt16(8,!_e);return Re+=$e*60*1e3,{data:new Date(Re),size:8+2}}},{key:"parseValue",value:function(Q,te,be){if(be<1)throw new l("Data not enough when parse Value");var Ie=new DataView(Q,te,be),Re=1,$e=Ie.getUint8(0),gt,Wt=!1;try{switch($e){case 0:gt=Ie.getFloat64(1,!_e),Re+=8;break;case 1:{var $t=Ie.getUint8(1);gt=!!$t,Re+=1;break}case 2:{var Dt=ne.parseString(Q,te+1,be-1);gt=Dt.data,Re+=Dt.size;break}case 3:{gt={};var Kt=0;for((Ie.getUint32(be-4,!_e)&16777215)===9&&(Kt=3);Re<be-4;){var Gt=ne.parseObject(Q,te+Re,be-Re-Kt);if(Gt.objectEnd)break;gt[Gt.data.name]=Gt.data.value,Re+=Gt.size}if(Re<=be-3){var Qt=Ie.getUint32(Re-1,!_e)&16777215;Qt===9&&(Re+=3)}break}case 8:{gt={},Re+=4;var Mt=0;for((Ie.getUint32(be-4,!_e)&16777215)===9&&(Mt=3);Re<be-8;){var dr=ne.parseVariable(Q,te+Re,be-Re-Mt);if(dr.objectEnd)break;gt[dr.data.name]=dr.data.value,Re+=dr.size}if(Re<=be-3){var er=Ie.getUint32(Re-1,!_e)&16777215;er===9&&(Re+=3)}break}case 9:gt=void 0,Re=1,Wt=!0;break;case 10:{gt=[];var st=Ie.getUint32(1,!_e);Re+=4;for(var xt=0;xt<st;xt++){var ut=ne.parseValue(Q,te+Re,be-Re);gt.push(ut.data),Re+=ut.size}break}case 11:{var pt=ne.parseDate(Q,te+1,be-1);gt=pt.data,Re+=pt.size;break}case 12:{var _t=ne.parseString(Q,te+1,be-1);gt=_t.data,Re+=_t.size;break}default:Re=be,o.w("AMF","Unsupported AMF value type "+$e)}}catch(Tt){o.e("AMF",Tt.toString())}return{data:gt,size:Re,objectEnd:Wt}}}]),ne}(),ee=ce,se=function(){function ne(he){Object(g.a)(this,ne),this.TAG="ExpGolomb",this._buffer=he,this._buffer_index=0,this._total_bytes=he.byteLength,this._total_bits=he.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(ne,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var Q=this._total_bytes-this._buffer_index;if(Q<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var te=Math.min(4,Q),be=new Uint8Array(4);be.set(this._buffer.subarray(this._buffer_index,this._buffer_index+te)),this._current_word=new DataView(be.buffer).getUint32(0,!1),this._buffer_index+=te,this._current_word_bits_left=te*8}},{key:"readBits",value:function(Q){if(Q>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(Q<=this._current_word_bits_left){var te=this._current_word>>>32-Q;return this._current_word<<=Q,this._current_word_bits_left-=Q,te}var be=this._current_word_bits_left?this._current_word:0;be=be>>>32-this._current_word_bits_left;var Ie=Q-this._current_word_bits_left;this._fillCurrentWord();var Re=Math.min(Ie,this._current_word_bits_left),$e=this._current_word>>>32-Re;return this._current_word<<=Re,this._current_word_bits_left-=Re,be=be<<Re|$e,be}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var Q;for(Q=0;Q<this._current_word_bits_left;Q++)if((this._current_word&2147483648>>>Q)!==0)return this._current_word<<=Q,this._current_word_bits_left-=Q,Q;return this._fillCurrentWord(),Q+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Q=this._skipLeadingZero();return this.readBits(Q+1)-1}},{key:"readSEG",value:function(){var Q=this.readUEG();return Q&1?Q+1>>>1:-1*(Q>>>1)}}]),ne}(),ke=se,Ce=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"_ebsp2rbsp",value:function(Q){for(var te=Q,be=te.byteLength,Ie=new Uint8Array(be),Re=0,$e=0;$e<be;$e++){if($e>=2&&(te[$e]===3&&te[$e-1]===0&&te[$e-2]===0))continue;Ie[Re]=te[$e],Re++}return new Uint8Array(Ie.buffer,0,Re)}},{key:"parseSPS",value:function(Q){var te=ne._ebsp2rbsp(Q),be=new ke(te);be.readByte();var Ie=be.readByte();be.readByte();var Re=be.readByte();be.readUEG();var $e=ne.getProfileString(Ie),gt=ne.getLevelString(Re),Wt=1,$t=420,Dt=[0,420,422,444],Kt=8;if((Ie===100||Ie===110||Ie===122||Ie===244||Ie===44||Ie===83||Ie===86||Ie===118||Ie===128||Ie===138||Ie===144)&&(Wt=be.readUEG(),Wt===3&&be.readBits(1),Wt<=3&&($t=Dt[Wt]),Kt=be.readUEG()+8,be.readUEG(),be.readBits(1),be.readBool()))for(var Gt=Wt!==3?8:12,Qt=0;Qt<Gt;Qt++)be.readBool()&&(Qt<6?ne._skipScalingList(be,16):ne._skipScalingList(be,64));be.readUEG();var Mt=be.readUEG();if(Mt===0)be.readUEG();else if(Mt===1){be.readBits(1),be.readSEG(),be.readSEG();for(var dr=be.readUEG(),er=0;er<dr;er++)be.readSEG()}var st=be.readUEG();be.readBits(1);var xt=be.readUEG(),ut=be.readUEG(),pt=be.readBits(1);pt===0&&be.readBits(1),be.readBits(1);var _t=0,Tt=0,ft=0,Ht=0,kt=be.readBool();kt&&(_t=be.readUEG(),Tt=be.readUEG(),ft=be.readUEG(),Ht=be.readUEG());var ir=1,Xt=1,mr=0,Ar=!0,Nr=0,kr=0,tn=be.readBool();if(tn){if(be.readBool()){var qr=be.readByte(),Lr=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Qr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];qr>0&&qr<16?(ir=Lr[qr-1],Xt=Qr[qr-1]):qr===255&&(ir=be.readByte()<<8|be.readByte(),Xt=be.readByte()<<8|be.readByte())}if(be.readBool()&&be.readBool(),be.readBool()&&(be.readBits(4),be.readBool()&&be.readBits(24)),be.readBool()&&(be.readUEG(),be.readUEG()),be.readBool()){var Ir=be.readBits(32),ur=be.readBits(32);Ar=be.readBool(),Nr=ur,kr=Ir*2,mr=Nr/kr}}var pr=1;(ir!==1||Xt!==1)&&(pr=ir/Xt);var cr=0,fr=0;if(Wt===0)cr=1,fr=2-pt;else{var xr=Wt===3?1:2,Yr=Wt===1?2:1;cr=xr,fr=Yr*(2-pt)}var un=(xt+1)*16,Nn=(2-pt)*((ut+1)*16);un-=(_t+Tt)*cr,Nn-=(ft+Ht)*fr;var jr=Math.ceil(un*pr);return be.destroy(),be=null,{profile_string:$e,level_string:gt,bit_depth:Kt,ref_frames:st,chroma_format:$t,chroma_format_string:ne.getChromaFormatString($t),frame_rate:{fixed:Ar,fps:mr,fps_den:kr,fps_num:Nr},sar_ratio:{width:ir,height:Xt},codec_size:{width:un,height:Nn},present_size:{width:jr,height:Nn}}}},{key:"_skipScalingList",value:function(Q,te){for(var be=8,Ie=8,Re=0,$e=0;$e<te;$e++)Ie!==0&&(Re=Q.readSEG(),Ie=(be+Re+256)%256),be=Ie===0?be:Ie}},{key:"getProfileString",value:function(Q){switch(Q){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function(Q){return(Q/10).toFixed(1)}},{key:"getChromaFormatString",value:function(Q){switch(Q){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),ne}(),ze=Ce,Oe={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},ae=Oe;function ge(ne){return ne>>>8&255|(ne&255)<<8}function Le(ne){return(ne&4278190080)>>>24|(ne&16711680)>>>8|(ne&65280)<<8|(ne&255)<<24}function Ze(ne,he){return ne[he]<<24|ne[he+1]<<16|ne[he+2]<<8|ne[he+3]}var vt=function(){function ne(he,Q){Object(g.a)(this,ne),this.TAG="FLVDemuxer",this._config=Q,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=he.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=he.hasAudioTrack,this._hasVideo=he.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new dt,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 te=new ArrayBuffer(2);return new DataView(te).setInt16(0,256,!0),new Int16Array(te)[0]===256}()}return Object(f.a)(ne,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(Q){return Q.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new dt}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(Q,te){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var be=0,Ie=this._littleEndian;if(te===0)if(Q.byteLength>13){var Re=ne.probe(Q);be=Re.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,te+be!==this._dataOffset&&o.w(this.TAG,"First time parsing but chunk byteStart invalid!");var $e=new DataView(Q,be),gt=$e.getUint32(0,!Ie);gt!==0&&o.w(this.TAG,"PrevTagSize0 !== 0 !!!"),be+=4}for(;be<Q.byteLength;){this._dispatch=!0;var Wt=new DataView(Q,be);if(be+11+4>Q.byteLength)break;var $t=Wt.getUint8(0),Dt=Wt.getUint32(0,!Ie)&16777215;if(be+11+Dt+4>Q.byteLength)break;if($t!==8&&$t!==9&&$t!==18){o.w(this.TAG,"Unsupported tag type ".concat($t,", skipped")),be+=11+Dt+4;continue}var Kt=Wt.getUint8(4),Gt=Wt.getUint8(5),Qt=Wt.getUint8(6),Mt=Wt.getUint8(7),dr=Qt|Gt<<8|Kt<<16|Mt<<24,er=Wt.getUint32(7,!Ie)&16777215;er!==0&&o.w(this.TAG,"Meet tag which has StreamID != 0!");var st=be+11;switch($t){case 8:this._parseAudioData(Q,st,Dt,dr);break;case 9:this._parseVideoData(Q,st,Dt,dr,te+be);break;case 18:this._parseScriptData(Q,st,Dt);break}var xt=Wt.getUint32(11+Dt,!Ie);xt!==11+Dt&&o.w(this.TAG,"Invalid PrevTagSize ".concat(xt)),be+=11+Dt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),be}},{key:"_parseScriptData",value:function(Q,te,be){var Ie=ee.parseScriptData(Q,te,be);if(Ie.hasOwnProperty("onMetaData")){if(Ie.onMetaData==null||typeof Ie.onMetaData!="object"){o.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&o.w(this.TAG,"Found another onMetaData tag!"),this._metadata=Ie;var Re=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Re)),typeof Re.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Re.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Re.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Re.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Re.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Re.audiodatarate),typeof Re.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Re.videodatarate),typeof Re.width=="number"&&(this._mediaInfo.width=Re.width),typeof Re.height=="number"&&(this._mediaInfo.height=Re.height),typeof Re.duration=="number"){if(!this._durationOverrided){var $e=Math.floor(Re.duration*this._timescale);this._duration=$e,this._mediaInfo.duration=$e}}else this._mediaInfo.duration=0;if(typeof Re.framerate=="number"){var gt=Math.floor(Re.framerate*1e3);if(gt>0){var Wt=gt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wt,this._referenceFrameRate.fps_num=gt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wt}}if(typeof Re.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var $t=Re.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($t),Re.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Re,o.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(Ie).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},Ie)))}},{key:"_parseKeyframesIndex",value:function(Q){for(var te=[],be=[],Ie=1;Ie<Q.times.length;Ie++){var Re=this._timestampBase+Math.floor(Q.times[Ie]*1e3);te.push(Re),be.push(Q.filepositions[Ie])}return{times:te,filepositions:be}}},{key:"_parseAudioData",value:function(Q,te,be,Ie){if(be<=1){o.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Re=this._littleEndian,$e=new DataView(Q,te,be),gt=$e.getUint8(0),Wt=gt>>>4;if(Wt!==2&&Wt!==10){this._onError(ae.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wt);return}var $t=0,Dt=(gt&12)>>>2;if(Dt>=0&&Dt<=4)$t=this._flvSoundRateTable[Dt];else{this._onError(ae.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Dt);return}var Kt=(gt&2)>>>1,Gt=gt&1,Qt=this._audioMetadata,Mt=this._audioTrack;if(Qt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Qt=this._audioMetadata={},Qt.type="audio",Qt.id=Mt.id,Qt.timescale=this._timescale,Qt.duration=this._duration,Qt.audioSampleRate=$t,Qt.channelCount=Gt===0?1:2),Wt===10){var dr=this._parseAACAudioData(Q,te+1,be-1);if(dr==null)return;if(dr.packetType===0){Qt.config&&o.w(this.TAG,"Found another AudioSpecificConfig!");var er=dr.data;Qt.audioSampleRate=er.samplingRate,Qt.channelCount=er.channelCount,Qt.codec=er.codec,Qt.originalCodec=er.originalCodec,Qt.config=er.config,Qt.refSampleDuration=1024/Qt.audioSampleRate*Qt.timescale,o.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Qt);var st=this._mediaInfo;st.audioCodec=Qt.originalCodec,st.audioSampleRate=Qt.audioSampleRate,st.audioChannelCount=Qt.channelCount,st.hasVideo?st.videoCodec!=null&&(st.mimeType='video/x-flv; codecs="'+st.videoCodec+","+st.audioCodec+'"'):st.mimeType='video/x-flv; codecs="'+st.audioCodec+'"',st.isComplete()&&this._onMediaInfo(st)}else if(dr.packetType===1){var xt=this._timestampBase+Ie,ut={unit:dr.data,length:dr.data.byteLength,dts:xt,pts:xt};Mt.samples.push(ut),Mt.length+=dr.data.length}else o.e(this.TAG,"Flv: Unsupported AAC data type ".concat(dr.packetType))}else if(Wt===2){if(!Qt.codec){var pt=this._parseMP3AudioData(Q,te+1,be-1,!0);if(pt==null)return;Qt.audioSampleRate=pt.samplingRate,Qt.channelCount=pt.channelCount,Qt.codec=pt.codec,Qt.originalCodec=pt.originalCodec,Qt.refSampleDuration=1152/Qt.audioSampleRate*Qt.timescale,o.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Qt);var _t=this._mediaInfo;_t.audioCodec=Qt.codec,_t.audioSampleRate=Qt.audioSampleRate,_t.audioChannelCount=Qt.channelCount,_t.audioDataRate=pt.bitRate,_t.hasVideo?_t.videoCodec!=null&&(_t.mimeType='video/x-flv; codecs="'+_t.videoCodec+","+_t.audioCodec+'"'):_t.mimeType='video/x-flv; codecs="'+_t.audioCodec+'"',_t.isComplete()&&this._onMediaInfo(_t)}var Tt=this._parseMP3AudioData(Q,te+1,be-1,!1);if(Tt==null)return;var ft=this._timestampBase+Ie,Ht={unit:Tt,length:Tt.byteLength,dts:ft,pts:ft};Mt.samples.push(Ht),Mt.length+=Tt.length}}},{key:"_parseAACAudioData",value:function(Q,te,be){if(be<=1){o.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var Ie={},Re=new Uint8Array(Q,te,be);return Ie.packetType=Re[0],Re[0]===0?Ie.data=this._parseAACAudioSpecificConfig(Q,te+1,be-1):Ie.data=Re.subarray(1),Ie}},{key:"_parseAACAudioSpecificConfig",value:function(Q,te,be){var Ie=new Uint8Array(Q,te,be),Re=null,$e=0,gt=0,Wt=null,$t=0,Dt=null;if($e=gt=Ie[0]>>>3,$t=(Ie[0]&7)<<1|Ie[1]>>>7,$t<0||$t>=this._mpegSamplingRates.length){this._onError(ae.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Kt=this._mpegSamplingRates[$t],Gt=(Ie[1]&120)>>>3;if(Gt<0||Gt>=8){this._onError(ae.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}$e===5&&(Dt=(Ie[1]&7)<<1|Ie[2]>>>7,Wt=(Ie[2]&124)>>>2);var Qt=self.navigator.userAgent.toLowerCase();return Qt.indexOf("firefox")!==-1?$t>=6?($e=5,Re=new Array(4),Dt=$t-3):($e=2,Re=new Array(2),Dt=$t):Qt.indexOf("android")!==-1?($e=2,Re=new Array(2),Dt=$t):($e=5,Dt=$t,Re=new Array(4),$t>=6?Dt=$t-3:Gt===1&&($e=2,Re=new Array(2),Dt=$t)),Re[0]=$e<<3,Re[0]|=($t&15)>>>1,Re[1]=($t&15)<<7,Re[1]|=(Gt&15)<<3,$e===5&&(Re[1]|=(Dt&15)>>>1,Re[2]=(Dt&1)<<7,Re[2]|=2<<2,Re[3]=0),{config:Re,samplingRate:Kt,channelCount:Gt,codec:"mp4a.40."+$e,originalCodec:"mp4a.40."+gt}}},{key:"_parseMP3AudioData",value:function(Q,te,be,Ie){if(be<4){o.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Re=this._littleEndian,$e=new Uint8Array(Q,te,be),gt=null;if(Ie){if($e[0]!==255)return;var Wt=$e[1]>>>3&3,$t=($e[1]&6)>>1,Dt=($e[2]&240)>>>4,Kt=($e[2]&12)>>>2,Gt=$e[3]>>>6&3,Qt=Gt!==3?2:1,Mt=0,dr=0,er=34,st="mp3";switch(Wt){case 0:Mt=this._mpegAudioV25SampleRateTable[Kt];break;case 2:Mt=this._mpegAudioV20SampleRateTable[Kt];break;case 3:Mt=this._mpegAudioV10SampleRateTable[Kt];break}switch($t){case 1:er=34,Dt<this._mpegAudioL3BitRateTable.length&&(dr=this._mpegAudioL3BitRateTable[Dt]);break;case 2:er=33,Dt<this._mpegAudioL2BitRateTable.length&&(dr=this._mpegAudioL2BitRateTable[Dt]);break;case 3:er=32,Dt<this._mpegAudioL1BitRateTable.length&&(dr=this._mpegAudioL1BitRateTable[Dt]);break}gt={bitRate:dr,samplingRate:Mt,channelCount:Qt,codec:st,originalCodec:st}}else gt=$e;return gt}},{key:"_parseVideoData",value:function(Q,te,be,Ie,Re){if(be<=1){o.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var $e=new Uint8Array(Q,te,be)[0],gt=($e&240)>>>4,Wt=$e&15;if(Wt!==7){this._onError(ae.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wt));return}this._parseAVCVideoPacket(Q,te+1,be-1,Ie,Re,gt)}},{key:"_parseAVCVideoPacket",value:function(Q,te,be,Ie,Re,$e){if(be<4){o.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var gt=this._littleEndian,Wt=new DataView(Q,te,be),$t=Wt.getUint8(0),Dt=Wt.getUint32(0,!gt)&16777215,Kt=Dt<<8>>8;if($t===0)this._parseAVCDecoderConfigurationRecord(Q,te+4,be-4);else if($t===1)this._parseAVCVideoData(Q,te+4,be-4,Ie,Re,$e,Kt);else if(!($t===2)){this._onError(ae.FORMAT_ERROR,"Flv: Invalid video packet type ".concat($t));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Q,te,be){if(be<7){o.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var Ie=this._videoMetadata,Re=this._videoTrack,$e=this._littleEndian,gt=new DataView(Q,te,be);Ie?typeof Ie.avcc!="undefined"&&o.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),Ie=this._videoMetadata={},Ie.type="video",Ie.id=Re.id,Ie.timescale=this._timescale,Ie.duration=this._duration);var Wt=gt.getUint8(0),$t=gt.getUint8(1),Dt=gt.getUint8(2),Kt=gt.getUint8(3);if(Wt!==1||$t===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(gt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(ae.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Gt=gt.getUint8(5)&31;if(Gt===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Gt>1&&o.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Gt));for(var Qt=6,Mt=0;Mt<Gt;Mt++){var dr=gt.getUint16(Qt,!$e);if(Qt+=2,dr===0)continue;var er=new Uint8Array(Q,te+Qt,dr);Qt+=dr;var st=ze.parseSPS(er);if(Mt!==0)continue;Ie.codecWidth=st.codec_size.width,Ie.codecHeight=st.codec_size.height,Ie.presentWidth=st.present_size.width,Ie.presentHeight=st.present_size.height,Ie.profile=st.profile_string,Ie.level=st.level_string,Ie.bitDepth=st.bit_depth,Ie.chromaFormat=st.chroma_format,Ie.sarRatio=st.sar_ratio,Ie.frameRate=st.frame_rate,(st.frame_rate.fixed===!1||st.frame_rate.fps_num===0||st.frame_rate.fps_den===0)&&(Ie.frameRate=this._referenceFrameRate);var xt=Ie.frameRate.fps_den,ut=Ie.frameRate.fps_num;Ie.refSampleDuration=Ie.timescale*(xt/ut);for(var pt=er.subarray(1,4),_t="avc1.",Tt=0;Tt<3;Tt++){var ft=pt[Tt].toString(16);ft.length<2&&(ft="0"+ft),_t+=ft}Ie.codec=_t;var Ht=this._mediaInfo;Ht.width=Ie.codecWidth,Ht.height=Ie.codecHeight,Ht.fps=Ie.frameRate.fps,Ht.profile=Ie.profile,Ht.level=Ie.level,Ht.refFrames=st.ref_frames,Ht.chromaFormat=st.chroma_format_string,Ht.sarNum=Ie.sarRatio.width,Ht.sarDen=Ie.sarRatio.height,Ht.videoCodec=_t,Ht.hasAudio?Ht.audioCodec!=null&&(Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+","+Ht.audioCodec+'"'):Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+'"',Ht.isComplete()&&this._onMediaInfo(Ht)}var kt=gt.getUint8(Qt);if(kt===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else kt>1&&o.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(kt));Qt++;for(var ir=0;ir<kt;ir++){var Xt=gt.getUint16(Qt,!$e);if(Qt+=2,Xt===0)continue;Qt+=Xt}Ie.avcc=new Uint8Array(be),Ie.avcc.set(new Uint8Array(Q,te,be),0),o.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",Ie)}},{key:"_parseAVCVideoData",value:function(Q,te,be,Ie,Re,$e,gt){for(var Wt=this._littleEndian,$t=new DataView(Q,te,be),Dt=[],Kt=0,Gt=0,Qt=this._naluLengthSize,Mt=this._timestampBase+Ie,dr=$e===1;Gt<be;){if(Gt+4>=be){o.w(this.TAG,"Malformed Nalu near timestamp ".concat(Mt,", offset = ").concat(Gt,", dataSize = ").concat(be));break}var er=$t.getUint32(Gt,!Wt);if(Qt===3&&(er>>>=8),er>be-Qt){o.w(this.TAG,"Malformed Nalus near timestamp ".concat(Mt,", NaluSize > DataSize!"));return}var st=$t.getUint8(Gt+Qt)&31;st===5&&(dr=!0);var xt=new Uint8Array(Q,te+Gt,Qt+er),ut={type:st,data:xt};Dt.push(ut),Kt+=xt.byteLength,Gt+=Qt+er}if(Dt.length){var pt=this._videoTrack,_t={units:Dt,length:Kt,isKeyframe:dr,dts:Mt,cts:gt,pts:Mt+gt};dr&&(_t.fileposition=Re),pt.samples.push(_t),pt.length+=Kt}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Q){this._onTrackMetadata=Q}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Q){this._onMediaInfo=Q}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Q){this._onMetaDataArrived=Q}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Q){this._onScriptDataArrived=Q}},{key:"onError",get:function(){return this._onError},set:function(Q){this._onError=Q}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Q){this._onDataAvailable=Q}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Q){this._timestampBase=Q}},{key:"overridedDuration",get:function(){return this._duration},set:function(Q){this._durationOverrided=!0,this._duration=Q,this._mediaInfo.duration=Q}},{key:"overridedHasAudio",set:function(Q){this._hasAudioFlagOverrided=!0,this._hasAudio=Q,this._mediaInfo.hasAudio=Q}},{key:"overridedHasVideo",set:function(Q){this._hasVideoFlagOverrided=!0,this._hasVideo=Q,this._mediaInfo.hasVideo=Q}}],[{key:"probe",value:function(Q){var te=new Uint8Array(Q),be={match:!1};if(te[0]!==70||te[1]!==76||te[2]!==86||te[3]!==1)return be;var Ie=(te[4]&4)>>>2!==0,Re=(te[4]&1)!==0,$e=Ze(te,5);return $e<9?be:{match:!0,consumed:$e,dataOffset:$e,hasAudioTrack:Ie,hasVideoTrack:Re}}}]),ne}(),Ct=vt,Be=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"init",value:function(){ne.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var Q in ne.types)ne.types.hasOwnProperty(Q)&&(ne.types[Q]=[Q.charCodeAt(0),Q.charCodeAt(1),Q.charCodeAt(2),Q.charCodeAt(3)]);var te=ne.constants={};te.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),te.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),te.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),te.STSC=te.STCO=te.STTS,te.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),te.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]),te.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]),te.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),te.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),te.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Q){for(var te=8,be=null,Ie=Array.prototype.slice.call(arguments,1),Re=Ie.length,$e=0;$e<Re;$e++)te+=Ie[$e].byteLength;be=new Uint8Array(te),be[0]=te>>>24&255,be[1]=te>>>16&255,be[2]=te>>>8&255,be[3]=te&255,be.set(Q,4);for(var gt=8,Wt=0;Wt<Re;Wt++)be.set(Ie[Wt],gt),gt+=Ie[Wt].byteLength;return be}},{key:"generateInitSegment",value:function(Q){var te=ne.box(ne.types.ftyp,ne.constants.FTYP),be=ne.moov(Q),Ie=new Uint8Array(te.byteLength+be.byteLength);return Ie.set(te,0),Ie.set(be,te.byteLength),Ie}},{key:"moov",value:function(Q){var te=ne.mvhd(Q.timescale,Q.duration),be=ne.trak(Q),Ie=ne.mvex(Q);return ne.box(ne.types.moov,te,be,Ie)}},{key:"mvhd",value:function(Q,te){return ne.box(ne.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Q>>>24&255,Q>>>16&255,Q>>>8&255,Q&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(Q){return ne.box(ne.types.trak,ne.tkhd(Q),ne.mdia(Q))}},{key:"tkhd",value:function(Q){var te=Q.id,be=Q.duration,Ie=Q.presentWidth,Re=Q.presentHeight;return ne.box(ne.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255,0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&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,Ie>>>8&255,Ie&255,0,0,Re>>>8&255,Re&255,0,0]))}},{key:"mdia",value:function(Q){return ne.box(ne.types.mdia,ne.mdhd(Q),ne.hdlr(Q),ne.minf(Q))}},{key:"mdhd",value:function(Q){var te=Q.timescale,be=Q.duration;return ne.box(ne.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255,be>>>24&255,be>>>16&255,be>>>8&255,be&255,85,196,0,0]))}},{key:"hdlr",value:function(Q){var te=null;return Q.type==="audio"?te=ne.constants.HDLR_AUDIO:te=ne.constants.HDLR_VIDEO,ne.box(ne.types.hdlr,te)}},{key:"minf",value:function(Q){var te=null;return Q.type==="audio"?te=ne.box(ne.types.smhd,ne.constants.SMHD):te=ne.box(ne.types.vmhd,ne.constants.VMHD),ne.box(ne.types.minf,te,ne.dinf(),ne.stbl(Q))}},{key:"dinf",value:function(){var Q=ne.box(ne.types.dinf,ne.box(ne.types.dref,ne.constants.DREF));return Q}},{key:"stbl",value:function(Q){var te=ne.box(ne.types.stbl,ne.stsd(Q),ne.box(ne.types.stts,ne.constants.STTS),ne.box(ne.types.stsc,ne.constants.STSC),ne.box(ne.types.stsz,ne.constants.STSZ),ne.box(ne.types.stco,ne.constants.STCO));return te}},{key:"stsd",value:function(Q){return Q.type==="audio"?Q.codec==="mp3"?ne.box(ne.types.stsd,ne.constants.STSD_PREFIX,ne.mp3(Q)):ne.box(ne.types.stsd,ne.constants.STSD_PREFIX,ne.mp4a(Q)):ne.box(ne.types.stsd,ne.constants.STSD_PREFIX,ne.avc1(Q))}},{key:"mp3",value:function(Q){var te=Q.channelCount,be=Q.audioSampleRate,Ie=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,te,0,16,0,0,0,0,be>>>8&255,be&255,0,0]);return ne.box(ne.types[".mp3"],Ie)}},{key:"mp4a",value:function(Q){var te=Q.channelCount,be=Q.audioSampleRate,Ie=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,te,0,16,0,0,0,0,be>>>8&255,be&255,0,0]);return ne.box(ne.types.mp4a,Ie,ne.esds(Q))}},{key:"esds",value:function(Q){var te=Q.config||[],be=te.length,Ie=new Uint8Array([0,0,0,0,3,23+be,0,1,0,4,15+be,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([be]).concat(te).concat([6,1,2]));return ne.box(ne.types.esds,Ie)}},{key:"avc1",value:function(Q){var te=Q.avcc,be=Q.codecWidth,Ie=Q.codecHeight,Re=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,be>>>8&255,be&255,Ie>>>8&255,Ie&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 ne.box(ne.types.avc1,Re,ne.box(ne.types.avcC,te))}},{key:"mvex",value:function(Q){return ne.box(ne.types.mvex,ne.trex(Q))}},{key:"trex",value:function(Q){var te=Q.id,be=new Uint8Array([0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ne.box(ne.types.trex,be)}},{key:"moof",value:function(Q,te){return ne.box(ne.types.moof,ne.mfhd(Q.sequenceNumber),ne.traf(Q,te))}},{key:"mfhd",value:function(Q){var te=new Uint8Array([0,0,0,0,Q>>>24&255,Q>>>16&255,Q>>>8&255,Q&255]);return ne.box(ne.types.mfhd,te)}},{key:"traf",value:function(Q,te){var be=Q.id,Ie=ne.box(ne.types.tfhd,new Uint8Array([0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255])),Re=ne.box(ne.types.tfdt,new Uint8Array([0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255])),$e=ne.sdtp(Q),gt=ne.trun(Q,$e.byteLength+16+16+8+16+8+8);return ne.box(ne.types.traf,Ie,Re,gt,$e)}},{key:"sdtp",value:function(Q){for(var te=Q.samples||[],be=te.length,Ie=new Uint8Array(4+be),Re=0;Re<be;Re++){var $e=te[Re].flags;Ie[Re+4]=$e.isLeading<<6|$e.dependsOn<<4|$e.isDependedOn<<2|$e.hasRedundancy}return ne.box(ne.types.sdtp,Ie)}},{key:"trun",value:function(Q,te){var be=Q.samples||[],Ie=be.length,Re=12+16*Ie,$e=new Uint8Array(Re);te+=8+Re,$e.set([0,0,15,1,Ie>>>24&255,Ie>>>16&255,Ie>>>8&255,Ie&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255],0);for(var gt=0;gt<Ie;gt++){var Wt=be[gt].duration,$t=be[gt].size,Dt=be[gt].flags,Kt=be[gt].cts;$e.set([Wt>>>24&255,Wt>>>16&255,Wt>>>8&255,Wt&255,$t>>>24&255,$t>>>16&255,$t>>>8&255,$t&255,Dt.isLeading<<2|Dt.dependsOn,Dt.isDependedOn<<6|Dt.hasRedundancy<<4|Dt.isNonSync,0,0,Kt>>>24&255,Kt>>>16&255,Kt>>>8&255,Kt&255],12+16*gt)}return ne.box(ne.types.trun,$e)}},{key:"mdat",value:function(Q){return ne.box(ne.types.mdat,Q)}}]),ne}();Be.init();var Rt=Be,He=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"getSilentFrame",value:function(Q,te){if(Q==="mp4a.40.2"){if(te===1)return new Uint8Array([0,200,0,128,35,128]);if(te===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(te===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(te===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(te===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(te===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(te===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(te===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(te===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}}]),ne}(),wt=He,Ge=function ne(he,Q,te,be,Ie){Object(g.a)(this,ne),this.dts=he,this.pts=Q,this.duration=te,this.originalDts=be,this.isSyncPoint=Ie,this.fileposition=null},et=function(){function ne(){Object(g.a)(this,ne),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(f.a)(ne,[{key:"appendSyncPoint",value:function(Q){Q.isSyncPoint=!0,this.syncPoints.push(Q)}}]),ne}(),rt=function(){function ne(){Object(g.a)(this,ne),this._list=[]}return Object(f.a)(ne,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Q){var te=this._list;if(Q.length===0)return;te.length>0&&Q[0].originalDts<te[te.length-1].originalDts&&this.clear(),Array.prototype.push.apply(te,Q)}},{key:"getLastSyncPointBeforeDts",value:function(Q){if(this._list.length==0)return null;var te=this._list,be=0,Ie=te.length-1,Re=0,$e=0,gt=Ie;for(Q<te[0].dts&&(be=0,$e=gt+1);$e<=gt;)if(Re=$e+Math.floor((gt-$e)/2),Re===Ie||Q>=te[Re].dts&&Q<te[Re+1].dts){be=Re;break}else te[Re].dts<Q?$e=Re+1:gt=Re-1;return this._list[be]}}]),ne}(),lt=function(){function ne(he){Object(g.a)(this,ne),this._type=he,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(ne,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(Q){var te=this._list;if(te.length===0)return-2;var be=te.length-1,Ie=0,Re=0,$e=be,gt=0;if(Q<te[0].originalBeginDts)return gt=-1,gt;for(;Re<=$e;)if(Ie=Re+Math.floor(($e-Re)/2),Ie===be||Q>te[Ie].lastSample.originalDts&&Q<te[Ie+1].originalBeginDts){gt=Ie;break}else te[Ie].originalBeginDts<Q?Re=Ie+1:$e=Ie-1;return gt}},{key:"_searchNearestSegmentAfter",value:function(Q){return this._searchNearestSegmentBefore(Q)+1}},{key:"append",value:function(Q){var te=this._list,be=Q,Ie=this._lastAppendLocation,Re=0;Ie!==-1&&Ie<te.length&&be.originalBeginDts>=te[Ie].lastSample.originalDts&&(Ie===te.length-1||Ie<te.length-1&&be.originalBeginDts<te[Ie+1].originalBeginDts)?Re=Ie+1:te.length>0&&(Re=this._searchNearestSegmentBefore(be.originalBeginDts)+1),this._lastAppendLocation=Re,this._list.splice(Re,0,be)}},{key:"getLastSegmentBefore",value:function(Q){var te=this._searchNearestSegmentBefore(Q);return te>=0?this._list[te]:null}},{key:"getLastSampleBefore",value:function(Q){var te=this.getLastSegmentBefore(Q);return te!=null?te.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Q){for(var te=this._searchNearestSegmentBefore(Q),be=this._list[te].syncPoints;be.length===0&&te>0;)te--,be=this._list[te].syncPoints;return be.length>0?be[be.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),ne}(),Ve=function(){function ne(he){Object(g.a)(this,ne),this.TAG="MP4Remuxer",this._config=he,this._isLive=he.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new lt("audio"),this._videoSegmentInfoList=new lt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(L.chrome&&(L.version.major<50||L.version.major===50&&L.version.build<2661)),this._fillSilentAfterSeek=L.msedge||L.msie,this._mp3UseMpegAudio=!L.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(ne,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(Q){return Q.onDataAvailable=this.remux.bind(this),Q.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Q){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Q,te){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Q,te),this._remuxVideo(te),this._remuxAudio(Q)}},{key:"_onTrackMetadataReceived",value:function(Q,te){var be=null,Ie="mp4",Re=te.codec;if(Q==="audio")this._audioMeta=te,te.codec==="mp3"&&this._mp3UseMpegAudio?(Ie="mpeg",Re="",be=new Uint8Array):be=Rt.generateInitSegment(te);else if(Q==="video")this._videoMeta=te,be=Rt.generateInitSegment(te);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Q,{type:Q,data:be.buffer,codec:Re,container:"".concat(Q,"/").concat(Ie),mediaDuration:te.duration})}},{key:"_calculateDtsBase",value:function(Q,te){if(this._dtsBaseInited)return;Q.samples&&Q.samples.length&&(this._audioDtsBase=Q.samples[0].dts),te.samples&&te.samples.length&&(this._videoDtsBase=te.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Q=this._videoStashedLastSample,te=this._audioStashedLastSample,be={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Q!=null&&(be.samples.push(Q),be.length=Q.length);var Ie={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};te!=null&&(Ie.samples.push(te),Ie.length=te.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(be,!0),this._remuxAudio(Ie,!0)}},{key:"_remuxAudio",value:function(Q,te){if(this._audioMeta==null)return;var be=Q,Ie=be.samples,Re=void 0,$e=-1,gt=-1,Wt=-1,$t=this._audioMeta.refSampleDuration,Dt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Kt=this._dtsBaseInited&&this._audioNextDts===void 0,Gt=!1;if(!Ie||Ie.length===0)return;if(Ie.length===1&&!te)return;var Qt=0,Mt=null,dr=0;Dt?(Qt=0,dr=be.length):(Qt=8,dr=8+be.length);var er=null;if(Ie.length>1&&(er=Ie.pop(),dr-=er.length),this._audioStashedLastSample!=null){var st=this._audioStashedLastSample;this._audioStashedLastSample=null,Ie.unshift(st),dr+=st.length}er!=null&&(this._audioStashedLastSample=er);var xt=Ie[0].dts-this._dtsBase;if(this._audioNextDts)Re=xt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Re=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Gt=!0));else{var ut=this._audioSegmentInfoList.getLastSampleBefore(xt);if(ut!=null){var pt=xt-(ut.originalDts+ut.duration);pt<=3&&(pt=0);var _t=ut.dts+ut.duration+pt;Re=xt-_t}else Re=0}if(Gt){var Tt=xt-Re,ft=this._videoSegmentInfoList.getLastSegmentBefore(xt);if(ft!=null&&ft.beginDts<Tt){var Ht=wt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Ht){var kt=ft.beginDts,ir=Tt-ft.beginDts;o.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(kt,", duration: ").concat(ir)),Ie.unshift({unit:Ht,dts:kt,pts:kt}),dr+=Ht.byteLength}}else Gt=!1}for(var Xt=[],mr=0;mr<Ie.length;mr++){var Ar=Ie[mr],Nr=Ar.unit,kr=Ar.dts-this._dtsBase,tn=kr-Re;$e===-1&&($e=tn);var qr=0;if(mr!==Ie.length-1){var Lr=Ie[mr+1].dts-this._dtsBase-Re;qr=Lr-tn}else if(er!=null){var Qr=er.dts-this._dtsBase-Re;qr=Qr-tn}else Xt.length>=1?qr=Xt[Xt.length-1].duration:qr=Math.floor($t);var Ir=!1,ur=null;if(qr>$t*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!L.safari){Ir=!0;var pr=Math.abs(qr-$t),cr=Math.ceil(pr/$t),fr=tn+$t;o.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
`+"dts: ".concat(tn+qr," ms, expected: ").concat(tn+Math.round($t)," ms, ")+"delta: ".concat(Math.round(pr)," ms, generate: ").concat(cr," frames"));var xr=wt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);xr==null&&(o.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),xr=Nr),ur=[];for(var Yr=0;Yr<cr;Yr++){var un=Math.round(fr);if(ur.length>0){var Nn=ur[ur.length-1];Nn.duration=un-Nn.dts}var jr={dts:un,pts:un,cts:0,unit:xr,size:xr.byteLength,duration:0,originalDts:kr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ur.push(jr),dr+=jr.size,fr+=$t}var Tn=ur[ur.length-1];Tn.duration=tn+qr-Tn.dts,qr=Math.round($t)}Xt.push({dts:tn,pts:tn,cts:0,unit:Ar.unit,size:Ar.unit.byteLength,duration:qr,originalDts:kr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ir&&Xt.push.apply(Xt,ur)}Dt?Mt=new Uint8Array(dr):(Mt=new Uint8Array(dr),Mt[0]=dr>>>24&255,Mt[1]=dr>>>16&255,Mt[2]=dr>>>8&255,Mt[3]=dr&255,Mt.set(Rt.types.mdat,4));for(var gn=0;gn<Xt.length;gn++){var Pn=Xt[gn].unit;Mt.set(Pn,Qt),Qt+=Pn.byteLength}var zn=Xt[Xt.length-1];gt=zn.dts+zn.duration,this._audioNextDts=gt;var qn=new et;qn.beginDts=$e,qn.endDts=gt,qn.beginPts=$e,qn.endPts=gt,qn.originalBeginDts=Xt[0].originalDts,qn.originalEndDts=zn.originalDts+zn.duration,qn.firstSample=new Ge(Xt[0].dts,Xt[0].pts,Xt[0].duration,Xt[0].originalDts,!1),qn.lastSample=new Ge(zn.dts,zn.pts,zn.duration,zn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(qn),be.samples=Xt,be.sequenceNumber++;var Yn=null;Dt?Yn=new Uint8Array:Yn=Rt.moof(be,$e),be.samples=[],be.length=0;var Vn={type:"audio",data:this._mergeBoxes(Yn,Mt).buffer,sampleCount:Xt.length,info:qn};Dt&&Kt&&(Vn.timestampOffset=$e),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function(Q,te){if(this._videoMeta==null)return;var be=Q,Ie=be.samples,Re=void 0,$e=-1,gt=-1,Wt=-1,$t=-1;if(!Ie||Ie.length===0)return;if(Ie.length===1&&!te)return;var Dt=8,Kt=null,Gt=8+Q.length,Qt=null;if(Ie.length>1&&(Qt=Ie.pop(),Gt-=Qt.length),this._videoStashedLastSample!=null){var Mt=this._videoStashedLastSample;this._videoStashedLastSample=null,Ie.unshift(Mt),Gt+=Mt.length}Qt!=null&&(this._videoStashedLastSample=Qt);var dr=Ie[0].dts-this._dtsBase;if(this._videoNextDts)Re=dr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Re=0;else{var er=this._videoSegmentInfoList.getLastSampleBefore(dr);if(er!=null){var st=dr-(er.originalDts+er.duration);st<=3&&(st=0);var xt=er.dts+er.duration+st;Re=dr-xt}else Re=0}for(var ut=new et,pt=[],_t=0;_t<Ie.length;_t++){var Tt=Ie[_t],ft=Tt.dts-this._dtsBase,Ht=Tt.isKeyframe,kt=ft-Re,ir=Tt.cts,Xt=kt+ir;$e===-1&&($e=kt,Wt=Xt);var mr=0;if(_t!==Ie.length-1){var Ar=Ie[_t+1].dts-this._dtsBase-Re;mr=Ar-kt}else if(Qt!=null){var Nr=Qt.dts-this._dtsBase-Re;mr=Nr-kt}else pt.length>=1?mr=pt[pt.length-1].duration:mr=Math.floor(this._videoMeta.refSampleDuration);if(Ht){var kr=new Ge(kt,Xt,mr,Tt.dts,!0);kr.fileposition=Tt.fileposition,ut.appendSyncPoint(kr)}pt.push({dts:kt,pts:Xt,cts:ir,units:Tt.units,size:Tt.length,isKeyframe:Ht,duration:mr,originalDts:ft,flags:{isLeading:0,dependsOn:Ht?2:1,isDependedOn:Ht?1:0,hasRedundancy:0,isNonSync:Ht?0:1}})}Kt=new Uint8Array(Gt),Kt[0]=Gt>>>24&255,Kt[1]=Gt>>>16&255,Kt[2]=Gt>>>8&255,Kt[3]=Gt&255,Kt.set(Rt.types.mdat,4);for(var tn=0;tn<pt.length;tn++)for(var qr=pt[tn].units;qr.length;){var Lr=qr.shift(),Qr=Lr.data;Kt.set(Qr,Dt),Dt+=Qr.byteLength}var Ir=pt[pt.length-1];if(gt=Ir.dts+Ir.duration,$t=Ir.pts+Ir.duration,this._videoNextDts=gt,ut.beginDts=$e,ut.endDts=gt,ut.beginPts=Wt,ut.endPts=$t,ut.originalBeginDts=pt[0].originalDts,ut.originalEndDts=Ir.originalDts+Ir.duration,ut.firstSample=new Ge(pt[0].dts,pt[0].pts,pt[0].duration,pt[0].originalDts,pt[0].isKeyframe),ut.lastSample=new Ge(Ir.dts,Ir.pts,Ir.duration,Ir.originalDts,Ir.isKeyframe),this._isLive||this._videoSegmentInfoList.append(ut),be.samples=pt,be.sequenceNumber++,this._forceFirstIDR){var ur=pt[0].flags;ur.dependsOn=2,ur.isNonSync=0}var pr=Rt.moof(be,$e);be.samples=[],be.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,Kt).buffer,sampleCount:pt.length,info:ut})}},{key:"_mergeBoxes",value:function(Q,te){var be=new Uint8Array(Q.byteLength+te.byteLength);return be.set(Q,0),be.set(te,Q.byteLength),be}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Q){this._onInitSegment=Q}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Q){this._onMediaSegment=Q}}]),ne}(),ie=Ve,$={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},it=$,Qe=function(){function ne(he,Q){Object(g.a)(this,ne),this.TAG="TransmuxingController",this._emitter=new h.a,this._config=Q,he.segments||(he.segments=[{duration:he.duration,filesize:he.filesize,url:he.url}]),typeof he.cors!="boolean"&&(he.cors=!0),typeof he.withCredentials!="boolean"&&(he.withCredentials=!1),this._mediaDataSource=he,this._currentSegmentIndex=0;var te=0;this._mediaDataSource.segments.forEach(function(be){be.timestampBase=te,te+=be.duration,be.cors=he.cors,be.withCredentials=he.withCredentials,Q.referrerPolicy&&(be.referrerPolicy=Q.referrerPolicy)}),!isNaN(te)&&this._mediaDataSource.duration!==te&&(this._mediaDataSource.duration=te),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(f.a)(ne,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Q,te){this._emitter.addListener(Q,te)}},{key:"off",value:function(Q,te){this._emitter.removeListener(Q,te)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(Q,te){this._currentSegmentIndex=Q;var be=this._mediaDataSource.segments[Q],Ie=this._ioctl=new z(be,this._config,Q);Ie.onError=this._onIOException.bind(this),Ie.onSeeked=this._onIOSeeked.bind(this),Ie.onComplete=this._onIOComplete.bind(this),Ie.onRedirect=this._onIORedirect.bind(this),Ie.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),te?this._demuxer.bindDataSource(this._ioctl):Ie.onDataArrival=this._onInitChunkArrival.bind(this),Ie.open(te)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function(Q){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var te=this._searchSegmentIndexContains(Q);if(te===this._currentSegmentIndex){var be=this._mediaInfo.segments[te];if(be==null)this._pendingSeekTime=Q;else{var Ie=be.getNearestKeyframe(Q);this._remuxer.seek(Ie.milliseconds),this._ioctl.seek(Ie.fileposition),this._pendingResolveSeekPoint=Ie.milliseconds}}else{var Re=this._mediaInfo.segments[te];if(Re==null)this._pendingSeekTime=Q,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(te);else{var $e=Re.getNearestKeyframe(Q);this._internalAbort(),this._remuxer.seek(Q),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[te].timestampBase,this._loadSegment(te,$e.fileposition),this._pendingResolveSeekPoint=$e.milliseconds,this._reportSegmentMediaInfo(te)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(Q){for(var te=this._mediaDataSource.segments,be=te.length-1,Ie=0;Ie<te.length;Ie++)if(Q<te[Ie].timestampBase){be=Ie-1;break}return be}},{key:"_onInitChunkArrival",value:function(Q,te){var be=this,Ie=null,Re=0;if(te>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Re=this._demuxer.parseChunks(Q,te);else if((Ie=Ct.probe(Q)).match){this._demuxer=new Ct(Ie,this._config),this._remuxer||(this._remuxer=new ie(this._config));var $e=this._mediaDataSource;$e.duration!=null&&!isNaN($e.duration)&&(this._demuxer.overridedDuration=$e.duration),typeof $e.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=$e.hasAudio),typeof $e.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=$e.hasVideo),this._demuxer.timestampBase=$e.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),Re=this._demuxer.parseChunks(Q,te)}else Ie=null,o.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){be._internalAbort()}),this._emitter.emit(it.DEMUX_ERROR,ae.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Re=0;return Re}},{key:"_onMediaInfo",value:function(Q){var te=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Q),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,dt.prototype));var be=Object.assign({},Q);Object.setPrototypeOf(be,dt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=be,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var Ie=te._pendingSeekTime;te._pendingSeekTime=null,te.seek(Ie)})}},{key:"_onMetaDataArrived",value:function(Q){this._emitter.emit(it.METADATA_ARRIVED,Q)}},{key:"_onScriptDataArrived",value:function(Q){this._emitter.emit(it.SCRIPTDATA_ARRIVED,Q)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Q){var te=Q,be=te+1;be<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(be)):(this._remuxer.flushStashedSamples(),this._emitter.emit(it.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(Q){var te=this._ioctl.extraData;this._mediaDataSource.segments[te].redirectedURL=Q}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(it.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(Q,te){o.e(this.TAG,"IOException: type = ".concat(Q,", code = ").concat(te.code,", msg = ").concat(te.msg)),this._emitter.emit(it.IO_ERROR,Q,te),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(Q,te){o.e(this.TAG,"DemuxException: type = ".concat(Q,", info = ").concat(te)),this._emitter.emit(it.DEMUX_ERROR,Q,te)}},{key:"_onRemuxerInitSegmentArrival",value:function(Q,te){this._emitter.emit(it.INIT_SEGMENT,Q,te)}},{key:"_onRemuxerMediaSegmentArrival",value:function(Q,te){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(it.MEDIA_SEGMENT,Q,te),this._pendingResolveSeekPoint!=null&&Q==="video"){var be=te.info.syncPoints,Ie=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,L.safari&&be.length>0&&be[0].originalDts===Ie&&(Ie=be[0].pts),this._emitter.emit(it.RECOMMEND_SEEKPOINT,Ie)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(Q){var te=this._mediaInfo.segments[Q],be=Object.assign({},te);be.duration=this._mediaInfo.duration,be.segmentCount=this._mediaInfo.segmentCount,delete be.segments,delete be.keyframesIndex,this._emitter.emit(it.MEDIA_INFO,be)}},{key:"_reportStatisticsInfo",value:function(){var Q={};Q.url=this._ioctl.currentURL,Q.hasRedirect=this._ioctl.hasRedirect,Q.hasRedirect&&(Q.redirectedURL=this._ioctl.currentRedirectedURL),Q.speed=this._ioctl.currentSpeed,Q.loaderType=this._ioctl.loaderType,Q.currentSegmentIndex=this._currentSegmentIndex,Q.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(it.STATISTICS_INFO,Q)}}]),ne}(),ye=Qe,Zt=function(he){var Q="TransmuxingWorker",te=null,be=dr.bind(this);m.install(),he.addEventListener("message",function(er){switch(er.data.cmd){case"init":te=new ye(er.data.param[0],er.data.param[1]),te.on(it.IO_ERROR,Gt.bind(this)),te.on(it.DEMUX_ERROR,Qt.bind(this)),te.on(it.INIT_SEGMENT,Ie.bind(this)),te.on(it.MEDIA_SEGMENT,Re.bind(this)),te.on(it.LOADING_COMPLETE,$e.bind(this)),te.on(it.RECOVERED_EARLY_EOF,gt.bind(this)),te.on(it.MEDIA_INFO,Wt.bind(this)),te.on(it.METADATA_ARRIVED,$t.bind(this)),te.on(it.SCRIPTDATA_ARRIVED,Dt.bind(this)),te.on(it.STATISTICS_INFO,Kt.bind(this)),te.on(it.RECOMMEND_SEEKPOINT,Mt.bind(this));break;case"destroy":te&&(te.destroy(),te=null),he.postMessage({msg:"destroyed"});break;case"start":te.start();break;case"stop":te.stop();break;case"seek":te.seek(er.data.param);break;case"pause":te.pause();break;case"resume":te.resume();break;case"logging_config":{var st=er.data.param;Fe.applyConfig(st),st.enableCallback===!0?Fe.addLogListener(be):Fe.removeLogListener(be);break}}});function Ie(er,st){var xt={msg:it.INIT_SEGMENT,data:{type:er,data:st}};he.postMessage(xt,[st.data])}function Re(er,st){var xt={msg:it.MEDIA_SEGMENT,data:{type:er,data:st}};he.postMessage(xt,[st.data])}function $e(){var er={msg:it.LOADING_COMPLETE};he.postMessage(er)}function gt(){var er={msg:it.RECOVERED_EARLY_EOF};he.postMessage(er)}function Wt(er){var st={msg:it.MEDIA_INFO,data:er};he.postMessage(st)}function $t(er){var st={msg:it.METADATA_ARRIVED,data:er};he.postMessage(st)}function Dt(er){var st={msg:it.SCRIPTDATA_ARRIVED,data:er};he.postMessage(st)}function Kt(er){var st={msg:it.STATISTICS_INFO,data:er};he.postMessage(st)}function Gt(er,st){he.postMessage({msg:it.IO_ERROR,data:{type:er,info:st}})}function Qt(er,st){he.postMessage({msg:it.DEMUX_ERROR,data:{type:er,info:st}})}function Mt(er){he.postMessage({msg:it.RECOMMEND_SEEKPOINT,data:er})}function dr(er,st){he.postMessage({msg:"logcat_callback",data:{type:er,logcat:st}})}},ht=Zt,ct=function(){function ne(he,Q){if(Object(g.a)(this,ne),this.TAG="Transmuxer",this._emitter=new h.a,Q.enableWorker&&typeof Worker!="undefined")try{var te=e("0r65");this._worker=te(ht),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[he,Q]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Fe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Fe.getConfig()})}catch(Ie){o.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ye(he,Q)}else this._controller=new ye(he,Q);if(this._controller){var be=this._controller;be.on(it.IO_ERROR,this._onIOError.bind(this)),be.on(it.DEMUX_ERROR,this._onDemuxError.bind(this)),be.on(it.INIT_SEGMENT,this._onInitSegment.bind(this)),be.on(it.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),be.on(it.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),be.on(it.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),be.on(it.MEDIA_INFO,this._onMediaInfo.bind(this)),be.on(it.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),be.on(it.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),be.on(it.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),be.on(it.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(ne,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Fe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Q,te){this._emitter.addListener(Q,te)}},{key:"off",value:function(Q,te){this._emitter.removeListener(Q,te)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(Q){this._worker?this._worker.postMessage({cmd:"seek",param:Q}):this._controller.seek(Q)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(Q,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.INIT_SEGMENT,Q,te)})}},{key:"_onMediaSegment",value:function(Q,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.MEDIA_SEGMENT,Q,te)})}},{key:"_onLoadingComplete",value:function(){var Q=this;Promise.resolve().then(function(){Q._emitter.emit(it.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Q=this;Promise.resolve().then(function(){Q._emitter.emit(it.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Q){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.MEDIA_INFO,Q)})}},{key:"_onMetaDataArrived",value:function(Q){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.METADATA_ARRIVED,Q)})}},{key:"_onScriptDataArrived",value:function(Q){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.SCRIPTDATA_ARRIVED,Q)})}},{key:"_onStatisticsInfo",value:function(Q){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.STATISTICS_INFO,Q)})}},{key:"_onIOError",value:function(Q,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.IO_ERROR,Q,te)})}},{key:"_onDemuxError",value:function(Q,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.DEMUX_ERROR,Q,te)})}},{key:"_onRecommendSeekpoint",value:function(Q){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.RECOMMEND_SEEKPOINT,Q)})}},{key:"_onLoggingConfigChanged",value:function(Q){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Q})}},{key:"_onWorkerMessage",value:function(Q){var te=Q.data,be=te.data;if(te.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(te.msg){case it.INIT_SEGMENT:case it.MEDIA_SEGMENT:this._emitter.emit(te.msg,be.type,be.data);break;case it.LOADING_COMPLETE:case it.RECOVERED_EARLY_EOF:this._emitter.emit(te.msg);break;case it.MEDIA_INFO:Object.setPrototypeOf(be,dt.prototype),this._emitter.emit(te.msg,be);break;case it.METADATA_ARRIVED:case it.SCRIPTDATA_ARRIVED:case it.STATISTICS_INFO:this._emitter.emit(te.msg,be);break;case it.IO_ERROR:case it.DEMUX_ERROR:this._emitter.emit(te.msg,be.type,be.info);break;case it.RECOMMEND_SEEKPOINT:this._emitter.emit(te.msg,be);break;case"logcat_callback":o.emitter.emit("log",be.type,be.logcat);break;default:break}}}]),ne}(),yt=ct,It={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},or=It,Bt=function(){function ne(he){Object(g.a)(this,ne),this.TAG="MSEController",this._config=he,this._emitter=new h.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new rt}return Object(f.a)(ne,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Q,te){this._emitter.addListener(Q,te)}},{key:"off",value:function(Q,te){this._emitter.removeListener(Q,te)}},{key:"attachMediaElement",value:function(Q){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var te=this._mediaSource=new window.MediaSource;te.addEventListener("sourceopen",this.e.onSourceOpen),te.addEventListener("sourceended",this.e.onSourceEnded),te.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Q,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Q.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Q=this._mediaSource;for(var te in this._sourceBuffers){var be=this._pendingSegments[te];be.splice(0,be.length),this._pendingSegments[te]=null,this._pendingRemoveRanges[te]=null,this._lastInitSegments[te]=null;var Ie=this._sourceBuffers[te];if(Ie){if(Q.readyState!=="closed"){try{Q.removeSourceBuffer(Ie)}catch(Re){o.e(this.TAG,Re.message)}Ie.removeEventListener("error",this.e.onSourceBufferError),Ie.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[te]=null,this._sourceBuffers[te]=null}}if(Q.readyState==="open")try{Q.endOfStream()}catch(Re){o.e(this.TAG,Re.message)}Q.removeEventListener("sourceopen",this.e.onSourceOpen),Q.removeEventListener("sourceended",this.e.onSourceEnded),Q.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(Q,te){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Q),this._pendingSegments[Q.type].push(Q);return}var be=Q,Ie="".concat(be.container);be.codec&&be.codec.length>0&&(Ie+=";codecs=".concat(be.codec));var Re=!1;if(o.v(this.TAG,"Received Initialization Segment, mimeType: "+Ie),this._lastInitSegments[be.type]=be,Ie!==this._mimeTypes[be.type]){if(this._mimeTypes[be.type])o.v(this.TAG,"Notice: ".concat(be.type," mimeType changed, origin: ").concat(this._mimeTypes[be.type],", target: ").concat(Ie));else{Re=!0;try{var $e=this._sourceBuffers[be.type]=this._mediaSource.addSourceBuffer(Ie);$e.addEventListener("error",this.e.onSourceBufferError),$e.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(gt){o.e(this.TAG,gt.message),this._emitter.emit(or.ERROR,{code:gt.code,msg:gt.message});return}}this._mimeTypes[be.type]=Ie}te||this._pendingSegments[be.type].push(be),Re||this._sourceBuffers[be.type]&&!this._sourceBuffers[be.type].updating&&this._doAppendSegments(),L.safari&&be.container==="audio/mpeg"&&be.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=be.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Q){var te=Q;this._pendingSegments[te.type].push(te),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var be=this._sourceBuffers[te.type];be&&!be.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Q){for(var te in this._sourceBuffers){if(!this._sourceBuffers[te])continue;var be=this._sourceBuffers[te];if(this._mediaSource.readyState==="open")try{be.abort()}catch($t){o.e(this.TAG,$t.message)}this._idrList.clear();var Ie=this._pendingSegments[te];if(Ie.splice(0,Ie.length),this._mediaSource.readyState==="closed")continue;for(var Re=0;Re<be.buffered.length;Re++){var $e=be.buffered.start(Re),gt=be.buffered.end(Re);this._pendingRemoveRanges[te].push({start:$e,end:gt})}if(be.updating||this._doRemoveRanges(),L.safari){var Wt=this._lastInitSegments[te];Wt&&(this._pendingSegments[te].push(Wt),be.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Q=this._mediaSource,te=this._sourceBuffers;if(!Q||Q.readyState!=="open"){Q&&Q.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}te.video&&te.video.updating||te.audio&&te.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Q.endOfStream())}},{key:"getNearestKeyframe",value:function(Q){return this._idrList.getLastSyncPointBeforeDts(Q)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Q=this._mediaElement.currentTime;for(var te in this._sourceBuffers){var be=this._sourceBuffers[te];if(be){var Ie=be.buffered;if(Ie.length>=1&&Q-Ie.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Q=this._mediaElement.currentTime;for(var te in this._sourceBuffers){var be=this._sourceBuffers[te];if(be){for(var Ie=be.buffered,Re=!1,$e=0;$e<Ie.length;$e++){var gt=Ie.start($e),Wt=Ie.end($e);if(gt<=Q&&Q<Wt+3){if(Q-gt>=this._config.autoCleanupMaxBackwardDuration){Re=!0;var $t=Q-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[te].push({start:gt,end:$t})}}else Wt<Q&&(Re=!0,this._pendingRemoveRanges[te].push({start:gt,end:Wt}))}Re&&!be.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var Q=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(Q.video&&Q.video.updating||Q.audio&&Q.audio.updating)return;var te=this._mediaSource.duration,be=this._pendingMediaDuration;be>0&&(isNaN(te)||be>te)&&(o.v(this.TAG,"Update MediaSource duration from ".concat(te," to ").concat(be)),this._mediaSource.duration=be),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Q in this._pendingRemoveRanges){if(!this._sourceBuffers[Q]||this._sourceBuffers[Q].updating)continue;for(var te=this._sourceBuffers[Q],be=this._pendingRemoveRanges[Q];be.length&&!te.updating;){var Ie=be.shift();te.remove(Ie.start,Ie.end)}}}},{key:"_doAppendSegments",value:function(){var Q=this._pendingSegments;for(var te in Q){if(!this._sourceBuffers[te]||this._sourceBuffers[te].updating)continue;if(Q[te].length>0){var be=Q[te].shift();if(be.timestampOffset){var Ie=this._sourceBuffers[te].timestampOffset,Re=be.timestampOffset/1e3,$e=Math.abs(Ie-Re);$e>.1&&(o.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(Ie," to ").concat(Re)),this._sourceBuffers[te].timestampOffset=Re),delete be.timestampOffset}if(!be.data||be.data.byteLength===0)continue;try{this._sourceBuffers[te].appendBuffer(be.data),this._isBufferFull=!1,te==="video"&&be.hasOwnProperty("info")&&this._idrList.appendArray(be.info.syncPoints)}catch(gt){this._pendingSegments[te].unshift(be),gt.code===22?(this._isBufferFull||this._emitter.emit(or.BUFFER_FULL),this._isBufferFull=!0):(o.e(this.TAG,gt.message),this._emitter.emit(or.ERROR,{code:gt.code,msg:gt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(o.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Q=this._pendingSourceBufferInit;Q.length;){var te=Q.shift();this.appendInitSegment(te,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(or.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){o.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){o.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var Q=this._pendingSegments;return Q.video.length>0||Q.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Q=this._pendingRemoveRanges;return Q.video.length>0||Q.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(or.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Q){o.e(this.TAG,"SourceBuffer Error: ".concat(Q))}}]),ne}(),Ae=Bt,ve={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},fe={NETWORK_EXCEPTION:p.EXCEPTION,NETWORK_STATUS_CODE_INVALID:p.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:p.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:p.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:ae.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:ae.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:ae.CODEC_UNSUPPORTED},ue=function(){function ne(he,Q){if(Object(g.a)(this,ne),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new h.a,this._config=G(),typeof Q=="object"&&Object.assign(this._config,Q),he.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");he.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=he,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var te=L.chrome&&(L.version.major<50||L.version.major===50&&L.version.build<2661);this._alwaysSeekKeyframe=!!(te||L.msedge||L.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(ne,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Q,te){var be=this;Q===we.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){be._emitter.emit(we.MEDIA_INFO,be.mediaInfo)}):Q===we.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){be._emitter.emit(we.STATISTICS_INFO,be.statisticsInfo)})),this._emitter.addListener(Q,te)}},{key:"off",value:function(Q,te){this._emitter.removeListener(Q,te)}},{key:"attachMediaElement",value:function(Q){var te=this;if(this._mediaElement=Q,Q.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Q.addEventListener("seeking",this.e.onvSeeking),Q.addEventListener("canplay",this.e.onvCanPlay),Q.addEventListener("stalled",this.e.onvStalled),Q.addEventListener("progress",this.e.onvProgress),this._msectl=new Ae(this._config),this._msectl.on(or.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(or.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(or.SOURCE_OPEN,function(){te._mseSourceOpened=!0,te._hasPendingLoad&&(te._hasPendingLoad=!1,te.load())}),this._msectl.on(or.ERROR,function(be){te._emitter.emit(we.ERROR,ve.MEDIA_ERROR,fe.MEDIA_MSE_ERROR,be)}),this._msectl.attachMediaElement(Q),this._pendingSeekTime!=null)try{Q.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(be){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var Q=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new yt(this._mediaDataSource,this._config),this._transmuxer.on(it.INIT_SEGMENT,function(te,be){Q._msectl.appendInitSegment(be)}),this._transmuxer.on(it.MEDIA_SEGMENT,function(te,be){if(Q._msectl.appendMediaSegment(be),Q._config.lazyLoad&&!Q._config.isLive){var Ie=Q._mediaElement.currentTime;be.info.endDts>=(Ie+Q._config.lazyLoadMaxDuration)*1e3&&(Q._progressChecker==null&&(o.v(Q.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Q._suspendTransmuxer()))}}),this._transmuxer.on(it.LOADING_COMPLETE,function(){Q._msectl.endOfStream(),Q._emitter.emit(we.LOADING_COMPLETE)}),this._transmuxer.on(it.RECOVERED_EARLY_EOF,function(){Q._emitter.emit(we.RECOVERED_EARLY_EOF)}),this._transmuxer.on(it.IO_ERROR,function(te,be){Q._emitter.emit(we.ERROR,ve.NETWORK_ERROR,te,be)}),this._transmuxer.on(it.DEMUX_ERROR,function(te,be){Q._emitter.emit(we.ERROR,ve.MEDIA_ERROR,te,{code:-1,msg:be})}),this._transmuxer.on(it.MEDIA_INFO,function(te){Q._mediaInfo=te,Q._emitter.emit(we.MEDIA_INFO,Object.assign({},te))}),this._transmuxer.on(it.METADATA_ARRIVED,function(te){Q._emitter.emit(we.METADATA_ARRIVED,te)}),this._transmuxer.on(it.SCRIPTDATA_ARRIVED,function(te){Q._emitter.emit(we.SCRIPTDATA_ARRIVED,te)}),this._transmuxer.on(it.STATISTICS_INFO,function(te){Q._statisticsInfo=Q._fillStatisticsInfo(te),Q._emitter.emit(we.STATISTICS_INFO,Object.assign({},Q._statisticsInfo))}),this._transmuxer.on(it.RECOMMEND_SEEKPOINT,function(te){Q._mediaElement&&!Q._config.accurateSeek&&(Q._requestSetTime=!0,Q._mediaElement.currentTime=te/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function(Q){if(Q.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Q;var te=!0,be=0,Ie=0;if(this._mediaElement.getVideoPlaybackQuality){var Re=this._mediaElement.getVideoPlaybackQuality();be=Re.totalVideoFrames,Ie=Re.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(be=this._mediaElement.webkitDecodedFrameCount,Ie=this._mediaElement.webkitDroppedFrameCount):te=!1;return te&&(Q.decodedFrames=be,Q.droppedFrames=Ie),Q}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Q=this._mediaElement.buffered,te=this._mediaElement.currentTime,be=0,Ie=0,Re=0;Re<Q.length;Re++){var $e=Q.start(Re),gt=Q.end(Re);if($e<=te&&te<gt){be=$e,Ie=gt;break}}Ie>=te+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(o.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){o.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var Q=this._mediaElement.currentTime,te=this._mediaElement.buffered,be=!1,Ie=0;Ie<te.length;Ie++){var Re=te.start(Ie),$e=te.end(Ie);if(Q>=Re&&Q<$e){Q>=$e-this._config.lazyLoadRecoverDuration&&(be=!0);break}}be&&(window.clearInterval(this._progressChecker),this._progressChecker=null,be&&(o.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Q){for(var te=this._mediaElement.buffered,be=0;be<te.length;be++){var Ie=te.start(be),Re=te.end(be);if(Q>=Ie&&Q<Re)return!0}return!1}},{key:"_internalSeek",value:function(Q){var te=this._isTimepointBuffered(Q),be=!1,Ie=0;if(Q<1&&this._mediaElement.buffered.length>0){var Re=this._mediaElement.buffered.start(0);(Re<1&&Q<Re||L.safari)&&(be=!0,Ie=L.safari?.1:Re)}if(be)this._requestSetTime=!0,this._mediaElement.currentTime=Ie;else if(te){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=Q;else{var $e=this._msectl.getNearestKeyframe(Math.floor(Q*1e3));this._requestSetTime=!0,$e!=null?this._mediaElement.currentTime=$e.dts/1e3:this._mediaElement.currentTime=Q}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(Q),this._transmuxer.seek(Math.floor(Q*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Q)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var Q=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(Q)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(Q),this._transmuxer.seek(Math.floor(Q*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Q))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(Q){var te=this._mediaElement;if(Q||!this._receivedCanPlay||te.readyState<2){var be=te.buffered;be.length>0&&te.currentTime<be.start(0)&&(o.w(this.TAG,"Playback seems stuck at ".concat(te.currentTime,", seek to ").concat(be.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=be.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Q){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Q){var te=this._mediaElement.currentTime,be=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(te<1&&be.length>0){var Ie=be.start(0);if(Ie<1&&te<Ie||L.safari){this._requestSetTime=!0,this._mediaElement.currentTime=L.safari?.1:Ie;return}}if(this._isTimepointBuffered(te)){if(this._alwaysSeekKeyframe){var Re=this._msectl.getNearestKeyframe(Math.floor(te*1e3));Re!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Re.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:te,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(Q){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(Q){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(Q){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Q){this._mediaElement.volume=Q}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Q){this._mediaElement.muted=Q}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Q){this._mediaElement?this._internalSeek(Q):this._pendingSeekTime=Q}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}}]),ne}(),Ne=ue,je=function(){function ne(he,Q){if(Object(g.a)(this,ne),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new h.a,this._config=G(),typeof Q=="object"&&Object.assign(this._config,Q),he.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(he.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(he.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=he,this._mediaElement=null}return Object(f.a)(ne,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Q,te){var be=this;Q===we.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){be._emitter.emit(we.MEDIA_INFO,be.mediaInfo)}):Q===we.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){be._emitter.emit(we.STATISTICS_INFO,be.statisticsInfo)})),this._emitter.addListener(Q,te)}},{key:"off",value:function(Q,te){this._emitter.removeListener(Q,te)}},{key:"attachMediaElement",value:function(Q){if(this._mediaElement=Q,Q.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{Q.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(te){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(Q){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(we.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(we.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Q){this._mediaElement.volume=Q}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Q){this._mediaElement.muted=Q}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Q){this._mediaElement?this._mediaElement.currentTime=Q:this._pendingSeekTime=Q}},{key:"mediaInfo",get:function(){var Q=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",te={mimeType:Q+this._mediaDataSource.type};return this._mediaElement&&(te.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(te.width=this._mediaElement.videoWidth,te.height=this._mediaElement.videoHeight)),te}},{key:"statisticsInfo",get:function(){var Q={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Q;var te=!0,be=0,Ie=0;if(this._mediaElement.getVideoPlaybackQuality){var Re=this._mediaElement.getVideoPlaybackQuality();be=Re.totalVideoFrames,Ie=Re.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(be=this._mediaElement.webkitDecodedFrameCount,Ie=this._mediaElement.webkitDroppedFrameCount):te=!1;return te&&(Q.decodedFrames=be,Q.droppedFrames=Ie),Q}}]),ne}(),Ke=je;m.install();function Ye(ne,he){var Q=ne;if(Q==null||typeof Q!="object")throw new t("MediaDataSource must be an javascript object!");if(!Q.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(Q.type){case"flv":return new Ne(Q,he);default:return new Ke(Q,he)}}function Pe(){return Y.supportMSEH264Playback()}function nt(){return Y.getFeatureList()}var At={};At.createPlayer=Ye,At.isSupported=Pe,At.getFeatureList=nt,At.BaseLoader=b,At.LoaderStatus=d,At.LoaderErrors=p,At.Events=we,At.ErrorTypes=ve,At.ErrorDetails=fe,At.FlvPlayer=Ne,At.NativePlayer=Ke,At.LoggingControl=Fe,Object.defineProperty(At,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ot=_.a=At},GVMX:function(D,_,e){var g=e("JEkh"),f=g.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});D.exports=f},GdRQ:function(D,_,e){"use strict";function g(T){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(y){return typeof y}:g=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},g(T)}Object.defineProperty(_,"__esModule",{value:!0}),_.isMac=d,_.isWindows=p,_.isIOS=b,_.isSafari=w,_.isIE=E,_.isEdge=S,_.isFirefox=x,_.hasScrollbarGutter=_.supportsImageMetadata=_.supportsCursorURIs=_.dragThreshold=_.isTouchDevice=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return A=function(){return T},T}function m(T){if(T&&T.__esModule)return T;if(T===null||g(T)!=="object"&&typeof T!="function")return{default:T};var L=A();if(L&&L.has(T))return L.get(T);var y={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in T)if(Object.prototype.hasOwnProperty.call(T,O)){var N=C?Object.getOwnPropertyDescriptor(T,O):null;N&&(N.get||N.set)?Object.defineProperty(y,O,N):y[O]=T[O]}return y.default=T,L&&L.set(T,y),y}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;_.isTouchDevice=v,window.addEventListener("touchstart",function T(){_.isTouchDevice=v=!0,window.removeEventListener("touchstart",T,!1)},!1);var h=10*(window.devicePixelRatio||1);_.dragThreshold=h;var c=!1;try{var o=document.createElement("canvas");o.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',o.style.cursor.indexOf("url")===0?(f.Info("Data URI scheme cursor supported"),c=!0):f.Warn("Data URI scheme cursor not supported")}catch(T){f.Error("Data URI scheme cursor test exception: "+T)}var i=c;_.supportsCursorURIs=i;var n=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),n=!0}catch(T){}var a=n;_.supportsImageMetadata=a;var u=!0;try{var r=document.createElement("div");r.style.visibility="hidden",r.style.overflow="scroll",document.body.appendChild(r);var l=document.createElement("div");r.appendChild(l);var t=r.offsetWidth-l.offsetWidth;r.parentNode.removeChild(r),u=t!=0}catch(T){f.Error("Scrollbar test exception: "+T)}var s=u;_.hasScrollbarGutter=s;function d(){return navigator&&!!/mac/i.exec(navigator.platform)}function p(){return navigator&&!!/win/i.exec(navigator.platform)}function b(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function w(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function E(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function S(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function x(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),A=e("IwbS"),m=e("y+Vt"),v=e("sK/D"),h=v.createClipPath,c=["itemStyle"],o=["emphasis","itemStyle"],i=["color","color0","borderColor","borderColor0"],n=f.extend({type:"candlestick",render:function(w,E,S){this.group.removeClipPath(),this._updateDrawMode(w),this._isLargeDraw?this._renderLarge(w):this._renderNormal(w)},incrementalPrepareRender:function(w,E,S){this._clear(),this._updateDrawMode(w)},incrementalRender:function(w,E,S,x){this._isLargeDraw?this._incrementalRenderLarge(w,E):this._incrementalRenderNormal(w,E)},_updateDrawMode:function(w){var E=w.pipelineContext.large;(this._isLargeDraw==null||E^this._isLargeDraw)&&(this._isLargeDraw=E,this._clear())},_renderNormal:function(w){var E=w.getData(),S=this._data,x=this.group,T=E.getLayout("isSimpleBox"),L=w.get("clip",!0),y=w.coordinateSystem,C=y.getArea&&y.getArea();this._data||x.removeAll(),E.diff(S).add(function(O){if(E.hasValue(O)){var N,k=E.getItemLayout(O);if(L&&r(C,k))return;N=u(k,O,!0),A.initProps(N,{shape:{points:k.ends}},w,O),l(N,E,O,T),x.add(N),E.setItemGraphicEl(O,N)}}).update(function(O,N){var k=S.getItemGraphicEl(N);if(!E.hasValue(O)){x.remove(k);return}var F=E.getItemLayout(O);if(L&&r(C,F)){x.remove(k);return}k?A.updateProps(k,{shape:{points:F.ends}},w,O):k=u(F,O),l(k,E,O,T),x.add(k),E.setItemGraphicEl(O,k)}).remove(function(O){var N=S.getItemGraphicEl(O);N&&x.remove(N)}).execute(),this._data=E},_renderLarge:function(w){this._clear(),d(w,this.group);var E=w.get("clip",!0)?h(w.coordinateSystem,!1,w):null;E?this.group.setClipPath(E):this.group.removeClipPath()},_incrementalRenderNormal:function(w,E){for(var S=E.getData(),x=S.getLayout("isSimpleBox"),T;(T=w.next())!=null;){var L,y=S.getItemLayout(T);L=u(y,T),l(L,S,T,x),L.incremental=!0,this.group.add(L)}},_incrementalRenderLarge:function(w,E){d(E,this.group,!0)},remove:function(w){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:g.noop}),a=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(w,E){var S=E.points;this.__simpleBox?(w.moveTo(S[4][0],S[4][1]),w.lineTo(S[6][0],S[6][1])):(w.moveTo(S[0][0],S[0][1]),w.lineTo(S[1][0],S[1][1]),w.lineTo(S[2][0],S[2][1]),w.lineTo(S[3][0],S[3][1]),w.closePath(),w.moveTo(S[4][0],S[4][1]),w.lineTo(S[5][0],S[5][1]),w.moveTo(S[6][0],S[6][1]),w.lineTo(S[7][0],S[7][1]))}});function u(w,E,S){var x=w.ends;return new a({shape:{points:S?t(x,w):x},z2:100})}function r(w,E){for(var S=!0,x=0;x<E.ends.length;x++)if(w.contain(E.ends[x][0],E.ends[x][1])){S=!1;break}return S}function l(w,E,S,x){var T=E.getItemModel(S),L=T.getModel(c),y=E.getItemVisual(S,"color"),C=E.getItemVisual(S,"borderColor")||y,O=L.getItemStyle(i);w.useStyle(O),w.style.strokeNoScale=!0,w.style.fill=y,w.style.stroke=C,w.__simpleBox=x;var N=T.getModel(o).getItemStyle();A.setHoverStyle(w,N)}function t(w,E){return g.map(w,function(S){return S=S.slice(),S[1]=E.initBaseline,S})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(w,E){for(var S=E.points,x=0;x<S.length;)if(this.__sign===S[x++]){var T=S[x++];w.moveTo(T,S[x++]),w.lineTo(T,S[x++])}else x+=3}});function d(w,E,S){var x=w.getData(),T=x.getLayout("largePoints"),L=new s({shape:{points:T},__sign:1});E.add(L);var y=new s({shape:{points:T},__sign:-1});E.add(y),p(1,L,w,x),p(-1,y,w,x),S&&(L.incremental=!0,y.incremental=!0)}function p(w,E,S,x){var T=w>0?"P":"N",L=x.getVisual("borderColor"+T)||x.getVisual("color"+T),y=S.getModel(c).getItemStyle(i);E.useStyle(y),E.style.fill=null,E.style.stroke=L}var b=n;D.exports=b},Gev7:function(D,_,e){var g=e("bYtY"),f=e("K2GJ"),A=e("1bdT"),m=e("ni6a");function v(c){c=c||{},A.call(this,c);for(var o in c)c.hasOwnProperty(o)&&o!=="style"&&(this[o]=c[o]);this.style=new f(c.style,this),this._rect=null,this.__clipPaths=null}v.prototype={constructor:v,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(o){},afterBrush:function(o){},brush:function(o,i){},getBoundingRect:function(){},contain:function(o,i){return this.rectContain(o,i)},traverse:function(o,i){o.call(i,this)},rectContain:function(o,i){var n=this.transformCoordToLocal(o,i),a=this.getBoundingRect();return a.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(o){return this.animate("style",o)},attrKV:function(o,i){o!=="style"?A.prototype.attrKV.call(this,o,i):this.style.set(i)},setStyle:function(o,i){return this.style.set(o,i),this.dirty(!1),this},useStyle:function(o){return this.style=new f(o,this),this.dirty(!1),this},calculateTextPosition:null},g.inherits(v,A),g.mixin(v,m);var h=v;D.exports=h},GrNh:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("6Ic6");function m(n,a,u,r){var l=a.getData(),t=this.dataIndex,s=l.getName(t),d=a.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:n,name:s,seriesId:a.id}),l.each(function(p){v(l.getItemGraphicEl(p),l.getItemLayout(p),a.isSelected(l.getName(p)),d,u)})}function v(n,a,u,r,l){var t=(a.startAngle+a.endAngle)/2,s=Math.cos(t),d=Math.sin(t),p=u?r:0,b=[s*p,d*p];l?n.animate().when(200,{position:b}).start("bounceOut"):n.attr("position",b)}function h(n,a){f.Group.call(this);var u=new f.Sector({z2:2}),r=new f.Polyline,l=new f.Text;this.add(u),this.add(r),this.add(l),this.updateData(n,a,!0)}var c=h.prototype;c.updateData=function(n,a,u){var r=this.childAt(0),l=this.childAt(1),t=this.childAt(2),s=n.hostModel,d=n.getItemModel(a),p=n.getItemLayout(a),b=g.extend({},p);b.label=null;var w=s.getShallow("animationTypeUpdate");if(u){r.setShape(b);var E=s.getShallow("animationType");E==="scale"?(r.shape.r=p.r0,f.initProps(r,{shape:{r:p.r}},s,a)):(r.shape.endAngle=p.startAngle,f.updateProps(r,{shape:{endAngle:p.endAngle}},s,a))}else w==="expansion"?r.setShape(b):f.updateProps(r,{shape:b},s,a);var S=n.getItemVisual(a,"color");r.useStyle(g.defaults({lineJoin:"bevel",fill:S},d.getModel("itemStyle").getItemStyle())),r.hoverStyle=d.getModel("emphasis.itemStyle").getItemStyle();var x=d.getShallow("cursor");x&&r.attr("cursor",x),v(this,n.getItemLayout(a),s.isSelected(n.getName(a)),s.get("selectedOffset"),s.get("animation"));var T=!u&&w==="transition";this._updateLabel(n,a,T),this.highDownOnUpdate=s.get("silent")?null:function(L,y){var C=s.isAnimationEnabled()&&d.get("hoverAnimation");y==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,C&&(r.stopAnimation(!0),r.animateTo({shape:{r:p.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,C&&(r.stopAnimation(!0),r.animateTo({shape:{r:p.r}},300,"elasticOut")))},f.setHoverStyle(this)},c._updateLabel=function(n,a,u){var r=this.childAt(1),l=this.childAt(2),t=n.hostModel,s=n.getItemModel(a),d=n.getItemLayout(a),p=d.label,b=n.getItemVisual(a,"color");if(!p||isNaN(p.x)||isNaN(p.y)){l.ignore=l.normalIgnore=l.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;return}var w={points:p.linePoints||[[p.x,p.y],[p.x,p.y],[p.x,p.y]]},E={x:p.x,y:p.y};u?(f.updateProps(r,{shape:w},t,a),f.updateProps(l,{style:E},t,a)):(r.attr({shape:w}),l.attr({style:E})),l.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var S=s.getModel("label"),x=s.getModel("emphasis.label"),T=s.getModel("labelLine"),L=s.getModel("emphasis.labelLine"),b=n.getItemVisual(a,"color");f.setLabelStyle(l.style,l.hoverStyle={},S,x,{labelFetcher:n.hostModel,labelDataIndex:a,defaultText:p.text,autoColor:b,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign,opacity:n.getItemVisual(a,"opacity")}),l.ignore=l.normalIgnore=!S.get("show"),l.hoverIgnore=!x.get("show"),r.ignore=r.normalIgnore=!T.get("show"),r.hoverIgnore=!L.get("show"),r.setStyle({stroke:b,opacity:n.getItemVisual(a,"opacity")}),r.setStyle(T.getModel("lineStyle").getLineStyle()),r.hoverStyle=L.getModel("lineStyle").getLineStyle();var y=T.get("smooth");y&&y===!0&&(y=.4),r.setShape({smooth:y})},g.inherits(h,f.Group);var o=A.extend({type:"pie",init:function(){var n=new f.Group;this._sectorGroup=n},render:function(n,a,u,r){if(r&&r.from===this.uid)return;var l=n.getData(),t=this._data,s=this.group,d=a.get("animation"),p=!t,b=n.get("animationType"),w=n.get("animationTypeUpdate"),E=g.curry(m,this.uid,n,d,u),S=n.get("selectedMode");if(l.diff(t).add(function(C){var O=new h(l,C);p&&b!=="scale"&&O.eachChild(function(N){N.stopAnimation(!0)}),S&&O.on("click",E),l.setItemGraphicEl(C,O),s.add(O)}).update(function(C,O){var N=t.getItemGraphicEl(O);!p&&w!=="transition"&&N.eachChild(function(k){k.stopAnimation(!0)}),N.updateData(l,C),N.off("click"),S&&N.on("click",E),s.add(N),l.setItemGraphicEl(C,N)}).remove(function(C){var O=t.getItemGraphicEl(C);s.remove(O)}).execute(),d&&l.count()>0&&(p?b!=="scale":w!=="transition")){for(var x=l.getItemLayout(0),T=1;isNaN(x.startAngle)&&T<l.count();++T)x=l.getItemLayout(T);var L=Math.max(u.getWidth(),u.getHeight())/2,y=g.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(x.cx,x.cy,L,x.startAngle,x.clockwise,y,n,p))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(n,a,u,r,l,t,s,d){var p=new f.Sector({shape:{cx:n,cy:a,r0:0,r:u,startAngle:r,endAngle:r,clockwise:l}}),b=d?f.initProps:f.updateProps;return b(p,{shape:{endAngle:r+(l?1:-1)*Math.PI*2}},s,t),p},containPoint:function(n,a){var u=a.getData(),r=u.getItemLayout(0);if(r){var l=n[0]-r.cx,t=n[1]-r.cy,s=Math.sqrt(l*l+t*t);return s<=r.r&&s>=r.r0}}}),i=o;D.exports=i},Gytx:function(D,_){D.exports=function(g,f,A,m){var v=A?A.call(m,g,f):void 0;if(v!==void 0)return!!v;if(g===f)return!0;if(typeof g!="object"||!g||typeof f!="object"||!f)return!1;var h=Object.keys(g),c=Object.keys(f);if(h.length!==c.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(f),i=0;i<h.length;i++){var n=h[i];if(!o(n))return!1;var a=g[n],u=f[n];if(v=A?A.call(m,a,u,n):void 0,v===!1||v===void 0&&a!==u)return!1}return!0}},GzdX:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("q1tI"),m=e.n(A),v=e("rePB"),h=e("1OyB"),c=e("vuIU"),o=e("Ji7U"),i=e("md7G"),n=e("foSv"),a=e("m+aA"),u=e("TSYQ"),r=e.n(u),l=e("4IlW");function t(U){var j=U.pageXOffset,P="scrollLeft";if(typeof j!="number"){var K=U.document;j=K.documentElement[P],typeof j!="number"&&(j=K.body[P])}return j}function s(U){var j,P,K=U.ownerDocument,V=K.body,z=K&&K.documentElement,X=U.getBoundingClientRect();return j=X.left,P=X.top,j-=z.clientLeft||V.clientLeft||0,P-=z.clientTop||V.clientTop||0,{left:j,top:P}}function d(U){var j=s(U),P=U.ownerDocument,K=P.defaultView||P.parentWindow;return j.left+=t(K),j.left}function p(U){var j=b();return function(){var K=Object(n.a)(U),V;if(j){var z=Object(n.a)(this).constructor;V=Reflect.construct(K,arguments,z)}else V=K.apply(this,arguments);return Object(i.a)(this,V)}}function b(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}var w=function(U){Object(o.a)(P,U);var j=p(P);function P(){var K;return Object(h.a)(this,P),K=j.apply(this,arguments),K.onHover=function(V){var z=K.props,X=z.onHover,G=z.index;X(V,G)},K.onClick=function(V){var z=K.props,X=z.onClick,G=z.index;X(V,G)},K.onKeyDown=function(V){var z=K.props,X=z.onClick,G=z.index;V.keyCode===13&&X(V,G)},K}return Object(c.a)(P,[{key:"getClassName",value:function(){var V=this.props,z=V.prefixCls,X=V.index,G=V.value,le=V.allowHalf,Y=V.focused,me=X+1,we=z;return G===0&&X===0&&Y?we+=" ".concat(z,"-focused"):le&&G+.5>=me&&G<me?(we+=" ".concat(z,"-half ").concat(z,"-active"),Y&&(we+=" ".concat(z,"-focused"))):(we+=me<=G?" ".concat(z,"-full"):" ".concat(z,"-zero"),me===G&&Y&&(we+=" ".concat(z,"-focused"))),we}},{key:"render",value:function(){var V=this.onHover,z=this.onClick,X=this.onKeyDown,G=this.props,le=G.disabled,Y=G.prefixCls,me=G.character,we=G.characterRender,pe=G.index,Fe=G.count,Xe=G.value,dt=typeof me=="function"?me(this.props):me,Ee=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:le?null:z,onKeyDown:le?null:X,onMouseMove:le?null:V,role:"radio","aria-checked":Xe>pe?"true":"false","aria-posinset":pe+1,"aria-setsize":Fe,tabIndex:le?-1:0},m.a.createElement("div",{className:"".concat(Y,"-first")},dt),m.a.createElement("div",{className:"".concat(Y,"-second")},dt)));return we&&(Ee=we(Ee,this.props)),Ee}}]),P}(m.a.Component);function E(U,j){var P=Object.keys(U);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(U);j&&(K=K.filter(function(V){return Object.getOwnPropertyDescriptor(U,V).enumerable})),P.push.apply(P,K)}return P}function S(U){for(var j=1;j<arguments.length;j++){var P=arguments[j]!=null?arguments[j]:{};j%2?E(Object(P),!0).forEach(function(K){Object(v.a)(U,K,P[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(P)):E(Object(P)).forEach(function(K){Object.defineProperty(U,K,Object.getOwnPropertyDescriptor(P,K))})}return U}function x(U){var j=T();return function(){var K=Object(n.a)(U),V;if(j){var z=Object(n.a)(this).constructor;V=Reflect.construct(K,arguments,z)}else V=K.apply(this,arguments);return Object(i.a)(this,V)}}function T(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}function L(){}var y=function(U){Object(o.a)(P,U);var j=x(P);function P(K){var V;Object(h.a)(this,P),V=j.call(this,K),V.onHover=function(X,G){var le=V.props.onHoverChange,Y=V.getStarValue(G,X.pageX),me=V.state.cleanedValue;Y!==me&&V.setState({hoverValue:Y,cleanedValue:null}),le(Y)},V.onMouseLeave=function(){var X=V.props.onHoverChange;V.setState({hoverValue:void 0,cleanedValue:null}),X(void 0)},V.onClick=function(X,G){var le=V.props.allowClear,Y=V.state.value,me=V.getStarValue(G,X.pageX),we=!1;le&&(we=me===Y),V.onMouseLeave(),V.changeValue(we?0:me),V.setState({cleanedValue:we?me:null})},V.onFocus=function(){var X=V.props.onFocus;V.setState({focused:!0}),X&&X()},V.onBlur=function(){var X=V.props.onBlur;V.setState({focused:!1}),X&&X()},V.onKeyDown=function(X){var G=X.keyCode,le=V.props,Y=le.count,me=le.allowHalf,we=le.onKeyDown,pe=le.direction,Fe=pe==="rtl",Xe=V.state.value;G===l.a.RIGHT&&Xe<Y&&!Fe?(me?Xe+=.5:Xe+=1,V.changeValue(Xe),X.preventDefault()):G===l.a.LEFT&&Xe>0&&!Fe||G===l.a.RIGHT&&Xe>0&&Fe?(me?Xe-=.5:Xe-=1,V.changeValue(Xe),X.preventDefault()):G===l.a.LEFT&&Xe<Y&&Fe&&(me?Xe+=.5:Xe+=1,V.changeValue(Xe),X.preventDefault()),we&&we(X)},V.saveRef=function(X){return function(G){V.stars[X]=G}},V.saveRate=function(X){V.rate=X};var z=K.value;return z===void 0&&(z=K.defaultValue),V.stars={},V.state={value:z,focused:!1,cleanedValue:null},V}return Object(c.a)(P,[{key:"componentDidMount",value:function(){var V=this.props,z=V.autoFocus,X=V.disabled;z&&!X&&this.focus()}},{key:"getStarDOM",value:function(V){return Object(a.a)(this.stars[V])}},{key:"getStarValue",value:function(V,z){var X=this.props,G=X.allowHalf,le=X.direction,Y=le==="rtl",me=V+1;if(G){var we=this.getStarDOM(V),pe=d(we),Fe=we.clientWidth;(Y&&z-pe>Fe/2||!Y&&z-pe<Fe/2)&&(me-=.5)}return me}},{key:"focus",value:function(){var V=this.props.disabled;V||this.rate.focus()}},{key:"blur",value:function(){var V=this.props.disabled;V||this.rate.blur()}},{key:"changeValue",value:function(V){var z=this.props.onChange;"value"in this.props||this.setState({value:V}),z(V)}},{key:"render",value:function(){for(var V=this.props,z=V.count,X=V.allowHalf,G=V.style,le=V.prefixCls,Y=V.disabled,me=V.className,we=V.character,pe=V.characterRender,Fe=V.tabIndex,Xe=V.direction,dt=this.state,Ee=dt.value,Se=dt.hoverValue,at=dt.focused,_e=[],ce=Y?"".concat(le,"-disabled"):"",ee=0;ee<z;ee+=1)_e.push(m.a.createElement(w,{ref:this.saveRef(ee),index:ee,count:z,disabled:Y,prefixCls:"".concat(le,"-star"),allowHalf:X,value:Se===void 0?Ee:Se,onClick:this.onClick,onHover:this.onHover,key:ee,character:we,characterRender:pe,focused:at}));var se=r()(le,ce,me,Object(v.a)({},"".concat(le,"-rtl"),Xe==="rtl"));return m.a.createElement("ul",{className:se,style:G,onMouseLeave:Y?null:this.onMouseLeave,tabIndex:Y?-1:Fe,onFocus:Y?null:this.onFocus,onBlur:Y?null:this.onBlur,onKeyDown:Y?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},_e)}}],[{key:"getDerivedStateFromProps",value:function(V,z){return"value"in V&&V.value!==void 0?S(S({},z),{},{value:V.value}):z}}]),P}(m.a.Component);y.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:L,character:"\u2605",onHoverChange:L,tabIndex:0,direction:"ltr"};var C=y,O=C,N=e("Lerx"),k=e.n(N),F=e("3S7+"),B=e("H84U"),H=function(U,j){var P={};for(var K in U)Object.prototype.hasOwnProperty.call(U,K)&&j.indexOf(K)<0&&(P[K]=U[K]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,K=Object.getOwnPropertySymbols(U);V<K.length;V++)j.indexOf(K[V])<0&&Object.prototype.propertyIsEnumerable.call(U,K[V])&&(P[K[V]]=U[K[V]]);return P},W=A.forwardRef(function(U,j){var P=U.prefixCls,K=U.tooltips,V=H(U,["prefixCls","tooltips"]),z=function(we,pe){var Fe=pe.index;return K?A.createElement(F.a,{title:K[Fe]},we):we},X=A.useContext(B.b),G=X.getPrefixCls,le=X.direction,Y=G("rate",P);return A.createElement(O,f()({ref:j,characterRender:z},V,{prefixCls:Y,direction:le}))});W.displayName="Rate",W.defaultProps={character:A.createElement(k.a,null)};var R=_.a=W},H6uX:function(D,_){var e=Array.prototype.slice,g=function(h){this._$handlers={},this._$eventProcessor=h};g.prototype={constructor:g,one:function(h,c,o,i){return A(this,h,c,o,i,!0)},on:function(h,c,o,i){return A(this,h,c,o,i,!1)},isSilent:function(h){var c=this._$handlers;return!c[h]||!c[h].length},off:function(h,c){var o=this._$handlers;if(!h)return this._$handlers={},this;if(c){if(o[h]){for(var i=[],n=0,a=o[h].length;n<a;n++)o[h][n].h!==c&&i.push(o[h][n]);o[h]=i}o[h]&&o[h].length===0&&delete o[h]}else delete o[h];return this},trigger:function(h){var c=this._$handlers[h],o=this._$eventProcessor;if(c){var i=arguments,n=i.length;n>3&&(i=e.call(i,1));for(var a=c.length,u=0;u<a;){var r=c[u];if(o&&o.filter&&r.query!=null&&!o.filter(h,r.query)){u++;continue}switch(n){case 1:r.h.call(r.ctx);break;case 2:r.h.call(r.ctx,i[1]);break;case 3:r.h.call(r.ctx,i[1],i[2]);break;default:r.h.apply(r.ctx,i);break}r.one?(c.splice(u,1),a--):u++}}return o&&o.afterTrigger&&o.afterTrigger(h),this},triggerWithContext:function(h){var c=this._$handlers[h],o=this._$eventProcessor;if(c){var i=arguments,n=i.length;n>4&&(i=e.call(i,1,i.length-1));for(var a=i[i.length-1],u=c.length,r=0;r<u;){var l=c[r];if(o&&o.filter&&l.query!=null&&!o.filter(h,l.query)){r++;continue}switch(n){case 1:l.h.call(a);break;case 2:l.h.call(a,i[1]);break;case 3:l.h.call(a,i[1],i[2]);break;default:l.h.apply(a,i);break}l.one?(c.splice(r,1),u--):r++}}return o&&o.afterTrigger&&o.afterTrigger(h),this}};function f(v,h){var c=v._$eventProcessor;return h!=null&&c&&c.normalizeQuery&&(h=c.normalizeQuery(h)),h}function A(v,h,c,o,i,n){var a=v._$handlers;if(typeof c=="function"&&(i=o,o=c,c=null),!o||!h)return v;c=f(v,c),a[h]||(a[h]=[]);for(var u=0;u<a[h].length;u++)if(a[h][u].h===o)return v;var r={h:o,one:n,query:c,ctx:i||v,callAtLast:o.zrEventfulCallAtLast},l=a[h].length-1,t=a[h][l];return t&&t.callAtLast?a[h].splice(l,0,r):a[h].push(r),v}var m=g;D.exports=m},H8j4:function(D,_,e){var g=e("QkVE");function f(A,m){var v=g(this,A),h=v.size;return v.set(A,m),this.size+=v.size==h?0:1,this}D.exports=f},HBhm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};_.default=g},HDyB:function(D,_,e){var g=e("nmnc"),f=e("JHRd"),A=e("ljhN"),m=e("or5M"),v=e("7fqy"),h=e("rEGp"),c=1,o=2,i="[object Boolean]",n="[object Date]",a="[object Error]",u="[object Map]",r="[object Number]",l="[object RegExp]",t="[object Set]",s="[object String]",d="[object Symbol]",p="[object ArrayBuffer]",b="[object DataView]",w=g?g.prototype:void 0,E=w?w.valueOf:void 0;function S(x,T,L,y,C,O,N){switch(L){case b:if(x.byteLength!=T.byteLength||x.byteOffset!=T.byteOffset)return!1;x=x.buffer,T=T.buffer;case p:return!(x.byteLength!=T.byteLength||!O(new f(x),new f(T)));case i:case n:case r:return A(+x,+T);case a:return x.name==T.name&&x.message==T.message;case l:case s:return x==T+"";case u:var k=v;case t:var F=y&c;if(k||(k=h),x.size!=T.size&&!F)return!1;var B=N.get(x);if(B)return B==T;y|=o,N.set(x,T);var H=m(k(x),k(T),y,C,O,N);return N.delete(x),H;case d:if(E)return E.call(x)==E.call(T)}return!1}D.exports=S},"HF/U":function(D,_,e){var g=e("QBsz");function f(m){var v=m.coordinateSystem;if(v&&v.type!=="view")return;var h=m.getGraph();h.eachNode(function(c){var o=c.getModel();c.setLayout([+o.get("x"),+o.get("y")])}),A(h)}function A(m){m.eachEdge(function(v){var h=v.getModel().get("lineStyle.curveness")||0,c=g.clone(v.node1.getLayout()),o=g.clone(v.node2.getLayout()),i=[c,o];+h&&i.push([(c[0]+o[0])/2-(c[1]-o[1])*h,(c[1]+o[1])/2-(o[0]-c[0])*h]),v.setLayout(i)})}_.simpleLayout=f,_.simpleLayoutEdge=A},"HM/N":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("/SeX"),v=e("OELB"),h=v.parsePercent,c=e("aX7z"),o=c.createScaleByModel,i=c.niceScaleExtent,n=e("IDmD"),a=e("7hqr"),u=a.getStackedDimension;e("ePAk");function r(d,p,b){var w=p.get("center"),E=b.getWidth(),S=b.getHeight();d.cx=h(w[0],E),d.cy=h(w[1],S);var x=d.getRadiusAxis(),T=Math.min(E,S)/2,L=p.get("radius");L==null?L=[0,"100%"]:A.isArray(L)||(L=[0,L]),L=[h(L[0],T),h(L[1],T)],x.inverse?x.setExtent(L[1],L[0]):x.setExtent(L[0],L[1])}function l(d,p){var b=this,w=b.getAngleAxis(),E=b.getRadiusAxis();if(w.scale.setExtent(Infinity,-Infinity),E.scale.setExtent(Infinity,-Infinity),d.eachSeries(function(T){if(T.coordinateSystem===b){var L=T.getData();A.each(L.mapDimension("radius",!0),function(y){E.scale.unionExtentFromData(L,u(L,y))}),A.each(L.mapDimension("angle",!0),function(y){w.scale.unionExtentFromData(L,u(L,y))})}}),i(w.scale,w.model),i(E.scale,E.model),w.type==="category"&&!w.onBand){var S=w.getExtent(),x=360/w.scale.count();w.inverse?S[1]+=x:S[1]-=x,w.setExtent(S[0],S[1])}}function t(d,p){if(d.type=p.get("type"),d.scale=o(p),d.onBand=p.get("boundaryGap")&&d.type==="category",d.inverse=p.get("inverse"),p.mainType==="angleAxis"){d.inverse^=p.get("clockwise");var b=p.get("startAngle");d.setExtent(b,b+(d.inverse?-360:360))}p.axis=d,d.model=p}var s={dimensions:m.prototype.dimensions,create:function(d,p){var b=[];return d.eachComponent("polar",function(w,E){var S=new m(E);S.update=l;var x=S.getRadiusAxis(),T=S.getAngleAxis(),L=w.findAxisModel("radiusAxis"),y=w.findAxisModel("angleAxis");t(x,L),t(T,y),r(S,w,p),b.push(S),w.coordinateSystem=S,S.model=w}),d.eachSeries(function(w){if(w.get("coordinateSystem")==="polar"){var E=d.queryComponents({mainType:"polar",index:w.get("polarIndex"),id:w.get("polarId")})[0];w.coordinateSystem=E.coordinateSystem}}),b}};n.register("polar",s)},HOxn:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"Promise");D.exports=A},HQEm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Sj0X"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},HjIi:function(D,_,e){var g=e("bYtY"),f=e("OELB"),A=f.parsePercent,m=e("7hqr"),v=m.isDimensionStacked;function h(a){return a.get("stack")||"__ec_stack_"+a.seriesIndex}function c(a,u){return u.dim+a.model.componentIndex}function o(a,u,r){var l={},t=i(g.filter(u.getSeriesByType(a),function(s){return!u.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));u.eachSeriesByType(a,function(s){if(s.coordinateSystem.type!=="polar")return;var d=s.getData(),p=s.coordinateSystem,b=p.getBaseAxis(),w=c(p,b),E=h(s),S=t[w][E],x=S.offset,T=S.width,L=p.getOtherAxis(b),y=s.coordinateSystem.cx,C=s.coordinateSystem.cy,O=s.get("barMinHeight")||0,N=s.get("barMinAngle")||0;l[E]=l[E]||[];for(var k=d.mapDimension(L.dim),F=d.mapDimension(b.dim),B=v(d,k),H=b.dim!=="radius"||!s.get("roundCap",!0),W=L.getExtent()[0],R=0,U=d.count();R<U;R++){var j=d.get(k,R),P=d.get(F,R),K=j>=0?"p":"n",V=W;B&&(l[E][P]||(l[E][P]={p:W,n:W}),V=l[E][P][K]);var z,X,G,le;if(L.dim==="radius"){var Y=L.dataToRadius(j)-W,me=b.dataToAngle(P);Math.abs(Y)<O&&(Y=(Y<0?-1:1)*O),z=V,X=V+Y,G=me-x,le=G-T,B&&(l[E][P][K]=X)}else{var we=L.dataToAngle(j,H)-W,pe=b.dataToRadius(P);Math.abs(we)<N&&(we=(we<0?-1:1)*N),z=pe+x,X=z+T,G=V,le=V+we,B&&(l[E][P][K]=le)}d.setItemLayout(R,{cx:y,cy:C,r0:z,r:X,startAngle:-G*Math.PI/180,endAngle:-le*Math.PI/180})}},this)}function i(a,u){var r={};g.each(a,function(t,s){var d=t.getData(),p=t.coordinateSystem,b=p.getBaseAxis(),w=c(p,b),E=b.getExtent(),S=b.type==="category"?b.getBandWidth():Math.abs(E[1]-E[0])/d.count(),x=r[w]||{bandWidth:S,remainedWidth:S,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},T=x.stacks;r[w]=x;var L=h(t);T[L]||x.autoWidthCount++,T[L]=T[L]||{width:0,maxWidth:0};var y=A(t.get("barWidth"),S),C=A(t.get("barMaxWidth"),S),O=t.get("barGap"),N=t.get("barCategoryGap");y&&!T[L].width&&(y=Math.min(x.remainedWidth,y),T[L].width=y,x.remainedWidth-=y),C&&(T[L].maxWidth=C),O!=null&&(x.gap=O),N!=null&&(x.categoryGap=N)});var l={};return g.each(r,function(t,s){l[s]={};var d=t.stacks,p=t.bandWidth,b=A(t.categoryGap,p),w=A(t.gap,1),E=t.remainedWidth,S=t.autoWidthCount,x=(E-b)/(S+(S-1)*w);x=Math.max(x,0),g.each(d,function(C,O){var N=C.maxWidth;N&&N<x&&(N=Math.min(N,E),C.width&&(N=Math.min(N,C.width)),E-=N,C.width=N,S--)}),x=(E-b)/(S+(S-1)*w),x=Math.max(x,0);var T=0,L;g.each(d,function(C,O){C.width||(C.width=x),L=C,T+=C.width*(1+w)}),L&&(T-=L.width*w);var y=-T/2;g.each(d,function(C,O){l[s][O]=l[s][O]||{offset:y,width:C.width},y+=C.width*(1+w)})}),l}var n=o;D.exports=n},HjOm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},f=g;_.default=f},Hvzi:function(D,_){function e(g){var f=this.has(g)&&delete this.__data__[g];return this.size-=f?1:0,f}D.exports=e},Hw7h:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(A,m){var v=Math.cos,h=Math.sin,c=m.r,o=m.width,i=m.angle,n=m.x-v(i)*o*(o>=c/3?1:2),a=m.y-h(i)*o*(o>=c/3?1:2);i=m.angle-Math.PI/2,A.moveTo(n,a),A.lineTo(m.x+v(i)*o,m.y+h(i)*o),A.lineTo(m.x+v(m.angle)*c,m.y+h(m.angle)*c),A.lineTo(m.x-v(i)*o,m.y-h(i)*o),A.lineTo(n,a);return}});D.exports=f},Hxpc:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),A=e("bLfw"),m=e("Qxkt"),v=e("cCMj"),h=e("7uqq"),c=A.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(i){A.prototype.init.apply(this,arguments),f.defaultEmphasis(i,"label",["show"])},optionUpdated:function(){var i=this.option,n=this;i.regions=h.getFilledRegions(i.regions,i.map,i.nameMap),this._optionModelMap=g.reduce(i.regions||[],function(a,u){return u.name&&a.set(u.name,new m(u,n)),a},g.createHashMap()),this.updateSelectedMap(i.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(i){return this._optionModelMap.get(i)||new m(null,this,this.ecModel)},getFormattedLabel:function(i,n){var a=this.getRegionModel(i),u=a.get("label"+(n==="normal"?".":n+".")+"formatter"),r={name:i};if(typeof u=="function")return r.status=n,u(r);if(typeof u=="string")return u.replace("{a}",i!=null?i:"")},setZoom:function(i){this.option.zoom=i},setCenter:function(i){this.option.center=i}});g.mixin(c,v);var o=c;D.exports=o},"I+77":function(D,_,e){var g=e("ProS");e("h54F"),e("lwQL"),e("10cm");var f=e("Z1r0"),A=e("f5Yq"),m=e("KUOm"),v=e("3m61"),h=e("01d+"),c=e("rdor"),o=e("WGYa"),i=e("ewwo");g.registerProcessor(f),g.registerVisual(A("graph","circle",null)),g.registerVisual(m),g.registerVisual(v),g.registerLayout(h),g.registerLayout(g.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),g.registerLayout(o),g.registerCoordinateSystem("graphView",{create:i})},"I+Bx":function(D,_,e){var g=e("bYtY"),f=e("eIcI"),A=e("ieMj"),m=e("OELB"),v=e("aX7z"),h=v.getScaleExtent,c=v.niceScaleExtent,o=e("IDmD"),i=e("jCoz");function n(u,r,l){this._model=u,this.dimensions=[],this._indicatorAxes=g.map(u.getIndicatorModels(),function(t,s){var d="indicator_"+s,p=new f(d,t.get("axisType")==="log"?new i:new A);return p.name=t.get("name"),p.model=t,t.axis=p,this.dimensions.push(d),p},this),this.resize(u,l),this.cx,this.cy,this.r,this.r0,this.startAngle}n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(u,r){var l=this._indicatorAxes[r];return this.coordToPoint(l.dataToCoord(u),r)},n.prototype.coordToPoint=function(u,r){var l=this._indicatorAxes[r],t=l.angle,s=this.cx+u*Math.cos(t),d=this.cy-u*Math.sin(t);return[s,d]},n.prototype.pointToData=function(u){var r=u[0]-this.cx,l=u[1]-this.cy,t=Math.sqrt(r*r+l*l);r/=t,l/=t;for(var s=Math.atan2(-l,r),d=Infinity,p,b=-1,w=0;w<this._indicatorAxes.length;w++){var E=this._indicatorAxes[w],S=Math.abs(s-E.angle);S<d&&(p=E,b=w,d=S)}return[b,+(p&&p.coordToData(t))]},n.prototype.resize=function(u,r){var l=u.get("center"),t=r.getWidth(),s=r.getHeight(),d=Math.min(t,s)/2;this.cx=m.parsePercent(l[0],t),this.cy=m.parsePercent(l[1],s),this.startAngle=u.get("startAngle")*Math.PI/180;var p=u.get("radius");(typeof p=="string"||typeof p=="number")&&(p=[0,p]),this.r0=m.parsePercent(p[0],d),this.r=m.parsePercent(p[1],d),g.each(this._indicatorAxes,function(b,w){b.setExtent(this.r0,this.r);var E=this.startAngle+w*Math.PI*2/this._indicatorAxes.length;E=Math.atan2(Math.sin(E),Math.cos(E)),b.angle=E},this)},n.prototype.update=function(u,r){var l=this._indicatorAxes,t=this._model;g.each(l,function(p){p.scale.setExtent(Infinity,-Infinity)}),u.eachSeriesByType("radar",function(p,b){if(p.get("coordinateSystem")!=="radar"||u.getComponent("radar",p.get("radarIndex"))!==t)return;var w=p.getData();g.each(l,function(E){E.scale.unionExtentFromData(w,w.mapDimension(E.dim))})},this);var s=t.get("splitNumber");function d(p){var b=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),w=p/b;return w===2?w=5:w*=2,w*b}g.each(l,function(p,b){var w=h(p.scale,p.model).extent;c(p.scale,p.model);var E=p.model,S=p.scale,x=E.getMin(),T=E.getMax(),L=S.getInterval();if(x!=null&&T!=null)S.setExtent(+x,+T),S.setInterval((T-x)/s);else if(x!=null){var y;do y=x+L*s,S.setExtent(+x,y),S.setInterval(L),L=d(L);while(y<w[1]&&isFinite(y)&&isFinite(w[1]))}else if(T!=null){var C;do C=T-L*s,S.setExtent(C,+T),S.setInterval(L),L=d(L);while(C>w[0]&&isFinite(C)&&isFinite(w[0]))}else{var O=S.getTicks().length-1;O>s&&(L=d(L));var y=Math.ceil(w[1]/L)*L,C=m.round(y-L*s);S.setExtent(C,y),S.setInterval(L)}})},n.dimensions=[],n.create=function(u,r){var l=[];return u.eachComponent("radar",function(t){var s=new n(t,u,r);l.push(s),t.coordinateSystem=s}),u.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=l[t.get("radarIndex")||0])}),l},o.register("radar",n);var a=n;D.exports=a},"I3/A":function(D,_,e){var g=e("bYtY"),f=e("YXkt"),A=e("c2i1"),m=e("Mdki"),v=e("sdST"),h=e("IDmD"),c=e("MwEJ");function o(i,n,a,u,r){for(var l=new A(u),t=0;t<i.length;t++)l.addNode(g.retrieve(i[t].id,i[t].name,t),t);for(var s=[],d=[],p=0,t=0;t<n.length;t++){var b=n[t],w=b.source,E=b.target;l.addEdge(w,E,p)&&(d.push(b),s.push(g.retrieve(b.id,w+" > "+E)),p++)}var S=a.get("coordinateSystem"),x;if(S==="cartesian2d"||S==="polar")x=c(i,a);else{var T=h.get(S),L=T&&T.type!=="view"?T.dimensions||[]:[];g.indexOf(L,"value")<0&&L.concat(["value"]);var y=v(i,{coordDimensions:L});x=new f(y,a),x.initData(i)}var C=new f(["value"],a);return C.initData(d,s),r&&r(x,C),m({mainData:x,struct:l,structAttr:"graph",datas:{node:x,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}D.exports=o},"I9Y+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("4xFK")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="DoubleRightOutlined";var c=A.forwardRef(h);_.default=c},ICMv:function(D,_,e){var g=e("bYtY"),f={getMin:function(A){var m=this.option,v=!A&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(A){var m=this.option,v=!A&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var A=this.option;return A.rangeStart!=null||A.rangeEnd!=null?!1:!A.scale},getCoordSysModel:g.noop,setRange:function(A,m){this.option.rangeStart=A,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};D.exports=f},IDmD:function(D,_,e){var g=e("bYtY"),f={};function A(){this._coordinateSystems=[]}A.prototype={constructor:A,create:function(v,h){var c=[];g.each(f,function(o,i){var n=o.create(v,h);c=c.concat(n||[])}),this._coordinateSystems=c},update:function(v,h){g.each(this._coordinateSystems,function(c){c.update&&c.update(v,h)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},A.register=function(v,h){f[v]=h},A.get=function(v){return f[v]};var m=A;D.exports=m},IMiH:function(D,_,e){var g=e("Sj9i"),f=e("QBsz"),A=e("4mN7"),m=e("mFDi"),v=e("LPTA"),h=v.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},o=[],i=[],n=[],a=[],u=Math.min,r=Math.max,l=Math.cos,t=Math.sin,s=Math.sqrt,d=Math.abs,p=typeof Float32Array!="undefined",b=function(S){this._saveData=!(S||!1),this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(S,x,T){T=T||0,this._ux=d(T/h/S)||0,this._uy=d(T/h/x)||0},getContext:function(){return this._ctx},beginPath:function(S){return this._ctx=S,S&&S.beginPath(),S&&(this.dpr=S.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(S,x){return this.addData(c.M,S,x),this._ctx&&this._ctx.moveTo(S,x),this._x0=S,this._y0=x,this._xi=S,this._yi=x,this},lineTo:function(S,x){var T=d(S-this._xi)>this._ux||d(x-this._yi)>this._uy||this._len<5;return this.addData(c.L,S,x),this._ctx&&T&&(this._needsDash()?this._dashedLineTo(S,x):this._ctx.lineTo(S,x)),T&&(this._xi=S,this._yi=x),this},bezierCurveTo:function(S,x,T,L,y,C){return this.addData(c.C,S,x,T,L,y,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(S,x,T,L,y,C):this._ctx.bezierCurveTo(S,x,T,L,y,C)),this._xi=y,this._yi=C,this},quadraticCurveTo:function(S,x,T,L){return this.addData(c.Q,S,x,T,L),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(S,x,T,L):this._ctx.quadraticCurveTo(S,x,T,L)),this._xi=T,this._yi=L,this},arc:function(S,x,T,L,y,C){return this.addData(c.A,S,x,T,T,L,y-L,0,C?0:1),this._ctx&&this._ctx.arc(S,x,T,L,y,C),this._xi=l(y)*T+S,this._yi=t(y)*T+x,this},arcTo:function(S,x,T,L,y){return this._ctx&&this._ctx.arcTo(S,x,T,L,y),this},rect:function(S,x,T,L){return this._ctx&&this._ctx.rect(S,x,T,L),this.addData(c.R,S,x,T,L),this},closePath:function(){this.addData(c.Z);var S=this._ctx,x=this._x0,T=this._y0;return S&&(this._needsDash()&&this._dashedLineTo(x,T),S.closePath()),this._xi=x,this._yi=T,this},fill:function(S){S&&S.fill(),this.toStatic()},stroke:function(S){S&&S.stroke(),this.toStatic()},setLineDash:function(S){if(S instanceof Array){this._lineDash=S,this._dashIdx=0;for(var x=0,T=0;T<S.length;T++)x+=S[T];this._dashSum=x}return this},setLineDashOffset:function(S){return this._dashOffset=S,this},len:function(){return this._len},setData:function(S){var x=S.length;!(this.data&&this.data.length===x)&&p&&(this.data=new Float32Array(x));for(var T=0;T<x;T++)this.data[T]=S[T];this._len=x},appendPath:function(S){S instanceof Array||(S=[S]);for(var x=S.length,T=0,L=this._len,y=0;y<x;y++)T+=S[y].len();p&&this.data instanceof Float32Array&&(this.data=new Float32Array(L+T));for(var y=0;y<x;y++)for(var C=S[y].data,O=0;O<C.length;O++)this.data[L++]=C[O];this._len=L},addData:function(S){if(!this._saveData)return;var x=this.data;this._len+arguments.length>x.length&&(this._expandData(),x=this.data);for(var T=0;T<arguments.length;T++)x[this._len++]=arguments[T];this._prevCmd=S},_expandData:function(){if(!(this.data instanceof Array)){for(var S=[],x=0;x<this._len;x++)S[x]=this.data[x];this.data=S}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(S,x){var T=this._dashSum,L=this._dashOffset,y=this._lineDash,C=this._ctx,O=this._xi,N=this._yi,k=S-O,F=x-N,B=s(k*k+F*F),H=O,W=N,R,U=y.length,j;for(k/=B,F/=B,L<0&&(L=T+L),L%=T,H-=L*k,W-=L*F;k>0&&H<=S||k<0&&H>=S||k===0&&(F>0&&W<=x||F<0&&W>=x);){if(j=this._dashIdx,R=y[j],H+=k*R,W+=F*R,this._dashIdx=(j+1)%U,k>0&&H<O||k<0&&H>O||F>0&&W<N||F<0&&W>N)continue;C[j%2?"moveTo":"lineTo"](k>=0?u(H,S):r(H,S),F>=0?u(W,x):r(W,x))}k=H-S,F=W-x,this._dashOffset=-s(k*k+F*F)},_dashedBezierTo:function(S,x,T,L,y,C){var O=this._dashSum,N=this._dashOffset,k=this._lineDash,F=this._ctx,B=this._xi,H=this._yi,W,R,U,j=g.cubicAt,P=0,K=this._dashIdx,V=k.length,z,X,G=0;for(N<0&&(N=O+N),N%=O,W=0;W<1;W+=.1)R=j(B,S,T,y,W+.1)-j(B,S,T,y,W),U=j(H,x,L,C,W+.1)-j(H,x,L,C,W),P+=s(R*R+U*U);for(;K<V&&!(G+=k[K],G>N);K++);for(W=(G-N)/P;W<=1;)z=j(B,S,T,y,W),X=j(H,x,L,C,W),K%2?F.moveTo(z,X):F.lineTo(z,X),W+=k[K]/P,K=(K+1)%V;K%2!==0&&F.lineTo(y,C),R=y-z,U=C-X,this._dashOffset=-s(R*R+U*U)},_dashedQuadraticTo:function(S,x,T,L){var y=T,C=L;T=(T+2*S)/3,L=(L+2*x)/3,S=(this._xi+2*S)/3,x=(this._yi+2*x)/3,this._dashedBezierTo(S,x,T,L,y,C)},toStatic:function(){var S=this.data;S instanceof Array&&(S.length=this._len,p&&(this.data=new Float32Array(S)))},getBoundingRect:function(){o[0]=o[1]=n[0]=n[1]=Number.MAX_VALUE,i[0]=i[1]=a[0]=a[1]=-Number.MAX_VALUE;for(var S=this.data,x=0,T=0,L=0,y=0,C=0;C<S.length;){var O=S[C++];C===1&&(x=S[C],T=S[C+1],L=x,y=T);switch(O){case c.M:L=S[C++],y=S[C++],x=L,T=y,n[0]=L,n[1]=y,a[0]=L,a[1]=y;break;case c.L:A.fromLine(x,T,S[C],S[C+1],n,a),x=S[C++],T=S[C++];break;case c.C:A.fromCubic(x,T,S[C++],S[C++],S[C++],S[C++],S[C],S[C+1],n,a),x=S[C++],T=S[C++];break;case c.Q:A.fromQuadratic(x,T,S[C++],S[C++],S[C],S[C+1],n,a),x=S[C++],T=S[C++];break;case c.A:var N=S[C++],k=S[C++],F=S[C++],B=S[C++],H=S[C++],W=S[C++]+H;C+=1;var R=1-S[C++];C===1&&(L=l(H)*F+N,y=t(H)*B+k),A.fromArc(N,k,F,B,H,W,R,n,a),x=l(W)*F+N,T=t(W)*B+k;break;case c.R:L=x=S[C++],y=T=S[C++];var U=S[C++],j=S[C++];A.fromLine(L,y,L+U,y+j,n,a);break;case c.Z:x=L,T=y;break}f.min(o,o,n),f.max(i,i,a)}return C===0&&(o[0]=o[1]=i[0]=i[1]=0),new m(o[0],o[1],i[0]-o[0],i[1]-o[1])},rebuildPath:function(S){for(var x=this.data,T,L,y,C,O,N,k=this._ux,F=this._uy,B=this._len,H=0;H<B;){var W=x[H++];H===1&&(y=x[H],C=x[H+1],T=y,L=C);switch(W){case c.M:T=y=x[H++],L=C=x[H++],S.moveTo(y,C);break;case c.L:O=x[H++],N=x[H++],(d(O-y)>k||d(N-C)>F||H===B-1)&&(S.lineTo(O,N),y=O,C=N);break;case c.C:S.bezierCurveTo(x[H++],x[H++],x[H++],x[H++],x[H++],x[H++]),y=x[H-2],C=x[H-1];break;case c.Q:S.quadraticCurveTo(x[H++],x[H++],x[H++],x[H++]),y=x[H-2],C=x[H-1];break;case c.A:var R=x[H++],U=x[H++],j=x[H++],P=x[H++],K=x[H++],V=x[H++],z=x[H++],X=x[H++],G=j>P?j:P,le=j>P?1:j/P,Y=j>P?P/j:1,me=Math.abs(j-P)>.001,we=K+V;me?(S.translate(R,U),S.rotate(z),S.scale(le,Y),S.arc(0,0,G,K,we,1-X),S.scale(1/le,1/Y),S.rotate(-z),S.translate(-R,-U)):S.arc(R,U,G,K,we,1-X),H===1&&(T=l(K)*j+R,L=t(K)*P+U),y=l(we)*j+R,C=t(we)*P+U;break;case c.R:T=y=x[H],L=C=x[H+1],S.rect(x[H++],x[H++],x[H++],x[H++]);break;case c.Z:S.closePath(),y=T,C=L}}}},b.CMD=c;var w=b;D.exports=w},IUWy:function(D,_){var e={};function g(A,m){e[A]=m}function f(A){return e[A]}_.register=g,_.get=f},IWNH:function(D,_,e){var g=e("T4UG"),f=e("Bsck"),A=e("7aKB"),m=A.encodeHTML,v=e("Qxkt"),h=g.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(c){var o={name:c.name,children:c.data},i=c.leaves||{},n=new v(i,this,this.ecModel),a=f.createTree(o,this,{},u);function u(s){s.wrapMethod("getItemModel",function(d,p){var b=a.getNodeByDataIndex(p);return(!b.children.length||!b.isExpand)&&(d.parentModel=n),d})}var r=0;a.eachNode("preorder",function(s){s.depth>r&&(r=s.depth)});var l=c.expandAndCollapse,t=l&&c.initialTreeDepth>=0?c.initialTreeDepth:r;return a.root.eachNode("preorder",function(s){var d=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=d&&d.collapsed!=null?!d.collapsed:s.depth<=t}),a.data},getOrient:function(){var c=this.get("orient");return c==="horizontal"?c="LR":c==="vertical"&&(c="TB"),c},setZoom:function(c){this.option.zoom=c},setCenter:function(c){this.option.center=c},formatTooltip:function(c){for(var o=this.getData().tree,i=o.root.children[0],n=o.getNodeByDataIndex(c),a=n.getValue(),u=n.name;n&&n!==i;)u=n.parentNode.name+"."+u,n=n.parentNode;return m(u+(isNaN(a)||a==null?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});D.exports=h},IWp7:function(D,_,e){var g=e("bYtY"),f=e("OELB"),A=e("7aKB"),m=e("lE7J"),v=e("ieMj"),h=v.prototype,c=Math.ceil,o=Math.floor,i=1e3,n=i*60,a=n*60,u=a*24,r=function(d,p,b,w){for(;b<w;){var E=b+w>>>1;d[E][1]<p?b=E+1:w=E}return b},l=v.extend({type:"time",getLabel:function(d){var p=this._stepLvl,b=new Date(d);return A.formatTime(p[0],b,this.getSetting("useUTC"))},niceExtent:function(d){var p=this._extent;if(p[0]===p[1]&&(p[0]-=u,p[1]+=u),p[1]===-Infinity&&p[0]===Infinity){var b=new Date;p[1]=+new Date(b.getFullYear(),b.getMonth(),b.getDate()),p[0]=p[1]-u}this.niceTicks(d.splitNumber,d.minInterval,d.maxInterval);var w=this._interval;d.fixMin||(p[0]=f.round(o(p[0]/w)*w)),d.fixMax||(p[1]=f.round(c(p[1]/w)*w))},niceTicks:function(d,p,b){d=d||10;var w=this._extent,E=w[1]-w[0],S=E/d;p!=null&&S<p&&(S=p),b!=null&&S>b&&(S=b);var x=t.length,T=r(t,S,0,x),L=t[Math.min(T,x-1)],y=L[1];if(L[0]==="year"){var C=E/y,O=f.nice(C/d,!0);y*=O}var N=this.getSetting("useUTC")?0:new Date(+w[0]||+w[1]).getTimezoneOffset()*60*1e3,k=[Math.round(c((w[0]-N)/y)*y+N),Math.round(o((w[1]-N)/y)*y+N)];m.fixExtent(k,w),this._stepLvl=L,this._interval=y,this._niceExtent=k},parse:function(d){return+f.parseDate(d)}});g.each(["contain","normalize"],function(d){l.prototype[d]=function(p){return h[d].call(this,this.parse(p))}});var t=[["hh:mm:ss",i],["hh:mm:ss",i*5],["hh:mm:ss",i*10],["hh:mm:ss",i*15],["hh:mm:ss",i*30],[`hh:mm
MM-dd`,n],[`hh:mm
MM-dd`,n*5],[`hh:mm
MM-dd`,n*10],[`hh:mm
MM-dd`,n*15],[`hh:mm
MM-dd`,n*30],[`hh:mm
MM-dd`,a],[`hh:mm
MM-dd`,a*2],[`hh:mm
MM-dd`,a*6],[`hh:mm
MM-dd`,a*12],[`MM-dd
yyyy`,u],[`MM-dd
yyyy`,u*2],[`MM-dd
yyyy`,u*3],[`MM-dd
yyyy`,u*4],[`MM-dd
yyyy`,u*5],[`MM-dd
yyyy`,u*6],["week",u*7],[`MM-dd
yyyy`,u*10],["week",u*14],["week",u*21],["month",u*31],["week",u*42],["month",u*62],["week",u*70],["quarter",u*95],["month",u*31*4],["month",u*31*5],["half-year",u*380/2],["month",u*31*8],["month",u*31*10],["year",u*380]];l.create=function(d){return new l({useUTC:d.ecModel.get("useUTC")})};var s=l;D.exports=s},IXuL:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("MwEJ"),m=e("T4UG"),v=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(h,c){return A(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});D.exports=v},IXyC:function(D,_,e){var g=e("bYtY"),f=e("bLfw");e("3zoK");var A=f.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){f.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(m){var v=this.option;m&&g.merge(v,m,!0),this._initDimensions()},contains:function(m,v){var h=m.get("parallelIndex");return h!=null&&v.getComponent("parallel",h)===this},setAxisExpand:function(m){g.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){m.hasOwnProperty(v)&&(this.option[v]=m[v])},this)},_initDimensions:function(){var m=this.dimensions=[],v=this.parallelAxisIndex=[],h=g.filter(this.dependentModels.parallelAxis,function(c){return(c.get("parallelIndex")||0)===this.componentIndex},this);g.each(h,function(c){m.push("dim"+c.get("dim")),v.push(c.componentIndex)})}});D.exports=A},ItGF:function(D,_){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=f(navigator.userAgent);var g=e;function f(A){var m={},v={},h=A.match(/Firefox\/([\d.]+)/),c=A.match(/MSIE\s([\d.]+)/)||A.match(/Trident\/.+?rv:(([\d.]+))/),o=A.match(/Edge\/([\d.]+)/),i=/micromessenger/i.test(A);return h&&(v.firefox=!0,v.version=h[1]),c&&(v.ie=!0,v.version=c[1]),o&&(v.edge=!0,v.version=o[1]),i&&(v.weChat=!0),{browser:v,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!v.ie&&!v.edge,pointerEventsSupported:"onpointerdown"in window&&(v.edge||v.ie&&v.version>=11),domSupported:typeof document!="undefined"}}D.exports=g},ItS6:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("eP3c"),f=A(e("1q3G"));function A(o){return o&&o.__esModule?o:{default:o}}function m(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function v(o,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,a.key,a)}}function h(o,i,n){return i&&v(o.prototype,i),n&&v(o,n),o}var c=function(){function o(){m(this,o),this.strm=new f.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.inflateInit)(this.strm,this.windowBits)}return h(o,[{key:"setInput",value:function(n){n?(this.strm.input=n,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(n){n>this.chunkSize&&(this.chunkSize=n,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=n;var a=(0,g.inflate)(this.strm,0);if(a<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=n)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,g.inflateReset)(this.strm)}}]),o}();_.default=c},Itpr:function(D,_,e){var g=e("+TT/");function f(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s=[t],d,p;d=s.pop();)if(p=d.children,d.isExpand&&p.length)for(var b=p.length,w=b-1;w>=0;w--){var E=p[w];E.hierNode={defaultAncestor:null,ancestor:E,prelim:0,modifier:0,change:0,shift:0,i:w,thread:null},s.push(E)}}function A(t,s){var d=t.isExpand?t.children:[],p=t.parentNode.children,b=t.hierNode.i?p[t.hierNode.i-1]:null;if(d.length){o(t);var w=(d[0].hierNode.prelim+d[d.length-1].hierNode.prelim)/2;b?(t.hierNode.prelim=b.hierNode.prelim+s(t,b),t.hierNode.modifier=t.hierNode.prelim-w):t.hierNode.prelim=w}else b&&(t.hierNode.prelim=b.hierNode.prelim+s(t,b));t.parentNode.hierNode.defaultAncestor=i(t,b,t.parentNode.hierNode.defaultAncestor||p[0],s)}function m(t){var s=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:s},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function v(t){return arguments.length?t:l}function h(t,s){var d={};return t-=Math.PI/2,d.x=s*Math.cos(t),d.y=s*Math.sin(t),d}function c(t,s){return g.getLayoutRect(t.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function o(t){for(var s=t.children,d=s.length,p=0,b=0;--d>=0;){var w=s[d];w.hierNode.prelim+=p,w.hierNode.modifier+=p,b+=w.hierNode.change,p+=w.hierNode.shift+b}}function i(t,s,d,p){if(s){for(var b=t,w=t,E=w.parentNode.children[0],S=s,x=b.hierNode.modifier,T=w.hierNode.modifier,L=E.hierNode.modifier,y=S.hierNode.modifier;S=n(S),w=a(w),S&&w;){b=n(b),E=a(E),b.hierNode.ancestor=t;var C=S.hierNode.prelim+y-w.hierNode.prelim-T+p(S,w);C>0&&(r(u(S,t,d),t,C),T+=C,x+=C),y+=S.hierNode.modifier,T+=w.hierNode.modifier,x+=b.hierNode.modifier,L+=E.hierNode.modifier}S&&!n(b)&&(b.hierNode.thread=S,b.hierNode.modifier+=y-x),w&&!a(E)&&(E.hierNode.thread=w,E.hierNode.modifier+=T-L,d=t)}return d}function n(t){var s=t.children;return s.length&&t.isExpand?s[s.length-1]:t.hierNode.thread}function a(t){var s=t.children;return s.length&&t.isExpand?s[0]:t.hierNode.thread}function u(t,s,d){return t.hierNode.ancestor.parentNode===s.parentNode?t.hierNode.ancestor:d}function r(t,s,d){var p=d/(s.hierNode.i-t.hierNode.i);s.hierNode.change-=p,s.hierNode.shift+=d,s.hierNode.modifier+=d,s.hierNode.prelim+=d,t.hierNode.change+=p}function l(t,s){return t.parentNode===s.parentNode?1:2}_.init=f,_.firstWalk=A,_.secondWalk=m,_.separation=v,_.radialCoordinate=h,_.getViewRect=c},IwbS:function(D,_,e){var g=e("bYtY"),f=e("NC18"),A=e("Qe9p"),m=e("Fofx"),v=e("QBsz"),h=e("y+Vt"),c=e("DN4a"),o=e("Dagg");_.Image=o;var i=e("4fz+");_.Group=i;var n=e("dqUG");_.Text=n;var a=e("2fw6");_.Circle=a;var u=e("SqI9");_.Sector=u;var r=e("RXMa");_.Ring=r;var l=e("h7HQ");_.Polygon=l;var t=e("1Jh7");_.Polyline=t;var s=e("x6Kt");_.Rect=s;var d=e("yxFR");_.Line=d;var p=e("rA99");_.BezierCurve=p;var b=e("jTL6");_.Arc=b;var w=e("1MYJ");_.CompoundPath=w;var E=e("SKnc");_.LinearGradient=E;var S=e("3e3G");_.RadialGradient=S;var x=e("mFDi");_.BoundingRect=x;var T=e("OS9S");_.IncrementalDisplayable=T;var L=e("nPnh"),y=Math.max,C=Math.min,O={},N=1,k={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},F="emphasis",B="normal",H=1,W={},R={};function U(fe){return h.extend(fe)}function j(fe,ue){return f.extendFromString(fe,ue)}function P(fe,ue){R[fe]=ue}function K(fe){if(R.hasOwnProperty(fe))return R[fe]}function V(fe,ue,Ne,je){var Ke=f.createFromString(fe,ue);return Ne&&(je==="center"&&(Ne=X(Ne,Ke.getBoundingRect())),le(Ke,Ne)),Ke}function z(fe,ue,Ne){var je=new o({style:{image:fe,x:ue.x,y:ue.y,width:ue.width,height:ue.height},onload:function(Ke){if(Ne==="center"){var Ye={width:Ke.width,height:Ke.height};je.setStyle(X(ue,Ye))}}});return je}function X(fe,ue){var Ne=ue.width/ue.height,je=fe.height*Ne,Ke;je<=fe.width?Ke=fe.height:(je=fe.width,Ke=je/Ne);var Ye=fe.x+fe.width/2,Pe=fe.y+fe.height/2;return{x:Ye-je/2,y:Pe-Ke/2,width:je,height:Ke}}var G=f.mergePath;function le(fe,ue){if(!fe.applyTransform)return;var Ne=fe.getBoundingRect(),je=Ne.calculateTransform(ue);fe.applyTransform(je)}function Y(fe){return L.subPixelOptimizeLine(fe.shape,fe.shape,fe.style),fe}function me(fe){return L.subPixelOptimizeRect(fe.shape,fe.shape,fe.style),fe}var we=L.subPixelOptimize;function pe(fe){return fe!=null&&fe!=="none"}var Fe=g.createHashMap(),Xe=0;function dt(fe){if(typeof fe!="string")return fe;var ue=Fe.get(fe);return ue||(ue=A.lift(fe,-.1),Xe<1e4&&(Fe.set(fe,ue),Xe++)),ue}function Ee(fe){if(!fe.__hoverStlDirty)return;fe.__hoverStlDirty=!1;var ue=fe.__hoverStl;if(!ue){fe.__cachedNormalStl=fe.__cachedNormalZ2=null;return}var Ne=fe.__cachedNormalStl={};fe.__cachedNormalZ2=fe.z2;var je=fe.style;for(var Ke in ue)ue[Ke]!=null&&(Ne[Ke]=je[Ke]);Ne.fill=je.fill,Ne.stroke=je.stroke}function Se(fe){var ue=fe.__hoverStl;if(!ue||fe.__highlighted)return;var Ne=fe.__zr,je=fe.useHoverLayer&&Ne&&Ne.painter.type==="canvas";if(fe.__highlighted=je?"layer":"plain",fe.isGroup||!Ne&&fe.useHoverLayer)return;var Ke=fe,Ye=fe.style;je&&(Ke=Ne.addHover(fe),Ye=Ke.style),lt(Ye),je||Ee(Ke),Ye.extendFrom(ue),at(Ye,ue,"fill"),at(Ye,ue,"stroke"),rt(Ye),je||(fe.dirty(!1),fe.z2+=N)}function at(fe,ue,Ne){!pe(ue[Ne])&&pe(fe[Ne])&&(fe[Ne]=dt(fe[Ne]))}function _e(fe){var ue=fe.__highlighted;if(!ue)return;if(fe.__highlighted=!1,fe.isGroup)return;if(ue==="layer")fe.__zr&&fe.__zr.removeHover(fe);else{var Ne=fe.style,je=fe.__cachedNormalStl;je&&(lt(Ne),fe.setStyle(je),rt(Ne));var Ke=fe.__cachedNormalZ2;Ke!=null&&fe.z2-Ke===N&&(fe.z2=Ke)}}function ce(fe,ue,Ne){var je=B,Ke=B,Ye;fe.__highlighted&&(je=F,Ye=!0),ue(fe,Ne),fe.__highlighted&&(Ke=F,Ye=!0),fe.isGroup&&fe.traverse(function(Pe){!Pe.isGroup&&ue(Pe,Ne)}),Ye&&fe.__highDownOnUpdate&&fe.__highDownOnUpdate(je,Ke)}function ee(fe,ue){ue=fe.__hoverStl=ue!==!1&&(fe.hoverStyle||ue||{}),fe.__hoverStlDirty=!0,fe.__highlighted&&(fe.__cachedNormalStl=null,_e(fe),Se(fe))}function se(fe){!Oe(this,fe)&&!this.__highByOuter&&ce(this,Se)}function ke(fe){!Oe(this,fe)&&!this.__highByOuter&&ce(this,_e)}function Ce(fe){this.__highByOuter|=1<<(fe||0),ce(this,Se)}function ze(fe){!(this.__highByOuter&=~(1<<(fe||0)))&&ce(this,_e)}function Oe(fe,ue){return fe.__highDownSilentOnTouch&&ue.zrByTouch}function ae(fe,ue){ge(fe,!0),ce(fe,ee,ue)}function ge(fe,ue){var Ne=ue===!1;if(fe.__highDownSilentOnTouch=fe.highDownSilentOnTouch,fe.__highDownOnUpdate=fe.highDownOnUpdate,!Ne||fe.__highDownDispatcher){var je=Ne?"off":"on";fe[je]("mouseover",se)[je]("mouseout",ke),fe[je]("emphasis",Ce)[je]("normal",ze),fe.__highByOuter=fe.__highByOuter||0,fe.__highDownDispatcher=!Ne}}function Le(fe){return!!(fe&&fe.__highDownDispatcher)}function Ze(fe){var ue=W[fe];return ue==null&&H<=32&&(ue=W[fe]=H++),ue}function vt(fe,ue,Ne,je,Ke,Ye,Pe){Ke=Ke||O;var nt=Ke.labelFetcher,At=Ke.labelDataIndex,Ot=Ke.labelDimIndex,ne=Ke.labelProp,he=Ne.getShallow("show"),Q=je.getShallow("show"),te;(he||Q)&&(nt&&(te=nt.getFormattedLabel(At,"normal",null,Ot,ne)),te==null&&(te=g.isFunction(Ke.defaultText)?Ke.defaultText(At,Ke):Ke.defaultText));var be=he?te:null,Ie=Q?g.retrieve2(nt?nt.getFormattedLabel(At,"emphasis",null,Ot,ne):null,te):null;(be!=null||Ie!=null)&&(Be(fe,Ne,Ye,Ke),Be(ue,je,Pe,Ke,!0)),fe.text=be,ue.text=Ie}function Ct(fe,ue,Ne){var je=fe.style;ue&&(lt(je),fe.setStyle(ue),rt(je)),je=fe.__hoverStl,Ne&&je&&(lt(je),g.extend(je,Ne),rt(je))}function Be(fe,ue,Ne,je,Ke){return He(fe,ue,je,Ke),Ne&&g.extend(fe,Ne),fe}function Rt(fe,ue,Ne){var je={isRectText:!0},Ke;Ne===!1?Ke=!0:je.autoColor=Ne,He(fe,ue,je,Ke)}function He(fe,ue,Ne,je){if(Ne=Ne||O,Ne.isRectText){var Ke;Ne.getTextPosition?Ke=Ne.getTextPosition(ue,je):(Ke=ue.getShallow("position")||(je?null:"inside"),Ke==="outside"&&(Ke="top")),fe.textPosition=Ke,fe.textOffset=ue.getShallow("offset");var Ye=ue.getShallow("rotate");Ye!=null&&(Ye*=Math.PI/180),fe.textRotation=Ye,fe.textDistance=g.retrieve2(ue.getShallow("distance"),je?null:5)}var Pe=ue.ecModel,nt=Pe&&Pe.option.textStyle,At=wt(ue),Ot;if(At){Ot={};for(var ne in At)if(At.hasOwnProperty(ne)){var he=ue.getModel(["rich",ne]);Ge(Ot[ne]={},he,nt,Ne,je)}}return fe.rich=Ot,Ge(fe,ue,nt,Ne,je,!0),Ne.forceRich&&!Ne.textStyle&&(Ne.textStyle={}),fe}function wt(fe){for(var ue;fe&&fe!==fe.ecModel;){var Ne=(fe.option||O).rich;if(Ne){ue=ue||{};for(var je in Ne)Ne.hasOwnProperty(je)&&(ue[je]=1)}fe=fe.parentModel}return ue}function Ge(fe,ue,Ne,je,Ke,Ye){Ne=!Ke&&Ne||O,fe.textFill=et(ue.getShallow("color"),je)||Ne.color,fe.textStroke=et(ue.getShallow("textBorderColor"),je)||Ne.textBorderColor,fe.textStrokeWidth=g.retrieve2(ue.getShallow("textBorderWidth"),Ne.textBorderWidth),Ke||(Ye&&(fe.insideRollbackOpt=je,rt(fe)),fe.textFill==null&&(fe.textFill=je.autoColor)),fe.fontStyle=ue.getShallow("fontStyle")||Ne.fontStyle,fe.fontWeight=ue.getShallow("fontWeight")||Ne.fontWeight,fe.fontSize=ue.getShallow("fontSize")||Ne.fontSize,fe.fontFamily=ue.getShallow("fontFamily")||Ne.fontFamily,fe.textAlign=ue.getShallow("align"),fe.textVerticalAlign=ue.getShallow("verticalAlign")||ue.getShallow("baseline"),fe.textLineHeight=ue.getShallow("lineHeight"),fe.textWidth=ue.getShallow("width"),fe.textHeight=ue.getShallow("height"),fe.textTag=ue.getShallow("tag"),(!Ye||!je.disableBox)&&(fe.textBackgroundColor=et(ue.getShallow("backgroundColor"),je),fe.textPadding=ue.getShallow("padding"),fe.textBorderColor=et(ue.getShallow("borderColor"),je),fe.textBorderWidth=ue.getShallow("borderWidth"),fe.textBorderRadius=ue.getShallow("borderRadius"),fe.textBoxShadowColor=ue.getShallow("shadowColor"),fe.textBoxShadowBlur=ue.getShallow("shadowBlur"),fe.textBoxShadowOffsetX=ue.getShallow("shadowOffsetX"),fe.textBoxShadowOffsetY=ue.getShallow("shadowOffsetY")),fe.textShadowColor=ue.getShallow("textShadowColor")||Ne.textShadowColor,fe.textShadowBlur=ue.getShallow("textShadowBlur")||Ne.textShadowBlur,fe.textShadowOffsetX=ue.getShallow("textShadowOffsetX")||Ne.textShadowOffsetX,fe.textShadowOffsetY=ue.getShallow("textShadowOffsetY")||Ne.textShadowOffsetY}function et(fe,ue){return fe!=="auto"?fe:ue&&ue.autoColor?ue.autoColor:null}function rt(fe){var ue=fe.textPosition,Ne=fe.insideRollbackOpt,je;if(Ne&&fe.textFill==null){var Ke=Ne.autoColor,Ye=Ne.isRectText,Pe=Ne.useInsideStyle,nt=Pe!==!1&&(Pe===!0||Ye&&ue&&typeof ue=="string"&&ue.indexOf("inside")>=0),At=!nt&&Ke!=null;(nt||At)&&(je={textFill:fe.textFill,textStroke:fe.textStroke,textStrokeWidth:fe.textStrokeWidth}),nt&&(fe.textFill="#fff",fe.textStroke==null&&(fe.textStroke=Ke,fe.textStrokeWidth==null&&(fe.textStrokeWidth=2))),At&&(fe.textFill=Ke)}fe.insideRollback=je}function lt(fe){var ue=fe.insideRollback;ue&&(fe.textFill=ue.textFill,fe.textStroke=ue.textStroke,fe.textStrokeWidth=ue.textStrokeWidth,fe.insideRollback=null)}function Ve(fe,ue){var Ne=ue&&ue.getModel("textStyle");return g.trim([fe.fontStyle||Ne&&Ne.getShallow("fontStyle")||"",fe.fontWeight||Ne&&Ne.getShallow("fontWeight")||"",(fe.fontSize||Ne&&Ne.getShallow("fontSize")||12)+"px",fe.fontFamily||Ne&&Ne.getShallow("fontFamily")||"sans-serif"].join(" "))}function ie(fe,ue,Ne,je,Ke,Ye){typeof Ke=="function"&&(Ye=Ke,Ke=null);var Pe=je&&je.isAnimationEnabled();if(Pe){var nt=fe?"Update":"",At=je.getShallow("animationDuration"+nt),Ot=je.getShallow("animationEasing"+nt),ne=je.getShallow("animationDelay"+nt);typeof ne=="function"&&(ne=ne(Ke,je.getAnimationDelayParams?je.getAnimationDelayParams(ue,Ke):null)),typeof At=="function"&&(At=At(Ke)),At>0?ue.animateTo(Ne,At,ne||0,Ot,Ye,!!Ye):(ue.stopAnimation(),ue.attr(Ne),Ye&&Ye())}else ue.stopAnimation(),ue.attr(Ne),Ye&&Ye()}function $(fe,ue,Ne,je,Ke){ie(!0,fe,ue,Ne,je,Ke)}function it(fe,ue,Ne,je,Ke){ie(!1,fe,ue,Ne,je,Ke)}function Qe(fe,ue){for(var Ne=m.identity([]);fe&&fe!==ue;)m.mul(Ne,fe.getLocalTransform(),Ne),fe=fe.parent;return Ne}function ye(fe,ue,Ne){return ue&&!g.isArrayLike(ue)&&(ue=c.getLocalTransform(ue)),Ne&&(ue=m.invert([],ue)),v.applyTransform([],fe,ue)}function Zt(fe,ue,Ne){var je=ue[4]===0||ue[5]===0||ue[0]===0?1:Math.abs(2*ue[4]/ue[0]),Ke=ue[4]===0||ue[5]===0||ue[2]===0?1:Math.abs(2*ue[4]/ue[2]),Ye=[fe==="left"?-je:fe==="right"?je:0,fe==="top"?-Ke:fe==="bottom"?Ke:0];return Ye=ye(Ye,ue,Ne),Math.abs(Ye[0])>Math.abs(Ye[1])?Ye[0]>0?"right":"left":Ye[1]>0?"bottom":"top"}function ht(fe,ue,Ne,je){if(!fe||!ue)return;function Ke(nt){var At={};return nt.traverse(function(Ot){!Ot.isGroup&&Ot.anid&&(At[Ot.anid]=Ot)}),At}function Ye(nt){var At={position:v.clone(nt.position),rotation:nt.rotation};return nt.shape&&(At.shape=g.extend({},nt.shape)),At}var Pe=Ke(fe);ue.traverse(function(nt){if(!nt.isGroup&&nt.anid){var At=Pe[nt.anid];if(At){var Ot=Ye(nt);nt.attr(Ye(At)),$(nt,Ot,Ne,nt.dataIndex)}}})}function ct(fe,ue){return g.map(fe,function(Ne){var je=Ne[0];je=y(je,ue.x),je=C(je,ue.x+ue.width);var Ke=Ne[1];return Ke=y(Ke,ue.y),Ke=C(Ke,ue.y+ue.height),[je,Ke]})}function yt(fe,ue){var Ne=y(fe.x,ue.x),je=C(fe.x+fe.width,ue.x+ue.width),Ke=y(fe.y,ue.y),Ye=C(fe.y+fe.height,ue.y+ue.height);if(je>=Ne&&Ye>=Ke)return{x:Ne,y:Ke,width:je-Ne,height:Ye-Ke}}function It(fe,ue,Ne){ue=g.extend({rectHover:!0},ue);var je=ue.style={strokeNoScale:!0};if(Ne=Ne||{x:-1,y:-1,width:2,height:2},fe)return fe.indexOf("image://")===0?(je.image=fe.slice(8),g.defaults(je,Ne),new o(ue)):V(fe.replace("path://",""),ue,Ne,"center")}function or(fe,ue,Ne,je,Ke){for(var Ye=0,Pe=Ke[Ke.length-1];Ye<Ke.length;Ye++){var nt=Ke[Ye];if(Bt(fe,ue,Ne,je,nt[0],nt[1],Pe[0],Pe[1]))return!0;Pe=nt}}function Bt(fe,ue,Ne,je,Ke,Ye,Pe,nt){var At=Ne-fe,Ot=je-ue,ne=Pe-Ke,he=nt-Ye,Q=Ae(ne,he,At,Ot);if(ve(Q))return!1;var te=fe-Ke,be=ue-Ye,Ie=Ae(te,be,At,Ot)/Q;if(Ie<0||Ie>1)return!1;var Re=Ae(te,be,ne,he)/Q;return!(Re<0||Re>1)}function Ae(fe,ue,Ne,je){return fe*je-Ne*ue}function ve(fe){return fe<=1e-6&&fe>=-1e-6}P("circle",a),P("sector",u),P("ring",r),P("polygon",l),P("polyline",t),P("rect",s),P("line",d),P("bezierCurve",p),P("arc",b),_.Z2_EMPHASIS_LIFT=N,_.CACHED_LABEL_STYLE_PROPERTIES=k,_.extendShape=U,_.extendPath=j,_.registerShape=P,_.getShapeClass=K,_.makePath=V,_.makeImage=z,_.mergePath=G,_.resizePath=le,_.subPixelOptimizeLine=Y,_.subPixelOptimizeRect=me,_.subPixelOptimize=we,_.setElementHoverStyle=ee,_.setHoverStyle=ae,_.setAsHighDownDispatcher=ge,_.isHighDownDispatcher=Le,_.getHighlightDigit=Ze,_.setLabelStyle=vt,_.modifyLabelStyle=Ct,_.setTextStyle=Be,_.setText=Rt,_.getFont=Ve,_.updateProps=$,_.initProps=it,_.getTransform=Qe,_.applyTransform=ye,_.transformDirection=Zt,_.groupTransition=ht,_.clipPointsByRect=ct,_.clipRectByRect=yt,_.createIcon=It,_.linePolygonIntersect=or,_.lineLineIntersect=Bt},IyUQ:function(D,_,e){var g=e("bYtY"),f=e("YH21"),A=e("IwbS"),m=e("iLNv"),v=e("fc+c"),h=e("OELB"),c=e("+TT/"),o=e("72pK"),i=A.Rect,n=h.linearMap,a=h.asc,u=g.bind,r=g.each,l=7,t=1,s=30,d="horizontal",p="vertical",b=5,w=["line","bar","candlestick","scatter"],E=v.extend({type:"dataZoom.slider",init:function(L,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(L,y,C,O){if(E.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=L.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!O||O.type!=="dataZoom"||O.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){E.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){E.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var L=this.group;L.removeAll(),this._resetLocation(),this._resetInterval();var y=this._displayables.barGroup=new A.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),L.add(y),this._positionGroup()},_resetLocation:function(){var L=this.dataZoomModel,y=this.api,C=this._findCoordRect(),O={width:y.getWidth(),height:y.getHeight()},N=this._orient===d?{right:O.width-C.x-C.width,top:O.height-s-l,width:C.width,height:s}:{right:l,top:C.y,width:s,height:C.height},k=c.getLayoutParams(L.option);g.each(["right","top","width","height"],function(B){k[B]==="ph"&&(k[B]=N[B])});var F=c.getLayoutRect(k,O,L.padding);this._location={x:F.x,y:F.y},this._size=[F.width,F.height],this._orient===p&&this._size.reverse()},_positionGroup:function(){var L=this.group,y=this._location,C=this._orient,O=this.dataZoomModel.getFirstTargetAxisModel(),N=O&&O.get("inverse"),k=this._displayables.barGroup,F=(this._dataShadowInfo||{}).otherAxisInverse;k.attr(C===d&&!N?{scale:F?[1,1]:[1,-1]}:C===d&&N?{scale:F?[-1,1]:[-1,-1]}:C===p&&!N?{scale:F?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:F?[-1,-1]:[-1,1],rotation:Math.PI/2});var B=L.getBoundingRect([k]);L.attr("position",[y.x-B.x,y.y-B.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var L=this.dataZoomModel,y=this._size,C=this._displayables.barGroup;C.add(new i({silent:!0,shape:{x:0,y:0,width:y[0],height:y[1]},style:{fill:L.get("backgroundColor")},z2:-40})),C.add(new i({shape:{x:0,y:0,width:y[0],height:y[1]},style:{fill:"transparent"},z2:0,onclick:g.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var L=this._dataShadowInfo=this._prepareDataShadowInfo();if(!L)return;var y=this._size,C=L.series,O=C.getRawData(),N=C.getShadowDim?C.getShadowDim():L.otherDim;if(N==null)return;var k=O.getDataExtent(N),F=(k[1]-k[0])*.3;k=[k[0]-F,k[1]+F];var B=[0,y[1]],H=[0,y[0]],W=[[y[0],0],[0,0]],R=[],U=H[1]/(O.count()-1),j=0,P=Math.round(O.count()/y[0]),K;O.each([N],function(z,X){if(P>0&&X%P){j+=U;return}var G=z==null||isNaN(z)||z==="",le=G?0:n(z,k,B,!0);G&&!K&&X?(W.push([W[W.length-1][0],0]),R.push([R[R.length-1][0],0])):!G&&K&&(W.push([j,0]),R.push([j,0])),W.push([j,le]),R.push([j,le]),j+=U,K=G});var V=this.dataZoomModel;this._displayables.barGroup.add(new A.Polygon({shape:{points:W},style:g.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new A.Polyline({shape:{points:R},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var L=this.dataZoomModel,y=L.get("showDataShadow");if(y===!1)return;var C,O=this.ecModel;return L.eachTargetAxis(function(N,k){var F=L.getAxisProxy(N.name,k).getTargetSeriesModels();g.each(F,function(B){if(C)return;if(y!==!0&&g.indexOf(w,B.get("type"))<0)return;var H=O.getComponent(N.axis,k).axis,W=S(N.name),R,U=B.coordinateSystem;W!=null&&U.getOtherAxis&&(R=U.getOtherAxis(H).inverse),W=B.getData().mapDimension(W),C={thisAxis:H,series:B,thisDim:N.name,otherDim:W,otherAxisInverse:R}},this)},this),C},_renderHandle:function(){var L=this._displayables,y=L.handles=[],C=L.handleLabels=[],O=this._displayables.barGroup,N=this._size,k=this.dataZoomModel;O.add(L.filler=new i({draggable:!0,cursor:x(this._orient),drift:u(this._onDragMove,this,"all"),ondragstart:u(this._showDataInfo,this,!0),ondragend:u(this._onDragEnd,this),onmouseover:u(this._showDataInfo,this,!0),onmouseout:u(this._showDataInfo,this,!1),style:{fill:k.get("fillerColor"),textPosition:"inside"}})),O.add(new i({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:N[0],height:N[1]},style:{stroke:k.get("dataBackgroundColor")||k.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),r([0,1],function(F){var B=A.createIcon(k.get("handleIcon"),{cursor:x(this._orient),draggable:!0,drift:u(this._onDragMove,this,F),ondragend:u(this._onDragEnd,this),onmouseover:u(this._showDataInfo,this,!0),onmouseout:u(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),H=B.getBoundingRect();this._handleHeight=h.parsePercent(k.get("handleSize"),this._size[1]),this._handleWidth=H.width/H.height*this._handleHeight,B.setStyle(k.getModel("handleStyle").getItemStyle());var W=k.get("handleColor");W!=null&&(B.style.fill=W),O.add(y[F]=B);var R=k.textStyleModel;this.group.add(C[F]=new A.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:R.getTextColor(),textFont:R.getFont()},z2:10}))},this)},_resetInterval:function(){var L=this._range=this.dataZoomModel.getPercentRange(),y=this._getViewExtent();this._handleEnds=[n(L[0],[0,100],y,!0),n(L[1],[0,100],y,!0)]},_updateInterval:function(L,y){var C=this.dataZoomModel,O=this._handleEnds,N=this._getViewExtent(),k=C.findRepresentativeAxisProxy().getMinMaxSpan(),F=[0,100];o(y,O,N,C.get("zoomLock")?"all":L,k.minSpan!=null?n(k.minSpan,F,N,!0):null,k.maxSpan!=null?n(k.maxSpan,F,N,!0):null);var B=this._range,H=this._range=a([n(O[0],N,F,!0),n(O[1],N,F,!0)]);return!B||B[0]!==H[0]||B[1]!==H[1]},_updateView:function(L){var y=this._displayables,C=this._handleEnds,O=a(C.slice()),N=this._size;r([0,1],function(k){var F=y.handles[k],B=this._handleHeight;F.attr({scale:[B/2,B/2],position:[C[k],N[1]/2-B/2]})},this),y.filler.setShape({x:O[0],y:0,width:O[1]-O[0],height:N[1]}),this._updateDataInfo(L)},_updateDataInfo:function(L){var y=this.dataZoomModel,C=this._displayables,O=C.handleLabels,N=this._orient,k=["",""];if(y.get("showDetail")){var F=y.findRepresentativeAxisProxy();if(F){var B=F.getAxisModel().axis,H=this._range,W=L?F.calculateDataWindow({start:H[0],end:H[1]}).valueWindow:F.getDataValueWindow();k=[this._formatLabel(W[0],B),this._formatLabel(W[1],B)]}}var R=a(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(j){var P=A.getTransform(C.handles[j].parent,this.group),K=A.transformDirection(j===0?"right":"left",P),V=this._handleWidth/2+b,z=A.applyTransform([R[j]+(j===0?-V:V),this._size[1]/2],P);O[j].setStyle({x:z[0],y:z[1],textVerticalAlign:N===d?"middle":K,textAlign:N===d?K:"center",text:k[j]})}},_formatLabel:function(L,y){var C=this.dataZoomModel,O=C.get("labelFormatter"),N=C.get("labelPrecision");(N==null||N==="auto")&&(N=y.getPixelPrecision());var k=L==null||isNaN(L)?"":y.type==="category"||y.type==="time"?y.scale.getLabel(Math.round(L)):L.toFixed(Math.min(N,20));return g.isFunction(O)?O(L,k):g.isString(O)?O.replace("{value}",k):k},_showDataInfo:function(L){L=this._dragging||L;var y=this._displayables.handleLabels;y[0].attr("invisible",!L),y[1].attr("invisible",!L)},_onDragMove:function(L,y,C,O){this._dragging=!0,f.stop(O.event);var N=this._displayables.barGroup.getLocalTransform(),k=A.applyTransform([y,C],N,!0),F=this._updateInterval(L,k[0]),B=this.dataZoomModel.get("realtime");this._updateView(!B),F&&B&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var L=this.dataZoomModel.get("realtime");!L&&this._dispatchZoomAction()},_onClickPanelClick:function(L){var y=this._size,C=this._displayables.barGroup.transformCoordToLocal(L.offsetX,L.offsetY);if(C[0]<0||C[0]>y[0]||C[1]<0||C[1]>y[1])return;var O=this._handleEnds,N=(O[0]+O[1])/2,k=this._updateInterval("all",C[0]-N);this._updateView(),k&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var L=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:L[0],end:L[1]})},_findCoordRect:function(){var L;if(r(this.getTargetCoordInfo(),function(O){if(!L&&O.length){var N=O[0].model.coordinateSystem;L=N.getRect&&N.getRect()}}),!L){var y=this.api.getWidth(),C=this.api.getHeight();L={x:y*.2,y:C*.2,width:y*.6,height:C*.6}}return L}});function S(L){var y={x:"y",y:"x",radius:"angle",angle:"radius"};return y[L]}function x(L){return L==="vertical"?"ns-resize":"ew-resize"}var T=E;D.exports=T},IzEo:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("lnY3"),m=e.n(A),v=e("Znn+"),h=e("14J3"),c=e("jCWc")},J66h:function(D,_,e){(function(g){var f,A;(function(m,v){D.exports=v(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof g!="undefined"?g:this,function(m){"use strict";m=m||{};var v=m.Base64,h="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=function(B){for(var H={},W=0,R=B.length;W<R;W++)H[B.charAt(W)]=W;return H}(c),i=String.fromCharCode,n=function(H){if(H.length<2){var W=H.charCodeAt(0);return W<128?H:W<2048?i(192|W>>>6)+i(128|W&63):i(224|W>>>12&15)+i(128|W>>>6&63)+i(128|W&63)}else{var W=65536+(H.charCodeAt(0)-55296)*1024+(H.charCodeAt(1)-56320);return i(240|W>>>18&7)+i(128|W>>>12&63)+i(128|W>>>6&63)+i(128|W&63)}},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,u=function(H){return H.replace(a,n)},r=function(H){var W=[0,2,1][H.length%3],R=H.charCodeAt(0)<<16|(H.length>1?H.charCodeAt(1):0)<<8|(H.length>2?H.charCodeAt(2):0),U=[c.charAt(R>>>18),c.charAt(R>>>12&63),W>=2?"=":c.charAt(R>>>6&63),W>=1?"=":c.charAt(R&63)];return U.join("")},l=m.btoa&&typeof m.btoa=="function"?function(B){return m.btoa(B)}:function(B){if(B.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return B.replace(/[\s\S]{1,3}/g,r)},t=function(H){return l(u(String(H)))},s=function(H){return H.replace(/[+\/]/g,function(W){return W=="+"?"-":"_"}).replace(/=/g,"")},d=function(H,W){return W?s(t(H)):t(H)},p=function(H){return d(H,!0)},b;m.Uint8Array&&(b=function(H,W){for(var R="",U=0,j=H.length;U<j;U+=3){var P=H[U],K=H[U+1],V=H[U+2],z=P<<16|K<<8|V;R+=c.charAt(z>>>18)+c.charAt(z>>>12&63)+(typeof K!="undefined"?c.charAt(z>>>6&63):"=")+(typeof V!="undefined"?c.charAt(z&63):"=")}return W?s(R):R});var w=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(H){switch(H.length){case 4:var W=(7&H.charCodeAt(0))<<18|(63&H.charCodeAt(1))<<12|(63&H.charCodeAt(2))<<6|63&H.charCodeAt(3),R=W-65536;return i((R>>>10)+55296)+i((R&1023)+56320);case 3:return i((15&H.charCodeAt(0))<<12|(63&H.charCodeAt(1))<<6|63&H.charCodeAt(2));default:return i((31&H.charCodeAt(0))<<6|63&H.charCodeAt(1))}},S=function(H){return H.replace(w,E)},x=function(H){var W=H.length,R=W%4,U=(W>0?o[H.charAt(0)]<<18:0)|(W>1?o[H.charAt(1)]<<12:0)|(W>2?o[H.charAt(2)]<<6:0)|(W>3?o[H.charAt(3)]:0),j=[i(U>>>16),i(U>>>8&255),i(U&255)];return j.length-=[0,0,2,1][R],j.join("")},T=m.atob&&typeof m.atob=="function"?function(B){return m.atob(B)}:function(B){return B.replace(/\S{1,4}/g,x)},L=function(H){return T(String(H).replace(/[^A-Za-z0-9\+\/]/g,""))},y=function(H){return S(T(H))},C=function(H){return String(H).replace(/[-_]/g,function(W){return W=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},O=function(H){return y(C(H))},N;m.Uint8Array&&(N=function(H){return Uint8Array.from(L(C(H)),function(W){return W.charCodeAt(0)})});var k=function(){var H=m.Base64;return m.Base64=v,H};if(m.Base64={VERSION:h,atob:L,btoa:l,fromBase64:O,toBase64:d,utob:u,encode:d,encodeURI:p,btou:S,decode:O,noConflict:k,fromUint8Array:b,toUint8Array:N},typeof Object.defineProperty=="function"){var F=function(H){return{value:H,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",F(function(){return O(this)})),Object.defineProperty(String.prototype,"toBase64",F(function(B){return d(this,B)})),Object.defineProperty(String.prototype,"toBase64URI",F(function(){return d(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),D.exports?D.exports.Base64=m.Base64:!(f=[],A=function(){return m.Base64}.apply(_,f),A!==void 0&&(D.exports=A)),{Base64:m.Base64}})}).call(this,e("yLpj"))},JEkh:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("ItGF"),h=e("4NO4"),c=e("7aKB"),o=e("OKJ2"),i=c.addCommas,n=c.encodeHTML;function a(l){h.defaultEmphasis(l,"label",["show"])}var u=A.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,t,s){this.mergeDefaultAndTheme(l,s),this._mergeOption(l,s,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,t){this._mergeOption(l,t,!1,!1)},_mergeOption:function(l,t,s,d){var p=this.constructor,b=this.mainType+"Model";s||t.eachSeries(function(w){var E=w.get(this.mainType,!0),S=w[b];if(!E||!E.data){w[b]=null;return}S?S._mergeOption(E,t,!0):(d&&a(E),m.each(E.data,function(x){x instanceof Array?(a(x[0]),a(x[1])):a(x)}),S=new p(E,this,t),m.extend(S,{mainType:this.mainType,seriesIndex:w.seriesIndex,name:w.name,createdBySelf:!0}),S.__hostSeries=w),w[b]=S},this)},formatTooltip:function(l){var t=this.getData(),s=this.getRawValue(l),d=m.isArray(s)?m.map(s,i).join(", "):i(s),p=t.getName(l),b=n(this.name);return(s!=null||p)&&(b+="<br />"),p&&(b+=n(p),s!=null&&(b+=" : ")),s!=null&&(b+=n(d)),b},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(u,o);var r=u;D.exports=r},JGo8:function(D,_,e){},JHRd:function(D,_,e){var g=e("Kz5y"),f=g.Uint8Array;D.exports=f},JHgL:function(D,_,e){var g=e("QkVE");function f(A){return g(this,A).get(A)}D.exports=f},JLnu:function(D,_,e){var g=e("+TT/"),f=e("OELB"),A=f.parsePercent,m=f.linearMap;function v(i,n){return g.getLayoutRect(i.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function h(i,n){for(var a=i.mapDimension("value"),u=i.mapArray(a,function(d){return d}),r=[],l=n==="ascending",t=0,s=i.count();t<s;t++)r[t]=t;return typeof n=="function"?r.sort(n):n!=="none"&&r.sort(function(d,p){return l?u[d]-u[p]:u[p]-u[d]}),r}function c(i){i.each(function(n){var a=i.getItemModel(n),u=a.getModel("label"),r=u.get("position"),l=a.getModel("labelLine"),t=i.getItemLayout(n),s=t.points,d=r==="inner"||r==="inside"||r==="center"||r==="insideLeft"||r==="insideRight",p,b,w,E;if(d)r==="insideLeft"?(b=(s[0][0]+s[3][0])/2+5,w=(s[0][1]+s[3][1])/2,p="left"):r==="insideRight"?(b=(s[1][0]+s[2][0])/2-5,w=(s[1][1]+s[2][1])/2,p="right"):(b=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,w=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,p="center"),E=[[b,w],[b,w]];else{var S,x,T,L=l.get("length");r==="left"?(S=(s[3][0]+s[0][0])/2,x=(s[3][1]+s[0][1])/2,T=S-L,b=T-5,p="right"):r==="right"?(S=(s[1][0]+s[2][0])/2,x=(s[1][1]+s[2][1])/2,T=S+L,b=T+5,p="left"):r==="rightTop"?(S=s[1][0],x=s[1][1],T=S+L,b=T+5,p="top"):r==="rightBottom"?(S=s[2][0],x=s[2][1],T=S+L,b=T+5,p="bottom"):r==="leftTop"?(S=s[0][0],x=s[1][1],T=S-L,b=T-5,p="right"):r==="leftBottom"?(S=s[3][0],x=s[2][1],T=S-L,b=T-5,p="right"):(S=(s[1][0]+s[2][0])/2,x=(s[1][1]+s[2][1])/2,T=S+L,b=T+5,p="left");var y=x;E=[[S,x],[T,y]],w=y}t.label={linePoints:E,x:b,y:w,verticalAlign:"middle",textAlign:p,inside:d}})}function o(i,n,a){i.eachSeriesByType("funnel",function(u){var r=u.getData(),l=r.mapDimension("value"),t=u.get("sort"),s=v(u,n),d=h(r,t),p=[A(u.get("minSize"),s.width),A(u.get("maxSize"),s.width)],b=r.getDataExtent(l),w=u.get("min"),E=u.get("max");w==null&&(w=Math.min(b[0],0)),E==null&&(E=b[1]);var S=u.get("funnelAlign"),x=u.get("gap"),T=(s.height-x*(r.count()-1))/r.count(),L=s.y,y=function(W,R){var U=r.get(l,W)||0,j=m(U,[w,E],p,!0),P;switch(S){case"left":P=s.x;break;case"center":P=s.x+(s.width-j)/2;break;case"right":P=s.x+s.width-j;break}return[[P,R],[P+j,R]]};t==="ascending"&&(T=-T,x=-x,L+=s.height,d=d.reverse());for(var C=0;C<d.length;C++){var O=d[C],N=d[C+1],k=r.getItemModel(O),F=k.get("itemStyle.height");F==null?F=T:(F=A(F,s.height),t==="ascending"&&(F=-F));var B=y(O,L),H=y(N,L+F);L+=F+x,r.setItemLayout(O,{points:B.concat(H.slice().reverse())})}c(r)})}D.exports=o},JSQU:function(D,_,e){var g=e("YESw"),f="__lodash_hash_undefined__";function A(m,v){var h=this.__data__;return this.size+=this.has(m)?0:1,h[m]=g&&v===void 0?f:v,this}D.exports=A},JSwD:function(D,_,e){"use strict";function g(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(p){return typeof p}:g=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},g(s)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=t;var f=m(e("6BzB"));function A(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return A=function(){return s},s}function m(s){if(s&&s.__esModule)return s;if(s===null||g(s)!=="object"&&typeof s!="function")return{default:s};var d=A();if(d&&d.has(s))return d.get(s);var p={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in s)if(Object.prototype.hasOwnProperty.call(s,w)){var E=b?Object.getOwnPropertyDescriptor(s,w):null;E&&(E.get||E.set)?Object.defineProperty(p,w,E):p[w]=s[w]}return p.default=s,d&&d.set(s,p),p}var v=15,h=852,c=592,o=0,i=1,n=2,a=[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],u=[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],r=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function t(s,d,p,b,w,E,S,x){var T=x.bits,L=0,y=0,C=0,O=0,N=0,k=0,F=0,B=0,H=0,W=0,R,U,j,P,K,V=null,z=0,X,G=new f.Buf16(v+1),le=new f.Buf16(v+1),Y=null,me=0,we,pe,Fe;for(L=0;L<=v;L++)G[L]=0;for(y=0;y<b;y++)G[d[p+y]]++;for(N=T,O=v;O>=1&&!(G[O]!==0);O--);if(N>O&&(N=O),O===0)return w[E++]=1<<24|64<<16|0,w[E++]=1<<24|64<<16|0,x.bits=1,0;for(C=1;C<O&&!(G[C]!==0);C++);for(N<C&&(N=C),B=1,L=1;L<=v;L++)if(B<<=1,B-=G[L],B<0)return-1;if(B>0&&(s===o||O!==1))return-1;for(le[1]=0,L=1;L<v;L++)le[L+1]=le[L]+G[L];for(y=0;y<b;y++)d[p+y]!==0&&(S[le[d[p+y]]++]=y);if(s===o?(V=Y=S,X=19):s===i?(V=a,z-=257,Y=u,me-=257,X=256):(V=r,Y=l,X=-1),W=0,y=0,L=C,K=E,k=N,F=0,j=-1,H=1<<N,P=H-1,s===i&&H>h||s===n&&H>c)return 1;for(;;){we=L-F,S[y]<X?(pe=0,Fe=S[y]):S[y]>X?(pe=Y[me+S[y]],Fe=V[z+S[y]]):(pe=32+64,Fe=0),R=1<<L-F,U=1<<k,C=U;do U-=R,w[K+(W>>F)+U]=we<<24|pe<<16|Fe|0;while(U!==0);for(R=1<<L-1;W&R;)R>>=1;if(R!==0?(W&=R-1,W+=R):W=0,y++,--G[L]===0){if(L===O)break;L=d[p+S[y]]}if(L>N&&(W&P)!==j){for(F===0&&(F=N),K+=C,k=L-F,B=1<<k;k+F<O&&!(B-=G[k+F],B<=0);)k++,B<<=1;if(H+=1<<k,s===i&&H>h||s===n&&H>c)return 1;j=W&P,w[j]=N<<24|k<<16|K-E|0}}return W!==0&&(w[K+W]=L-F<<24|64<<16|0),x.bits=N,0}},JTzB:function(D,_,e){var g=e("NykK"),f=e("ExA7"),A="[object Arguments]";function m(v){return f(v)&&g(v)==A}D.exports=m},JVwQ:function(D,_,e){var g=e("ProS"),f=e("1NG9"),A=f.Polygon,m=e("IwbS"),v=e("bYtY"),h=v.bind,c=v.extend,o=e("gPAo"),i=g.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(a,u,r){var l=a.getData(),t=this.group,s=a.getLayerSeries(),d=l.getLayout("layoutInfo"),p=d.rect,b=d.boundaryGap;t.attr("position",[0,p.y+b[0]]);function w(T){return T.name}var E=new o(this._layersSeries||[],s,w,w),S={};E.add(h(x,this,"add")).update(h(x,this,"update")).remove(h(x,this,"remove")).execute();function x(T,L,y){var C=this._layers;if(T==="remove"){t.remove(C[L]);return}for(var O=[],N=[],k,F=s[L].indices,B=0;B<F.length;B++){var H=l.getItemLayout(F[B]),W=H.x,R=H.y0,U=H.y;O.push([W,R]),N.push([W,R+U]),k=l.getItemVisual(F[B],"color")}var j,P,K=l.getItemLayout(F[0]),V=l.getItemModel(F[B-1]),z=V.getModel("label"),X=z.get("margin");if(T==="add"){var G=S[L]=new m.Group;j=new A({shape:{points:O,stackedOnPoints:N,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),P=new m.Text({style:{x:K.x-X,y:K.y0+K.y/2}}),G.add(j),G.add(P),t.add(G),j.setClipPath(n(j.getBoundingRect(),a,function(){j.removeClipPath()}))}else{var G=C[y];j=G.childAt(0),P=G.childAt(1),t.add(G),S[L]=G,m.updateProps(j,{shape:{points:O,stackedOnPoints:N}},a),m.updateProps(P,{style:{x:K.x-X,y:K.y0+K.y/2}},a)}var le=V.getModel("emphasis.itemStyle"),Y=V.getModel("itemStyle");m.setTextStyle(P.style,z,{text:z.get("show")?a.getFormattedLabel(F[B-1],"normal")||l.getName(F[B-1]):null,textVerticalAlign:"middle"}),j.setStyle(c({fill:k},Y.getItemStyle(["color"]))),m.setHoverStyle(j,le.getItemStyle())}this._layersSeries=s,this._layers=S},dispose:function(){}});function n(a,u,r){var l=new m.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return m.initProps(l,{shape:{width:a.width+20,height:a.height+20}},u,r),l}D.exports=i},JgUQ:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};_.default=g},JsLm:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("PJYZ"),n=e.n(i),a=e("7W2i"),u=e.n(a),r=e("LQ03"),l=e.n(r),t=e("q1tI"),s=e("i8i4"),d=e("TSYQ"),p=e.n(d),b=e("zT1h"),w=e("cDf5"),E=e.n(w),S=e("BGR+"),x=e("t23M"),T=e("H84U"),L=e("PEeC");function y(Xe){return Xe!==window?Xe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function C(Xe,dt,Ee){return Ee!==void 0&&dt.top>Xe.top-Ee?Ee+dt.top:void 0}function O(Xe,dt,Ee){if(Ee!==void 0&&dt.bottom<Xe.bottom+Ee){var Se=window.innerHeight-dt.bottom;return Ee+Se}return}var N=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],k=[];function F(){return k}function B(Xe,dt){if(!Xe)return;var Ee=k.find(function(Se){return Se.target===Xe});Ee?Ee.affixList.push(dt):(Ee={target:Xe,affixList:[dt],eventHandlers:{}},k.push(Ee),N.forEach(function(Se){Ee.eventHandlers[Se]=Object(b.a)(Xe,Se,function(){Ee.affixList.forEach(function(at){at.lazyUpdatePosition()})})}))}function H(Xe){var dt=k.find(function(Ee){var Se=Ee.affixList.some(function(at){return at===Xe});return Se&&(Ee.affixList=Ee.affixList.filter(function(at){return at!==Xe})),Se});dt&&dt.affixList.length===0&&(k=k.filter(function(Ee){return Ee!==dt}),N.forEach(function(Ee){var Se=dt.eventHandlers[Ee];Se&&Se.remove&&Se.remove()}))}var W=function(Xe,dt,Ee,Se){var at=arguments.length,_e=at<3?dt:Se===null?Se=Object.getOwnPropertyDescriptor(dt,Ee):Se,ce;if((typeof Reflect=="undefined"?"undefined":E()(Reflect))==="object"&&typeof Reflect.decorate=="function")_e=Reflect.decorate(Xe,dt,Ee,Se);else for(var ee=Xe.length-1;ee>=0;ee--)(ce=Xe[ee])&&(_e=(at<3?ce(_e):at>3?ce(dt,Ee,_e):ce(dt,Ee))||_e);return at>3&&_e&&Object.defineProperty(dt,Ee,_e),_e};function R(){return typeof window!="undefined"?window:null}var U;(function(Xe){Xe[Xe.None=0]="None",Xe[Xe.Prepare=1]="Prepare"})(U||(U={}));var j=function(Xe){u()(Ee,Xe);var dt=l()(Ee);function Ee(){var Se;return h()(this,Ee),Se=dt.apply(this,arguments),Se.state={status:U.None,lastAffix:!1,prevTarget:null},Se.getOffsetTop=function(){var at=Se.props.offsetBottom,_e=Se.props.offsetTop;return at===void 0&&_e===void 0&&(_e=0),_e},Se.getOffsetBottom=function(){return Se.props.offsetBottom},Se.savePlaceholderNode=function(at){Se.placeholderNode=at},Se.saveFixedNode=function(at){Se.fixedNode=at},Se.measure=function(){var at=Se.state,_e=at.status,ce=at.lastAffix,ee=Se.props.onChange,se=Se.getTargetFunc();if(_e!==U.Prepare||!Se.fixedNode||!Se.placeholderNode||!se)return;var ke=Se.getOffsetTop(),Ce=Se.getOffsetBottom(),ze=se();if(!ze)return;var Oe={status:U.None},ae=y(ze),ge=y(Se.placeholderNode),Le=C(ge,ae,ke),Ze=O(ge,ae,Ce);Le!==void 0?(Oe.affixStyle={position:"fixed",top:Le,width:ge.width,height:ge.height},Oe.placeholderStyle={width:ge.width,height:ge.height}):Ze!==void 0&&(Oe.affixStyle={position:"fixed",bottom:Ze,width:ge.width,height:ge.height},Oe.placeholderStyle={width:ge.width,height:ge.height}),Oe.lastAffix=!!Oe.affixStyle,ee&&ce!==Oe.lastAffix&&ee(Oe.lastAffix),Se.setState(Oe)},Se.prepareMeasure=function(){if(Se.setState({status:U.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var at},Se.render=function(){var at=Se.context.getPrefixCls,_e=Se.state,ce=_e.affixStyle,ee=_e.placeholderStyle,se=Se.props,ke=se.prefixCls,Ce=se.children,ze=p()(m()({},at("affix",ke),ce)),Oe=Object(S.default)(Se.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(x.a,{onResize:function(){Se.updatePosition()}},t.createElement("div",f()({},Oe,{ref:Se.savePlaceholderNode}),ce&&t.createElement("div",{style:ee,"aria-hidden":"true"}),t.createElement("div",{className:ze,ref:Se.saveFixedNode,style:ce},t.createElement(x.a,{onResize:function(){Se.updatePosition()}},Ce))))},Se}return o()(Ee,[{key:"getTargetFunc",value:function(){var at=this.context.getTargetContainer,_e=this.props.target;return _e!==void 0?_e:at||R}},{key:"componentDidMount",value:function(){var at=this,_e=this.getTargetFunc();_e&&(this.timeout=setTimeout(function(){B(_e(),at),at.updatePosition()}))}},{key:"componentDidUpdate",value:function(at){var _e=this.state.prevTarget,ce=this.getTargetFunc(),ee=null;ce&&(ee=ce()||null),_e!==ee&&(H(this),ee&&(B(ee,this),this.updatePosition()),this.setState({prevTarget:ee})),(at.offsetTop!==this.props.offsetTop||at.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),H(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var at=this.getTargetFunc(),_e=this.state.affixStyle;if(at&&_e){var ce=this.getOffsetTop(),ee=this.getOffsetBottom(),se=at();if(se&&this.placeholderNode){var ke=y(se),Ce=y(this.placeholderNode),ze=C(Ce,ke,ce),Oe=O(Ce,ke,ee);if(ze!==void 0&&_e.top===ze||Oe!==void 0&&_e.bottom===Oe)return}}this.prepareMeasure()}}]),Ee}(t.Component);j.contextType=T.b,W([Object(L.b)()],j.prototype,"updatePosition",null),W([Object(L.b)()],j.prototype,"lazyUpdatePosition",null);var P=j,K=e("zAh6"),V=e("i6bk"),z=t.createContext(null),X=z;function G(){return window}function le(Xe,dt){if(!Xe.getClientRects().length)return 0;var Ee=Xe.getBoundingClientRect();return Ee.width||Ee.height?dt===window?(dt=Xe.ownerDocument.documentElement,Ee.top-dt.clientTop):Ee.top-dt.getBoundingClientRect().top:Ee.top}var Y=/#(\S+)$/,me=function(Xe){u()(Ee,Xe);var dt=l()(Ee);function Ee(){var Se;return h()(this,Ee),Se=dt.apply(this,arguments),Se.state={activeLink:null},Se.links=[],Se.registerLink=function(at){Se.links.includes(at)||Se.links.push(at)},Se.unregisterLink=function(at){var _e=Se.links.indexOf(at);_e!==-1&&Se.links.splice(_e,1)},Se.getContainer=function(){var at=Se.context.getTargetContainer,_e=Se.props.getContainer,ce=_e||at||G;return ce()},Se.handleScrollTo=function(at){var _e=Se.props,ce=_e.offsetTop,ee=_e.targetOffset;Se.setCurrentActiveLink(at);var se=Se.getContainer(),ke=Object(V.a)(se,!0),Ce=Y.exec(at);if(!Ce)return;var ze=document.getElementById(Ce[1]);if(!ze)return;var Oe=le(ze,se),ae=ke+Oe;ae-=ee!==void 0?ee:ce||0,Se.animating=!0,Object(K.a)(ae,{callback:function(){Se.animating=!1},getContainer:Se.getContainer})},Se.saveInkNode=function(at){Se.inkNode=at},Se.setCurrentActiveLink=function(at){var _e=Se.state.activeLink,ce=Se.props.onChange;_e!==at&&(Se.setState({activeLink:at}),ce&&ce(at))},Se.handleScroll=function(){if(Se.animating)return;var at=Se.props,_e=at.offsetTop,ce=at.bounds,ee=at.targetOffset,se=Se.getCurrentAnchor(ee!==void 0?ee:_e||0,ce);Se.setCurrentActiveLink(se)},Se.updateInk=function(){var at=n()(Se),_e=at.prefixCls,ce=s.findDOMNode(n()(Se)),ee=ce.getElementsByClassName("".concat(_e,"-link-title-active"))[0];ee&&(Se.inkNode.style.top="".concat(ee.offsetTop+ee.clientHeight/2-4.5,"px"))},Se.render=function(){var at=Se.context,_e=at.getPrefixCls,ce=at.direction,ee=Se.props,se=ee.prefixCls,ke=ee.className,Ce=ke===void 0?"":ke,ze=ee.style,Oe=ee.offsetTop,ae=ee.affix,ge=ee.showInkInFixed,Le=ee.children,Ze=Se.state.activeLink,vt=_e("anchor",se);Se.prefixCls=vt;var Ct=p()("".concat(vt,"-ink-ball"),{visible:Ze}),Be=p()(Ce,"".concat(vt,"-wrapper"),m()({},"".concat(vt,"-rtl"),ce==="rtl")),Rt=p()(vt,{fixed:!ae&&!ge}),He=f()({maxHeight:Oe?"calc(100vh - ".concat(Oe,"px)"):"100vh"},ze),wt=t.createElement("div",{className:Be,style:He},t.createElement("div",{className:Rt},t.createElement("div",{className:"".concat(vt,"-ink")},t.createElement("span",{className:Ct,ref:Se.saveInkNode})),Le));return t.createElement(X.Provider,{value:{registerLink:Se.registerLink,unregisterLink:Se.unregisterLink,activeLink:Se.state.activeLink,scrollTo:Se.handleScrollTo,onClick:Se.props.onClick}},ae?t.createElement(P,{offsetTop:Oe,target:Se.getContainer},wt):wt)},Se}return o()(Ee,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(b.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var at=this.getContainer();this.scrollContainer!==at&&(this.scrollContainer=at,this.scrollEvent.remove(),this.scrollEvent=Object(b.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,ce=this.props.getCurrentAnchor;if(typeof ce=="function")return ce();var ee=[],se=this.getContainer();if(this.links.forEach(function(Ce){var ze=Y.exec(Ce.toString());if(!ze)return;var Oe=document.getElementById(ze[1]);if(Oe){var ae=le(Oe,se);ae<at+_e&&ee.push({link:Ce,top:ae})}}),ee.length){var ke=ee.reduce(function(Ce,ze){return ze.top>Ce.top?ze:Ce});return ke.link}return""}}]),Ee}(t.Component);me.defaultProps={affix:!0,showInkInFixed:!1},me.contextType=T.b;var we=function(Xe){u()(Ee,Xe);var dt=l()(Ee);function Ee(){var Se;return h()(this,Ee),Se=dt.apply(this,arguments),Se.handleClick=function(at){var _e=Se.context,ce=_e.scrollTo,ee=_e.onClick,se=Se.props,ke=se.href,Ce=se.title;ee&&ee(at,{title:Ce,href:ke}),ce(ke)},Se.renderAnchorLink=function(at){var _e=at.getPrefixCls,ce=Se.props,ee=ce.prefixCls,se=ce.href,ke=ce.title,Ce=ce.children,ze=ce.className,Oe=ce.target,ae=_e("anchor",ee),ge=Se.context.activeLink===se,Le=p()(ze,"".concat(ae,"-link"),m()({},"".concat(ae,"-link-active"),ge)),Ze=p()("".concat(ae,"-link-title"),m()({},"".concat(ae,"-link-title-active"),ge));return t.createElement("div",{className:Le},t.createElement("a",{className:Ze,href:se,title:typeof ke=="string"?ke:"",target:Oe,onClick:Se.handleClick},ke),Ce)},Se}return o()(Ee,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(at){var _e=at.href,ce=this.props.href;_e!==ce&&(this.context.unregisterLink(_e),this.context.registerLink(ce))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderAnchorLink)}}]),Ee}(t.Component);we.defaultProps={href:"#"},we.contextType=X;var pe=we;me.Link=pe;var Fe=_.a=me},JuEJ:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),A=g.each,m=g.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(t){var s=t&&t.itemStyle;if(!s)return;for(var d=0,p=v.length;d<p;d++){var b=v[d],w=s.normal,E=s.emphasis;w&&w[b]&&(t[b]=t[b]||{},t[b].normal?g.merge(t[b].normal,w[b]):t[b].normal=w[b],w[b]=null),E&&E[b]&&(t[b]=t[b]||{},t[b].emphasis?g.merge(t[b].emphasis,E[b]):t[b].emphasis=E[b],E[b]=null)}}function c(t,s,d){if(t&&t[s]&&(t[s].normal||t[s].emphasis)){var p=t[s].normal,b=t[s].emphasis;p&&(d?(t[s].normal=t[s].emphasis=null,g.defaults(t[s],p)):t[s]=p),b&&(t.emphasis=t.emphasis||{},t.emphasis[s]=b)}}function o(t){c(t,"itemStyle"),c(t,"lineStyle"),c(t,"areaStyle"),c(t,"label"),c(t,"labelLine"),c(t,"upperLabel"),c(t,"edgeLabel")}function i(t,s){var d=m(t)&&t[s],p=m(d)&&d.textStyle;if(p)for(var b=0,w=f.TEXT_STYLE_OPTIONS.length;b<w;b++){var s=f.TEXT_STYLE_OPTIONS[b];p.hasOwnProperty(s)&&(d[s]=p[s])}}function n(t){t&&(o(t),i(t,"label"),t.emphasis&&i(t.emphasis,"label"))}function a(t){if(!m(t))return;h(t),o(t),i(t,"label"),i(t,"upperLabel"),i(t,"edgeLabel"),t.emphasis&&(i(t.emphasis,"label"),i(t.emphasis,"upperLabel"),i(t.emphasis,"edgeLabel"));var s=t.markPoint;s&&(h(s),n(s));var d=t.markLine;d&&(h(d),n(d));var p=t.markArea;p&&n(p);var b=t.data;if(t.type==="graph"){b=b||t.nodes;var w=t.links||t.edges;if(w&&!g.isTypedArray(w))for(var E=0;E<w.length;E++)n(w[E]);g.each(t.categories,function(T){o(T)})}if(b&&!g.isTypedArray(b))for(var E=0;E<b.length;E++)n(b[E]);var s=t.markPoint;if(s&&s.data)for(var S=s.data,E=0;E<S.length;E++)n(S[E]);var d=t.markLine;if(d&&d.data)for(var x=d.data,E=0;E<x.length;E++)g.isArray(x[E])?(n(x[E][0]),n(x[E][1])):n(x[E]);t.type==="gauge"?(i(t,"axisLabel"),i(t,"title"),i(t,"detail")):t.type==="treemap"?(c(t.breadcrumb,"itemStyle"),g.each(t.levels,function(T){o(T)})):t.type==="tree"&&o(t.leaves)}function u(t){return g.isArray(t)?t:t?[t]:[]}function r(t){return(g.isArray(t)?t[0]:t)||{}}function l(t,s){A(u(t.series),function(p){m(p)&&a(p)});var d=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&d.push("valueAxis","categoryAxis","logAxis","timeAxis"),A(d,function(p){A(u(t[p]),function(b){b&&(i(b,"axisLabel"),i(b.axisPointer,"label"))})}),A(u(t.parallel),function(p){var b=p&&p.parallelAxisDefault;i(b,"axisLabel"),i(b&&b.axisPointer,"label")}),A(u(t.calendar),function(p){c(p,"itemStyle"),i(p,"dayLabel"),i(p,"monthLabel"),i(p,"yearLabel")}),A(u(t.radar),function(p){i(p,"name")}),A(u(t.geo),function(p){m(p)&&(n(p),A(u(p.regions),function(b){n(b)}))}),A(u(t.timeline),function(p){n(p),c(p,"label"),c(p,"itemStyle"),c(p,"controlStyle",!0);var b=p.data;g.isArray(b)&&g.each(b,function(w){g.isObject(w)&&(c(w,"label"),c(w,"itemStyle"))})}),A(u(t.toolbox),function(p){c(p,"iconStyle"),A(p.feature,function(b){c(b,"iconStyle")})}),i(r(t.axisPointer),"label"),i(r(t.tooltip).axisPointer,"label")}D.exports=l},K2GJ:function(D,_,e){var g=e("fW2E"),f=e("gut8"),A=f.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(r){this.extendFrom(r,!1)};function h(u,r,l){var t=r.x==null?0:r.x,s=r.x2==null?1:r.x2,d=r.y==null?0:r.y,p=r.y2==null?0:r.y2;r.global||(t=t*l.width+l.x,s=s*l.width+l.x,d=d*l.height+l.y,p=p*l.height+l.y),t=isNaN(t)?0:t,s=isNaN(s)?1:s,d=isNaN(d)?0:d,p=isNaN(p)?0:p;var b=u.createLinearGradient(t,d,s,p);return b}function c(u,r,l){var t=l.width,s=l.height,d=Math.min(t,s),p=r.x==null?.5:r.x,b=r.y==null?.5:r.y,w=r.r==null?.5:r.r;r.global||(p=p*t+l.x,b=b*s+l.y,w=w*d);var E=u.createRadialGradient(p,b,0,p,b,w);return E}v.prototype={constructor:v,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(r,l,t){var s=this,d=t&&t.style,p=!d||r.__attrCachedBy!==A.STYLE_BIND;r.__attrCachedBy=A.STYLE_BIND;for(var b=0;b<m.length;b++){var w=m[b],E=w[0];(p||s[E]!==d[E])&&(r[E]=g(r,E,s[E]||w[1]))}if((p||s.fill!==d.fill)&&(r.fillStyle=s.fill),(p||s.stroke!==d.stroke)&&(r.strokeStyle=s.stroke),(p||s.opacity!==d.opacity)&&(r.globalAlpha=s.opacity==null?1:s.opacity),(p||s.blend!==d.blend)&&(r.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var S=s.lineWidth;r.lineWidth=S/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var r=this.fill;return r!=null&&r!=="none"},hasStroke:function(){var r=this.stroke;return r!=null&&r!=="none"&&this.lineWidth>0},extendFrom:function(r,l){if(r)for(var t in r)r.hasOwnProperty(t)&&(l===!0||(l===!1?!this.hasOwnProperty(t):r[t]!=null))&&(this[t]=r[t])},set:function(r,l){typeof r=="string"?this[r]=l:this.extendFrom(r,!0)},clone:function(){var r=new this.constructor;return r.extendFrom(this,!0),r},getGradient:function(r,l,t){for(var s=l.type==="radial"?c:h,d=s(r,l,t),p=l.colorStops,b=0;b<p.length;b++)d.addColorStop(p[b].offset,p[b].color);return d}};for(var o=v.prototype,i=0;i<m.length;i++){var n=m[i];n[0]in o||(o[n[0]]=n[1])}v.getGradient=o.getGradient;var a=v;D.exports=a},K4ya:function(D,_,e){var g=e("bYtY"),f=e("XxSj"),A=g.each;function m(i){if(i){for(var n in i)if(i.hasOwnProperty(n))return!0}}function v(i,n,a){var u={};return A(n,function(l){var t=u[l]=r();A(i[l],function(s,d){if(!f.isValidType(d))return;var p={type:d,visual:s};a&&a(p,l),t[d]=new f(p),d==="opacity"&&(p=g.clone(p),p.type="colorAlpha",t.__hidden.__alphaForOpacity=new f(p))})}),u;function r(){var l=function(){};l.prototype.__hidden=l.prototype;var t=new l;return t}}function h(i,n,a){var u;g.each(a,function(r){n.hasOwnProperty(r)&&m(n[r])&&(u=!0)}),u&&g.each(a,function(r){n.hasOwnProperty(r)&&m(n[r])?i[r]=g.clone(n[r]):delete i[r]})}function c(i,n,a,u,r,l){var t={};g.each(i,function(w){var E=f.prepareVisualTypes(n[w]);t[w]=E});var s;function d(w){return a.getItemVisual(s,w)}function p(w,E){a.setItemVisual(s,w,E)}l==null?a.each(b):a.each([l],b);function b(w,E){s=l==null?w:E;var S=a.getRawDataItem(s);if(S&&S.visualMap===!1)return;for(var x=u.call(r,w),T=n[x],L=t[x],y=0,C=L.length;y<C;y++){var O=L[y];T[O]&&T[O].applyVisual(w,d,p)}}}function o(i,n,a,u){var r={};g.each(i,function(t){var s=f.prepareVisualTypes(n[t]);r[t]=s});function l(t,s){u!=null&&(u=s.getDimension(u));function d(O){return s.getItemVisual(b,O)}function p(O,N){s.setItemVisual(b,O,N)}for(var b;(b=t.next())!=null;){var w=s.getRawDataItem(b);if(w&&w.visualMap===!1)continue;for(var E=u!=null?s.get(u,b,!0):b,S=a(E),x=n[S],T=r[S],L=0,y=T.length;L<y;L++){var C=T[L];x[C]&&x[C].applyVisual(E,d,p)}}}return{progress:l}}_.createVisualMappings=v,_.replaceVisualOption=h,_.applyVisual=c,_.incrementalApplyVisual=o},KCY9:function(D,_,e){},KCsZ:function(D,_,e){var g=e("bYtY");function f(A){for(var m=0;m<A.length;m++)A[m][1]||(A[m][1]=A[m][0]);return function(v,h,c){for(var o={},i=0;i<A.length;i++){var n=A[i][1];if(h&&g.indexOf(h,n)>=0||c&&g.indexOf(c,n)<0)continue;var a=v.getShallow(n);a!=null&&(o[A[i][0]]=a)}return o}}D.exports=f},KMkd:function(D,_){function e(){this.__data__=[],this.size=0}D.exports=e},KPFz:function(D,_,e){},KQeH:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};_.default=g},KS52:function(D,_,e){var g=e("OELB"),f=g.parsePercent,A=g.linearMap,m=e("+TT/"),v=e("u3DP"),h=e("bYtY"),c=Math.PI*2,o=Math.PI/180;function i(a,u){return m.getLayoutRect(a.getBoxLayoutParams(),{width:u.getWidth(),height:u.getHeight()})}function n(a,u,r,l){u.eachSeriesByType(a,function(t){var s=t.getData(),d=s.mapDimension("value"),p=i(t,r),b=t.get("center"),w=t.get("radius");h.isArray(w)||(w=[0,w]),h.isArray(b)||(b=[b,b]);var E=f(p.width,r.getWidth()),S=f(p.height,r.getHeight()),x=Math.min(E,S),T=f(b[0],E)+p.x,L=f(b[1],S)+p.y,y=f(w[0],x/2),C=f(w[1],x/2),O=-t.get("startAngle")*o,N=t.get("minAngle")*o,k=0;s.each(d,function(X){!isNaN(X)&&k++});var F=s.getSum(d),B=Math.PI/(F||k)*2,H=t.get("clockwise"),W=t.get("roseType"),R=t.get("stillShowZeroSum"),U=s.getDataExtent(d);U[0]=0;var j=c,P=0,K=O,V=H?1:-1;if(s.each(d,function(X,G){var le;if(isNaN(X)){s.setItemLayout(G,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:H,cx:T,cy:L,r0:y,r:W?NaN:C,viewRect:p});return}W!=="area"?le=F===0&&R?B:X*B:le=c/k,le<N?(le=N,j-=N):P+=X;var Y=K+V*le;s.setItemLayout(G,{angle:le,startAngle:K,endAngle:Y,clockwise:H,cx:T,cy:L,r0:y,r:W?A(X,U,[y,C]):C,viewRect:p}),K=Y}),j<c&&k)if(j<=.001){var z=c/k;s.each(d,function(X,G){if(!isNaN(X)){var le=s.getItemLayout(G);le.angle=z,le.startAngle=O+V*G*z,le.endAngle=O+V*(G+1)*z}})}else B=j/P,K=O,s.each(d,function(X,G){if(!isNaN(X)){var le=s.getItemLayout(G),Y=le.angle===N?N:X*B;le.startAngle=K,le.endAngle=K+V*Y,K+=V*Y}});v(t,C,p.width,p.height,p.x,p.y)})}D.exports=n},KUOm:function(D,_){function e(g){var f={};g.eachSeriesByType("graph",function(A){var m=A.getCategoriesData(),v=A.getData(),h={};m.each(function(c){var o=m.getName(c);h["ec-"+o]=c;var i=m.getItemModel(c),n=i.get("itemStyle.color")||A.getColorFromPalette(o,f);m.setItemVisual(c,"color",n);for(var a=["opacity","symbol","symbolSize","symbolKeepAspect"],u=0;u<a.length;u++){var r=i.getShallow(a[u],!0);r!=null&&m.setItemVisual(c,a[u],r)}}),m.count()&&v.each(function(c){var o=v.getItemModel(c),i=o.getShallow("category");if(i!=null){typeof i=="string"&&(i=h["ec-"+i]);for(var n=["color","opacity","symbol","symbolSize","symbolKeepAspect"],a=0;a<n.length;a++)v.getItemVisual(c,n[a],!0)==null&&v.setItemVisual(c,n[a],m.getItemVisual(i,n[a]))}})})}D.exports=e},Kagy:function(D,_){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};D.exports=e},KamJ:function(D,_,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),g.registerPreprocessor(f)},KmBX:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("CP8R")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="FilterFilled";var c=A.forwardRef(h);_.default=c},"KpQ+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("E/ki")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="ClockCircleOutlined";var c=A.forwardRef(h);_.default=c},KrTs:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("cDf5"),m=e.n(A),v=e("pVnL"),h=e.n(v),c=e("q1tI"),o=e("UmKh"),i=e("TSYQ"),n=e.n(i),a=e("J4zp"),u=e.n(a),r=e("H84U"),l=e("0n0R"),t=function(C,O){var N={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&O.indexOf(k)<0&&(N[k]=C[k]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,k=Object.getOwnPropertySymbols(C);F<k.length;F++)O.indexOf(k[F])<0&&Object.prototype.propertyIsEnumerable.call(C,k[F])&&(N[k[F]]=C[k[F]]);return N};function s(C){return C?C.toString().split("").reverse().map(function(O){var N=Number(O);return isNaN(N)?O:N}):[]}function d(C,O){for(var N=[],k=0;k<30;k++)N.push(c.createElement("p",{key:k.toString(),className:n()(O,{current:C===k})},k%10));return N}var p=function(O){var N=O.prefixCls,k=O.count,F=O.className,B=O.style,H=O.title,W=O.component,R=W===void 0?"sup":W,U=O.displayComponent,j=O.onAnimated,P=j===void 0?function(){}:j,K=t(O,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),V=c.useState(!0),z=u()(V,2),X=z[0],G=z[1],le=c.useState(k),Y=u()(le,2),me=Y[0],we=Y[1],pe=c.useState(k),Fe=u()(pe,2),Xe=Fe[0],dt=Fe[1],Ee=c.useState(k),Se=u()(Ee,2),at=Se[0],_e=Se[1],ce=c.useContext(r.b),ee=ce.getPrefixCls,se=ee("scroll-number",N);Xe!==k&&(G(!0),dt(k)),c.useEffect(function(){_e(me);var ae;return X&&(ae=setTimeout(function(){G(!1),we(k),P()})),function(){ae&&clearTimeout(ae)}},[X,k,P]);var ke=function(ge,Le){var Ze=Math.abs(Number(me)),vt=Math.abs(Number(at)),Ct=Math.abs(s(me)[Le]),Be=Math.abs(s(vt)[Le]);return X?10+ge:Ze>vt?Ct>=Be?10+ge:20+ge:Ct<=Be?10+ge:ge},Ce=function(ge,Le){if(typeof ge=="number"){var Ze=ke(ge,Le),vt=X||s(at)[Le]===void 0;return c.createElement("span",{className:"".concat(se,"-only"),style:{transition:vt?"none":void 0,msTransform:"translateY(".concat(-Ze*100,"%)"),WebkitTransform:"translateY(".concat(-Ze*100,"%)"),transform:"translateY(".concat(-Ze*100,"%)")},key:Le},d(Ze,"".concat(se,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat(se,"-symbol")},ge)},ze=function(){return me&&Number(me)%1===0?s(me).map(function(ge,Le){return Ce(ge,Le)}).reverse():me},Oe=h()(h()({},K),{style:B,className:n()(se,F),title:H});return B&&B.borderColor&&(Oe.style=h()(h()({},B),{boxShadow:"0 0 0 1px ".concat(B.borderColor," inset")})),U?Object(l.a)(U,{className:n()("".concat(se,"-custom-component"),U.props&&U.props.className)}):c.createElement(R,Oe,ze())},b=p,w=e("09Wf");function E(C){return w.a.indexOf(C)!==-1}var S=function(O){var N,k=O.className,F=O.prefixCls,B=O.style,H=O.color,W=O.children,R=O.text,U=O.placement,j=U===void 0?"end":U,P=c.useContext(r.b),K=P.getPrefixCls,V=P.direction,z=K("ribbon",F),X=E(H),G=n()(z,k,"".concat(z,"-placement-").concat(j),(N={},f()(N,"".concat(z,"-rtl"),V==="rtl"),f()(N,"".concat(z,"-color-").concat(H),X),N)),le={},Y={};return H&&!X&&(le.background=H,Y.color=H),c.createElement("div",{className:"".concat(z,"-wrapper")},W,c.createElement("div",{className:G,style:h()(h()({},le),B)},R,c.createElement("div",{className:"".concat(z,"-corner"),style:Y})))},x=S,T=function(C,O){var N={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&O.indexOf(k)<0&&(N[k]=C[k]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,k=Object.getOwnPropertySymbols(C);F<k.length;F++)O.indexOf(k[F])<0&&Object.prototype.propertyIsEnumerable.call(C,k[F])&&(N[k[F]]=C[k[F]]);return N},L=function(O){var N,k,F=O.prefixCls,B=O.scrollNumberPrefixCls,H=O.children,W=O.status,R=O.text,U=O.color,j=O.count,P=j===void 0?null:j,K=O.overflowCount,V=K===void 0?99:K,z=O.dot,X=z===void 0?!1:z,G=O.size,le=G===void 0?"default":G,Y=O.title,me=O.offset,we=O.style,pe=O.className,Fe=O.showZero,Xe=Fe===void 0?!1:Fe,dt=T(O,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),Ee=c.useContext(r.b),Se=Ee.getPrefixCls,at=Ee.direction,_e=Se("badge",F),ce=function(){var Ge=P>V?"".concat(V,"+"):P;return Ge},ee=function(){return!!W||!!U},se=function(){var Ge=ce();return Ge==="0"||Ge===0},ke=function(){return X&&!se()||ee()},Ce=function(){return ke()?"":ce()},ze=function(){return Y||(typeof P=="string"||typeof P=="number"?P:void 0)},Oe=function(){return at==="rtl"?me?h()({left:parseInt(me[0],10),marginTop:me[1]},we):we:me?h()({right:-parseInt(me[0],10),marginTop:me[1]},we):we},ae=function(){var Ge=Ce(),et=Ge==null||Ge==="";return(et||se()&&!Xe)&&!ke()},ge=function(){var Ge=ae();return Ge||!R?null:c.createElement("span",{className:"".concat(_e,"-status-text")},R)},Le=function(){var Ge=P;return!Ge||m()(Ge)!=="object"?void 0:Object(l.a)(Ge,{style:h()(h()({},Oe()),Ge.props&&Ge.props.style)})},Ze=function(){var Ge,et=Se("scroll-number",B),rt=Ce(),lt=ke(),Ve=ae(),ie=n()((Ge={},f()(Ge,"".concat(_e,"-dot"),lt),f()(Ge,"".concat(_e,"-count"),!lt),f()(Ge,"".concat(_e,"-count-sm"),le==="small"),f()(Ge,"".concat(_e,"-multiple-words"),!lt&&P&&P.toString&&P.toString().length>1),f()(Ge,"".concat(_e,"-status-").concat(W),!!W),f()(Ge,"".concat(_e,"-status-").concat(U),E(U)),Ge)),$=Oe();return U&&!E(U)&&($=$||{},$.background=U),Ve?null:c.createElement(b,{prefixCls:et,"data-show":!Ve,className:ie,count:rt,displayComponent:Le(),title:ze(),style:$,key:"scrollNumber"})},vt=n()((N={},f()(N,"".concat(_e,"-status-dot"),ee()),f()(N,"".concat(_e,"-status-").concat(W),!!W),f()(N,"".concat(_e,"-status-").concat(U),E(U)),N)),Ct={};U&&!E(U)&&(Ct.background=U);var Be=n()(pe,_e,(k={},f()(k,"".concat(_e,"-status"),ee()),f()(k,"".concat(_e,"-not-a-wrapper"),!H),f()(k,"".concat(_e,"-rtl"),at==="rtl"),k));if(!H&&ee()){var Rt=Oe(),He=Rt&&Rt.color;return c.createElement("span",h()({},dt,{className:Be,style:Rt}),c.createElement("span",{className:vt,style:Ct}),c.createElement("span",{style:{color:He},className:"".concat(_e,"-status-text")},R))}return c.createElement("span",h()({},dt,{className:Be}),H,c.createElement(o.a,{component:"",showProp:"data-show",transitionName:H?"".concat(_e,"-zoom"):"",transitionAppear:!0},Ze()),ge())};L.Ribbon=x;var y=_.a=L},Kvyg:function(D,_,e){},KxBF:function(D,_){function e(g,f,A){var m=-1,v=g.length;f<0&&(f=-f>v?0:v+f),A=A>v?v:A,A<0&&(A+=v),v=f>A?0:A-f>>>0,f>>>=0;for(var h=Array(v);++m<v;)h[m]=g[m+f];return h}D.exports=e},KxFI:function(D,_,e){},KxfA:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.isTypedArray,v=A.extend,h=A.assert,c=A.each,o=A.isObject,i=e("4NO4"),n=i.getDataItemValue,a=i.isDataItemOption,u=e("OELB"),r=u.parseDate,l=e("7G+c"),t=e("k9D9"),s=t.SOURCE_FORMAT_TYPED_ARRAY,d=t.SOURCE_FORMAT_ARRAY_ROWS,p=t.SOURCE_FORMAT_ORIGINAL,b=t.SOURCE_FORMAT_OBJECT_ROWS;function w(H,W){l.isInstance(H)||(H=l.seriesDataToSource(H)),this._source=H;var R=this._data=H.data,U=H.sourceFormat;U===s&&(this._offset=0,this._dimSize=W,this._data=R);var j=S[U===d?U+"_"+H.seriesLayoutBy:U];v(this,j)}var E=w.prototype;E.pure=!1,E.persistent=!0,E.getSource=function(){return this._source};var S={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(H){return this._data[H+this._source.startIndex]},appendData:L},arrayRows_row:{pure:!0,count:function(){var H=this._data[0];return H?Math.max(0,H.length-this._source.startIndex):0},getItem:function(H){H+=this._source.startIndex;for(var W=[],R=this._data,U=0;U<R.length;U++){var j=R[U];W.push(j?j[H]:null)}return W},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:x,getItem:T,appendData:L},keyedColumns:{pure:!0,count:function(){var H=this._source.dimensionsDefine[0].name,W=this._data[H];return W?W.length:0},getItem:function(H){for(var W=[],R=this._source.dimensionsDefine,U=0;U<R.length;U++){var j=this._data[R[U].name];W.push(j?j[H]:null)}return W},appendData:function(H){var W=this._data;c(H,function(R,U){for(var j=W[U]||(W[U]=[]),P=0;P<(R||[]).length;P++)j.push(R[P])})}},original:{count:x,getItem:T,appendData:L},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(H,W){H=H-this._offset,W=W||[];for(var R=this._dimSize*H,U=0;U<this._dimSize;U++)W[U]=this._data[R+U];return W},appendData:function(H){this._data=H},clean:function(){this._offset+=this.count(),this._data=null}}};function x(){return this._data.length}function T(H){return this._data[H]}function L(H){for(var W=0;W<H.length;W++)this._data.push(H[W])}var y={arrayRows:C,objectRows:function(H,W,R,U){return R!=null?H[U]:H},keyedColumns:C,original:function(H,W,R,U){var j=n(H);return R==null||!(j instanceof Array)?j:j[R]},typedArray:C};function C(H,W,R,U){return R!=null?H[R]:H}var O={arrayRows:N,objectRows:function(H,W,R,U){return k(H[W],this._dimensionInfos[W])},keyedColumns:N,original:function(H,W,R,U){var j=H&&(H.value==null?H:H.value);return!this._rawData.pure&&a(H)&&(this.hasItemOption=!0),k(j instanceof Array?j[U]:j,this._dimensionInfos[W])},typedArray:function(H,W,R,U){return H[U]}};function N(H,W,R,U){return k(H[U],this._dimensionInfos[W])}function k(H,W){var R=W&&W.type;if(R==="ordinal"){var U=W&&W.ordinalMeta;return U?U.parseAndCollect(H):H}return R==="time"&&typeof H!="number"&&H!=null&&H!=="-"&&(H=+r(H)),H==null||H===""?NaN:+H}function F(H,W,R){if(!H)return;var U=H.getRawDataItem(W);if(U==null)return;var j=H.getProvider().getSource().sourceFormat,P,K,V=H.getDimensionInfo(R);return V&&(P=V.name,K=V.index),y[j](U,W,K,P)}function B(H,W,R){if(!H)return;var U=H.getProvider().getSource().sourceFormat;if(U!==p&&U!==b)return;var j=H.getRawDataItem(W);if(U===p&&!o(j)&&(j=null),j)return j[R]}_.DefaultDataProvider=w,_.defaultDimValueGetters=O,_.retrieveRawValue=F,_.retrieveRawAttr=B},L0Ub:function(D,_,e){var g=e("bYtY"),f=g.each,A=g.createHashMap,m=g.assert,v=e("Tghj"),h=v.__DEV__,c=A(["tooltip","label","itemName","itemId","seriesName"]);function o(u){var r={},l=r.encode={},t=A(),s=[],d=[],p=r.userOutput={dimensionNames:u.dimensions.slice(),encode:{}};f(u.dimensions,function(x){var T=u.getDimensionInfo(x),L=T.coordDim;if(L){var y=T.coordDimIndex;i(l,L)[y]=x,T.isExtraCoord||(t.set(L,1),a(T.type)&&(s[0]=x),i(p.encode,L)[y]=T.index),T.defaultTooltip&&d.push(x)}c.each(function(C,O){var N=i(l,O),k=T.otherDims[O];k!=null&&k!==!1&&(N[k]=T.name)})});var b=[],w={};t.each(function(x,T){var L=l[T];w[T]=L[0],b=b.concat(L)}),r.dataDimsOnCoord=b,r.encodeFirstDimNotExtra=w;var E=l.label;E&&E.length&&(s=E.slice());var S=l.tooltip;return S&&S.length?d=S.slice():d.length||(d=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=d,r}function i(u,r){return u.hasOwnProperty(r)||(u[r]=[]),u[r]}function n(u){return u==="category"?"ordinal":u==="time"?"time":"float"}function a(u){return!(u==="ordinal"||u==="time")}_.OTHER_DIMENSIONS=c,_.summarizeDimensions=o,_.getDimensionTypeByAxis=n},L3Oj:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),g.registerLayout(f.curry(A,"bar")),g.extendComponentView({type:"polar"})},L5E0:function(D,_){var e=["itemStyle","borderColor"];function g(f,A){var m=f.get("color");f.eachRawSeriesByType("boxplot",function(v){var h=m[v.seriesIndex%m.length],c=v.getData();c.setVisual({legendSymbol:"roundRect",color:v.get(e)||h}),f.isSeriesFiltered(v)||c.each(function(o){var i=c.getItemModel(o);c.setItemVisual(o,{color:i.get(e,!0)})})})}D.exports=g},L8xA:function(D,_){function e(g){var f=this.__data__,A=f.delete(g);return this.size=f.size,A}D.exports=e},LBfv:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=f.createHashMap,m=f.each;g.registerProcessor({getTargetSeries:function(v){var h=A();return v.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(o,i,n){var a=n.getAxisProxy(o.name,i);m(a.getTargetSeriesModels(),function(u){h.set(u.uid,u)})})}),h},modifyOutputEnd:!0,overallReset:function(v,h){v.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(o,i,n){n.getAxisProxy(o.name,i).reset(n,h)}),c.eachTargetAxis(function(o,i,n){n.getAxisProxy(o.name,i).filterData(n,h)})}),v.eachComponent("dataZoom",function(c){var o=c.findRepresentativeAxisProxy(),i=o.getDataPercentWindow(),n=o.getDataValueWindow();c.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})})}})},LCi9:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(w,E){if(!(w instanceof E))throw new TypeError("Cannot call a class as a function")}function f(w,E){for(var S=0;S<E.length;S++){var x=E[S];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(w,x.key,x)}}function A(w,E,S){return E&&f(w.prototype,E),S&&f(w,S),w}var m=0,v=1,h=2,c=4,o=8,i=16,n=32,a=64,u=127,r=50,l=90,t=250,s=1e3,d=1e3,p=50,b=function(){function w(){g(this,w),this._target=null,this._state=u,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return A(w,[{key:"attach",value:function(S){this.detach(),this._target=S,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(S){var x;S.stopPropagation(),S.preventDefault();switch(S.type){case"touchstart":x=this._touchStart;break;case"touchmove":x=this._touchMove;break;case"touchend":case"touchcancel":x=this._touchEnd;break}for(var T=0;T<S.changedTouches.length;T++){var L=S.changedTouches[T];x.call(this,L.identifier,L.clientX,L.clientY)}}},{key:"_touchStart",value:function(S,x,T){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(S);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=m,this._ignored.push(S);return}if(this._waitingRelease){this._state=m,this._ignored.push(S);return}this._tracked.push({id:S,started:Date.now(),active:!0,firstX:x,firstY:T,lastX:x,lastY:T,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(v|o|i),this._stopLongpressTimeout();break;case 3:this._state&=~(h|n|a);break;default:this._state=m}}},{key:"_touchMove",value:function(S,x,T){var L=this._tracked.find(function(F){return F.id===S});if(L===void 0)return;L.lastX=x,L.lastY=T;var y=x-L.firstX,C=T-L.firstY;if((L.firstX!==L.lastX||L.firstY!==L.lastY)&&(L.angle=Math.atan2(C,y)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(y,C)<r)return;if(this._state&=~(v|h|c|i),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~o),this._tracked.length!==2&&(this._state&=~(n|a)),this._tracked.length===2){var O=this._tracked.find(function(F){return F.id!==S}),N=Math.hypot(O.firstX-O.lastX,O.firstY-O.lastY);if(N>r){var k=Math.abs(L.angle-O.angle);k=Math.abs((k+180)%360-180),k>l?this._state&=~n:this._state&=~a,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(S,x,T){if(this._ignored.indexOf(S)!==-1){this._ignored.splice(this._ignored.indexOf(S),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=u,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=m),!this._hasDetectedGesture()&&(this._state&=~(o|n|a),this._state&=~i,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(h|c);break;case 2:this._state&=~(v|c);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=m),this._tracked.some(function(C){return Date.now()-C.started>s})&&(this._state=m);var L=this._tracked.find(function(C){return C.id===S});if(L.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var y=0;y<this._tracked.length;y++)this._tracked[y].active&&this._ignored.push(this._tracked[y].id);this._tracked=[],this._state=m,this._ignored.indexOf(S)!==-1&&this._ignored.splice(this._ignored.indexOf(S),1),this._ignored.length===0&&(this._state=u,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===m||this._state&this._state-1?!1:!(this._state&(v|h|c)&&this._tracked.some(function(S){return S.active}))}},{key:"_startLongpressTimeout",value:function(){var S=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return S._longpressTimeout()},d)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=i,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var S=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return S._twoTouchTimeout()},p)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var S=this._getAverageMovement(),x=Math.abs(S.x),T=Math.abs(S.y),L=this._getAverageDistance(),y=Math.abs(Math.hypot(L.first.x,L.first.y)-Math.hypot(L.last.x,L.last.y));T<y&&x<y?this._state=a:this._state=n,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(S){var x={type:this._stateToGesture(this._state)},T=this._getPosition(),L=T.last;S==="gesturestart"&&(L=T.first);switch(this._state){case n:case a:L=T.first;break}if(x.clientX=L.x,x.clientY=L.y,this._state===a){var y=this._getAverageDistance();S==="gesturestart"?(x.magnitudeX=y.first.x,x.magnitudeY=y.first.y):(x.magnitudeX=y.last.x,x.magnitudeY=y.last.y)}else if(this._state===n)if(S==="gesturestart")x.magnitudeX=0,x.magnitudeY=0;else{var C=this._getAverageMovement();x.magnitudeX=C.x,x.magnitudeY=C.y}var O=new CustomEvent(S,{detail:x});this._target.dispatchEvent(O)}},{key:"_stateToGesture",value:function(S){switch(S){case v:return"onetap";case h:return"twotap";case c:return"threetap";case o:return"drag";case i:return"longpress";case n:return"twodrag";case a:return"pinch"}throw new Error("Unknown gesture state: "+S)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var S=this._tracked.length,x=0,T=0,L=0,y=0,C=0;C<this._tracked.length;C++)x+=this._tracked[C].firstX,T+=this._tracked[C].firstY,L+=this._tracked[C].lastX,y+=this._tracked[C].lastY;return{first:{x:x/S,y:T/S},last:{x:L/S,y:y/S}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var S,x;S=x=0;for(var T=this._tracked.length,L=0;L<this._tracked.length;L++)S+=this._tracked[L].lastX-this._tracked[L].firstX,x+=this._tracked[L].lastY-this._tracked[L].firstY;return{x:S/T,y:x/T}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var S=this._tracked[0],x=this._tracked[this._tracked.length-1],T=Math.abs(x.firstX-S.firstX),L=Math.abs(x.firstY-S.firstY),y=Math.abs(x.lastX-S.lastX),C=Math.abs(x.lastY-S.lastY);return{first:{x:T,y:L},last:{x:y,y:C}}}}]),w}();_.default=b},LPTA:function(D,_){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var g=0,f=e;_.debugMode=g,_.devicePixelRatio=f},LPzL:function(D,_,e){var g=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),g.extendComponentView({type:"single"})},LSTS:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g=function(){function u(r,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}return function(r,l,t){return l&&u(r.prototype,l),t&&u(r,t),r}}(),f=e("q1tI"),A=h(f),m=e("17x9"),v=h(m);function h(u){return u&&u.__esModule?u:{default:u}}function c(u,r){var l={};for(var t in u){if(r.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(u,t))continue;l[t]=u[t]}return l}function o(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function i(u,r){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:u}function n(u,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(u,r):u.__proto__=r)}var a=function(u){n(r,u);function r(l){o(this,r);var t=i(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,l));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return g(r,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,s={get passive(){t=!0}};try{document.addEventListener("test",null,s),document.removeEventListener("test",null,s)}catch(d){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var s=this.props.getScrollParent&&this.props.getScrollParent();return s!=null?s:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var s=window;this.props.useWindow===!1&&(s=t),s.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),s.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),s.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,s=window,d=this.getParentElement(t),p=void 0;if(this.props.useWindow){var b=document.documentElement||document.body.parentNode||document.body,w=s.pageYOffset!==void 0?s.pageYOffset:b.scrollTop;this.props.isReverse?p=w:p=this.calculateOffset(t,w)}else this.props.isReverse?p=d.scrollTop:p=t.scrollHeight-d.scrollTop-d.clientHeight;p<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=d.scrollHeight,this.beforeScrollTop=d.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,s){return t?this.calculateTopPosition(t)+(t.offsetHeight-s-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,s=this.filterProps(this.props),d=s.children,p=s.element,b=s.hasMore,w=s.initialLoad,E=s.isReverse,S=s.loader,x=s.loadMore,T=s.pageStart,L=s.ref,y=s.threshold,C=s.useCapture,O=s.useWindow,N=s.getScrollParent,k=c(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);k.ref=function(B){t.scrollComponent=B,L&&L(B)};var F=[d];return b&&(S?E?F.unshift(S):F.push(S):this.defaultLoader&&(E?F.unshift(this.defaultLoader):F.push(this.defaultLoader))),A.default.createElement(p,k,F)}}]),r}(f.Component);a.propTypes={children:v.default.node.isRequired,element:v.default.node,hasMore:v.default.bool,initialLoad:v.default.bool,isReverse:v.default.bool,loader:v.default.node,loadMore:v.default.func.isRequired,pageStart:v.default.number,ref:v.default.func,getScrollParent:v.default.func,threshold:v.default.number,useCapture:v.default.bool,useWindow:v.default.bool},a.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},_.default=a,D.exports=_.default},LXxW:function(D,_){function e(g,f){for(var A=-1,m=g==null?0:g.length,v=0,h=[];++A<m;){var c=g[A];f(c,A,g)&&(h[v++]=c)}return h}D.exports=e},Lerx:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Mds0"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},Llu2:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="DeliveredProcedureOutlined";var h=_.a=g.forwardRef(v)},Lo0S:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.initLogging=h,_.getLogging=c,_.Error=_.Warn=_.Info=_.Debug=void 0;var g="warn",f=function(){};_.Debug=f;var A=function(){};_.Info=A;var m=function(){};_.Warn=m;var v=function(){};_.Error=v;function h(o){if(typeof o=="undefined"?o=g:g=o,_.Debug=f=_.Info=A=_.Warn=m=_.Error=v=function(){},typeof window.console!="undefined")switch(o){case"debug":_.Debug=f=console.debug.bind(window.console);case"info":_.Info=A=console.info.bind(window.console);case"warn":_.Warn=m=console.warn.bind(window.console);case"error":_.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+o+"'")}}function c(){return g}h()},LtfV:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="InboxOutlined";var h=_.a=g.forwardRef(v)},Lyp1:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="QuestionCircleOutlined";var h=_.a=g.forwardRef(v)},LzGr:function(D,_,e){var g=e("ProS"),f=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),g.registerPreprocessor(f)},MBQ8:function(D,_,e){var g=e("T4UG"),f=e("MwEJ"),A=g.extend({type:"series.__base_bar__",getInitialData:function(m,v){return f(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var v=this.coordinateSystem;if(v){var h=v.dataToPoint(v.clampData(m)),c=this.getData(),o=c.getLayout("offset"),i=c.getLayout("size"),n=v.getBaseAxis().isHorizontal()?0:1;return h[n]+=o+i/2,h}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});D.exports=A},MEGo:function(D,_,e){var g=e("4fz+"),f=e("Dagg"),A=e("dqUG"),m=e("2fw6"),v=e("x6Kt"),h=e("rmlV"),c=e("yxFR"),o=e("y+Vt"),i=e("h7HQ"),n=e("1Jh7"),a=e("SKnc"),u=e("K2GJ"),r=e("Fofx"),l=e("NC18"),t=l.createFromString,s=e("bYtY"),d=s.isString,p=s.extend,b=s.defaults,w=s.trim,E=s.each,S=/[\s,]+/;function x(V){if(d(V)){var z=new DOMParser;V=z.parseFromString(V,"text/xml")}for(V.nodeType===9&&(V=V.firstChild);V.nodeName.toLowerCase()!=="svg"||V.nodeType!==1;)V=V.nextSibling;return V}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(V,z){z=z||{};var X=x(V);if(!X)throw new Error("Illegal svg");var G=new g;this._root=G;var le=X.getAttribute("viewBox")||"",Y=parseFloat(X.getAttribute("width")||z.width),me=parseFloat(X.getAttribute("height")||z.height);isNaN(Y)&&(Y=null),isNaN(me)&&(me=null),F(X,G,null,!0);for(var we=X.firstChild;we;)this._parseNode(we,G),we=we.nextSibling;var pe,Fe;if(le){var Xe=w(le).split(S);Xe.length>=4&&(pe={x:parseFloat(Xe[0]||0),y:parseFloat(Xe[1]||0),width:parseFloat(Xe[2]),height:parseFloat(Xe[3])})}if(pe&&Y!=null&&me!=null&&(Fe=P(pe,Y,me),!z.ignoreViewBox)){var dt=G;G=new g,G.add(dt),dt.scale=Fe.scale.slice(),dt.position=Fe.position.slice()}return!z.ignoreRootClip&&Y!=null&&me!=null&&G.setClipPath(new v({shape:{x:0,y:0,width:Y,height:me}})),{root:G,width:Y,height:me,viewBoxRect:pe,viewBoxTransform:Fe}},T.prototype._parseNode=function(V,z){var X=V.nodeName.toLowerCase();X==="defs"?this._isDefine=!0:X==="text"&&(this._isText=!0);var G;if(this._isDefine){var le=y[X];if(le){var Y=le.call(this,V),me=V.getAttribute("id");me&&(this._defs[me]=Y)}}else{var le=L[X];le&&(G=le.call(this,V,z),z.add(G))}for(var we=V.firstChild;we;)we.nodeType===1&&this._parseNode(we,G),we.nodeType===3&&this._isText&&this._parseText(we,G),we=we.nextSibling;X==="defs"?this._isDefine=!1:X==="text"&&(this._isText=!1)},T.prototype._parseText=function(V,z){if(V.nodeType===1){var X=V.getAttribute("dx")||0,G=V.getAttribute("dy")||0;this._textX+=parseFloat(X),this._textY+=parseFloat(G)}var le=new A({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(z,le),F(V,le,this._defs);var Y=le.style.fontSize;Y&&Y<9&&(le.style.fontSize=9,le.scale=le.scale||[1,1],le.scale[0]*=Y/9,le.scale[1]*=Y/9);var me=le.getBoundingRect();return this._textX+=me.width,z.add(le),le};var L={g:function(z,X){var G=new g;return O(X,G),F(z,G,this._defs),G},rect:function(z,X){var G=new v;return O(X,G),F(z,G,this._defs),G.setShape({x:parseFloat(z.getAttribute("x")||0),y:parseFloat(z.getAttribute("y")||0),width:parseFloat(z.getAttribute("width")||0),height:parseFloat(z.getAttribute("height")||0)}),G},circle:function(z,X){var G=new m;return O(X,G),F(z,G,this._defs),G.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),G},line:function(z,X){var G=new c;return O(X,G),F(z,G,this._defs),G.setShape({x1:parseFloat(z.getAttribute("x1")||0),y1:parseFloat(z.getAttribute("y1")||0),x2:parseFloat(z.getAttribute("x2")||0),y2:parseFloat(z.getAttribute("y2")||0)}),G},ellipse:function(z,X){var G=new h;return O(X,G),F(z,G,this._defs),G.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),rx:parseFloat(z.getAttribute("rx")||0),ry:parseFloat(z.getAttribute("ry")||0)}),G},polygon:function(z,X){var G=z.getAttribute("points");G&&(G=N(G));var le=new i({shape:{points:G||[]}});return O(X,le),F(z,le,this._defs),le},polyline:function(z,X){var G=new o;O(X,G),F(z,G,this._defs);var le=z.getAttribute("points");le&&(le=N(le));var Y=new n({shape:{points:le||[]}});return Y},image:function(z,X){var G=new f;return O(X,G),F(z,G,this._defs),G.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),G},text:function(z,X){var G=z.getAttribute("x")||0,le=z.getAttribute("y")||0,Y=z.getAttribute("dx")||0,me=z.getAttribute("dy")||0;this._textX=parseFloat(G)+parseFloat(Y),this._textY=parseFloat(le)+parseFloat(me);var we=new g;return O(X,we),F(z,we,this._defs),we},tspan:function(z,X){var G=z.getAttribute("x"),le=z.getAttribute("y");G!=null&&(this._textX=parseFloat(G)),le!=null&&(this._textY=parseFloat(le));var Y=z.getAttribute("dx")||0,me=z.getAttribute("dy")||0,we=new g;return O(X,we),F(z,we,this._defs),this._textX+=Y,this._textY+=me,we},path:function(z,X){var G=z.getAttribute("d")||"",le=t(G);return O(X,le),F(z,le,this._defs),le}},y={lineargradient:function(z){var X=parseInt(z.getAttribute("x1")||0,10),G=parseInt(z.getAttribute("y1")||0,10),le=parseInt(z.getAttribute("x2")||10,10),Y=parseInt(z.getAttribute("y2")||0,10),me=new a(X,G,le,Y);return C(z,me),me},radialgradient:function(z){}};function C(V,z){for(var X=V.firstChild;X;){if(X.nodeType===1){var G=X.getAttribute("offset");G.indexOf("%")>0?G=parseInt(G,10)/100:G?G=parseFloat(G):G=0;var le=X.getAttribute("stop-color")||"#000000";z.addColorStop(G,le)}X=X.nextSibling}}function O(V,z){V&&V.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),b(z.__inheritedStyle,V.__inheritedStyle))}function N(V){for(var z=w(V).split(S),X=[],G=0;G<z.length;G+=2){var le=parseFloat(z[G]),Y=parseFloat(z[G+1]);X.push([le,Y])}return X}var k={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function F(V,z,X,G){var le=z.__inheritedStyle||{},Y=z.type==="text";if(V.nodeType===1&&(R(V,z),p(le,j(V)),!G)){for(var me in k)if(k.hasOwnProperty(me)){var we=V.getAttribute(me);we!=null&&(le[k[me]]=we)}}var pe=Y?"textFill":"fill",Fe=Y?"textStroke":"stroke";z.style=z.style||new u;var Xe=z.style;le.fill!=null&&Xe.set(pe,H(le.fill,X)),le.stroke!=null&&Xe.set(Fe,H(le.stroke,X)),E(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(dt){var Ee=dt==="lineWidth"&&Y?"textStrokeWidth":dt;le[dt]!=null&&Xe.set(Ee,parseFloat(le[dt]))}),(!le.textBaseline||le.textBaseline==="auto")&&(le.textBaseline="alphabetic"),le.textBaseline==="alphabetic"&&(le.textBaseline="bottom"),le.textAlign==="start"&&(le.textAlign="left"),le.textAlign==="end"&&(le.textAlign="right"),E(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(dt){le[dt]!=null&&Xe.set(dt,le[dt])}),le.lineDash&&(z.style.lineDash=w(le.lineDash).split(S)),Xe[Fe]&&Xe[Fe]!=="none"&&(z[Fe]=!0),z.__inheritedStyle=le}var B=/url\(\s*#(.*?)\)/;function H(V,z){var X=z&&V&&V.match(B);if(X){var G=w(X[1]),le=z[G];return le}return V}var W=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function R(V,z){var X=V.getAttribute("transform");if(X){X=X.replace(/,/g," ");var G=null,le=[];X.replace(W,function(pe,Fe,Xe){le.push(Fe,Xe)});for(var Y=le.length-1;Y>0;Y-=2){var me=le[Y],we=le[Y-1];G=G||r.create();switch(we){case"translate":me=w(me).split(S),r.translate(G,G,[parseFloat(me[0]),parseFloat(me[1]||0)]);break;case"scale":me=w(me).split(S),r.scale(G,G,[parseFloat(me[0]),parseFloat(me[1]||me[0])]);break;case"rotate":me=w(me).split(S),r.rotate(G,G,parseFloat(me[0]));break;case"skew":me=w(me).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":var me=w(me).split(S);G[0]=parseFloat(me[0]),G[1]=parseFloat(me[1]),G[2]=parseFloat(me[2]),G[3]=parseFloat(me[3]),G[4]=parseFloat(me[4]),G[5]=parseFloat(me[5]);break}}z.setLocalTransform(G)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function j(V){var z=V.getAttribute("style"),X={};if(!z)return X;var G={};U.lastIndex=0;for(var le;(le=U.exec(z))!=null;)G[le[1]]=le[2];for(var Y in k)k.hasOwnProperty(Y)&&G[Y]!=null&&(X[k[Y]]=G[Y]);return X}function P(V,z,X){var G=z/V.width,le=X/V.height,Y=Math.min(G,le),me=[Y,Y],we=[-(V.x+V.width/2)*Y+z/2,-(V.y+V.height/2)*Y+X/2];return{scale:me,position:we}}function K(V,z){var X=new T;return X.parse(V,z)}_.parseXML=x,_.makeViewBoxTransform=P,_.parseSVG=K},MFOe:function(D,_,e){(function(g){var f=h(),A=c(),m=o(),v=typeof window!="undefined"?window:g;D.exports={assign:f,create:A,trim:m,bind:i,slice:n,each:a,map:u,pluck:r,isList:l,isFunction:t,isObject:s,Global:v};function h(){return Object.assign?Object.assign:function(p,b,w,E){for(var S=1;S<arguments.length;S++)a(Object(arguments[S]),function(x,T){p[T]=x});return p}}function c(){if(Object.create)return function(b,w,E,S){var x=n(arguments,1);return f.apply(this,[Object.create(b)].concat(x))};var d=function(){};return function(b,w,E,S){var x=n(arguments,1);return d.prototype=b,f.apply(this,[new d].concat(x))}}function o(){return String.prototype.trim?function(p){return String.prototype.trim.call(p)}:function(p){return p.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function i(d,p){return function(){return p.apply(d,Array.prototype.slice.call(arguments,0))}}function n(d,p){return Array.prototype.slice.call(d,p||0)}function a(d,p){r(d,function(b,w){return p(b,w),!1})}function u(d,p){var b=l(d)?[]:{};return r(d,function(w,E){return b[E]=p(w,E),!1}),b}function r(d,p){if(l(d)){for(var b=0;b<d.length;b++)if(p(d[b],b))return d[b]}else for(var w in d)if(d.hasOwnProperty(w)&&p(d[w],w))return d[w]}function l(d){return d!=null&&typeof d!="function"&&typeof d.length=="number"}function t(d){return d&&{}.toString.call(d)==="[object Function]"}function s(d){return d&&{}.toString.call(d)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(D,_,e){var g=e("bYtY"),f=e("YXkt"),A=e("OELB"),m=e("kj2x"),v=e("c8qY"),h=e("iPDy"),c=e("7hqr"),o=c.getStackedDimension,i=function(s,d,p,b){var w=s.getData(),E=b.type;if(!g.isArray(b)&&(E==="min"||E==="max"||E==="average"||E==="median"||b.xAxis!=null||b.yAxis!=null)){var S,x;if(b.yAxis!=null||b.xAxis!=null)S=d.getAxis(b.yAxis!=null?"y":"x"),x=g.retrieve(b.yAxis,b.xAxis);else{var T=m.getAxisInfo(b,w,d,s);S=T.valueAxis;var L=o(w,T.valueDataDim);x=m.numCalculate(w,L,E)}var y=S.dim==="x"?0:1,C=1-y,O=g.clone(b),N={};O.type=null,O.coord=[],N.coord=[],O.coord[C]=-Infinity,N.coord[C]=Infinity;var k=p.get("precision");k>=0&&typeof x=="number"&&(x=+x.toFixed(Math.min(k,20))),O.coord[y]=N.coord[y]=x,b=[O,N,{type:E,valueIndex:b.valueIndex,value:x}]}return b=[m.dataTransform(s,b[0]),m.dataTransform(s,b[1]),g.extend({},b[2])],b[2].type=b[2].type||"",g.merge(b[2],b[0]),g.merge(b[2],b[1]),b};function n(s){return!isNaN(s)&&!isFinite(s)}function a(s,d,p,b){var w=1-s,E=b.dimensions[s];return n(d[w])&&n(p[w])&&d[s]===p[s]&&b.getAxis(E).containData(d[s])}function u(s,d){if(s.type==="cartesian2d"){var p=d[0].coord,b=d[1].coord;if(p&&b&&(a(1,p,b,s)||a(0,p,b,s)))return!0}return m.dataFilter(s,d[0])&&m.dataFilter(s,d[1])}function r(s,d,p,b,w){var E=b.coordinateSystem,S=s.getItemModel(d),x,T=A.parsePercent(S.get("x"),w.getWidth()),L=A.parsePercent(S.get("y"),w.getHeight());if(!isNaN(T)&&!isNaN(L))x=[T,L];else{if(b.getMarkerPosition)x=b.getMarkerPosition(s.getValues(s.dimensions,d));else{var y=E.dimensions,C=s.get(y[0],d),O=s.get(y[1],d);x=E.dataToPoint([C,O])}if(E.type==="cartesian2d"){var N=E.getAxis("x"),k=E.getAxis("y"),y=E.dimensions;n(s.get(y[0],d))?x[0]=N.toGlobalCoord(N.getExtent()[p?0:1]):n(s.get(y[1],d))&&(x[1]=k.toGlobalCoord(k.getExtent()[p?0:1]))}isNaN(T)||(x[0]=T),isNaN(L)||(x[1]=L)}s.setItemLayout(d,x)}var l=h.extend({type:"markLine",updateTransform:function(s,d,p){d.eachSeries(function(b){var w=b.markLineModel;if(w){var E=w.getData(),S=w.__from,x=w.__to;S.each(function(T){r(S,T,!0,b,p),r(x,T,!1,b,p)}),E.each(function(T){E.setItemLayout(T,[S.getItemLayout(T),x.getItemLayout(T)])}),this.markerGroupMap.get(b.id).updateLayout()}},this)},renderSeries:function(s,d,p,b){var w=s.coordinateSystem,E=s.id,S=s.getData(),x=this.markerGroupMap,T=x.get(E)||x.set(E,new v);this.group.add(T.group);var L=t(w,s,d),y=L.from,C=L.to,O=L.line;d.__from=y,d.__to=C,d.setData(O);var N=d.get("symbol"),k=d.get("symbolSize");g.isArray(N)||(N=[N,N]),typeof k=="number"&&(k=[k,k]),L.from.each(function(B){F(y,B,!0),F(C,B,!1)}),O.each(function(B){var H=O.getItemModel(B).get("lineStyle.color");O.setItemVisual(B,{color:H||y.getItemVisual(B,"color")}),O.setItemLayout(B,[y.getItemLayout(B),C.getItemLayout(B)]),O.setItemVisual(B,{fromSymbolSize:y.getItemVisual(B,"symbolSize"),fromSymbol:y.getItemVisual(B,"symbol"),toSymbolSize:C.getItemVisual(B,"symbolSize"),toSymbol:C.getItemVisual(B,"symbol")})}),T.updateData(O),L.line.eachItemGraphicEl(function(B,H){B.traverse(function(W){W.dataModel=d})});function F(B,H,W){var R=B.getItemModel(H);r(B,H,W,s,b),B.setItemVisual(H,{symbolSize:R.get("symbolSize")||k[W?0:1],symbol:R.get("symbol",!0)||N[W?0:1],color:R.get("itemStyle.color")||S.getVisual("color")})}T.__keep=!0,T.group.silent=d.get("silent")||s.get("silent")}});function t(s,d,p){var b;s?b=g.map(s&&s.dimensions,function(L){var y=d.getData().getDimensionInfo(d.getData().mapDimension(L))||{};return g.defaults({name:L},y)}):b=[{name:"value",type:"float"}];var w=new f(b,p),E=new f(b,p),S=new f([],p),x=g.map(p.get("data"),g.curry(i,d,s,p));s&&(x=g.filter(x,g.curry(u,s)));var T=s?m.dimValueGetter:function(L){return L.value};return w.initData(g.map(x,function(L){return L[0]}),null,T),E.initData(g.map(x,function(L){return L[1]}),null,T),S.initData(g.map(x,function(L){return L[2]})),S.hasItemOption=!0,{from:w,to:E,line:S}}D.exports=l},MHoB:function(D,_,e){var g=e("bYtY"),f=e("6uqw"),A=e("OELB"),m=[20,140],v=f.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(o,i){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var o=this.itemSize;this._orient==="horizontal"&&o.reverse(),(o[0]==null||isNaN(o[0]))&&(o[0]=m[0]),(o[1]==null||isNaN(o[1]))&&(o[1]=m[1])},_resetRange:function(){var o=this.getExtent(),i=this.option.range;!i||i.auto?(o.auto=1,this.option.range=o):g.isArray(i)&&(i[0]>i[1]&&i.reverse(),i[0]=Math.max(i[0],o[0]),i[1]=Math.min(i[1],o[1]))},completeVisualOption:function(){f.prototype.completeVisualOption.apply(this,arguments),g.each(this.stateList,function(o){var i=this.option.controller[o].symbolSize;i&&i[0]!==i[1]&&(i[0]=0)},this)},setSelected:function(o){this.option.range=o.slice(),this._resetRange()},getSelected:function(){var o=this.getExtent(),i=A.asc((this.get("range")||[]).slice());return i[0]>o[1]&&(i[0]=o[1]),i[1]>o[1]&&(i[1]=o[1]),i[0]<o[0]&&(i[0]=o[0]),i[1]<o[0]&&(i[1]=o[0]),i},getValueState:function(o){var i=this.option.range,n=this.getExtent();return(i[0]<=n[0]||i[0]<=o)&&(i[1]>=n[1]||o<=i[1])?"inRange":"outOfRange"},findTargetDataIndices:function(o){var i=[];return this.eachTargetSeries(function(n){var a=[],u=n.getData();u.each(this.getDataDimension(u),function(r,l){o[0]<=r&&r<=o[1]&&a.push(l)},this),i.push({seriesId:n.id,dataIndex:a})},this),i},getVisualMeta:function(o){var i=h(this,"outOfRange",this.getExtent()),n=h(this,"inRange",this.option.range.slice()),a=[];function u(b,w){a.push({value:b,color:o(b,w)})}for(var r=0,l=0,t=n.length,s=i.length;l<s&&(!n.length||i[l]<=n[0]);l++)i[l]<n[r]&&u(i[l],"outOfRange");for(var d=1;r<t;r++,d=0)d&&a.length&&u(n[r],"outOfRange"),u(n[r],"inRange");for(var d=1;l<s;l++)(!n.length||n[n.length-1]<i[l])&&(d&&(a.length&&u(a[a.length-1].value,"outOfRange"),d=0),u(i[l],"outOfRange"));var p=a.length;return{stops:a,outerColors:[p?a[0].color:"transparent",p?a[p-1].color:"transparent"]}}});function h(o,i,n){if(n[0]===n[1])return n.slice();for(var a=200,u=(n[1]-n[0])/a,r=n[0],l=[],t=0;t<=a&&r<n[1];t++)l.push(r),r+=u;return l.push(n[1]),l}var c=v;D.exports=c},MHtr:function(D,_,e){var g=e("bYtY");function f(m,v){var h=this.getAxis(),c=v instanceof Array?v[0]:v,o=(m instanceof Array?m[0]:m)/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(c-o)-h.dataToCoord(c+o))}function A(m){var v=m.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=A},MJZm:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("q1tI"),h=e("fAei"),c=e("TSYQ"),o=e.n(c),i=e("RIqP"),n=e.n(i),a=e("J4zp"),u=e.n(a),r=e("sEfC"),l=e.n(r),t=e("OZM5"),s=e("815F"),d=e("vk+C"),p=e.n(d),b=e("Vy0f"),w=e.n(b),E=e("kGiB"),S=e.n(E),x=e("H84U"),T;(function(K){K[K.None=0]="None",K[K.Start=1]="Start",K[K.End=2]="End"})(T||(T={}));function L(K,V){function z(X){var G=X.key,le=X.children;V(G,X)!==!1&&L(le||[],V)}K.forEach(z)}function y(K){var V=K.treeData,z=K.expandedKeys,X=K.startKey,G=K.endKey,le=[],Y=T.None;if(X&&X===G)return[X];if(!X||!G)return[];function me(we){return we===X||we===G}return L(V,function(we){if(Y===T.End)return!1;if(me(we)){if(le.push(we),Y===T.None)Y=T.Start;else if(Y===T.Start)return Y=T.End,!1}else Y===T.Start&&le.push(we);return!(z.indexOf(we)===-1)}),le}function C(K,V){var z=n()(V),X=[];return L(K,function(G,le){var Y=z.indexOf(G);return Y!==-1&&(X.push(le),z.splice(Y,1)),!!z.length}),X}var O=function(K,V){var z={};for(var X in K)Object.prototype.hasOwnProperty.call(K,X)&&V.indexOf(X)<0&&(z[X]=K[X]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,X=Object.getOwnPropertySymbols(K);G<X.length;G++)V.indexOf(X[G])<0&&Object.prototype.propertyIsEnumerable.call(K,X[G])&&(z[X[G]]=K[X[G]]);return z};function N(K){var V=K.isLeaf,z=K.expanded;return V?v.createElement(p.a,null):z?v.createElement(w.a,null):v.createElement(S.a,null)}function k(K){var V=K.treeData,z=K.children;return V||Object(s.c)(z)}var F=function(V,z){var X=V.defaultExpandAll,G=V.defaultExpandParent,le=V.defaultExpandedKeys,Y=O(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),me=v.useRef(),we=v.useRef(),pe=v.createRef();v.useImperativeHandle(z,function(){return pe.current});var Fe=function(){var Ge=Object(s.a)(k(Y)),et=Ge.keyEntities,rt;return X?rt=Object.keys(et):G?rt=Object(t.e)(Y.expandedKeys||le,et):rt=Y.expandedKeys||le,rt},Xe=v.useState(Y.selectedKeys||Y.defaultSelectedKeys||[]),dt=u()(Xe,2),Ee=dt[0],Se=dt[1],at=v.useState(Fe()),_e=u()(at,2),ce=_e[0],ee=_e[1];v.useEffect(function(){"selectedKeys"in Y&&Se(Y.selectedKeys)},[Y.selectedKeys]),v.useEffect(function(){"expandedKeys"in Y&&ee(Y.expandedKeys)},[Y.expandedKeys]);var se=function(Ge,et){var rt=et.isLeaf;if(rt||Ge.shiftKey||Ge.metaKey||Ge.ctrlKey)return;pe.current.onNodeExpand(Ge,et)},ke=l()(se,200,{leading:!0}),Ce=function(Ge,et){return"expandedKeys"in Y||ee(Ge),Y.onExpand?Y.onExpand(Ge,et):void 0},ze=function(Ge,et){var rt=Y.expandAction;rt==="click"&&ke(Ge,et),Y.onClick&&Y.onClick(Ge,et)},Oe=function(Ge,et){var rt=Y.expandAction;rt==="doubleClick"&&ke(Ge,et),Y.onDoubleClick&&Y.onDoubleClick(Ge,et)},ae=function(Ge,et){var rt=Y.multiple,lt=et.node,Ve=et.nativeEvent,ie=lt.key,$=ie===void 0?"":ie,it=k(Y),Qe=m()(m()({},et),{selected:!0}),ye=Ve.ctrlKey||Ve.metaKey,Zt=Ve.shiftKey,ht;rt&&ye?(ht=Ge,me.current=$,we.current=ht,Qe.selectedNodes=C(it,ht)):rt&&Zt?(ht=Array.from(new Set([].concat(n()(we.current||[]),n()(y({treeData:it,expandedKeys:ce,startKey:$,endKey:me.current}))))),Qe.selectedNodes=C(it,ht)):(ht=[$],me.current=$,we.current=ht,Qe.selectedNodes=C(it,ht)),Y.onSelect&&Y.onSelect(ht,Qe),"selectedKeys"in Y||Se(ht)},ge=v.useContext(x.b),Le=ge.getPrefixCls,Ze=ge.direction,vt=Y.prefixCls,Ct=Y.className,Be=O(Y,["prefixCls","className"]),Rt=Le("tree",vt),He=o()("".concat(Rt,"-directory"),Ct,f()({},"".concat(Rt,"-directory-rtl"),Ze==="rtl"));return v.createElement(j,m()({icon:N,ref:pe,blockNode:!0},Be,{prefixCls:Rt,className:He,expandedKeys:ce,selectedKeys:Ee,onSelect:ae,onClick:ze,onDoubleClick:Oe,onExpand:Ce}))},B=v.forwardRef(F);B.displayName="DirectoryTree",B.defaultProps={showIcon:!0,expandAction:"click"};var H=B,W=e("EXcs"),R=e("2jpz"),U=v.forwardRef(function(K,V){var z,X=v.useContext(x.b),G=X.getPrefixCls,le=X.direction,Y=X.virtual,me=K.prefixCls,we=K.className,pe=K.showIcon,Fe=K.showLine,Xe=K.switcherIcon,dt=K.blockNode,Ee=K.children,Se=K.checkable,at=m()(m()({},K),{showLine:Boolean(Fe)}),_e=G("tree",me);return v.createElement(h.b,m()({itemHeight:20,ref:V,virtual:Y},at,{prefixCls:_e,className:o()(we,(z={},f()(z,"".concat(_e,"-icon-hide"),!pe),f()(z,"".concat(_e,"-block-node"),dt),f()(z,"".concat(_e,"-rtl"),le==="rtl"),z)),checkable:Se&&v.createElement("span",{className:"".concat(_e,"-checkbox-inner")}),switcherIcon:function(ee){return Object(R.a)(_e,Xe,Fe,ee)}}),Ee)});U.TreeNode=h.a,U.DirectoryTree=H,U.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},W.a),{motionAppear:!1}),blockNode:!1};var j=U,P=_.a=j},MKOG:function(D,_,e){var g=e("bYtY"),f=e("YH21"),A=f.Dispatcher,m=e("mLcG"),v=e("Bq2U"),h=function(i){i=i||{},this.stage=i.stage||{},this.onframe=i.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,A.call(this)};h.prototype={constructor:h,addClip:function(i){this._clips.push(i)},addAnimator:function(i){i.animation=this;for(var n=i.getClips(),a=0;a<n.length;a++)this.addClip(n[a])},removeClip:function(i){var n=g.indexOf(this._clips,i);n>=0&&this._clips.splice(n,1)},removeAnimator:function(i){for(var n=i.getClips(),a=0;a<n.length;a++)this.removeClip(n[a]);i.animation=null},_update:function(){for(var i=new Date().getTime()-this._pausedTime,n=i-this._time,a=this._clips,u=a.length,r=[],l=[],t=0;t<u;t++){var s=a[t],d=s.step(i,n);d&&(r.push(d),l.push(s))}for(var t=0;t<u;)a[t]._needsRemove?(a[t]=a[u-1],a.pop(),u--):t++;u=r.length;for(var t=0;t<u;t++)l[t].fire(r[t]);this._time=i,this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update()},_startLoop:function(){var i=this;this._running=!0;function n(){i._running&&(m(n),!i._paused&&i._update())}m(n)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(i,n){n=n||{};var a=new v(i,n.loop,n.getter,n.setter);return this.addAnimator(a),a}},g.mixin(h,A);var c=h;D.exports=c},MMmD:function(D,_,e){var g=e("lSCD"),f=e("shjB");function A(m){return m!=null&&f(m.length)&&!g(m)}D.exports=A},MRoa:function(D,_,e){var g=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var f=e("gawk"),A=e("Dg8C");g.registerLayout(f),g.registerVisual(A)},MT78:function(D,_,e){var g=e("ProS");(function(){for(var A in g){if(g==null||!g.hasOwnProperty(A)||A==="default"||A==="__esModule")return;_[A]=g[A]}})();var f=e("txkQ");(function(){for(var A in f){if(f==null||!f.hasOwnProperty(A)||A==="default"||A==="__esModule")return;_[A]=f[A]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("Kvyg"),m=e.n(A)},MZdM:function(D,_,e){"use strict";function g(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(t){return typeof t}:g=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(r)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=o(e("Lo0S")),A=h(e("N/zr")),m=e("GdRQ"),v=e("GQ8N");function h(r){return r&&r.__esModule?r:{default:r}}function c(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return c=function(){return r},r}function o(r){if(r&&r.__esModule)return r;if(r===null||g(r)!=="object"&&typeof r!="function")return{default:r};var l=c();if(l&&l.has(r))return l.get(r);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in r)if(Object.prototype.hasOwnProperty.call(r,d)){var p=s?Object.getOwnPropertyDescriptor(r,d):null;p&&(p.get||p.set)?Object.defineProperty(t,d,p):t[d]=r[d]}return t.default=r,l&&l.set(r,t),t}function i(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}function n(r,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}function a(r,l,t){return l&&n(r.prototype,l),t&&n(r,t),r}var u=function(){function r(l){if(i(this,r),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,f.Debug(">> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},f.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),f.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return a(r,[{key:"viewportChangePos",value:function(t,s){var d=this._viewportLoc;t=Math.floor(t),s=Math.floor(s),this._clipViewport||(t=-d.w,s=-d.h);var p=d.x+d.w-1,b=d.y+d.h-1;if(t<0&&d.x+t<0&&(t=-d.x),p+t>=this._fbWidth&&(t-=p+t-this._fbWidth+1),d.y+s<0&&(s=-d.y),b+s>=this._fbHeight&&(s-=b+s-this._fbHeight+1),t===0&&s===0)return;f.Debug("viewportChange deltaX: "+t+", deltaY: "+s),d.x+=t,d.y+=s,this._damage(d.x,d.y,d.w,d.h),this.flip()}},{key:"viewportChangeSize",value:function(t,s){(!this._clipViewport||typeof t=="undefined"||typeof s=="undefined")&&(f.Debug("Setting viewport to full display region"),t=this._fbWidth,s=this._fbHeight),t=Math.floor(t),s=Math.floor(s),t>this._fbWidth&&(t=this._fbWidth),s>this._fbHeight&&(s=this._fbHeight);var d=this._viewportLoc;if(d.w!==t||d.h!==s){d.w=t,d.h=s;var p=this._target;p.width=t,p.height=s,this.viewportChangePos(0,0),this._damage(d.x,d.y,d.w,d.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,s){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=s;var d=this._backbuffer;if(d.width!==t||d.height!==s){var p=null;d.width>0&&d.height>0&&(p=this._drawCtx.getImageData(0,0,d.width,d.height)),d.width!==t&&(d.width=t),d.height!==s&&(d.height=s),p&&this._drawCtx.putImageData(p,0,0)}var b=this._viewportLoc;this.viewportChangeSize(b.w,b.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,s,d,p){t<this._damageBounds.left&&(this._damageBounds.left=t),s<this._damageBounds.top&&(this._damageBounds.top=s),t+d>this._damageBounds.right&&(this._damageBounds.right=t+d),s+p>this._damageBounds.bottom&&(this._damageBounds.bottom=s+p)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,d=this._damageBounds.top,p=this._damageBounds.right-s,b=this._damageBounds.bottom-d,w=s-this._viewportLoc.x,E=d-this._viewportLoc.y;w<0&&(p+=w,s-=w,w=0),E<0&&(b+=E,d-=E,E=0),w+p>this._viewportLoc.w&&(p=this._viewportLoc.w-w),E+b>this._viewportLoc.h&&(b=this._viewportLoc.h-E),p>0&&b>0&&this._targetCtx.drawImage(this._backbuffer,s,d,p,b,w,E,p,b),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(t,s,d,p,b,w){this._renderQ.length!==0&&!w?this._renderQPush({type:"fill",x:t,y:s,width:d,height:p,color:b}):(this._setFillColor(b),this._drawCtx.fillRect(t,s,d,p),this._damage(t,s,d,p))}},{key:"copyImage",value:function(t,s,d,p,b,w,E){this._renderQ.length!==0&&!E?this._renderQPush({type:"copy",oldX:t,oldY:s,x:d,y:p,width:b,height:w}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,s,b,w,d,p,b,w),this._damage(d,p,b,w))}},{key:"imageRect",value:function(t,s,d,p,b,w){if(d===0||p===0)return;var E=new Image;E.src="data: "+b+";base64,"+A.default.encode(w),this._renderQPush({type:"img",img:E,x:t,y:s,width:d,height:p})}},{key:"startTile",value:function(t,s,d,p,b){this._tileX=t,this._tileY=s,d===16&&p===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(d,p);for(var w=b[2],E=b[1],S=b[0],x=this._tile.data,T=0;T<d*p*4;T+=4)x[T]=w,x[T+1]=E,x[T+2]=S,x[T+3]=255}},{key:"subTile",value:function(t,s,d,p,b){for(var w=b[2],E=b[1],S=b[0],x=t+d,T=s+p,L=this._tile.data,y=this._tile.width,C=s;C<T;C++)for(var O=t;O<x;O++){var N=(O+C*y)*4;L[N]=w,L[N+1]=E,L[N+2]=S,L[N+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(t,s,d,p,b,w,E){if(this._renderQ.length!==0&&!E){var S=new Uint8Array(d*p*4);S.set(new Uint8Array(b.buffer,0,S.length)),this._renderQPush({type:"blit",data:S,x:t,y:s,width:d,height:p})}else this._bgrxImageData(t,s,d,p,b,w)}},{key:"blitRgbImage",value:function(t,s,d,p,b,w,E){if(this._renderQ.length!==0&&!E){var S=new Uint8Array(d*p*3);S.set(new Uint8Array(b.buffer,0,S.length)),this._renderQPush({type:"blitRgb",data:S,x:t,y:s,width:d,height:p})}else this._rgbImageData(t,s,d,p,b,w)}},{key:"blitRgbxImage",value:function(t,s,d,p,b,w,E){if(this._renderQ.length!==0&&!E){var S=new Uint8Array(d*p*4);S.set(new Uint8Array(b.buffer,0,S.length)),this._renderQPush({type:"blitRgbx",data:S,x:t,y:s,width:d,height:p})}else this._rgbxImageData(t,s,d,p,b,w)}},{key:"drawImage",value:function(t,s,d){this._drawCtx.drawImage(t,s,d),this._damage(s,d,t.width,t.height)}},{key:"autoscale",value:function(t,s){var d;if(t===0||s===0)d=0;else{var p=this._viewportLoc,b=t/s,w=p.w/p.h;w>=b?d=t/p.w:d=s/p.h}this._rescale(d)}},{key:"_rescale",value:function(t){this._scale=t;var s=this._viewportLoc,d=t*s.w+"px",p=t*s.h+"px";(this._target.style.width!==d||this._target.style.height!==p)&&(this._target.style.width=d,this._target.style.height=p)}},{key:"_setFillColor",value:function(t){var s="rgb("+t[2]+","+t[1]+","+t[0]+")";s!==this._prevDrawStyle&&(this._drawCtx.fillStyle=s,this._prevDrawStyle=s)}},{key:"_rgbImageData",value:function(t,s,d,p,b,w){for(var E=this._drawCtx.createImageData(d,p),S=E.data,x=0,T=w;x<d*p*4;x+=4,T+=3)S[x]=b[T],S[x+1]=b[T+1],S[x+2]=b[T+2],S[x+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_bgrxImageData",value:function(t,s,d,p,b,w){for(var E=this._drawCtx.createImageData(d,p),S=E.data,x=0,T=w;x<d*p*4;x+=4,T+=4)S[x]=b[T+2],S[x+1]=b[T+1],S[x+2]=b[T],S[x+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_rgbxImageData",value:function(t,s,d,p,b,w){var E;m.supportsImageMetadata?E=new ImageData(new Uint8ClampedArray(b.buffer,b.byteOffset,d*p*4),d,p):(E=this._drawCtx.createImageData(d,p),E.data.set(new Uint8ClampedArray(b.buffer,b.byteOffset,d*p*4))),this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_renderQPush",value:function(t){this._renderQ.push(t),this._renderQ.length===1&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){for(var t=!0;t&&this._renderQ.length>0;){var s=this._renderQ[0];switch(s.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(s.oldX,s.oldY,s.x,s.y,s.width,s.height,!0);break;case"fill":this.fillRect(s.x,s.y,s.width,s.height,s.color,!0);break;case"blit":this.blitImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgb":this.blitRgbImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"img":if(s.img.complete&&s.img.width!==0&&s.img.height!==0){if(s.img.width!==s.width||s.img.height!==s.height){f.Error("Decoded image has incorrect dimensions. Got "+s.img.width+"x"+s.img.height+". Expected "+s.width+"x"+s.height+".");return}this.drawImage(s.img,s.x,s.y)}else s.img._noVNCDisplay=this,s.img.addEventListener("load",this._resumeRenderQ),t=!1;break}t&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(t){this._rescale(t)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(t){this._clipViewport=t;var s=this._viewportLoc;this.viewportChangeSize(s.w,s.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),r}();_.default=u},Mdki:function(D,_,e){var g=e("bYtY"),f=g.each,A="\0__link_datas",m="\0__link_mainData";function v(l){var t=l.mainData,s=l.datas;s||(s={main:t},l.datasAttr={main:"data"}),l.datas=l.mainData=null,a(t,s,l),f(s,function(d){f(t.TRANSFERABLE_METHODS,function(p){d.wrapMethod(p,g.curry(h,l))})}),t.wrapMethod("cloneShallow",g.curry(o,l)),f(t.CHANGABLE_METHODS,function(d){t.wrapMethod(d,g.curry(c,l))}),g.assert(s[t.dataType]===t)}function h(l,t){if(n(this)){var s=g.extend({},this[A]);s[this.dataType]=t,a(t,s,l)}else u(t,this.dataType,this[m],l);return t}function c(l,t){return l.struct&&l.struct.update(this),t}function o(l,t){return f(t[A],function(s,d){s!==t&&u(s.cloneShallow(),d,t,l)}),t}function i(l){var t=this[m];return l==null||t==null?t:t[A][l]}function n(l){return l[m]===l}function a(l,t,s){l[A]={},f(t,function(d,p){u(d,p,l,s)})}function u(l,t,s,d){s[A][t]=l,l[m]=s,l.dataType=t,d.struct&&(l[d.structAttr]=d.struct,d.struct[d.datasAttr[t]]=l),l.getLinkedData=i}var r=v;D.exports=r},Mds0:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("8IMR")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="StarFilled";var c=A.forwardRef(h);_.default=c},Mgri:function(D,_,e){for(var g=e("bYtY"),f=e("8nly"),A=[126,25],m=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],v=0;v<m.length;v++)for(var h=0;h<m[v].length;h++)m[v][h][0]/=10.5,m[v][h][1]/=-10.5/.75,m[v][h][0]+=A[0],m[v][h][1]+=A[1];function c(o,i){o==="china"&&i.push(new f("\u5357\u6D77\u8BF8\u5C9B",g.map(m,function(n){return{type:"polygon",exterior:n}}),A))}D.exports=c},Mmt2:function(D,_,e){"use strict";function g(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(r){return typeof r}:g=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},g(a)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return A=function(){return a},a}function m(a){if(a&&a.__esModule)return a;if(a===null||g(a)!=="object"&&typeof a!="function")return{default:a};var u=A();if(u&&u.has(a))return u.get(a);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in a)if(Object.prototype.hasOwnProperty.call(a,t)){var s=l?Object.getOwnPropertyDescriptor(a,t):null;s&&(s.get||s.set)?Object.defineProperty(r,t,s):r[t]=a[t]}return r.default=a,u&&u.set(a,r),r}function v(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")}function h(a,u){for(var r=0;r<u.length;r++){var l=u[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(a,l.key,l)}}function c(a,u,r){return u&&h(a.prototype,u),r&&h(a,r),a}var o=!1,i=40*1024*1024,n=function(){function a(){v(this,a),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=1024*1024*4,this._rQ=null,this._sQbufferSize=1024*10,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return c(a,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(r){this._rQi+=r}},{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(r){for(var l=0,t=r-1;t>=0;t--)l+=this._rQ[this._rQi++]<<t*8;return l}},{key:"rQshiftStr",value:function(r){typeof r=="undefined"&&(r=this.rQlen);for(var l="",t=0;t<r;t+=4096){var s=this.rQshiftBytes(Math.min(4096,r-t));l+=String.fromCharCode.apply(null,s)}return l}},{key:"rQshiftBytes",value:function(r){return typeof r=="undefined"&&(r=this.rQlen),this._rQi+=r,new Uint8Array(this._rQ.buffer,this._rQi-r,r)}},{key:"rQshiftTo",value:function(r,l){l===void 0&&(l=this.rQlen),r.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+r,l-r)}},{key:"rQwait",value:function(r,l,t){if(this.rQlen<l){if(t){if(this._rQi<t)throw new Error("rQwait cannot backup "+t+" bytes");this._rQi-=t}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(r){this._sQ.set(r,this._sQlen),this._sQlen+=r.length,this.flush()}},{key:"sendString",value:function(r){this.send(r.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(r){this._eventHandlers[r]=function(){}}},{key:"on",value:function(r,l){this._eventHandlers[r]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(r,l){var t=this;this.init(),this._websocket=new WebSocket(r,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){f.Debug(">> WebSock.onopen"),t._websocket.protocol&&f.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),f.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){f.Debug(">> WebSock.onclose"),t._eventHandlers.close(s),f.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){f.Debug(">> WebSock.onerror: "+s),t._eventHandlers.error(s),f.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(f.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(r){var l=(this._rQlen-this._rQi+r)*8,t=this._rQbufferSize<l;if(t&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>i&&(this._rQbufferSize=i,this._rQbufferSize-this.rQlen<r))throw new Error("Receive Queue buffer exceeded "+i+" bytes, and the new message could not fit");if(t){var s=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(s,this._rQi,this._rQlen-this._rQi))}else o?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(r){var l=new Uint8Array(r);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(r){this._DecodeMessage(r.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):f.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(r){this._rQi=r}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),a}();_.default=n},MqEG:function(D,_,e){var g=e("bYtY"),f=e("fc+c"),A=e("72pK"),m=e("VXYp"),v=g.bind,h=f.extend({type:"dataZoom.inside",init:function(a,u){this._range},render:function(a,u,r,l){h.superApply(this,"render",arguments),this._range=a.getPercentRange(),g.each(this.getTargetCoordInfo(),function(t,s){var d=g.map(t,function(p){return m.generateCoordId(p.model)});g.each(t,function(p){var b=p.model,w={};g.each(["pan","zoom","scrollMove"],function(E){w[E]=v(c[E],this,p,s)},this),m.register(r,{coordId:m.generateCoordId(b),allCoordIds:d,containsPoint:function(E,S,x){return b.coordinateSystem.containPoint([S,x])},dataZoomId:a.id,dataZoomModel:a,getRange:w})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),h.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(a,u,r,l){var t=this._range,s=t.slice(),d=a.axisModels[0];if(!d)return;var p=i[u](null,[l.originX,l.originY],d,r,a),b=(p.signal>0?p.pixelStart+p.pixelLength-p.pixel:p.pixel-p.pixelStart)/p.pixelLength*(s[1]-s[0])+s[0],w=Math.max(1/l.scale,0);s[0]=(s[0]-b)*w+b,s[1]=(s[1]-b)*w+b;var E=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(A(0,s,[0,100],0,E.minSpan,E.maxSpan),this._range=s,t[0]!==s[0]||t[1]!==s[1])return s},pan:o(function(a,u,r,l,t,s){var d=i[l]([s.oldX,s.oldY],[s.newX,s.newY],u,t,r);return d.signal*(a[1]-a[0])*d.pixel/d.pixelLength}),scrollMove:o(function(a,u,r,l,t,s){var d=i[l]([0,0],[s.scrollDelta,s.scrollDelta],u,t,r);return d.signal*(a[1]-a[0])*s.scrollDelta})};function o(a){return function(u,r,l,t){var s=this._range,d=s.slice(),p=u.axisModels[0];if(!p)return;var b=a(d,p,u,r,l,t);if(A(b,d,[0,100],"all"),this._range=d,s[0]!==d[0]||s[1]!==d[1])return d}}var i={grid:function(a,u,r,l,t){var s=r.axis,d={},p=t.model.coordinateSystem.getRect();return a=a||[0,0],s.dim==="x"?(d.pixel=u[0]-a[0],d.pixelLength=p.width,d.pixelStart=p.x,d.signal=s.inverse?1:-1):(d.pixel=u[1]-a[1],d.pixelLength=p.height,d.pixelStart=p.y,d.signal=s.inverse?-1:1),d},polar:function(a,u,r,l,t){var s=r.axis,d={},p=t.model.coordinateSystem,b=p.getRadiusAxis().getExtent(),w=p.getAngleAxis().getExtent();return a=a?p.pointToCoord(a):[0,0],u=p.pointToCoord(u),r.mainType==="radiusAxis"?(d.pixel=u[0]-a[0],d.pixelLength=b[1]-b[0],d.pixelStart=b[0],d.signal=s.inverse?1:-1):(d.pixel=u[1]-a[1],d.pixelLength=w[1]-w[0],d.pixelStart=w[0],d.signal=s.inverse?-1:1),d},singleAxis:function(a,u,r,l,t){var s=r.axis,d=t.model.coordinateSystem.getRect(),p={};return a=a||[0,0],s.orient==="horizontal"?(p.pixel=u[0]-a[0],p.pixelLength=d.width,p.pixelStart=d.x,p.signal=s.inverse?1:-1):(p.pixel=u[1]-a[1],p.pixelLength=d.height,p.pixelStart=d.y,p.signal=s.inverse?-1:1),p}},n=h;D.exports=n},MvSz:function(D,_,e){var g=e("LXxW"),f=e("0ycA"),A=Object.prototype,m=A.propertyIsEnumerable,v=Object.getOwnPropertySymbols,h=v?function(c){return c==null?[]:(c=Object(c),g(v(c),function(o){return m.call(c,o)}))}:f;D.exports=h},MwEJ:function(D,_,e){var g=e("bYtY"),f=e("YXkt"),A=e("sdST"),m=e("k9D9"),v=m.SOURCE_FORMAT_ORIGINAL,h=e("L0Ub"),c=h.getDimensionTypeByAxis,o=e("4NO4"),i=o.getDataItemValue,n=e("IDmD"),a=e("i38C"),u=a.getCoordSysInfoBySeries,r=e("7G+c"),l=e("7hqr"),t=l.enableDataStack,s=e("D5nY"),d=s.makeSeriesEncodeForAxisCoordSys;function p(S,x,T){T=T||{},r.isInstance(S)||(S=r.seriesDataToSource(S));var L=x.get("coordinateSystem"),y=n.get(L),C=u(x),O;C&&(O=g.map(C.coordSysDims,function(R){var U={name:R},j=C.axisMap.get(R);if(j){var P=j.get("type");U.type=c(P)}return U})),O||(O=y&&(y.getDimensionsInfo?y.getDimensionsInfo():y.dimensions.slice())||["x","y"]);var N=A(S,{coordDimensions:O,generateCoord:T.generateCoord,encodeDefaulter:T.useEncodeDefaulter?g.curry(d,O,x):null}),k,F;C&&g.each(N,function(R,U){var j=R.coordDim,P=C.categoryAxisMap.get(j);P&&(k==null&&(k=U),R.ordinalMeta=P.getOrdinalMeta()),R.otherDims.itemName!=null&&(F=!0)}),!F&&k!=null&&(N[k].otherDims.itemName=0);var B=t(x,N),H=new f(N,x);H.setCalculationInfo(B);var W=k!=null&&b(S)?function(R,U,j,P){return P===k?j:this.defaultDimValueGetter(R,U,j,P)}:null;return H.hasItemOption=!1,H.initData(S,null,W),H}function b(S){if(S.sourceFormat===v){var x=w(S.data||[]);return x!=null&&!g.isArray(i(x))}}function w(S){for(var x=0;x<S.length&&S[x]==null;)x++;return S[x]}var E=p;D.exports=E},Mylv:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("IwbS"),m=e("oVpE"),v=m.createSymbol,h=e("OELB"),c=h.parsePercent,o=h.isNumeric,i=e("56rv"),n=i.setLabel,a=["itemStyle","borderWidth"],u=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],r=new A.Circle,l=g.extendChartView({type:"pictorialBar",render:function(K,V,z){var X=this.group,G=K.getData(),le=this._data,Y=K.coordinateSystem,me=Y.getBaseAxis(),we=!!me.isHorizontal(),pe=Y.grid.getRect(),Fe={ecSize:{width:z.getWidth(),height:z.getHeight()},seriesModel:K,coordSys:Y,coordSysExtent:[[pe.x,pe.x+pe.width],[pe.y,pe.y+pe.height]],isHorizontal:we,valueDim:u[+we],categoryDim:u[1-we]};return G.diff(le).add(function(Xe){if(!G.hasValue(Xe))return;var dt=y(G,Xe),Ee=t(G,Xe,dt,Fe),Se=k(G,Fe,Ee);G.setItemGraphicEl(Xe,Se),X.add(Se),U(Se,Fe,Ee)}).update(function(Xe,dt){var Ee=le.getItemGraphicEl(dt);if(!G.hasValue(Xe)){X.remove(Ee);return}var Se=y(G,Xe),at=t(G,Xe,Se,Fe),_e=H(G,at);Ee&&_e!==Ee.__pictorialShapeStr&&(X.remove(Ee),G.setItemGraphicEl(Xe,null),Ee=null),Ee?F(Ee,Fe,at):Ee=k(G,Fe,at,!0),G.setItemGraphicEl(Xe,Ee),Ee.__pictorialSymbolMeta=at,X.add(Ee),U(Ee,Fe,at)}).remove(function(Xe){var dt=le.getItemGraphicEl(Xe);dt&&B(le,Xe,dt.__pictorialSymbolMeta.animationModel,dt)}).execute(),this._data=G,this.group},dispose:f.noop,remove:function(K,V){var z=this.group,X=this._data;K.get("animation")?X&&X.eachItemGraphicEl(function(G){B(X,G.dataIndex,K,G)}):z.removeAll()}});function t(K,V,z,X){var G=K.getItemLayout(V),le=z.get("symbolRepeat"),Y=z.get("symbolClip"),me=z.get("symbolPosition")||"start",we=z.get("symbolRotate"),pe=(we||0)*Math.PI/180||0,Fe=z.get("symbolPatternSize")||2,Xe=z.isAnimationEnabled(),dt={dataIndex:V,layout:G,itemModel:z,symbolType:K.getItemVisual(V,"symbol")||"circle",color:K.getItemVisual(V,"color"),symbolClip:Y,symbolRepeat:le,symbolRepeatDirection:z.get("symbolRepeatDirection"),symbolPatternSize:Fe,rotation:pe,animationModel:Xe?z:null,hoverAnimation:Xe&&z.get("hoverAnimation"),z2:z.getShallow("z",!0)||0};s(z,le,G,X,dt),p(K,V,G,le,Y,dt.boundingLength,dt.pxSign,Fe,X,dt),b(z,dt.symbolScale,pe,X,dt);var Ee=dt.symbolSize,Se=z.get("symbolOffset");return f.isArray(Se)&&(Se=[c(Se[0],Ee[0]),c(Se[1],Ee[1])]),w(z,Ee,G,le,Y,Se,me,dt.valueLineWidth,dt.boundingLength,dt.repeatCutLength,X,dt),dt}function s(K,V,z,X,G){var le=X.valueDim,Y=K.get("symbolBoundingData"),me=X.coordSys.getOtherAxis(X.coordSys.getBaseAxis()),we=me.toGlobalCoord(me.dataToCoord(0)),pe=1-+(z[le.wh]<=0),Fe;if(f.isArray(Y)){var Xe=[d(me,Y[0])-we,d(me,Y[1])-we];Xe[1]<Xe[0]&&Xe.reverse(),Fe=Xe[pe]}else Y!=null?Fe=d(me,Y)-we:V?Fe=X.coordSysExtent[le.index][pe]-we:Fe=z[le.wh];G.boundingLength=Fe,V&&(G.repeatCutLength=z[le.wh]),G.pxSign=Fe>0?1:Fe<0?-1:0}function d(K,V){return K.toGlobalCoord(K.dataToCoord(K.scale.parse(V)))}function p(K,V,z,X,G,le,Y,me,we,pe){var Fe=we.valueDim,Xe=we.categoryDim,dt=Math.abs(z[Xe.wh]),Ee=K.getItemVisual(V,"symbolSize");f.isArray(Ee)?Ee=Ee.slice():(Ee==null&&(Ee="100%"),Ee=[Ee,Ee]),Ee[Xe.index]=c(Ee[Xe.index],dt),Ee[Fe.index]=c(Ee[Fe.index],X?dt:Math.abs(le)),pe.symbolSize=Ee;var Se=pe.symbolScale=[Ee[0]/me,Ee[1]/me];Se[Fe.index]*=(we.isHorizontal?-1:1)*Y}function b(K,V,z,X,G){var le=K.get(a)||0;le&&(r.attr({scale:V.slice(),rotation:z}),r.updateTransform(),le/=r.getLineScale(),le*=V[X.valueDim.index]),G.valueLineWidth=le}function w(K,V,z,X,G,le,Y,me,we,pe,Fe,Xe){var dt=Fe.categoryDim,Ee=Fe.valueDim,Se=Xe.pxSign,at=Math.max(V[Ee.index]+me,0),_e=at;if(X){var ce=Math.abs(we),ee=f.retrieve(K.get("symbolMargin"),"15%")+"",se=!1;ee.lastIndexOf("!")===ee.length-1&&(se=!0,ee=ee.slice(0,ee.length-1)),ee=c(ee,V[Ee.index]);var ke=Math.max(at+ee*2,0),Ce=se?0:ee*2,ze=o(X),Oe=ze?X:j((ce+Ce)/ke),ae=ce-Oe*at;ee=ae/2/(se?Oe:Oe-1),ke=at+ee*2,Ce=se?0:ee*2,!ze&&X!=="fixed"&&(Oe=pe?j((Math.abs(pe)+Ce)/ke):0),_e=Oe*ke-Ce,Xe.repeatTimes=Oe,Xe.symbolMargin=ee}var ge=Se*(_e/2),Le=Xe.pathPosition=[];Le[dt.index]=z[dt.wh]/2,Le[Ee.index]=Y==="start"?ge:Y==="end"?we-ge:we/2,le&&(Le[0]+=le[0],Le[1]+=le[1]);var Ze=Xe.bundlePosition=[];Ze[dt.index]=z[dt.xy],Ze[Ee.index]=z[Ee.xy];var vt=Xe.barRectShape=f.extend({},z);vt[Ee.wh]=Se*Math.max(Math.abs(z[Ee.wh]),Math.abs(Le[Ee.index]+ge)),vt[dt.wh]=z[dt.wh];var Ct=Xe.clipShape={};Ct[dt.xy]=-z[dt.xy],Ct[dt.wh]=Fe.ecSize[dt.wh],Ct[Ee.xy]=0,Ct[Ee.wh]=z[Ee.wh]}function E(K){var V=K.symbolPatternSize,z=v(K.symbolType,-V/2,-V/2,V,V,K.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function S(K,V,z,X){var G=K.__pictorialBundle,le=z.symbolSize,Y=z.valueLineWidth,me=z.pathPosition,we=V.valueDim,pe=z.repeatTimes||0,Fe=0,Xe=le[V.valueDim.index]+Y+z.symbolMargin*2;for(W(K,function(ce){ce.__pictorialAnimationIndex=Fe,ce.__pictorialRepeatTimes=pe,Fe<pe?R(ce,null,Se(Fe),z,X):R(ce,null,{scale:[0,0]},z,X,function(){G.remove(ce)}),N(ce,z),Fe++});Fe<pe;Fe++){var dt=E(z);dt.__pictorialAnimationIndex=Fe,dt.__pictorialRepeatTimes=pe,G.add(dt);var Ee=Se(Fe);R(dt,{position:Ee.position,scale:[0,0]},{scale:Ee.scale,rotation:Ee.rotation},z,X),dt.on("mouseover",at).on("mouseout",_e),N(dt,z)}function Se(ce){var ee=me.slice(),se=z.pxSign,ke=ce;return(z.symbolRepeatDirection==="start"?se>0:se<0)&&(ke=pe-1-ce),ee[we.index]=Xe*(ke-pe/2+.5)+me[we.index],{position:ee,scale:z.symbolScale.slice(),rotation:z.rotation}}function at(){W(K,function(ce){ce.trigger("emphasis")})}function _e(){W(K,function(ce){ce.trigger("normal")})}}function x(K,V,z,X){var G=K.__pictorialBundle,le=K.__pictorialMainPath;le?R(le,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,X):(le=K.__pictorialMainPath=E(z),G.add(le),R(le,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,X),le.on("mouseover",Y).on("mouseout",me)),N(le,z);function Y(){this.trigger("emphasis")}function me(){this.trigger("normal")}}function T(K,V,z){var X=f.extend({},V.barRectShape),G=K.__pictorialBarRect;G?R(G,null,{shape:X},V,z):(G=K.__pictorialBarRect=new A.Rect({z2:2,shape:X,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),K.add(G))}function L(K,V,z,X){if(z.symbolClip){var G=K.__pictorialClipPath,le=f.extend({},z.clipShape),Y=V.valueDim,me=z.animationModel,we=z.dataIndex;if(G)A.updateProps(G,{shape:le},me,we);else{le[Y.wh]=0,G=new A.Rect({shape:le}),K.__pictorialBundle.setClipPath(G),K.__pictorialClipPath=G;var pe={};pe[Y.wh]=z.clipShape[Y.wh],A[X?"updateProps":"initProps"](G,{shape:pe},me,we)}}}function y(K,V){var z=K.getItemModel(V);return z.getAnimationDelayParams=C,z.isAnimationEnabled=O,z}function C(K){return{index:K.__pictorialAnimationIndex,count:K.__pictorialRepeatTimes}}function O(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function N(K,V){K.off("emphasis").off("normal");var z=V.symbolScale.slice();V.hoverAnimation&&K.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function k(K,V,z,X){var G=new A.Group,le=new A.Group;return G.add(le),G.__pictorialBundle=le,le.attr("position",z.bundlePosition.slice()),z.symbolRepeat?S(G,V,z):x(G,V,z),T(G,z,X),L(G,V,z,X),G.__pictorialShapeStr=H(K,z),G.__pictorialSymbolMeta=z,G}function F(K,V,z){var X=z.animationModel,G=z.dataIndex,le=K.__pictorialBundle;A.updateProps(le,{position:z.bundlePosition.slice()},X,G),z.symbolRepeat?S(K,V,z,!0):x(K,V,z,!0),T(K,z,!0),L(K,V,z,!0)}function B(K,V,z,X){var G=X.__pictorialBarRect;G&&(G.style.text=null);var le=[];W(X,function(Y){le.push(Y)}),X.__pictorialMainPath&&le.push(X.__pictorialMainPath),X.__pictorialClipPath&&(z=null),f.each(le,function(Y){A.updateProps(Y,{scale:[0,0]},z,V,function(){X.parent&&X.parent.remove(X)})}),K.setItemGraphicEl(V,null)}function H(K,V){return[K.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function W(K,V,z){f.each(K.__pictorialBundle.children(),function(X){X!==K.__pictorialBarRect&&V.call(z,X)})}function R(K,V,z,X,G,le){V&&K.attr(V),X.symbolClip&&!G?z&&K.attr(z):z&&A[G?"updateProps":"initProps"](K,z,X.animationModel,X.dataIndex,le)}function U(K,V,z){var X=z.color,G=z.dataIndex,le=z.itemModel,Y=le.getModel("itemStyle").getItemStyle(["color"]),me=le.getModel("emphasis.itemStyle").getItemStyle(),we=le.getShallow("cursor");W(K,function(dt){dt.setColor(X),dt.setStyle(f.defaults({fill:X,opacity:z.opacity},Y)),A.setHoverStyle(dt,me),we&&(dt.cursor=we),dt.z2=z.z2});var pe={},Fe=V.valueDim.posDesc[+(z.boundingLength>0)],Xe=K.__pictorialBarRect;n(Xe.style,pe,le,X,V.seriesModel,G,Fe),A.setHoverStyle(Xe,pe)}function j(K){var V=Math.round(K);return Math.abs(K-V)<1e-4?V:Math.ceil(K)}var P=l;D.exports=P},"N/JB":function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=g(e("ToDW")),A=f.default;_.default=A},"N/zr":function(D,_,e){"use strict";function g(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(o){return typeof o}:g=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},g(h)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return A=function(){return h},h}function m(h){if(h&&h.__esModule)return h;if(h===null||g(h)!=="object"&&typeof h!="function")return{default:h};var c=A();if(c&&c.has(h))return c.get(h);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in h)if(Object.prototype.hasOwnProperty.call(h,n)){var a=i?Object.getOwnPropertyDescriptor(h,n):null;a&&(a.get||a.set)?Object.defineProperty(o,n,a):o[n]=h[n]}return o.default=h,c&&c.set(h,o),o}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(c){"use strict";for(var o="",i=c.length,n=i%3,a=0;a<i-2;a+=3)o+=this.toBase64Table[c[a]>>2],o+=this.toBase64Table[((c[a]&3)<<4)+(c[a+1]>>4)],o+=this.toBase64Table[((c[a+1]&15)<<2)+(c[a+2]>>6)],o+=this.toBase64Table[c[a+2]&63];var u=i-n;return n===2?(o+=this.toBase64Table[c[u]>>2],o+=this.toBase64Table[((c[u]&3)<<4)+(c[u+1]>>4)],o+=this.toBase64Table[(c[u+1]&15)<<2],o+=this.toBase64Table[64]):n===1&&(o+=this.toBase64Table[c[u]>>2],o+=this.toBase64Table[(c[u]&3)<<4],o+=this.toBase64Table[64],o+=this.toBase64Table[64]),o},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=c.indexOf("=")-o;i<0&&(i=c.length-o);for(var n=(i>>2)*3+Math.floor(i%4/1.5),a=new Array(n),u=0,r=0,l=0,t=o;t<c.length;t++){var s=this.toBinaryTable[c.charCodeAt(t)&127],d=c.charAt(t)===this.base64Pad;if(s===-1){f.Error("Illegal character code "+c.charCodeAt(t)+" at position "+t);continue}r=r<<6|s,u+=6,u>=8&&(u-=8,d||(a[l++]=r>>u&255),r&=(1<<u)-1)}if(u){var p=new Error("Corrupted base64 string");throw p.name="Base64-Error",p}return a}};_.default=v},N5BQ:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),A=f;D.exports=A},NA0q:function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),A=e("TkdX"),m=e("gPAo"),v=e("7aKB"),h=v.windowOpen,c="sunburstRootToNode",o=f.extend({type:"sunburst",init:function(){},render:function(n,a,u,r){var l=this;this.seriesModel=n,this.api=u,this.ecModel=a;var t=n.getData(),s=t.tree.root,d=n.getViewRoot(),p=this.group,b=n.get("renderLabelForZeroData"),w=[];d.eachNode(function(O){w.push(O)});var E=this._oldChildren||[];if(T(w,E),C(s,d),r&&r.highlight&&r.highlight.piece){var S=n.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(S)}else if(r&&r.unhighlight){var x=this.virtualPiece;!x&&s.children.length&&(x=s.children[0].piece),x&&x.onNormal()}this._initEvents(),this._oldChildren=w;function T(O,N){if(O.length===0&&N.length===0)return;new m(N,O,k,k).add(F).update(F).remove(g.curry(F,null)).execute();function k(B){return B.getId()}function F(B,H){var W=B==null?null:O[B],R=H==null?null:N[H];L(W,R)}}function L(O,N){if(!b&&O&&!O.getValue()&&(O=null),O!==s&&N!==s){if(N&&N.piece)O?(N.piece.updateData(!1,O,"normal",n,a),t.setItemGraphicEl(O.dataIndex,N.piece)):y(N);else if(O){var k=new A(O,n,a);p.add(k),t.setItemGraphicEl(O.dataIndex,k)}}}function y(O){if(!O)return;O.piece&&(p.remove(O.piece),O.piece=null)}function C(O,N){if(N.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,O,"normal",n,a):(l.virtualPiece=new A(O,n,a),p.add(l.virtualPiece)),N.piece._onclickEvent&&N.piece.off("click",N.piece._onclickEvent);var k=function(F){l._rootToNode(N.parentNode)};N.piece._onclickEvent=k,l.virtualPiece.on("click",k)}else l.virtualPiece&&(p.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var n=this,a=function(u){var r=!1,l=n.seriesModel.getViewRoot();l.eachNode(function(t){if(!r&&t.piece&&t.piece.childAt(0)===u.target){var s=t.getModel().get("nodeClick");if(s==="rootToNode")n._rootToNode(t);else if(s==="link"){var d=t.getModel(),p=d.get("link");if(p){var b=d.get("target",!0)||"_blank";h(p,b)}}r=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",a),this.group._onclickEvent=a},_rootToNode:function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},containPoint:function(n,a){var u=a.getData(),r=u.getItemLayout(0);if(r){var l=n[0]-r.cx,t=n[1]-r.cy,s=Math.sqrt(l*l+t*t);return s<=r.r&&s>=r.r0}}}),i=o;D.exports=i},NAnI:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("wXyp"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},NBmB:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.encodingName=f,_.encodings=void 0;var g={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};_.encodings=g;function f(A){switch(A){case g.encodingRaw:return"Raw";case g.encodingCopyRect:return"CopyRect";case g.encodingRRE:return"RRE";case g.encodingHextile:return"Hextile";case g.encodingTight:return"Tight";case g.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+A+"]"}}},NC18:function(D,_,e){var g=e("y+Vt"),f=e("IMiH"),A=e("7oTu"),m=Math.sqrt,v=Math.sin,h=Math.cos,c=Math.PI,o=function(w){return Math.sqrt(w[0]*w[0]+w[1]*w[1])},i=function(w,E){return(w[0]*E[0]+w[1]*E[1])/(o(w)*o(E))},n=function(w,E){return(w[0]*E[1]<w[1]*E[0]?-1:1)*Math.acos(i(w,E))};function a(b,w,E,S,x,T,L,y,C,O,N){var k=C*(c/180),F=h(k)*(b-E)/2+v(k)*(w-S)/2,B=-1*v(k)*(b-E)/2+h(k)*(w-S)/2,H=F*F/(L*L)+B*B/(y*y);H>1&&(L*=m(H),y*=m(H));var W=(x===T?-1:1)*m((L*L*(y*y)-L*L*(B*B)-y*y*(F*F))/(L*L*(B*B)+y*y*(F*F)))||0,R=W*L*B/y,U=W*-y*F/L,j=(b+E)/2+h(k)*R-v(k)*U,P=(w+S)/2+v(k)*R+h(k)*U,K=n([1,0],[(F-R)/L,(B-U)/y]),V=[(F-R)/L,(B-U)/y],z=[(-1*F-R)/L,(-1*B-U)/y],X=n(V,z);i(V,z)<=-1&&(X=c),i(V,z)>=1&&(X=0),T===0&&X>0&&(X=X-2*c),T===1&&X<0&&(X=X+2*c),N.addData(O,j,P,L,y,K,X,k,T)}var u=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,r=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(b){if(!b)return new f;for(var w=0,E=0,S=w,x=E,T,L=new f,y=f.CMD,C=b.match(u),O=0;O<C.length;O++){for(var N=C[O],k=N.charAt(0),F,B=N.match(r)||[],H=B.length,W=0;W<H;W++)B[W]=parseFloat(B[W]);for(var R=0;R<H;){var U,j,P,K,V,z,X,G=w,le=E;switch(k){case"l":w+=B[R++],E+=B[R++],F=y.L,L.addData(F,w,E);break;case"L":w=B[R++],E=B[R++],F=y.L,L.addData(F,w,E);break;case"m":w+=B[R++],E+=B[R++],F=y.M,L.addData(F,w,E),S=w,x=E,k="l";break;case"M":w=B[R++],E=B[R++],F=y.M,L.addData(F,w,E),S=w,x=E,k="L";break;case"h":w+=B[R++],F=y.L,L.addData(F,w,E);break;case"H":w=B[R++],F=y.L,L.addData(F,w,E);break;case"v":E+=B[R++],F=y.L,L.addData(F,w,E);break;case"V":E=B[R++],F=y.L,L.addData(F,w,E);break;case"C":F=y.C,L.addData(F,B[R++],B[R++],B[R++],B[R++],B[R++],B[R++]),w=B[R-2],E=B[R-1];break;case"c":F=y.C,L.addData(F,B[R++]+w,B[R++]+E,B[R++]+w,B[R++]+E,B[R++]+w,B[R++]+E),w+=B[R-2],E+=B[R-1];break;case"S":U=w,j=E;var Y=L.len(),me=L.data;T===y.C&&(U+=w-me[Y-4],j+=E-me[Y-3]),F=y.C,G=B[R++],le=B[R++],w=B[R++],E=B[R++],L.addData(F,U,j,G,le,w,E);break;case"s":U=w,j=E;var Y=L.len(),me=L.data;T===y.C&&(U+=w-me[Y-4],j+=E-me[Y-3]),F=y.C,G=w+B[R++],le=E+B[R++],w+=B[R++],E+=B[R++],L.addData(F,U,j,G,le,w,E);break;case"Q":G=B[R++],le=B[R++],w=B[R++],E=B[R++],F=y.Q,L.addData(F,G,le,w,E);break;case"q":G=B[R++]+w,le=B[R++]+E,w+=B[R++],E+=B[R++],F=y.Q,L.addData(F,G,le,w,E);break;case"T":U=w,j=E;var Y=L.len(),me=L.data;T===y.Q&&(U+=w-me[Y-4],j+=E-me[Y-3]),w=B[R++],E=B[R++],F=y.Q,L.addData(F,U,j,w,E);break;case"t":U=w,j=E;var Y=L.len(),me=L.data;T===y.Q&&(U+=w-me[Y-4],j+=E-me[Y-3]),w+=B[R++],E+=B[R++],F=y.Q,L.addData(F,U,j,w,E);break;case"A":P=B[R++],K=B[R++],V=B[R++],z=B[R++],X=B[R++],G=w,le=E,w=B[R++],E=B[R++],F=y.A,a(G,le,w,E,z,X,P,K,V,F,L);break;case"a":P=B[R++],K=B[R++],V=B[R++],z=B[R++],X=B[R++],G=w,le=E,w+=B[R++],E+=B[R++],F=y.A,a(G,le,w,E,z,X,P,K,V,F,L);break}}(k==="z"||k==="Z")&&(F=y.Z,L.addData(F),w=S,E=x),T=F}return L.toStatic(),L}function t(b,w){var E=l(b);return w=w||{},w.buildPath=function(S){if(S.setData){S.setData(E.data);var x=S.getContext();x&&S.rebuildPath(x)}else{var x=S;E.rebuildPath(x)}},w.applyTransform=function(S){A(E,S),this.dirty(!0)},w}function s(b,w){return new g(t(b,w))}function d(b,w){return g.extend(t(b,w))}function p(b,w){for(var E=[],S=b.length,x=0;x<S;x++){var T=b[x];T.path||T.createPathProxy(),T.__dirtyPath&&T.buildPath(T.path,T.shape,!0),E.push(T.path)}var L=new g(w);return L.createPathProxy(),L.buildPath=function(y){y.appendPath(E);var C=y.getContext();C&&y.rebuildPath(C)},L}_.createFromString=s,_.extendFromString=d,_.mergePath=p},NH9N:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),A=e("Fofx"),m=e("IwbS"),v=e("+TT/"),h=e("kzvK"),c=e("CMP+"),o=e("oVpE"),i=o.createSymbol,n=e("aX7z"),a=e("OELB"),u=e("7aKB"),r=u.encodeHTML,l=g.bind,t=g.each,s=Math.PI,d=h.extend({type:"timeline.slider",init:function(S,x){this.api=x,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(S,x,T,L){if(this.model=S,this.api=T,this.ecModel=x,this.group.removeAll(),S.get("show",!0)){var y=this._layout(S,T),C=this._createGroup("mainGroup"),O=this._createGroup("labelGroup"),N=this._axis=this._createAxis(y,S);S.formatTooltip=function(k){return r(N.scale.getLabel(k))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(k){this["_render"+k](y,C,N,S)},this),this._renderAxisLabel(y,O,N,S),this._position(y,S)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(S,x){var T=S.get("label.position"),L=S.get("orient"),y=p(S,x);T==null||T==="auto"?T=L==="horizontal"?y.y+y.height/2<x.getHeight()/2?"-":"+":y.x+y.width/2<x.getWidth()/2?"+":"-":isNaN(T)&&(T={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[L][T]);var C={horizontal:"center",vertical:T>=0||T==="+"?"left":"right"},O={horizontal:T>=0||T==="+"?"top":"bottom",vertical:"middle"},N={horizontal:0,vertical:s/2},k=L==="vertical"?y.height:y.width,F=S.getModel("controlStyle"),B=F.get("show",!0),H=B?F.get("itemSize"):0,W=B?F.get("itemGap"):0,R=H+W,U=S.get("label.rotate")||0;U=U*s/180;var j,P,K,V,z=F.get("position",!0),X=B&&F.get("showPlayBtn",!0),G=B&&F.get("showPrevBtn",!0),le=B&&F.get("showNextBtn",!0),Y=0,me=k;return z==="left"||z==="bottom"?(X&&(j=[0,0],Y+=R),G&&(P=[Y,0],Y+=R),le&&(K=[me-H,0],me-=R)):(X&&(j=[me-H,0],me-=R),G&&(P=[0,0],Y+=R),le&&(K=[me-H,0],me-=R)),V=[Y,me],S.get("inverse")&&V.reverse(),{viewRect:y,mainLength:k,orient:L,rotation:N[L],labelRotation:U,labelPosOpt:T,labelAlign:S.get("label.align")||C[L],labelBaseline:S.get("label.verticalAlign")||S.get("label.baseline")||O[L],playPosition:j,prevBtnPosition:P,nextBtnPosition:K,axisExtent:V,controlSize:H,controlGap:W}},_position:function(S,x){var T=this._mainGroup,L=this._labelGroup,y=S.viewRect;if(S.orient==="vertical"){var C=A.create(),O=y.x,N=y.y+y.height;A.translate(C,C,[-O,-N]),A.rotate(C,C,-s/2),A.translate(C,C,[O,N]),y=y.clone(),y.applyTransform(C)}var k=P(y),F=P(T.getBoundingRect()),B=P(L.getBoundingRect()),H=T.position,W=L.position;W[0]=H[0]=k[0][0];var R=S.labelPosOpt;if(isNaN(R)){var U=R==="+"?0:1;K(H,F,k,1,U),K(W,B,k,1,1-U)}else{var U=R>=0?0:1;K(H,F,k,1,U),W[1]=H[1]+R}T.attr("position",H),L.attr("position",W),T.rotation=L.rotation=S.rotation,j(T),j(L);function j(V){var z=V.position;V.origin=[k[0][0]-z[0],k[1][0]-z[1]]}function P(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function K(V,z,X,G,le){V[G]+=X[G][le]-z[G][le]}},_createAxis:function(S,x){var T=x.getData(),L=x.get("axisType"),y=n.createScaleByModel(x,L);y.getTicks=function(){return T.mapArray(["value"],function(N){return N})};var C=T.getDataExtent("value");y.setExtent(C[0],C[1]),y.niceTicks();var O=new c("value",y,S.axisExtent,L);return O.model=x,O},_createGroup:function(S){var x=this["_"+S]=new m.Group;return this.group.add(x),x},_renderAxisLine:function(S,x,T,L){var y=T.getExtent();if(!L.get("lineStyle.show"))return;x.add(new m.Line({shape:{x1:y[0],y1:0,x2:y[1],y2:0},style:g.extend({lineCap:"round"},L.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(S,x,T,L){var y=L.getData(),C=T.scale.getTicks();t(C,function(O){var N=T.dataToCoord(O),k=y.getItemModel(O),F=k.getModel("itemStyle"),B=k.getModel("emphasis.itemStyle"),H={position:[N,0],onclick:l(this._changeTimeline,this,O)},W=w(k,F,x,H);m.setHoverStyle(W,B.getItemStyle()),k.get("tooltip")?(W.dataIndex=O,W.dataModel=L):W.dataIndex=W.dataModel=null},this)},_renderAxisLabel:function(S,x,T,L){var y=T.getLabelModel();if(!y.get("show"))return;var C=L.getData(),O=T.getViewLabels();t(O,function(N){var k=N.tickValue,F=C.getItemModel(k),B=F.getModel("label"),H=F.getModel("emphasis.label"),W=T.dataToCoord(N.tickValue),R=new m.Text({position:[W,0],rotation:S.labelRotation-S.rotation,onclick:l(this._changeTimeline,this,k),silent:!1});m.setTextStyle(R.style,B,{text:N.formattedLabel,textAlign:S.labelAlign,textVerticalAlign:S.labelBaseline}),x.add(R),m.setHoverStyle(R,m.setTextStyle({},H))},this)},_renderControl:function(S,x,T,L){var y=S.controlSize,C=S.rotation,O=L.getModel("controlStyle").getItemStyle(),N=L.getModel("emphasis.controlStyle").getItemStyle(),k=[0,-y/2,y,y],F=L.getPlayState(),B=L.get("inverse",!0);H(S.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,B?"-":"+")),H(S.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,B?"+":"-")),H(S.playPosition,"controlStyle."+(F?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!F),!0);function H(W,R,U,j){if(!W)return;var P={position:W,origin:[y/2,0],rotation:j?-C:0,rectHover:!0,style:O,onclick:U},K=b(L,R,k,P);x.add(K),m.setHoverStyle(K,N)}},_renderCurrentPointer:function(S,x,T,L){var y=L.getData(),C=L.getCurrentIndex(),O=y.getItemModel(C).getModel("checkpointStyle"),N=this,k={onCreate:function(F){F.draggable=!0,F.drift=l(N._handlePointerDrag,N),F.ondragend=l(N._handlePointerDragend,N),E(F,C,T,L,!0)},onUpdate:function(F){E(F,C,T,L)}};this._currentPointer=w(O,O,this._mainGroup,{},this._currentPointer,k)},_handlePlayClick:function(S){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:S,from:this.uid})},_handlePointerDrag:function(S,x,T){this._clearTimer(),this._pointerChangeTimeline([T.offsetX,T.offsetY])},_handlePointerDragend:function(S){this._pointerChangeTimeline([S.offsetX,S.offsetY],!0)},_pointerChangeTimeline:function(S,x){var T=this._toAxisCoord(S)[0],L=this._axis,y=a.asc(L.getExtent().slice());T>y[1]&&(T=y[1]),T<y[0]&&(T=y[0]),this._currentPointer.position[0]=T,this._currentPointer.dirty();var C=this._findNearestTick(T),O=this.model;(x||C!==O.getCurrentIndex()&&O.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(S,this),this.model.get("playInterval")));function S(){var x=this.model;this._changeTimeline(x.getCurrentIndex()+(x.get("rewind",!0)?-1:1))}},_toAxisCoord:function(S){var x=this._mainGroup.getLocalTransform();return m.applyTransform(S,x,!0)},_findNearestTick:function(S){var x=this.model.getData(),T=Infinity,L,y=this._axis;return x.each(["value"],function(C,O){var N=y.dataToCoord(C),k=Math.abs(N-S);k<T&&(T=k,L=O)}),L},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(S){var x=this.model.getCurrentIndex();S==="+"?S=x+1:S==="-"&&(S=x-1),this.api.dispatchAction({type:"timelineChange",currentIndex:S,from:this.uid})}});function p(S,x){return v.getLayoutRect(S.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()},S.get("padding"))}function b(S,x,T,L){var y=m.makePath(S.get(x).replace(/^path:\/\//,""),g.clone(L||{}),new f(T[0],T[1],T[2],T[3]),"center");return y}function w(S,x,T,L,y,C){var O=x.get("color");if(y)y.setColor(O),T.add(y),C&&C.onUpdate(y);else{var N=S.get("symbol");y=i(N,-1,-1,2,2,O),y.setStyle("strokeNoScale",!0),T.add(y),C&&C.onCreate(y)}var k=x.getItemStyle(["color","symbol","symbolSize"]);y.setStyle(k),L=g.merge({rectHover:!0,z2:100},L,!0);var F=S.get("symbolSize");F=F instanceof Array?F.slice():[+F,+F],F[0]/=2,F[1]/=2,L.scale=F;var B=S.get("symbolOffset");if(B){var H=L.position=L.position||[0,0];H[0]+=a.parsePercent(B[0],F[0]),H[1]+=a.parsePercent(B[1],F[1])}var W=S.get("symbolRotate");return L.rotation=(W||0)*Math.PI/180||0,y.attr(L),y.updateTransform(),y}function E(S,x,T,L,y){if(S.dragging)return;var C=L.getModel("checkpointStyle"),O=T.dataToCoord(L.getData().get(["value"],x));y||!C.get("animation",!0)?S.attr({position:[O,0]}):(S.stopAnimation(!0),S.animateTo({position:[O,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}D.exports=d},NJEC:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("J4zp"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),o=e.n(c),i=e("sKbD"),n=e.n(i),a=e("4IlW"),u=e("3S7+"),r=e("2/Rp"),l=e("zvFY"),t=e("YMnH"),s=e("ZvpZ"),d=e("H84U"),p=e("bogI"),b=e("0n0R"),w=void 0,E=function(x,T){var L={};for(var y in x)Object.prototype.hasOwnProperty.call(x,y)&&T.indexOf(y)<0&&(L[y]=x[y]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,y=Object.getOwnPropertySymbols(x);C<y.length;C++)T.indexOf(y[C])<0&&Object.prototype.propertyIsEnumerable.call(x,y[C])&&(L[y[C]]=x[y[C]]);return L},S=v.forwardRef(function(x,T){var L=v.useState(x.visible),y=m()(L,2),C=y[0],O=y[1];v.useEffect(function(){"visible"in x&&O(x.visible)},[x.visible]),v.useEffect(function(){"defaultVisible"in x&&O(x.defaultVisible)},[x.defaultVisible]);var N=function(we,pe){"visible"in x||O(we),x.onVisibleChange&&x.onVisibleChange(we,pe)},k=function(we){N(!1,we),x.onConfirm&&x.onConfirm.call(w,we)},F=function(we){N(!1,we),x.onCancel&&x.onCancel.call(w,we)},B=function(we){we.keyCode===a.a.ESC&&C&&N(!1,we)},H=function(we){var pe=x.disabled;if(pe)return;N(we)},W=function(we,pe){var Fe=x.okButtonProps,Xe=x.cancelButtonProps,dt=x.title,Ee=x.cancelText,Se=x.okText,at=x.okType,_e=x.icon;return v.createElement("div",{className:"".concat(we,"-inner-content")},v.createElement("div",{className:"".concat(we,"-message")},_e,v.createElement("div",{className:"".concat(we,"-message-title")},Object(p.a)(dt))),v.createElement("div",{className:"".concat(we,"-buttons")},v.createElement(r.a,f()({onClick:F,size:"small"},Xe),Ee||pe.cancelText),v.createElement(r.a,f()({onClick:k},Object(l.a)(at),{size:"small"},Fe),Se||pe.okText)))},R=v.useContext(d.b),U=R.getPrefixCls,j=x.prefixCls,P=x.placement,K=x.children,V=x.overlayClassName,z=E(x,["prefixCls","placement","children","overlayClassName"]),X=U("popover",j),G=U("popconfirm",j),le=o()(G,V),Y=v.createElement(t.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(me){return W(X,me)});return v.createElement(u.a,f()({},z,{prefixCls:X,placement:P,onVisibleChange:H,visible:C,overlay:Y,overlayClassName:le,ref:T}),Object(b.a)(K,{onKeyDown:function(we){var pe,Fe;(Fe=K==null?void 0:(pe=K.props).onKeyDown)===null||Fe===void 0||Fe.call(pe,we),B(we)}}))});S.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(n.a,null),disabled:!1},_.a=S},NKxu:function(D,_,e){var g=e("lSCD"),f=e("E2jh"),A=e("GoyQ"),m=e("3Fdi"),v=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,c=Function.prototype,o=Object.prototype,i=c.toString,n=o.hasOwnProperty,a=RegExp("^"+i.call(n).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function u(r){if(!A(r)||f(r))return!1;var l=g(r)?a:h;return l.test(m(r))}D.exports=u},NUBc:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("wx14"),o=e("rePB"),i=e("1OyB"),n=e("vuIU"),a=e("Ji7U"),u=e("md7G"),r=e("foSv"),l=e("TSYQ"),t=e.n(l),s=function(at){var _e,ce="".concat(at.rootPrefixCls,"-item"),ee=t()(ce,"".concat(ce,"-").concat(at.page),(_e={},Object(o.a)(_e,"".concat(ce,"-active"),at.active),Object(o.a)(_e,at.className,!!at.className),Object(o.a)(_e,"".concat(ce,"-disabled"),!at.page),_e)),se=function(){at.onClick(at.page)},ke=function(ze){at.onKeyPress(ze,at.onClick,at.page)};return h.a.createElement("li",{title:at.showTitle?at.page:null,className:ee,onClick:se,onKeyPress:ke,tabIndex:"0"},at.itemRender(at.page,"page",h.a.createElement("a",{rel:"nofollow"},at.page)))},d=s,p={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function b(Se){var at=w();return function(){var ce=Object(r.a)(Se),ee;if(at){var se=Object(r.a)(this).constructor;ee=Reflect.construct(ce,arguments,se)}else ee=ce.apply(this,arguments);return Object(u.a)(this,ee)}}function w(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Se){return!1}}var E=function(Se){Object(a.a)(_e,Se);var at=b(_e);function _e(){var ce;Object(i.a)(this,_e);for(var ee=arguments.length,se=new Array(ee),ke=0;ke<ee;ke++)se[ke]=arguments[ke];return ce=at.call.apply(at,[this].concat(se)),ce.state={goInputText:""},ce.buildOptionText=function(Ce){return"".concat(Ce," ").concat(ce.props.locale.items_per_page)},ce.changeSize=function(Ce){ce.props.changeSize(Number(Ce))},ce.handleChange=function(Ce){ce.setState({goInputText:Ce.target.value})},ce.handleBlur=function(Ce){var ze=ce.props,Oe=ze.goButton,ae=ze.quickGo,ge=ze.rootPrefixCls,Le=ce.state.goInputText;if(Oe||Le==="")return;if(Ce.relatedTarget&&(Ce.relatedTarget.className.indexOf("".concat(ge,"-prev"))>=0||Ce.relatedTarget.className.indexOf("".concat(ge,"-next"))>=0))return;ce.setState({goInputText:""}),ae(ce.getValidValue())},ce.go=function(Ce){var ze=ce.state.goInputText;if(ze==="")return;(Ce.keyCode===p.ENTER||Ce.type==="click")&&(ce.setState({goInputText:""}),ce.props.quickGo(ce.getValidValue()))},ce}return Object(n.a)(_e,[{key:"getValidValue",value:function(){var ee=this.state,se=ee.goInputText,ke=ee.current;return!se||isNaN(se)?ke:Number(se)}},{key:"getPageSizeOptions",value:function(){var ee=this.props,se=ee.pageSize,ke=ee.pageSizeOptions;return ke.some(function(Ce){return Ce.toString()===se.toString()})?ke:ke.concat([se.toString()]).sort(function(Ce,ze){var Oe=isNaN(Number(Ce))?0:Number(Ce),ae=isNaN(Number(ze))?0:Number(ze);return Oe-ae})}},{key:"render",value:function(){var ee=this,se=this.props,ke=se.pageSize,Ce=se.locale,ze=se.rootPrefixCls,Oe=se.changeSize,ae=se.quickGo,ge=se.goButton,Le=se.selectComponentClass,Ze=se.buildOptionText,vt=se.selectPrefixCls,Ct=se.disabled,Be=this.state.goInputText,Rt="".concat(ze,"-options"),He=Le,wt=null,Ge=null,et=null;if(!Oe&&!ae)return null;var rt=this.getPageSizeOptions();if(Oe&&He){var lt=rt.map(function(Ve,ie){return h.a.createElement(He.Option,{key:ie,value:Ve},(Ze||ee.buildOptionText)(Ve))});wt=h.a.createElement(He,{disabled:Ct,prefixCls:vt,showSearch:!1,className:"".concat(Rt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ke||rt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ie){return ie.parentNode}},lt)}return ae&&(ge&&(et=typeof ge=="boolean"?h.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ct,className:"".concat(Rt,"-quick-jumper-button")},Ce.jump_to_confirm):h.a.createElement("span",{onClick:this.go,onKeyUp:this.go},ge)),Ge=h.a.createElement("div",{className:"".concat(Rt,"-quick-jumper")},Ce.jump_to,h.a.createElement("input",{disabled:Ct,type:"text",value:Be,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ce.page,et)),h.a.createElement("li",{className:"".concat(Rt)},wt,Ge)}}]),_e}(h.a.Component);E.defaultProps={pageSizeOptions:["10","20","50","100"]};var S=E,x=e("N2Kk");function T(Se,at){var _e=Object.keys(Se);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(Se);at&&(ce=ce.filter(function(ee){return Object.getOwnPropertyDescriptor(Se,ee).enumerable})),_e.push.apply(_e,ce)}return _e}function L(Se){for(var at=1;at<arguments.length;at++){var _e=arguments[at]!=null?arguments[at]:{};at%2?T(Object(_e),!0).forEach(function(ce){Object(o.a)(Se,ce,_e[ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Se,Object.getOwnPropertyDescriptors(_e)):T(Object(_e)).forEach(function(ce){Object.defineProperty(Se,ce,Object.getOwnPropertyDescriptor(_e,ce))})}return Se}function y(Se){var at=C();return function(){var ce=Object(r.a)(Se),ee;if(at){var se=Object(r.a)(this).constructor;ee=Reflect.construct(ce,arguments,se)}else ee=ce.apply(this,arguments);return Object(u.a)(this,ee)}}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Se){return!1}}function O(){}function N(Se){return typeof Se=="number"&&isFinite(Se)&&Math.floor(Se)===Se}function k(Se,at,_e){return _e}function F(Se,at,_e){var ce=typeof Se=="undefined"?at.pageSize:Se;return Math.floor((_e.total-1)/ce)+1}var B=function(Se){Object(a.a)(_e,Se);var at=y(_e);function _e(ce){var ee;Object(i.a)(this,_e),ee=at.call(this,ce),ee.getJumpPrevPage=function(){return Math.max(1,ee.state.current-(ee.props.showLessItems?3:5))},ee.getJumpNextPage=function(){return Math.min(F(void 0,ee.state,ee.props),ee.state.current+(ee.props.showLessItems?3:5))},ee.getItemIcon=function(Oe,ae){var ge=ee.props.prefixCls,Le=Oe||h.a.createElement("button",{type:"button","aria-label":ae,className:"".concat(ge,"-item-link")});return typeof Oe=="function"&&(Le=h.a.createElement(Oe,L({},ee.props))),Le},ee.savePaginationNode=function(Oe){ee.paginationNode=Oe},ee.isValid=function(Oe){return N(Oe)&&Oe!==ee.state.current},ee.shouldDisplayQuickJumper=function(){var Oe=ee.props,ae=Oe.showQuickJumper,ge=Oe.pageSize,Le=Oe.total;return Le<=ge?!1:ae},ee.handleKeyDown=function(Oe){(Oe.keyCode===p.ARROW_UP||Oe.keyCode===p.ARROW_DOWN)&&Oe.preventDefault()},ee.handleKeyUp=function(Oe){var ae=ee.getValidValue(Oe),ge=ee.state.currentInputValue;ae!==ge&&ee.setState({currentInputValue:ae}),Oe.keyCode===p.ENTER?ee.handleChange(ae):Oe.keyCode===p.ARROW_UP?ee.handleChange(ae-1):Oe.keyCode===p.ARROW_DOWN&&ee.handleChange(ae+1)},ee.changePageSize=function(Oe){var ae=ee.state.current,ge=F(Oe,ee.state,ee.props);ae=ae>ge?ge:ae,ge===0&&(ae=ee.state.current),typeof Oe=="number"&&("pageSize"in ee.props||ee.setState({pageSize:Oe}),"current"in ee.props||ee.setState({current:ae,currentInputValue:ae})),ee.props.onShowSizeChange(ae,Oe),"onChange"in ee.props&&ee.props.onChange&&ee.props.onChange(ae,Oe)},ee.handleChange=function(Oe){var ae=ee.props.disabled,ge=Oe;if(ee.isValid(ge)&&!ae){var Le=F(void 0,ee.state,ee.props);ge>Le?ge=Le:ge<1&&(ge=1),"current"in ee.props||ee.setState({current:ge,currentInputValue:ge});var Ze=ee.state.pageSize;return ee.props.onChange(ge,Ze),ge}return ee.state.current},ee.prev=function(){ee.hasPrev()&&ee.handleChange(ee.state.current-1)},ee.next=function(){ee.hasNext()&&ee.handleChange(ee.state.current+1)},ee.jumpPrev=function(){ee.handleChange(ee.getJumpPrevPage())},ee.jumpNext=function(){ee.handleChange(ee.getJumpNextPage())},ee.hasPrev=function(){return ee.state.current>1},ee.hasNext=function(){return ee.state.current<F(void 0,ee.state,ee.props)},ee.runIfEnter=function(Oe,ae){if(Oe.key==="Enter"||Oe.charCode===13){for(var ge=arguments.length,Le=new Array(ge>2?ge-2:0),Ze=2;Ze<ge;Ze++)Le[Ze-2]=arguments[Ze];ae.apply(void 0,Le)}},ee.runIfEnterPrev=function(Oe){ee.runIfEnter(Oe,ee.prev)},ee.runIfEnterNext=function(Oe){ee.runIfEnter(Oe,ee.next)},ee.runIfEnterJumpPrev=function(Oe){ee.runIfEnter(Oe,ee.jumpPrev)},ee.runIfEnterJumpNext=function(Oe){ee.runIfEnter(Oe,ee.jumpNext)},ee.handleGoTO=function(Oe){(Oe.keyCode===p.ENTER||Oe.type==="click")&&ee.handleChange(ee.state.currentInputValue)};var se=ce.onChange!==O,ke="current"in ce;ke&&!se&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ce=ce.defaultCurrent;"current"in ce&&(Ce=ce.current);var ze=ce.defaultPageSize;return"pageSize"in ce&&(ze=ce.pageSize),Ce=Math.min(Ce,F(ze,void 0,ce)),ee.state={current:Ce,currentInputValue:Ce,pageSize:ze},ee}return Object(n.a)(_e,[{key:"componentDidUpdate",value:function(ee,se){var ke=this.props.prefixCls;if(se.current!==this.state.current&&this.paginationNode){var Ce=this.paginationNode.querySelector(".".concat(ke,"-item-").concat(se.current));Ce&&document.activeElement===Ce&&Ce.blur()}}},{key:"getValidValue",value:function(ee){var se=ee.target.value,ke=F(void 0,this.state,this.props),Ce=this.state.currentInputValue,ze;return se===""?ze=se:isNaN(Number(se))?ze=Ce:se>=ke?ze=ke:ze=Number(se),ze}},{key:"getShowSizeChanger",value:function(){var ee=this.props,se=ee.showSizeChanger,ke=ee.total,Ce=ee.totalBoundaryShowSizeChanger;return typeof se!="undefined"?se:ke>Ce}},{key:"renderPrev",value:function(ee){var se=this.props,ke=se.prevIcon,Ce=se.itemRender,ze=Ce(ee,"prev",this.getItemIcon(ke,"prev page")),Oe=!this.hasPrev();return Object(v.isValidElement)(ze)?Object(v.cloneElement)(ze,{disabled:Oe}):ze}},{key:"renderNext",value:function(ee){var se=this.props,ke=se.nextIcon,Ce=se.itemRender,ze=Ce(ee,"next",this.getItemIcon(ke,"next page")),Oe=!this.hasNext();return Object(v.isValidElement)(ze)?Object(v.cloneElement)(ze,{disabled:Oe}):ze}},{key:"render",value:function(){var ee=this,se=this.props,ke=se.prefixCls,Ce=se.className,ze=se.style,Oe=se.disabled,ae=se.hideOnSinglePage,ge=se.total,Le=se.locale,Ze=se.showQuickJumper,vt=se.showLessItems,Ct=se.showTitle,Be=se.showTotal,Rt=se.simple,He=se.itemRender,wt=se.showPrevNextJumpers,Ge=se.jumpPrevIcon,et=se.jumpNextIcon,rt=se.selectComponentClass,lt=se.selectPrefixCls,Ve=se.pageSizeOptions,ie=this.state,$=ie.current,it=ie.pageSize,Qe=ie.currentInputValue;if(ae===!0&&ge<=it)return null;var ye=F(void 0,this.state,this.props),Zt=[],ht=null,ct=null,yt=null,It=null,or=null,Bt=Ze&&Ze.goButton,Ae=vt?1:2,ve=$-1>0?$-1:0,fe=$+1<ye?$+1:ye,ue=Object.keys(this.props).reduce(function(be,Ie){return(Ie.substr(0,5)==="data-"||Ie.substr(0,5)==="aria-"||Ie==="role")&&(be[Ie]=ee.props[Ie]),be},{});if(Rt)return Bt&&(typeof Bt=="boolean"?or=h.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Le.jump_to_confirm):or=h.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Bt),or=h.a.createElement("li",{title:Ct?"".concat(Le.jump_to).concat($,"/").concat(ye):null,className:"".concat(ke,"-simple-pager")},or)),h.a.createElement("ul",Object(c.a)({className:t()(ke,"".concat(ke,"-simple"),Object(o.a)({},"".concat(ke,"-disabled"),Oe),Ce),style:ze,ref:this.savePaginationNode},ue),h.a.createElement("li",{title:Ct?Le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(ke,"-prev"),Object(o.a)({},"".concat(ke,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(ve)),h.a.createElement("li",{title:Ct?"".concat($,"/").concat(ye):null,className:"".concat(ke,"-simple-pager")},h.a.createElement("input",{type:"text",value:Qe,disabled:Oe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),h.a.createElement("span",{className:"".concat(ke,"-slash")},"/"),ye),h.a.createElement("li",{title:Ct?Le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(ke,"-next"),Object(o.a)({},"".concat(ke,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(fe)),or);if(ye<=3+Ae*2){var Ne={locale:Le,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ct,itemRender:He};ye||Zt.push(h.a.createElement(d,Object(c.a)({},Ne,{key:"noPager",page:ye,className:"".concat(ke,"-disabled")})));for(var je=1;je<=ye;je+=1){var Ke=$===je;Zt.push(h.a.createElement(d,Object(c.a)({},Ne,{key:je,page:je,active:Ke})))}}else{var Ye=vt?Le.prev_3:Le.prev_5,Pe=vt?Le.next_3:Le.next_5;wt&&(ht=h.a.createElement("li",{title:Ct?Ye:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(ke,"-jump-prev"),Object(o.a)({},"".concat(ke,"-jump-prev-custom-icon"),!!Ge))},He(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ge,"prev page"))),ct=h.a.createElement("li",{title:Ct?Pe:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(ke,"-jump-next"),Object(o.a)({},"".concat(ke,"-jump-next-custom-icon"),!!et))},He(this.getJumpNextPage(),"jump-next",this.getItemIcon(et,"next page")))),It=h.a.createElement(d,{locale:Le,last:!0,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ye,page:ye,active:!1,showTitle:Ct,itemRender:He}),yt=h.a.createElement(d,{locale:Le,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ct,itemRender:He});var nt=Math.max(1,$-Ae),At=Math.min($+Ae,ye);$-1<=Ae&&(At=1+Ae*2),ye-$<=Ae&&(nt=ye-Ae*2);for(var Ot=nt;Ot<=At;Ot+=1){var ne=$===Ot;Zt.push(h.a.createElement(d,{locale:Le,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ot,page:Ot,active:ne,showTitle:Ct,itemRender:He}))}$-1>=Ae*2&&$!==1+2&&(Zt[0]=Object(v.cloneElement)(Zt[0],{className:"".concat(ke,"-item-after-jump-prev")}),Zt.unshift(ht)),ye-$>=Ae*2&&$!==ye-2&&(Zt[Zt.length-1]=Object(v.cloneElement)(Zt[Zt.length-1],{className:"".concat(ke,"-item-before-jump-next")}),Zt.push(ct)),nt!==1&&Zt.unshift(yt),At!==ye&&Zt.push(It)}var he=null;Be&&(he=h.a.createElement("li",{className:"".concat(ke,"-total-text")},Be(ge,[ge===0?0:($-1)*it+1,$*it>ge?ge:$*it])));var Q=!this.hasPrev()||!ye,te=!this.hasNext()||!ye;return h.a.createElement("ul",Object(c.a)({className:t()(ke,Ce,Object(o.a)({},"".concat(ke,"-disabled"),Oe)),style:ze,unselectable:"unselectable",ref:this.savePaginationNode},ue),he,h.a.createElement("li",{title:Ct?Le.prev_page:null,onClick:this.prev,tabIndex:Q?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(ke,"-prev"),Object(o.a)({},"".concat(ke,"-disabled"),Q)),"aria-disabled":Q},this.renderPrev(ve)),Zt,h.a.createElement("li",{title:Ct?Le.next_page:null,onClick:this.next,tabIndex:te?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(ke,"-next"),Object(o.a)({},"".concat(ke,"-disabled"),te)),"aria-disabled":te},this.renderNext(fe)),h.a.createElement(S,{disabled:Oe,locale:Le,rootPrefixCls:ke,selectComponentClass:rt,selectPrefixCls:lt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:$,pageSize:it,pageSizeOptions:Ve,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Bt}))}}],[{key:"getDerivedStateFromProps",value:function(ee,se){var ke={};if("current"in ee&&(ke.current=ee.current,ee.current!==se.current&&(ke.currentInputValue=ke.current)),"pageSize"in ee&&ee.pageSize!==se.pageSize){var Ce=se.current,ze=F(ee.pageSize,se,ee);Ce=Ce>ze?ze:Ce,"current"in ee||(ke.current=Ce,ke.currentInputValue=Ce),ke.pageSize=ee.pageSize}return ke}}]),_e}(h.a.Component);B.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:O,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:O,locale:x.a,style:{},itemRender:k,totalBoundaryShowSizeChanger:50};var H=B,W=e("H4fg"),R=e("DFhj"),U=e.n(R),j=e("fEPi"),P=e.n(j),K=e("u9fO"),V=e.n(K),z=e("mO/d"),X=e.n(z),G=e("2fM7"),le=function(at){return v.createElement(G.a,m()({size:"small"},at))};le.Option=G.a.Option;var Y=le,me=e("YMnH"),we=e("H84U"),pe=e("5OYt"),Fe=function(Se,at){var _e={};for(var ce in Se)Object.prototype.hasOwnProperty.call(Se,ce)&&at.indexOf(ce)<0&&(_e[ce]=Se[ce]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ce=Object.getOwnPropertySymbols(Se);ee<ce.length;ee++)at.indexOf(ce[ee])<0&&Object.prototype.propertyIsEnumerable.call(Se,ce[ee])&&(_e[ce[ee]]=Se[ce[ee]]);return _e},Xe=function(at){var _e=at.prefixCls,ce=at.selectPrefixCls,ee=at.className,se=at.size,ke=at.locale,Ce=Fe(at,["prefixCls","selectPrefixCls","className","size","locale"]),ze=Object(pe.a)(),Oe=ze.xs,ae=v.useContext(we.b),ge=ae.getPrefixCls,Le=ae.direction,Ze=ge("pagination",_e),vt=function(){var Rt=v.createElement("span",{className:"".concat(Ze,"-item-ellipsis")},"\u2022\u2022\u2022"),He=v.createElement("button",{className:"".concat(Ze,"-item-link"),type:"button",tabIndex:-1},v.createElement(U.a,null)),wt=v.createElement("button",{className:"".concat(Ze,"-item-link"),type:"button",tabIndex:-1},v.createElement(P.a,null)),Ge=v.createElement("a",{className:"".concat(Ze,"-item-link")},v.createElement("div",{className:"".concat(Ze,"-item-container")},v.createElement(V.a,{className:"".concat(Ze,"-item-link-icon")}),Rt)),et=v.createElement("a",{className:"".concat(Ze,"-item-link")},v.createElement("div",{className:"".concat(Ze,"-item-container")},v.createElement(X.a,{className:"".concat(Ze,"-item-link-icon")}),Rt));if(Le==="rtl"){var rt=[wt,He];He=rt[0],wt=rt[1];var lt=[et,Ge];Ge=lt[0],et=lt[1]}return{prevIcon:He,nextIcon:wt,jumpPrevIcon:Ge,jumpNextIcon:et}},Ct=function(Rt){var He=m()(m()({},Rt),ke),wt=se==="small"||!!(Oe&&!se&&Ce.responsive),Ge=ge("select",ce),et=t()(ee,f()({mini:wt},"".concat(Ze,"-rtl"),Le==="rtl"));return v.createElement(H,m()({},Ce,{prefixCls:Ze,selectPrefixCls:Ge},vt(),{className:et,selectComponentClass:wt?Y:G.a,locale:He}))};return v.createElement(me.a,{componentName:"Pagination",defaultLocale:W.a},Ct)},dt=Xe,Ee=_.a=dt},NohK:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=function(A){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var h=this,c=arguments.length,o=new Array(c),i=0;i<c;i++)o[i]=arguments[i];clearTimeout(v),v=setTimeout(function(){A.apply(h,o)},m)}};_.default=g},Npjl:function(D,_){function e(g,f){return g==null?void 0:g[f]}D.exports=e},Nu4q:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:function(A,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:A}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:m}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:m}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:m}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:A}}]}},name:"picture",theme:"twotone"};_.default=g},NvD2:function(D,_,e){"use strict";e.d(_,"a",function(){return h});var g=e("Kwbf");function f(c,o){var i=new Set;return c.forEach(function(n){o.has(n)||i.add(n)}),i}function A(c){var o=c||{},i=o.disabled,n=o.disableCheckbox,a=o.checkable;return!!(i||n)||a===!1}function m(c,o,i,n){for(var a=new Set(c),u=new Set,r=0;r<=i;r+=1){var l=o.get(r)||new Set;l.forEach(function(p){var b=p.key,w=p.node,E=p.children,S=E===void 0?[]:E;a.has(b)&&!n(w)&&S.filter(function(x){return!n(x.node)}).forEach(function(x){a.add(x.key)})})}for(var t=new Set,s=i;s>=0;s-=1){var d=o.get(s)||new Set;d.forEach(function(p){var b=p.parent,w=p.node;if(n(w)||!p.parent||t.has(p.parent.key))return;if(n(p.parent.node)){t.add(b.key);return}var E=!0,S=!1;(b.children||[]).filter(function(x){return!n(x.node)}).forEach(function(x){var T=x.key,L=a.has(T);E&&!L&&(E=!1),!S&&(L||u.has(T))&&(S=!0)}),E&&a.add(b.key),S&&u.add(b.key),t.add(b.key)})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(f(u,a))}}function v(c,o,i,n,a){for(var u=new Set(c),r=new Set(o),l=0;l<=n;l+=1){var t=i.get(l)||new Set;t.forEach(function(b){var w=b.key,E=b.node,S=b.children,x=S===void 0?[]:S;!u.has(w)&&!r.has(w)&&!a(E)&&x.filter(function(T){return!a(T.node)}).forEach(function(T){u.delete(T.key)})})}r=new Set;for(var s=new Set,d=n;d>=0;d-=1){var p=i.get(d)||new Set;p.forEach(function(b){var w=b.parent,E=b.node;if(a(E)||!b.parent||s.has(b.parent.key))return;if(a(b.parent.node)){s.add(w.key);return}var S=!0,x=!1;(w.children||[]).filter(function(T){return!a(T.node)}).forEach(function(T){var L=T.key,y=u.has(L);S&&!y&&(S=!1),!x&&(y||r.has(L))&&(x=!0)}),S||u.delete(w.key),x&&r.add(w.key),s.add(w.key)})}return{checkedKeys:Array.from(u),halfCheckedKeys:Array.from(f(r,u))}}function h(c,o,i,n){var a=[],u;n?u=n:u=A;var r=new Set(c.filter(function(d){var p=!!i[d];return p||a.push(d),p})),l=new Map,t=0;Object.keys(i).forEach(function(d){var p=i[d],b=p.level,w=l.get(b);w||(w=new Set,l.set(b,w)),w.add(p),t=Math.max(t,b)}),Object(g.a)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var s;return o===!0?s=m(r,l,t,u):s=v(r,o.halfCheckedKeys,l,t,u),s}},"O/iA":function(D,_,e){},O3gP:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("O/iA"),m=e.n(A),v=e("OaEy")},OELB:function(D,_,e){var g=e("bYtY"),f=1e-4;function A(x){return x.replace(/^\s+|\s+$/g,"")}function m(x,T,L,y){var C=T[1]-T[0],O=L[1]-L[0];if(C===0)return O===0?L[0]:(L[0]+L[1])/2;if(y)if(C>0){if(x<=T[0])return L[0];if(x>=T[1])return L[1]}else{if(x>=T[0])return L[0];if(x<=T[1])return L[1]}else{if(x===T[0])return L[0];if(x===T[1])return L[1]}return(x-T[0])/C*O+L[0]}function v(x,T){switch(x){case"center":case"middle":x="50%";break;case"left":case"top":x="0%";break;case"right":case"bottom":x="100%";break}return typeof x=="string"?A(x).match(/%$/)?parseFloat(x)/100*T:parseFloat(x):x==null?NaN:+x}function h(x,T,L){return T==null&&(T=10),T=Math.min(Math.max(0,T),20),x=(+x).toFixed(T),L?x:+x}function c(x){return x.sort(function(T,L){return T-L}),x}function o(x){if(x=+x,isNaN(x))return 0;for(var T=1,L=0;Math.round(x*T)/T!==x;)T*=10,L++;return L}function i(x){var T=x.toString(),L=T.indexOf("e");if(L>0){var y=+T.slice(L+1);return y<0?-y:0}else{var C=T.indexOf(".");return C<0?0:T.length-1-C}}function n(x,T){var L=Math.log,y=Math.LN10,C=Math.floor(L(x[1]-x[0])/y),O=Math.round(L(Math.abs(T[1]-T[0]))/y),N=Math.min(Math.max(-C+O,0),20);return isFinite(N)?N:20}function a(x,T,L){if(!x[T])return 0;var y=g.reduce(x,function(j,P){return j+(isNaN(P)?0:P)},0);if(y===0)return 0;for(var C=Math.pow(10,L),O=g.map(x,function(j){return(isNaN(j)?0:j)/y*C*100}),N=C*100,k=g.map(O,function(j){return Math.floor(j)}),F=g.reduce(k,function(j,P){return j+P},0),B=g.map(O,function(j,P){return j-k[P]});F<N;){for(var H=Number.NEGATIVE_INFINITY,W=null,R=0,U=B.length;R<U;++R)B[R]>H&&(H=B[R],W=R);++k[W],B[W]=0,++F}return k[T]/C}var u=9007199254740991;function r(x){var T=Math.PI*2;return(x%T+T)%T}function l(x){return x>-f&&x<f}var t=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function s(x){if(x instanceof Date)return x;if(typeof x=="string"){var T=t.exec(x);if(!T)return new Date(NaN);if(T[8]){var L=+T[4]||0;return T[8].toUpperCase()!=="Z"&&(L-=T[8].slice(0,3)),new Date(Date.UTC(+T[1],+(T[2]||1)-1,+T[3]||1,L,+(T[5]||0),+T[6]||0,+T[7]||0))}else return new Date(+T[1],+(T[2]||1)-1,+T[3]||1,+T[4]||0,+(T[5]||0),+T[6]||0,+T[7]||0)}else if(x==null)return new Date(NaN);return new Date(Math.round(x))}function d(x){return Math.pow(10,p(x))}function p(x){if(x===0)return 0;var T=Math.floor(Math.log(x)/Math.LN10);return x/Math.pow(10,T)>=10&&T++,T}function b(x,T){var L=p(x),y=Math.pow(10,L),C=x/y,O;return T?C<1.5?O=1:C<2.5?O=2:C<4?O=3:C<7?O=5:O=10:C<1?O=1:C<2?O=2:C<3?O=3:C<5?O=5:O=10,x=O*y,L>=-20?+x.toFixed(L<0?-L:0):x}function w(x,T){var L=(x.length-1)*T+1,y=Math.floor(L),C=+x[y-1],O=L-y;return O?C+O*(x[y]-C):C}function E(x){x.sort(function(F,B){return k(F,B,0)?-1:1});for(var T=-Infinity,L=1,y=0;y<x.length;){for(var C=x[y].interval,O=x[y].close,N=0;N<2;N++)C[N]<=T&&(C[N]=T,O[N]=N?1:1-L),T=C[N],L=O[N];C[0]===C[1]&&O[0]*O[1]!==1?x.splice(y,1):y++}return x;function k(F,B,H){return F.interval[H]<B.interval[H]||F.interval[H]===B.interval[H]&&(F.close[H]-B.close[H]===(H?-1:1)||!H&&k(F,B,1))}}function S(x){return x-parseFloat(x)>=0}_.linearMap=m,_.parsePercent=v,_.round=h,_.asc=c,_.getPrecision=o,_.getPrecisionSafe=i,_.getPixelPrecision=n,_.getPercentWithPrecision=a,_.MAX_SAFE_INTEGER=u,_.remRadian=r,_.isRadianAroundZero=l,_.parseDate=s,_.quantity=d,_.quantityExponent=p,_.nice=b,_.quantile=w,_.reformIntervals=E,_.isNumeric=S},OKJ2:function(D,_,e){var g=e("KxfA"),f=g.retrieveRawValue,A=e("7aKB"),m=A.getTooltipMarker,v=A.formatTpl,h=e("4NO4"),c=h.getTooltipRenderMode,o=/\{@(.+?)\}/g,i={getDataParams:function(n,a){var u=this.getData(a),r=this.getRawValue(n,a),l=u.getRawIndex(n),t=u.getName(n),s=u.getRawDataItem(n),d=u.getItemVisual(n,"color"),p=u.getItemVisual(n,"borderColor"),b=this.ecModel.getComponent("tooltip"),w=b&&b.get("renderMode"),E=c(w),S=this.mainType,x=S==="series",T=u.userOutput;return{componentType:S,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:x?this.subType:null,seriesIndex:this.seriesIndex,seriesId:x?this.id:null,seriesName:x?this.name:null,name:t,dataIndex:l,data:s,dataType:a,value:r,color:d,borderColor:p,dimensionNames:T?T.dimensionNames:null,encode:T?T.encode:null,marker:m({color:d,renderMode:E}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(n,a,u,r,l){a=a||"normal";var t=this.getData(u),s=t.getItemModel(n),d=this.getDataParams(n,u);r!=null&&d.value instanceof Array&&(d.value=d.value[r]);var p=s.get(a==="normal"?[l||"label","formatter"]:[a,l||"label","formatter"]);if(typeof p=="function")return d.status=a,d.dimensionIndex=r,p(d);if(typeof p=="string"){var b=v(p,d);return b.replace(o,function(w,E){var S=E.length;return E.charAt(0)==="["&&E.charAt(S-1)==="]"&&(E=+E.slice(1,S-1)),f(t,n,E)})}},getRawValue:function(n,a){return f(this.getData(a),n)},formatTooltip:function(){}};D.exports=i},OPEp:function(D,_,e){},OQFs:function(D,_,e){var g=e("KCsZ"),f=g([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={getLineStyle:function(m){var v=f(this,m);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(m){m==null&&(m=1);var v=this.get("type"),h=Math.max(m,2),c=m*4;return v==="solid"||v==null?!1:v==="dashed"?[c,c]:[h,h]}};D.exports=A},OS9S:function(D,_,e){var g=e("bYtY"),f=g.inherits,A=e("Gev7"),m=e("mFDi");function v(o){A.call(this,o),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}v.prototype.incremental=!0,v.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},v.prototype.addDisplayable=function(o,i){i?this._temporaryDisplayables.push(o):this._displayables.push(o),this.dirty()},v.prototype.addDisplayables=function(o,i){i=i||!1;for(var n=0;n<o.length;n++)this.addDisplayable(o[n],i)},v.prototype.eachPendingDisplayable=function(o){for(var i=this._cursor;i<this._displayables.length;i++)o&&o(this._displayables[i]);for(var i=0;i<this._temporaryDisplayables.length;i++)o&&o(this._temporaryDisplayables[i])},v.prototype.update=function(){this.updateTransform();for(var o=this._cursor;o<this._displayables.length;o++){var i=this._displayables[o];i.parent=this,i.update(),i.parent=null}for(var o=0;o<this._temporaryDisplayables.length;o++){var i=this._temporaryDisplayables[o];i.parent=this,i.update(),i.parent=null}},v.prototype.brush=function(o,i){for(var n=this._cursor;n<this._displayables.length;n++){var a=this._displayables[n];a.beforeBrush&&a.beforeBrush(o),a.brush(o,n===this._cursor?null:this._displayables[n-1]),a.afterBrush&&a.afterBrush(o)}this._cursor=n;for(var n=0;n<this._temporaryDisplayables.length;n++){var a=this._temporaryDisplayables[n];a.beforeBrush&&a.beforeBrush(o),a.brush(o,n===0?null:this._temporaryDisplayables[n-1]),a.afterBrush&&a.afterBrush(o)}this._temporaryDisplayables=[],this.notClear=!0};var h=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var o=new m(Infinity,Infinity,-Infinity,-Infinity),i=0;i<this._displayables.length;i++){var n=this._displayables[i],a=n.getBoundingRect().clone();n.needLocalTransform()&&a.applyTransform(n.getLocalTransform(h)),o.union(a)}this._rect=o}return this._rect},v.prototype.contain=function(o,i){var n=this.transformCoordToLocal(o,i),a=this.getBoundingRect();if(a.contain(n[0],n[1]))for(var u=0;u<this._displayables.length;u++){var r=this._displayables[u];if(r.contain(o,i))return!0}return!1},f(v,A);var c=v;D.exports=c},OUJF:function(D,_,e){var g=e("ProS"),f=e("bYtY");g.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(A,m){var v=m.getComponent("timeline");return v&&A.currentIndex!=null&&(v.setCurrentIndex(A.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),m.resetOption("timeline"),f.defaults({currentIndex:v.option.currentIndex},A)}),g.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(A,m){var v=m.getComponent("timeline");v&&A.playState!=null&&v.setPlayState(A.playState)})},OXB0:function(D,_,e){var g=e("T4UG"),f=e("MwEJ"),A=e("IDmD"),m=g.extend({type:"series.heatmap",getInitialData:function(v,h){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=A.get(this.get("coordinateSystem"));if(v&&v.dimensions)return v.dimensions[0]==="lng"&&v.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});D.exports=m},OZM5:function(D,_,e){"use strict";e.d(_,"b",function(){return n}),e.d(_,"a",function(){return a}),e.d(_,"k",function(){return u}),e.d(_,"h",function(){return r}),e.d(_,"i",function(){return l}),e.d(_,"g",function(){return t}),e.d(_,"c",function(){return s}),e.d(_,"d",function(){return d}),e.d(_,"j",function(){return w}),e.d(_,"e",function(){return E}),e.d(_,"f",function(){return S});var g=e("KQm4"),f=e("U8pU"),A=e("Ff2n"),m=e("q1tI"),v=e.n(m),h=e("Kwbf"),c=e("WaYH"),o=.25,i=2;function n(x,T){var L=x.slice(),y=L.indexOf(T);return y>=0&&L.splice(y,1),L}function a(x,T){var L=x.slice();return L.indexOf(T)===-1&&L.push(T),L}function u(x){return x.split("-")}function r(x,T){return"".concat(x,"-").concat(T)}function l(x){return x&&x.type&&x.type.isTreeNode}function t(x,T){var L=[x],y=T[x];function C(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];O.forEach(function(N){var k=N.key,F=N.children;L.push(k),C(F)})}return C(y.children),L}function s(x,T){var L=x.clientY,y=T.selectHandle.getBoundingClientRect(),C=y.top,O=y.bottom,N=y.height,k=Math.max(N*o,i);return L<=C+k?-1:L>=O-k?1:0}function d(x,T){if(!x)return;var L=T.multiple;return L?x.slice():x.length?[x[0]]:x}var p=function(T){return T};function b(x,T){if(!x)return[];var L=T||{},y=L.processProps,C=y===void 0?p:y,O=Array.isArray(x)?x:[x];return O.map(function(N){var k=N.children,F=Object(A.a)(N,["children"]),B=b(k,T);return v.a.createElement(c.a,Object.assign({},C(F)),B)})}function w(x){if(!x)return null;var T;if(Array.isArray(x))T={checkedKeys:x,halfCheckedKeys:void 0};else if(Object(f.a)(x)==="object")T={checkedKeys:x.checked||void 0,halfCheckedKeys:x.halfChecked||void 0};else return Object(h.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function E(x,T){var L=new Set;function y(C){if(L.has(C))return;var O=T[C];if(!O)return;L.add(C);var N=O.parent,k=O.node;if(k.disabled)return;N&&y(N.key)}return(x||[]).forEach(function(C){y(C)}),Object(g.a)(L)}function S(x){var T={};return Object.keys(x).forEach(function(L){(L.startsWith("data-")||L.startsWith("aria-"))&&(T[L]=x[L])}),T}},OaEy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("bKJz"),m=e.n(A),v=e("R9oj")},"Of+w":function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"WeakMap");D.exports=A},Ol7k:function(D,_,e){"use strict";var g=e("PKem"),f=e("ZX9x");g.b.Sider=f.b,_.a=g.b},OlYY:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("ItGF"),h=e("4NO4"),c=e("UOVi"),o=e("zDms"),i=m.each,n=c.eachAxisDim,a=A.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,s,d){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var p=u(t);this.settledOption=p,this.mergeDefaultAndTheme(t,d),this.doInit(p)},mergeOption:function(t){var s=u(t);m.merge(this.option,t,!0),m.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(t){var s=this.option;v.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(t),r(this,t);var d=this.settledOption;i([["start","startValue"],["end","endValue"]],function(p,b){this._rangePropMode[b]==="value"&&(s[p[0]]=d[p[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(s,d,p,b){var w=this.dependentModels[s.axis][d],E=w.__dzAxisProxy||(w.__dzAxisProxy=new o(s.name,d,this,b));t[s.name+"_"+d]=E},this)},_resetTarget:function(){var t=this.option,s=this._judgeAutoMode();n(function(d){var p=d.axisIndex;t[p]=h.normalizeToArray(t[p])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,s=!1;n(function(p){t[p.axisIndex]!=null&&(s=!0)},this);var d=t.orient;if(d==null&&s)return"orient";if(!s)return d==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,s=this.get("orient",!0),d=this.option,p=this.dependentModels;if(t){var b=s==="vertical"?"y":"x";p[b+"Axis"].length?(d[b+"AxisIndex"]=[0],t=!1):i(p.singleAxis,function(w){t&&w.get("orient",!0)===s&&(d.singleAxisIndex=[w.componentIndex],t=!1)})}t&&n(function(w){if(!t)return;var E=[],S=this.dependentModels[w.axis];if(S.length&&!E.length)for(var x=0,T=S.length;x<T;x++)S[x].get("type")==="category"&&E.push(x);d[w.axisIndex]=E,E.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(w){this._isSeriesHasAllAxesTypeOf(w,"value")&&n(function(E){var S=d[E.axisIndex],x=w.get(E.axisIndex),T=w.get(E.axisId),L=w.ecModel.queryComponents({mainType:E.axis,index:x,id:T})[0];x=L.componentIndex,m.indexOf(S,x)<0&&S.push(x)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(s){!t&&(t=s.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,s){var d=!0;return n(function(p){var b=t.get(p.axisIndex),w=this.dependentModels[p.axis][b];(!w||w.get("type")!==s)&&(d=!1)},this),d},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return n(function(s){if(t==null){var d=this.get(s.axisIndex);d.length&&(t=this.dependentModels[s.axis][d[0]])}},this),t},eachTargetAxis:function(t,s){var d=this.ecModel;n(function(p){i(this.get(p.axisIndex),function(b){t.call(s,p,b,this,d)},this)},this)},getAxisProxy:function(t,s){return this._axisProxies[t+"_"+s]},getAxisModel:function(t,s){var d=this.getAxisProxy(t,s);return d&&d.getAxisModel()},setRawRange:function(t){var s=this.option,d=this.settledOption;i([["start","startValue"],["end","endValue"]],function(p){(t[p[0]]!=null||t[p[1]]!=null)&&(s[p[0]]=d[p[0]]=t[p[0]],s[p[1]]=d[p[1]]=t[p[1]])},this),r(this,t)},setCalculatedRange:function(t){var s=this.option;i(["start","startValue","end","endValue"],function(d){s[d]=t[d]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,s){if(t==null&&s==null){var d=this.findRepresentativeAxisProxy();if(d)return d.getDataValueWindow()}else return this.getAxisProxy(t,s).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var s=this._axisProxies;for(var d in s)if(s.hasOwnProperty(d)&&s[d].hostedBy(this))return s[d];for(var d in s)if(s.hasOwnProperty(d)&&!s[d].hostedBy(this))return s[d]},getRangePropMode:function(){return this._rangePropMode.slice()}});function u(t){var s={};return i(["start","end","startValue","endValue","throttle"],function(d){t.hasOwnProperty(d)&&(s[d]=t[d])}),s}function r(t,s){var d=t._rangePropMode,p=t.get("rangeMode");i([["start","startValue"],["end","endValue"]],function(b,w){var E=s[b[0]]!=null,S=s[b[1]]!=null;E&&!S?d[w]="percent":!E&&S?d[w]="value":p?d[w]=p[w]:E&&(d[w]="percent")})}var l=a;D.exports=l},OnYD:function(D,_,e){},"Oy/b":function(D,_,e){(function(f,A){D.exports=A()})(typeof self!="undefined"?self:this,function(){return function(g){var f={};function A(m){if(f[m])return f[m].exports;var v=f[m]={i:m,l:!1,exports:{}};return g[m].call(v.exports,v,v.exports,A),v.l=!0,v.exports}return A.m=g,A.c=f,A.d=function(m,v,h){A.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},A.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},A.t=function(m,v){if(v&1&&(m=A(m)),v&8)return m;if(v&4&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(A.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),v&2&&typeof m!="string")for(var c in m)A.d(h,c,function(o){return m[o]}.bind(null,c));return h},A.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return A.d(v,"a",v),v},A.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},A.p="",A(A.s=1)}([function(g,f,A){},function(g,f,A){"use strict";A.r(f);var m=A(0),v=function(){function Pt(oe,xe,Te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=oe,this.start=xe,this.end=Te}return Pt.range=function(xe,Te){return Te?!xe||!xe.loc||!Te.loc||xe.loc.lexer!==Te.loc.lexer?null:new Pt(xe.loc.lexer,xe.loc.start,Te.loc.end):xe&&xe.loc},Pt}(),h=function(){function Pt(xe,Te){this.text=void 0,this.loc=void 0,this.text=xe,this.loc=Te}var oe=Pt.prototype;return oe.range=function(Te,We){return new Pt(We,v.range(this,Te))},Pt}(),c=function Pt(oe,xe){this.position=void 0;var Te="KaTeX parse error: "+oe,We,Et=xe&&xe.loc;if(Et&&Et.start<=Et.end){var Ut=Et.lexer.input;We=Et.start;var hr=Et.end;We===Ut.length?Te+=" at end of input: ":Te+=" at position "+(We+1)+": ";var gr=Ut.slice(We,hr).replace(/[^]/g,"$&\u0332"),Rr;We>15?Rr="\u2026"+Ut.slice(We-15,We):Rr=Ut.slice(0,We);var $r;hr+15<Ut.length?$r=Ut.slice(hr,hr+15)+"\u2026":$r=Ut.slice(hr),Te+=Rr+gr+$r}var ln=new Error(Te);return ln.name="ParseError",ln.__proto__=Pt.prototype,ln.position=We,ln};c.prototype.__proto__=Error.prototype;var o=c,i=function(oe,xe){return oe.indexOf(xe)!==-1},n=function(oe,xe){return oe===void 0?xe:oe},a=/([A-Z])/g,u=function(oe){return oe.replace(a,"-$1").toLowerCase()},r={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},l=/[&><"']/g;function t(Pt){return String(Pt).replace(l,function(oe){return r[oe]})}var s=function Pt(oe){return oe.type==="ordgroup"||oe.type==="color"?oe.body.length===1?Pt(oe.body[0]):oe:oe.type==="font"?Pt(oe.body):oe},d=function(oe){var xe=s(oe);return xe.type==="mathord"||xe.type==="textord"||xe.type==="atom"},p=function(oe){if(!oe)throw new Error("Expected non-null, but got "+String(oe));return oe},b=function(oe){var xe=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(oe);return xe!=null?xe[1]:"_relative"},w={contains:i,deflt:n,escape:t,hyphenate:u,getBaseElem:s,isCharacterBox:d,protocolFromUrl:b},E=function(){function Pt(xe){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,xe=xe||{},this.displayMode=w.deflt(xe.displayMode,!1),this.output=w.deflt(xe.output,"htmlAndMathml"),this.leqno=w.deflt(xe.leqno,!1),this.fleqn=w.deflt(xe.fleqn,!1),this.throwOnError=w.deflt(xe.throwOnError,!0),this.errorColor=w.deflt(xe.errorColor,"#cc0000"),this.macros=xe.macros||{},this.minRuleThickness=Math.max(0,w.deflt(xe.minRuleThickness,0)),this.colorIsTextColor=w.deflt(xe.colorIsTextColor,!1),this.strict=w.deflt(xe.strict,"warn"),this.trust=w.deflt(xe.trust,!1),this.maxSize=Math.max(0,w.deflt(xe.maxSize,Infinity)),this.maxExpand=Math.max(0,w.deflt(xe.maxExpand,1e3))}var oe=Pt.prototype;return oe.reportNonstrict=function(Te,We,Et){var Ut=this.strict;if(typeof Ut=="function"&&(Ut=Ut(Te,We,Et)),!Ut||Ut==="ignore")return;if(Ut===!0||Ut==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(We+" ["+Te+"]"),Et);Ut==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Te+"]"))},oe.useStrictBehavior=function(Te,We,Et){var Ut=this.strict;if(typeof Ut=="function")try{Ut=Ut(Te,We,Et)}catch(hr){Ut="error"}return!Ut||Ut==="ignore"?!1:Ut===!0||Ut==="error"?!0:Ut==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Te+"]")),!1)},oe.isTrusted=function(Te){Te.url&&!Te.protocol&&(Te.protocol=w.protocolFromUrl(Te.url));var We=typeof this.trust=="function"?this.trust(Te):this.trust;return Boolean(We)},Pt}(),S=function(){function Pt(xe,Te,We){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=xe,this.size=Te,this.cramped=We}var oe=Pt.prototype;return oe.sup=function(){return F[B[this.id]]},oe.sub=function(){return F[H[this.id]]},oe.fracNum=function(){return F[W[this.id]]},oe.fracDen=function(){return F[R[this.id]]},oe.cramp=function(){return F[U[this.id]]},oe.text=function(){return F[j[this.id]]},oe.isTight=function(){return this.size>=2},Pt}(),x=0,T=1,L=2,y=3,C=4,O=5,N=6,k=7,F=[new S(x,0,!1),new S(T,0,!0),new S(L,1,!1),new S(y,1,!0),new S(C,2,!1),new S(O,2,!0),new S(N,3,!1),new S(k,3,!0)],B=[C,O,C,O,N,k,N,k],H=[O,O,O,O,k,k,k,k],W=[L,y,C,O,N,k,N,k],R=[y,y,O,O,k,k,k,k],U=[T,T,y,y,O,O,k,k],j=[x,T,L,y,L,y,L,y],P={DISPLAY:F[x],TEXT:F[L],SCRIPT:F[C],SCRIPTSCRIPT:F[N]},K=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V(Pt){for(var oe=0;oe<K.length;oe++)for(var xe=K[oe],Te=0;Te<xe.blocks.length;Te++){var We=xe.blocks[Te];if(Pt>=We[0]&&Pt<=We[1])return xe.name}return null}var z=[];K.forEach(function(Pt){return Pt.blocks.forEach(function(oe){return z.push.apply(z,oe)})});function X(Pt){for(var oe=0;oe<z.length;oe+=2)if(Pt>=z[oe]&&Pt<=z[oe+1])return!0;return!1}var G=80,le=function(oe,xe){return"M95,"+(622+oe+xe)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+oe/2.075+" -"+oe+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+oe)+`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+oe)+" "+xe+"h400000v"+(40+oe)+"h-400000z"},Y=function(oe,xe){return"M263,"+(601+oe+xe)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+oe/2.084+" -"+oe+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+oe)+`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+oe)+" "+xe+"h400000v"+(40+oe)+"h-400000z"},me=function(oe,xe){return"M983 "+(10+oe+xe)+`
l`+oe/3.13+" -"+oe+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+oe)+`
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+oe)+" "+xe+"h400000v"+(40+oe)+"h-400000z"},we=function(oe,xe){return"M424,"+(2398+oe+xe)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+oe/4.223+" -"+oe+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+oe)+`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+oe)+" "+xe+`
h400000v`+(40+oe)+"h-400000z"},pe=function(oe,xe){return"M473,"+(2713+oe+xe)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+oe/5.298+" -"+oe+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+oe)+`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+oe)+" "+xe+"h400000v"+(40+oe)+"H1017.7z"},Fe=function(oe,xe,Te){var We=Te-54-xe-oe;return"M702 "+(oe+xe)+"H400000"+(40+oe)+`
H742v`+We+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+xe+"H400000v"+(40+oe)+"H742z"},Xe=function(oe,xe,Te){xe=1e3*xe;var We="";switch(oe){case"sqrtMain":We=le(xe,G);break;case"sqrtSize1":We=Y(xe,G);break;case"sqrtSize2":We=me(xe,G);break;case"sqrtSize3":We=we(xe,G);break;case"sqrtSize4":We=pe(xe,G);break;case"sqrtTall":We=Fe(xe,G,Te)}return We},dt={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`},Ee=function(){function Pt(xe){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=xe,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var oe=Pt.prototype;return oe.hasClass=function(Te){return w.contains(this.classes,Te)},oe.toNode=function(){for(var Te=document.createDocumentFragment(),We=0;We<this.children.length;We++)Te.appendChild(this.children[We].toNode());return Te},oe.toMarkup=function(){for(var Te="",We=0;We<this.children.length;We++)Te+=this.children[We].toMarkup();return Te},oe.toText=function(){var Te=function(Et){return Et.toText()};return this.children.map(Te).join("")},Pt}(),Se=function(oe){return oe.filter(function(xe){return xe}).join(" ")},at=function(oe,xe,Te){if(this.classes=oe||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Te||{},xe){xe.style.isTight()&&this.classes.push("mtight");var We=xe.getColor();We&&(this.style.color=We)}},_e=function(oe){var xe=document.createElement(oe);xe.className=Se(this.classes);for(var Te in this.style)this.style.hasOwnProperty(Te)&&(xe.style[Te]=this.style[Te]);for(var We in this.attributes)this.attributes.hasOwnProperty(We)&&xe.setAttribute(We,this.attributes[We]);for(var Et=0;Et<this.children.length;Et++)xe.appendChild(this.children[Et].toNode());return xe},ce=function(oe){var xe="<"+oe;this.classes.length&&(xe+=' class="'+w.escape(Se(this.classes))+'"');var Te="";for(var We in this.style)this.style.hasOwnProperty(We)&&(Te+=w.hyphenate(We)+":"+this.style[We]+";");Te&&(xe+=' style="'+w.escape(Te)+'"');for(var Et in this.attributes)this.attributes.hasOwnProperty(Et)&&(xe+=" "+Et+'="'+w.escape(this.attributes[Et])+'"');xe+=">";for(var Ut=0;Ut<this.children.length;Ut++)xe+=this.children[Ut].toMarkup();return xe+="</"+oe+">",xe},ee=function(){function Pt(xe,Te,We,Et){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,at.call(this,xe,We,Et),this.children=Te||[]}var oe=Pt.prototype;return oe.setAttribute=function(Te,We){this.attributes[Te]=We},oe.hasClass=function(Te){return w.contains(this.classes,Te)},oe.toNode=function(){return _e.call(this,"span")},oe.toMarkup=function(){return ce.call(this,"span")},Pt}(),se=function(){function Pt(xe,Te,We,Et){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,at.call(this,Te,Et),this.children=We||[],this.setAttribute("href",xe)}var oe=Pt.prototype;return oe.setAttribute=function(Te,We){this.attributes[Te]=We},oe.hasClass=function(Te){return w.contains(this.classes,Te)},oe.toNode=function(){return _e.call(this,"a")},oe.toMarkup=function(){return ce.call(this,"a")},Pt}(),ke=function(){function Pt(xe,Te,We){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Te,this.src=xe,this.classes=["mord"],this.style=We}var oe=Pt.prototype;return oe.hasClass=function(Te){return w.contains(this.classes,Te)},oe.toNode=function(){var Te=document.createElement("img");Te.src=this.src,Te.alt=this.alt,Te.className="mord";for(var We in this.style)this.style.hasOwnProperty(We)&&(Te.style[We]=this.style[We]);return Te},oe.toMarkup=function(){var Te="<img src='"+this.src+" 'alt='"+this.alt+"' ",We="";for(var Et in this.style)this.style.hasOwnProperty(Et)&&(We+=w.hyphenate(Et)+":"+this.style[Et]+";");return We&&(Te+=' style="'+w.escape(We)+'"'),Te+="'/>",Te},Pt}(),Ce={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},ze=function(){function Pt(xe,Te,We,Et,Ut,hr,gr,Rr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=xe,this.height=Te||0,this.depth=We||0,this.italic=Et||0,this.skew=Ut||0,this.width=hr||0,this.classes=gr||[],this.style=Rr||{},this.maxFontSize=0;var $r=V(this.text.charCodeAt(0));$r&&this.classes.push($r+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Ce[this.text])}var oe=Pt.prototype;return oe.hasClass=function(Te){return w.contains(this.classes,Te)},oe.toNode=function(){var Te=document.createTextNode(this.text),We=null;this.italic>0&&(We=document.createElement("span"),We.style.marginRight=this.italic+"em"),this.classes.length>0&&(We=We||document.createElement("span"),We.className=Se(this.classes));for(var Et in this.style)this.style.hasOwnProperty(Et)&&(We=We||document.createElement("span"),We.style[Et]=this.style[Et]);return We?(We.appendChild(Te),We):Te},oe.toMarkup=function(){var Te=!1,We="<span";this.classes.length&&(Te=!0,We+=' class="',We+=w.escape(Se(this.classes)),We+='"');var Et="";this.italic>0&&(Et+="margin-right:"+this.italic+"em;");for(var Ut in this.style)this.style.hasOwnProperty(Ut)&&(Et+=w.hyphenate(Ut)+":"+this.style[Ut]+";");Et&&(Te=!0,We+=' style="'+w.escape(Et)+'"');var hr=w.escape(this.text);return Te?(We+=">",We+=hr,We+="</span>",We):hr},Pt}(),Oe=function(){function Pt(xe,Te){this.children=void 0,this.attributes=void 0,this.children=xe||[],this.attributes=Te||{}}var oe=Pt.prototype;return oe.toNode=function(){var Te="http://www.w3.org/2000/svg",We=document.createElementNS(Te,"svg");for(var Et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Et)&&We.setAttribute(Et,this.attributes[Et]);for(var Ut=0;Ut<this.children.length;Ut++)We.appendChild(this.children[Ut].toNode());return We},oe.toMarkup=function(){var Te="<svg";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Te+=" "+We+"='"+this.attributes[We]+"'");Te+=">";for(var Et=0;Et<this.children.length;Et++)Te+=this.children[Et].toMarkup();return Te+="</svg>",Te},Pt}(),ae=function(){function Pt(xe,Te){this.pathName=void 0,this.alternate=void 0,this.pathName=xe,this.alternate=Te}var oe=Pt.prototype;return oe.toNode=function(){var Te="http://www.w3.org/2000/svg",We=document.createElementNS(Te,"path");return this.alternate?We.setAttribute("d",this.alternate):We.setAttribute("d",dt[this.pathName]),We},oe.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+dt[this.pathName]+"'/>"},Pt}(),ge=function(){function Pt(xe){this.attributes=void 0,this.attributes=xe||{}}var oe=Pt.prototype;return oe.toNode=function(){var Te="http://www.w3.org/2000/svg",We=document.createElementNS(Te,"line");for(var Et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Et)&&We.setAttribute(Et,this.attributes[Et]);return We},oe.toMarkup=function(){var Te="<line";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Te+=" "+We+"='"+this.attributes[We]+"'");return Te+="/>",Te},Pt}();function Le(Pt){if(Pt instanceof ze)return Pt;throw new Error("Expected symbolNode but got "+String(Pt)+".")}function Ze(Pt){if(Pt instanceof ee)return Pt;throw new Error("Expected span<HtmlDomNode> but got "+String(Pt)+".")}var vt={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},Ct={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Be={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Rt(Pt,oe){vt[Pt]=oe}function He(Pt,oe,xe){if(!vt[oe])throw new Error("Font metrics not found for font: "+oe+".");var Te=Pt.charCodeAt(0),We=vt[oe][Te];if(!We&&Pt[0]in Be&&(Te=Be[Pt[0]].charCodeAt(0),We=vt[oe][Te]),!We&&xe==="text"&&(X(Te)&&(We=vt[oe][77])),We)return{depth:We[0],height:We[1],italic:We[2],skew:We[3],width:We[4]}}var wt={};function Ge(Pt){var oe;if(Pt>=5?oe=0:Pt>=3?oe=1:oe=2,!wt[oe]){var xe=wt[oe]={cssEmPerMu:Ct.quad[oe]/18};for(var Te in Ct)Ct.hasOwnProperty(Te)&&(xe[Te]=Ct[Te][oe])}return wt[oe]}var et={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},lt={math:{},text:{}},Ve=lt;function ie(Pt,oe,xe,Te,We,Et){lt[Pt][We]={font:oe,group:xe,replace:Te},Et&&Te&&(lt[Pt][Te]=lt[Pt][We])}var $="math",it="text",Qe="main",ye="ams",Zt="accent-token",ht="bin",ct="close",yt="inner",It="mathord",or="op-token",Bt="open",Ae="punct",ve="rel",fe="spacing",ue="textord";ie($,Qe,ve,"\u2261","\\equiv",!0),ie($,Qe,ve,"\u227A","\\prec",!0),ie($,Qe,ve,"\u227B","\\succ",!0),ie($,Qe,ve,"\u223C","\\sim",!0),ie($,Qe,ve,"\u22A5","\\perp"),ie($,Qe,ve,"\u2AAF","\\preceq",!0),ie($,Qe,ve,"\u2AB0","\\succeq",!0),ie($,Qe,ve,"\u2243","\\simeq",!0),ie($,Qe,ve,"\u2223","\\mid",!0),ie($,Qe,ve,"\u226A","\\ll",!0),ie($,Qe,ve,"\u226B","\\gg",!0),ie($,Qe,ve,"\u224D","\\asymp",!0),ie($,Qe,ve,"\u2225","\\parallel"),ie($,Qe,ve,"\u22C8","\\bowtie",!0),ie($,Qe,ve,"\u2323","\\smile",!0),ie($,Qe,ve,"\u2291","\\sqsubseteq",!0),ie($,Qe,ve,"\u2292","\\sqsupseteq",!0),ie($,Qe,ve,"\u2250","\\doteq",!0),ie($,Qe,ve,"\u2322","\\frown",!0),ie($,Qe,ve,"\u220B","\\ni",!0),ie($,Qe,ve,"\u221D","\\propto",!0),ie($,Qe,ve,"\u22A2","\\vdash",!0),ie($,Qe,ve,"\u22A3","\\dashv",!0),ie($,Qe,ve,"\u220B","\\owns"),ie($,Qe,Ae,".","\\ldotp"),ie($,Qe,Ae,"\u22C5","\\cdotp"),ie($,Qe,ue,"#","\\#"),ie(it,Qe,ue,"#","\\#"),ie($,Qe,ue,"&","\\&"),ie(it,Qe,ue,"&","\\&"),ie($,Qe,ue,"\u2135","\\aleph",!0),ie($,Qe,ue,"\u2200","\\forall",!0),ie($,Qe,ue,"\u210F","\\hbar",!0),ie($,Qe,ue,"\u2203","\\exists",!0),ie($,Qe,ue,"\u2207","\\nabla",!0),ie($,Qe,ue,"\u266D","\\flat",!0),ie($,Qe,ue,"\u2113","\\ell",!0),ie($,Qe,ue,"\u266E","\\natural",!0),ie($,Qe,ue,"\u2663","\\clubsuit",!0),ie($,Qe,ue,"\u2118","\\wp",!0),ie($,Qe,ue,"\u266F","\\sharp",!0),ie($,Qe,ue,"\u2662","\\diamondsuit",!0),ie($,Qe,ue,"\u211C","\\Re",!0),ie($,Qe,ue,"\u2661","\\heartsuit",!0),ie($,Qe,ue,"\u2111","\\Im",!0),ie($,Qe,ue,"\u2660","\\spadesuit",!0),ie(it,Qe,ue,"\xA7","\\S",!0),ie(it,Qe,ue,"\xB6","\\P",!0),ie($,Qe,ue,"\u2020","\\dag"),ie(it,Qe,ue,"\u2020","\\dag"),ie(it,Qe,ue,"\u2020","\\textdagger"),ie($,Qe,ue,"\u2021","\\ddag"),ie(it,Qe,ue,"\u2021","\\ddag"),ie(it,Qe,ue,"\u2021","\\textdaggerdbl"),ie($,Qe,ct,"\u23B1","\\rmoustache",!0),ie($,Qe,Bt,"\u23B0","\\lmoustache",!0),ie($,Qe,ct,"\u27EF","\\rgroup",!0),ie($,Qe,Bt,"\u27EE","\\lgroup",!0),ie($,Qe,ht,"\u2213","\\mp",!0),ie($,Qe,ht,"\u2296","\\ominus",!0),ie($,Qe,ht,"\u228E","\\uplus",!0),ie($,Qe,ht,"\u2293","\\sqcap",!0),ie($,Qe,ht,"\u2217","\\ast"),ie($,Qe,ht,"\u2294","\\sqcup",!0),ie($,Qe,ht,"\u25EF","\\bigcirc"),ie($,Qe,ht,"\u2219","\\bullet"),ie($,Qe,ht,"\u2021","\\ddagger"),ie($,Qe,ht,"\u2240","\\wr",!0),ie($,Qe,ht,"\u2A3F","\\amalg"),ie($,Qe,ht,"&","\\And"),ie($,Qe,ve,"\u27F5","\\longleftarrow",!0),ie($,Qe,ve,"\u21D0","\\Leftarrow",!0),ie($,Qe,ve,"\u27F8","\\Longleftarrow",!0),ie($,Qe,ve,"\u27F6","\\longrightarrow",!0),ie($,Qe,ve,"\u21D2","\\Rightarrow",!0),ie($,Qe,ve,"\u27F9","\\Longrightarrow",!0),ie($,Qe,ve,"\u2194","\\leftrightarrow",!0),ie($,Qe,ve,"\u27F7","\\longleftrightarrow",!0),ie($,Qe,ve,"\u21D4","\\Leftrightarrow",!0),ie($,Qe,ve,"\u27FA","\\Longleftrightarrow",!0),ie($,Qe,ve,"\u21A6","\\mapsto",!0),ie($,Qe,ve,"\u27FC","\\longmapsto",!0),ie($,Qe,ve,"\u2197","\\nearrow",!0),ie($,Qe,ve,"\u21A9","\\hookleftarrow",!0),ie($,Qe,ve,"\u21AA","\\hookrightarrow",!0),ie($,Qe,ve,"\u2198","\\searrow",!0),ie($,Qe,ve,"\u21BC","\\leftharpoonup",!0),ie($,Qe,ve,"\u21C0","\\rightharpoonup",!0),ie($,Qe,ve,"\u2199","\\swarrow",!0),ie($,Qe,ve,"\u21BD","\\leftharpoondown",!0),ie($,Qe,ve,"\u21C1","\\rightharpoondown",!0),ie($,Qe,ve,"\u2196","\\nwarrow",!0),ie($,Qe,ve,"\u21CC","\\rightleftharpoons",!0),ie($,ye,ve,"\u226E","\\nless",!0),ie($,ye,ve,"\uE010","\\@nleqslant"),ie($,ye,ve,"\uE011","\\@nleqq"),ie($,ye,ve,"\u2A87","\\lneq",!0),ie($,ye,ve,"\u2268","\\lneqq",!0),ie($,ye,ve,"\uE00C","\\@lvertneqq"),ie($,ye,ve,"\u22E6","\\lnsim",!0),ie($,ye,ve,"\u2A89","\\lnapprox",!0),ie($,ye,ve,"\u2280","\\nprec",!0),ie($,ye,ve,"\u22E0","\\npreceq",!0),ie($,ye,ve,"\u22E8","\\precnsim",!0),ie($,ye,ve,"\u2AB9","\\precnapprox",!0),ie($,ye,ve,"\u2241","\\nsim",!0),ie($,ye,ve,"\uE006","\\@nshortmid"),ie($,ye,ve,"\u2224","\\nmid",!0),ie($,ye,ve,"\u22AC","\\nvdash",!0),ie($,ye,ve,"\u22AD","\\nvDash",!0),ie($,ye,ve,"\u22EA","\\ntriangleleft"),ie($,ye,ve,"\u22EC","\\ntrianglelefteq",!0),ie($,ye,ve,"\u228A","\\subsetneq",!0),ie($,ye,ve,"\uE01A","\\@varsubsetneq"),ie($,ye,ve,"\u2ACB","\\subsetneqq",!0),ie($,ye,ve,"\uE017","\\@varsubsetneqq"),ie($,ye,ve,"\u226F","\\ngtr",!0),ie($,ye,ve,"\uE00F","\\@ngeqslant"),ie($,ye,ve,"\uE00E","\\@ngeqq"),ie($,ye,ve,"\u2A88","\\gneq",!0),ie($,ye,ve,"\u2269","\\gneqq",!0),ie($,ye,ve,"\uE00D","\\@gvertneqq"),ie($,ye,ve,"\u22E7","\\gnsim",!0),ie($,ye,ve,"\u2A8A","\\gnapprox",!0),ie($,ye,ve,"\u2281","\\nsucc",!0),ie($,ye,ve,"\u22E1","\\nsucceq",!0),ie($,ye,ve,"\u22E9","\\succnsim",!0),ie($,ye,ve,"\u2ABA","\\succnapprox",!0),ie($,ye,ve,"\u2246","\\ncong",!0),ie($,ye,ve,"\uE007","\\@nshortparallel"),ie($,ye,ve,"\u2226","\\nparallel",!0),ie($,ye,ve,"\u22AF","\\nVDash",!0),ie($,ye,ve,"\u22EB","\\ntriangleright"),ie($,ye,ve,"\u22ED","\\ntrianglerighteq",!0),ie($,ye,ve,"\uE018","\\@nsupseteqq"),ie($,ye,ve,"\u228B","\\supsetneq",!0),ie($,ye,ve,"\uE01B","\\@varsupsetneq"),ie($,ye,ve,"\u2ACC","\\supsetneqq",!0),ie($,ye,ve,"\uE019","\\@varsupsetneqq"),ie($,ye,ve,"\u22AE","\\nVdash",!0),ie($,ye,ve,"\u2AB5","\\precneqq",!0),ie($,ye,ve,"\u2AB6","\\succneqq",!0),ie($,ye,ve,"\uE016","\\@nsubseteqq"),ie($,ye,ht,"\u22B4","\\unlhd"),ie($,ye,ht,"\u22B5","\\unrhd"),ie($,ye,ve,"\u219A","\\nleftarrow",!0),ie($,ye,ve,"\u219B","\\nrightarrow",!0),ie($,ye,ve,"\u21CD","\\nLeftarrow",!0),ie($,ye,ve,"\u21CF","\\nRightarrow",!0),ie($,ye,ve,"\u21AE","\\nleftrightarrow",!0),ie($,ye,ve,"\u21CE","\\nLeftrightarrow",!0),ie($,ye,ve,"\u25B3","\\vartriangle"),ie($,ye,ue,"\u210F","\\hslash"),ie($,ye,ue,"\u25BD","\\triangledown"),ie($,ye,ue,"\u25CA","\\lozenge"),ie($,ye,ue,"\u24C8","\\circledS"),ie($,ye,ue,"\xAE","\\circledR"),ie(it,ye,ue,"\xAE","\\circledR"),ie($,ye,ue,"\u2221","\\measuredangle",!0),ie($,ye,ue,"\u2204","\\nexists"),ie($,ye,ue,"\u2127","\\mho"),ie($,ye,ue,"\u2132","\\Finv",!0),ie($,ye,ue,"\u2141","\\Game",!0),ie($,ye,ue,"\u2035","\\backprime"),ie($,ye,ue,"\u25B2","\\blacktriangle"),ie($,ye,ue,"\u25BC","\\blacktriangledown"),ie($,ye,ue,"\u25A0","\\blacksquare"),ie($,ye,ue,"\u29EB","\\blacklozenge"),ie($,ye,ue,"\u2605","\\bigstar"),ie($,ye,ue,"\u2222","\\sphericalangle",!0),ie($,ye,ue,"\u2201","\\complement",!0),ie($,ye,ue,"\xF0","\\eth",!0),ie($,ye,ue,"\u2571","\\diagup"),ie($,ye,ue,"\u2572","\\diagdown"),ie($,ye,ue,"\u25A1","\\square"),ie($,ye,ue,"\u25A1","\\Box"),ie($,ye,ue,"\u25CA","\\Diamond"),ie($,ye,ue,"\xA5","\\yen",!0),ie(it,ye,ue,"\xA5","\\yen",!0),ie($,ye,ue,"\u2713","\\checkmark",!0),ie(it,ye,ue,"\u2713","\\checkmark"),ie($,ye,ue,"\u2136","\\beth",!0),ie($,ye,ue,"\u2138","\\daleth",!0),ie($,ye,ue,"\u2137","\\gimel",!0),ie($,ye,ue,"\u03DD","\\digamma",!0),ie($,ye,ue,"\u03F0","\\varkappa"),ie($,ye,Bt,"\u250C","\\ulcorner",!0),ie($,ye,ct,"\u2510","\\urcorner",!0),ie($,ye,Bt,"\u2514","\\llcorner",!0),ie($,ye,ct,"\u2518","\\lrcorner",!0),ie($,ye,ve,"\u2266","\\leqq",!0),ie($,ye,ve,"\u2A7D","\\leqslant",!0),ie($,ye,ve,"\u2A95","\\eqslantless",!0),ie($,ye,ve,"\u2272","\\lesssim",!0),ie($,ye,ve,"\u2A85","\\lessapprox",!0),ie($,ye,ve,"\u224A","\\approxeq",!0),ie($,ye,ht,"\u22D6","\\lessdot"),ie($,ye,ve,"\u22D8","\\lll",!0),ie($,ye,ve,"\u2276","\\lessgtr",!0),ie($,ye,ve,"\u22DA","\\lesseqgtr",!0),ie($,ye,ve,"\u2A8B","\\lesseqqgtr",!0),ie($,ye,ve,"\u2251","\\doteqdot"),ie($,ye,ve,"\u2253","\\risingdotseq",!0),ie($,ye,ve,"\u2252","\\fallingdotseq",!0),ie($,ye,ve,"\u223D","\\backsim",!0),ie($,ye,ve,"\u22CD","\\backsimeq",!0),ie($,ye,ve,"\u2AC5","\\subseteqq",!0),ie($,ye,ve,"\u22D0","\\Subset",!0),ie($,ye,ve,"\u228F","\\sqsubset",!0),ie($,ye,ve,"\u227C","\\preccurlyeq",!0),ie($,ye,ve,"\u22DE","\\curlyeqprec",!0),ie($,ye,ve,"\u227E","\\precsim",!0),ie($,ye,ve,"\u2AB7","\\precapprox",!0),ie($,ye,ve,"\u22B2","\\vartriangleleft"),ie($,ye,ve,"\u22B4","\\trianglelefteq"),ie($,ye,ve,"\u22A8","\\vDash",!0),ie($,ye,ve,"\u22AA","\\Vvdash",!0),ie($,ye,ve,"\u2323","\\smallsmile"),ie($,ye,ve,"\u2322","\\smallfrown"),ie($,ye,ve,"\u224F","\\bumpeq",!0),ie($,ye,ve,"\u224E","\\Bumpeq",!0),ie($,ye,ve,"\u2267","\\geqq",!0),ie($,ye,ve,"\u2A7E","\\geqslant",!0),ie($,ye,ve,"\u2A96","\\eqslantgtr",!0),ie($,ye,ve,"\u2273","\\gtrsim",!0),ie($,ye,ve,"\u2A86","\\gtrapprox",!0),ie($,ye,ht,"\u22D7","\\gtrdot"),ie($,ye,ve,"\u22D9","\\ggg",!0),ie($,ye,ve,"\u2277","\\gtrless",!0),ie($,ye,ve,"\u22DB","\\gtreqless",!0),ie($,ye,ve,"\u2A8C","\\gtreqqless",!0),ie($,ye,ve,"\u2256","\\eqcirc",!0),ie($,ye,ve,"\u2257","\\circeq",!0),ie($,ye,ve,"\u225C","\\triangleq",!0),ie($,ye,ve,"\u223C","\\thicksim"),ie($,ye,ve,"\u2248","\\thickapprox"),ie($,ye,ve,"\u2AC6","\\supseteqq",!0),ie($,ye,ve,"\u22D1","\\Supset",!0),ie($,ye,ve,"\u2290","\\sqsupset",!0),ie($,ye,ve,"\u227D","\\succcurlyeq",!0),ie($,ye,ve,"\u22DF","\\curlyeqsucc",!0),ie($,ye,ve,"\u227F","\\succsim",!0),ie($,ye,ve,"\u2AB8","\\succapprox",!0),ie($,ye,ve,"\u22B3","\\vartriangleright"),ie($,ye,ve,"\u22B5","\\trianglerighteq"),ie($,ye,ve,"\u22A9","\\Vdash",!0),ie($,ye,ve,"\u2223","\\shortmid"),ie($,ye,ve,"\u2225","\\shortparallel"),ie($,ye,ve,"\u226C","\\between",!0),ie($,ye,ve,"\u22D4","\\pitchfork",!0),ie($,ye,ve,"\u221D","\\varpropto"),ie($,ye,ve,"\u25C0","\\blacktriangleleft"),ie($,ye,ve,"\u2234","\\therefore",!0),ie($,ye,ve,"\u220D","\\backepsilon"),ie($,ye,ve,"\u25B6","\\blacktriangleright"),ie($,ye,ve,"\u2235","\\because",!0),ie($,ye,ve,"\u22D8","\\llless"),ie($,ye,ve,"\u22D9","\\gggtr"),ie($,ye,ht,"\u22B2","\\lhd"),ie($,ye,ht,"\u22B3","\\rhd"),ie($,ye,ve,"\u2242","\\eqsim",!0),ie($,Qe,ve,"\u22C8","\\Join"),ie($,ye,ve,"\u2251","\\Doteq",!0),ie($,ye,ht,"\u2214","\\dotplus",!0),ie($,ye,ht,"\u2216","\\smallsetminus"),ie($,ye,ht,"\u22D2","\\Cap",!0),ie($,ye,ht,"\u22D3","\\Cup",!0),ie($,ye,ht,"\u2A5E","\\doublebarwedge",!0),ie($,ye,ht,"\u229F","\\boxminus",!0),ie($,ye,ht,"\u229E","\\boxplus",!0),ie($,ye,ht,"\u22C7","\\divideontimes",!0),ie($,ye,ht,"\u22C9","\\ltimes",!0),ie($,ye,ht,"\u22CA","\\rtimes",!0),ie($,ye,ht,"\u22CB","\\leftthreetimes",!0),ie($,ye,ht,"\u22CC","\\rightthreetimes",!0),ie($,ye,ht,"\u22CF","\\curlywedge",!0),ie($,ye,ht,"\u22CE","\\curlyvee",!0),ie($,ye,ht,"\u229D","\\circleddash",!0),ie($,ye,ht,"\u229B","\\circledast",!0),ie($,ye,ht,"\u22C5","\\centerdot"),ie($,ye,ht,"\u22BA","\\intercal",!0),ie($,ye,ht,"\u22D2","\\doublecap"),ie($,ye,ht,"\u22D3","\\doublecup"),ie($,ye,ht,"\u22A0","\\boxtimes",!0),ie($,ye,ve,"\u21E2","\\dashrightarrow",!0),ie($,ye,ve,"\u21E0","\\dashleftarrow",!0),ie($,ye,ve,"\u21C7","\\leftleftarrows",!0),ie($,ye,ve,"\u21C6","\\leftrightarrows",!0),ie($,ye,ve,"\u21DA","\\Lleftarrow",!0),ie($,ye,ve,"\u219E","\\twoheadleftarrow",!0),ie($,ye,ve,"\u21A2","\\leftarrowtail",!0),ie($,ye,ve,"\u21AB","\\looparrowleft",!0),ie($,ye,ve,"\u21CB","\\leftrightharpoons",!0),ie($,ye,ve,"\u21B6","\\curvearrowleft",!0),ie($,ye,ve,"\u21BA","\\circlearrowleft",!0),ie($,ye,ve,"\u21B0","\\Lsh",!0),ie($,ye,ve,"\u21C8","\\upuparrows",!0),ie($,ye,ve,"\u21BF","\\upharpoonleft",!0),ie($,ye,ve,"\u21C3","\\downharpoonleft",!0),ie($,ye,ve,"\u22B8","\\multimap",!0),ie($,ye,ve,"\u21AD","\\leftrightsquigarrow",!0),ie($,ye,ve,"\u21C9","\\rightrightarrows",!0),ie($,ye,ve,"\u21C4","\\rightleftarrows",!0),ie($,ye,ve,"\u21A0","\\twoheadrightarrow",!0),ie($,ye,ve,"\u21A3","\\rightarrowtail",!0),ie($,ye,ve,"\u21AC","\\looparrowright",!0),ie($,ye,ve,"\u21B7","\\curvearrowright",!0),ie($,ye,ve,"\u21BB","\\circlearrowright",!0),ie($,ye,ve,"\u21B1","\\Rsh",!0),ie($,ye,ve,"\u21CA","\\downdownarrows",!0),ie($,ye,ve,"\u21BE","\\upharpoonright",!0),ie($,ye,ve,"\u21C2","\\downharpoonright",!0),ie($,ye,ve,"\u21DD","\\rightsquigarrow",!0),ie($,ye,ve,"\u21DD","\\leadsto"),ie($,ye,ve,"\u21DB","\\Rrightarrow",!0),ie($,ye,ve,"\u21BE","\\restriction"),ie($,Qe,ue,"\u2018","`"),ie($,Qe,ue,"$","\\$"),ie(it,Qe,ue,"$","\\$"),ie(it,Qe,ue,"$","\\textdollar"),ie($,Qe,ue,"%","\\%"),ie(it,Qe,ue,"%","\\%"),ie($,Qe,ue,"_","\\_"),ie(it,Qe,ue,"_","\\_"),ie(it,Qe,ue,"_","\\textunderscore"),ie($,Qe,ue,"\u2220","\\angle",!0),ie($,Qe,ue,"\u221E","\\infty",!0),ie($,Qe,ue,"\u2032","\\prime"),ie($,Qe,ue,"\u25B3","\\triangle"),ie($,Qe,ue,"\u0393","\\Gamma",!0),ie($,Qe,ue,"\u0394","\\Delta",!0),ie($,Qe,ue,"\u0398","\\Theta",!0),ie($,Qe,ue,"\u039B","\\Lambda",!0),ie($,Qe,ue,"\u039E","\\Xi",!0),ie($,Qe,ue,"\u03A0","\\Pi",!0),ie($,Qe,ue,"\u03A3","\\Sigma",!0),ie($,Qe,ue,"\u03A5","\\Upsilon",!0),ie($,Qe,ue,"\u03A6","\\Phi",!0),ie($,Qe,ue,"\u03A8","\\Psi",!0),ie($,Qe,ue,"\u03A9","\\Omega",!0),ie($,Qe,ue,"A","\u0391"),ie($,Qe,ue,"B","\u0392"),ie($,Qe,ue,"E","\u0395"),ie($,Qe,ue,"Z","\u0396"),ie($,Qe,ue,"H","\u0397"),ie($,Qe,ue,"I","\u0399"),ie($,Qe,ue,"K","\u039A"),ie($,Qe,ue,"M","\u039C"),ie($,Qe,ue,"N","\u039D"),ie($,Qe,ue,"O","\u039F"),ie($,Qe,ue,"P","\u03A1"),ie($,Qe,ue,"T","\u03A4"),ie($,Qe,ue,"X","\u03A7"),ie($,Qe,ue,"\xAC","\\neg",!0),ie($,Qe,ue,"\xAC","\\lnot"),ie($,Qe,ue,"\u22A4","\\top"),ie($,Qe,ue,"\u22A5","\\bot"),ie($,Qe,ue,"\u2205","\\emptyset"),ie($,ye,ue,"\u2205","\\varnothing"),ie($,Qe,It,"\u03B1","\\alpha",!0),ie($,Qe,It,"\u03B2","\\beta",!0),ie($,Qe,It,"\u03B3","\\gamma",!0),ie($,Qe,It,"\u03B4","\\delta",!0),ie($,Qe,It,"\u03F5","\\epsilon",!0),ie($,Qe,It,"\u03B6","\\zeta",!0),ie($,Qe,It,"\u03B7","\\eta",!0),ie($,Qe,It,"\u03B8","\\theta",!0),ie($,Qe,It,"\u03B9","\\iota",!0),ie($,Qe,It,"\u03BA","\\kappa",!0),ie($,Qe,It,"\u03BB","\\lambda",!0),ie($,Qe,It,"\u03BC","\\mu",!0),ie($,Qe,It,"\u03BD","\\nu",!0),ie($,Qe,It,"\u03BE","\\xi",!0),ie($,Qe,It,"\u03BF","\\omicron",!0),ie($,Qe,It,"\u03C0","\\pi",!0),ie($,Qe,It,"\u03C1","\\rho",!0),ie($,Qe,It,"\u03C3","\\sigma",!0),ie($,Qe,It,"\u03C4","\\tau",!0),ie($,Qe,It,"\u03C5","\\upsilon",!0),ie($,Qe,It,"\u03D5","\\phi",!0),ie($,Qe,It,"\u03C7","\\chi",!0),ie($,Qe,It,"\u03C8","\\psi",!0),ie($,Qe,It,"\u03C9","\\omega",!0),ie($,Qe,It,"\u03B5","\\varepsilon",!0),ie($,Qe,It,"\u03D1","\\vartheta",!0),ie($,Qe,It,"\u03D6","\\varpi",!0),ie($,Qe,It,"\u03F1","\\varrho",!0),ie($,Qe,It,"\u03C2","\\varsigma",!0),ie($,Qe,It,"\u03C6","\\varphi",!0),ie($,Qe,ht,"\u2217","*"),ie($,Qe,ht,"+","+"),ie($,Qe,ht,"\u2212","-"),ie($,Qe,ht,"\u22C5","\\cdot",!0),ie($,Qe,ht,"\u2218","\\circ"),ie($,Qe,ht,"\xF7","\\div",!0),ie($,Qe,ht,"\xB1","\\pm",!0),ie($,Qe,ht,"\xD7","\\times",!0),ie($,Qe,ht,"\u2229","\\cap",!0),ie($,Qe,ht,"\u222A","\\cup",!0),ie($,Qe,ht,"\u2216","\\setminus"),ie($,Qe,ht,"\u2227","\\land"),ie($,Qe,ht,"\u2228","\\lor"),ie($,Qe,ht,"\u2227","\\wedge",!0),ie($,Qe,ht,"\u2228","\\vee",!0),ie($,Qe,ue,"\u221A","\\surd"),ie($,Qe,Bt,"(","("),ie($,Qe,Bt,"[","["),ie($,Qe,Bt,"\u27E8","\\langle",!0),ie($,Qe,Bt,"\u2223","\\lvert"),ie($,Qe,Bt,"\u2225","\\lVert"),ie($,Qe,ct,")",")"),ie($,Qe,ct,"]","]"),ie($,Qe,ct,"?","?"),ie($,Qe,ct,"!","!"),ie($,Qe,ct,"\u27E9","\\rangle",!0),ie($,Qe,ct,"\u2223","\\rvert"),ie($,Qe,ct,"\u2225","\\rVert"),ie($,Qe,ve,"=","="),ie($,Qe,ve,"<","<"),ie($,Qe,ve,">",">"),ie($,Qe,ve,":",":"),ie($,Qe,ve,"\u2248","\\approx",!0),ie($,Qe,ve,"\u2245","\\cong",!0),ie($,Qe,ve,"\u2265","\\ge"),ie($,Qe,ve,"\u2265","\\geq",!0),ie($,Qe,ve,"\u2190","\\gets"),ie($,Qe,ve,">","\\gt"),ie($,Qe,ve,"\u2208","\\in",!0),ie($,Qe,ve,"\uE020","\\@not"),ie($,Qe,ve,"\u2282","\\subset",!0),ie($,Qe,ve,"\u2283","\\supset",!0),ie($,Qe,ve,"\u2286","\\subseteq",!0),ie($,Qe,ve,"\u2287","\\supseteq",!0),ie($,ye,ve,"\u2288","\\nsubseteq",!0),ie($,ye,ve,"\u2289","\\nsupseteq",!0),ie($,Qe,ve,"\u22A8","\\models"),ie($,Qe,ve,"\u2190","\\leftarrow",!0),ie($,Qe,ve,"\u2264","\\le"),ie($,Qe,ve,"\u2264","\\leq",!0),ie($,Qe,ve,"<","\\lt"),ie($,Qe,ve,"\u2192","\\rightarrow",!0),ie($,Qe,ve,"\u2192","\\to"),ie($,ye,ve,"\u2271","\\ngeq",!0),ie($,ye,ve,"\u2270","\\nleq",!0),ie($,Qe,fe,"\xA0","\\ "),ie($,Qe,fe,"\xA0","~"),ie($,Qe,fe,"\xA0","\\space"),ie($,Qe,fe,"\xA0","\\nobreakspace"),ie(it,Qe,fe,"\xA0","\\ "),ie(it,Qe,fe,"\xA0","~"),ie(it,Qe,fe,"\xA0","\\space"),ie(it,Qe,fe,"\xA0","\\nobreakspace"),ie($,Qe,fe,null,"\\nobreak"),ie($,Qe,fe,null,"\\allowbreak"),ie($,Qe,Ae,",",","),ie($,Qe,Ae,";",";"),ie($,ye,ht,"\u22BC","\\barwedge",!0),ie($,ye,ht,"\u22BB","\\veebar",!0),ie($,Qe,ht,"\u2299","\\odot",!0),ie($,Qe,ht,"\u2295","\\oplus",!0),ie($,Qe,ht,"\u2297","\\otimes",!0),ie($,Qe,ue,"\u2202","\\partial",!0),ie($,Qe,ht,"\u2298","\\oslash",!0),ie($,ye,ht,"\u229A","\\circledcirc",!0),ie($,ye,ht,"\u22A1","\\boxdot",!0),ie($,Qe,ht,"\u25B3","\\bigtriangleup"),ie($,Qe,ht,"\u25BD","\\bigtriangledown"),ie($,Qe,ht,"\u2020","\\dagger"),ie($,Qe,ht,"\u22C4","\\diamond"),ie($,Qe,ht,"\u22C6","\\star"),ie($,Qe,ht,"\u25C3","\\triangleleft"),ie($,Qe,ht,"\u25B9","\\triangleright"),ie($,Qe,Bt,"{","\\{"),ie(it,Qe,ue,"{","\\{"),ie(it,Qe,ue,"{","\\textbraceleft"),ie($,Qe,ct,"}","\\}"),ie(it,Qe,ue,"}","\\}"),ie(it,Qe,ue,"}","\\textbraceright"),ie($,Qe,Bt,"{","\\lbrace"),ie($,Qe,ct,"}","\\rbrace"),ie($,Qe,Bt,"[","\\lbrack"),ie(it,Qe,ue,"[","\\lbrack"),ie($,Qe,ct,"]","\\rbrack"),ie(it,Qe,ue,"]","\\rbrack"),ie($,Qe,Bt,"(","\\lparen"),ie($,Qe,ct,")","\\rparen"),ie(it,Qe,ue,"<","\\textless"),ie(it,Qe,ue,">","\\textgreater"),ie($,Qe,Bt,"\u230A","\\lfloor",!0),ie($,Qe,ct,"\u230B","\\rfloor",!0),ie($,Qe,Bt,"\u2308","\\lceil",!0),ie($,Qe,ct,"\u2309","\\rceil",!0),ie($,Qe,ue,"\\","\\backslash"),ie($,Qe,ue,"\u2223","|"),ie($,Qe,ue,"\u2223","\\vert"),ie(it,Qe,ue,"|","\\textbar"),ie($,Qe,ue,"\u2225","\\|"),ie($,Qe,ue,"\u2225","\\Vert"),ie(it,Qe,ue,"\u2225","\\textbardbl"),ie(it,Qe,ue,"~","\\textasciitilde"),ie(it,Qe,ue,"\\","\\textbackslash"),ie(it,Qe,ue,"^","\\textasciicircum"),ie($,Qe,ve,"\u2191","\\uparrow",!0),ie($,Qe,ve,"\u21D1","\\Uparrow",!0),ie($,Qe,ve,"\u2193","\\downarrow",!0),ie($,Qe,ve,"\u21D3","\\Downarrow",!0),ie($,Qe,ve,"\u2195","\\updownarrow",!0),ie($,Qe,ve,"\u21D5","\\Updownarrow",!0),ie($,Qe,or,"\u2210","\\coprod"),ie($,Qe,or,"\u22C1","\\bigvee"),ie($,Qe,or,"\u22C0","\\bigwedge"),ie($,Qe,or,"\u2A04","\\biguplus"),ie($,Qe,or,"\u22C2","\\bigcap"),ie($,Qe,or,"\u22C3","\\bigcup"),ie($,Qe,or,"\u222B","\\int"),ie($,Qe,or,"\u222B","\\intop"),ie($,Qe,or,"\u222C","\\iint"),ie($,Qe,or,"\u222D","\\iiint"),ie($,Qe,or,"\u220F","\\prod"),ie($,Qe,or,"\u2211","\\sum"),ie($,Qe,or,"\u2A02","\\bigotimes"),ie($,Qe,or,"\u2A01","\\bigoplus"),ie($,Qe,or,"\u2A00","\\bigodot"),ie($,Qe,or,"\u222E","\\oint"),ie($,Qe,or,"\u222F","\\oiint"),ie($,Qe,or,"\u2230","\\oiiint"),ie($,Qe,or,"\u2A06","\\bigsqcup"),ie($,Qe,or,"\u222B","\\smallint"),ie(it,Qe,yt,"\u2026","\\textellipsis"),ie($,Qe,yt,"\u2026","\\mathellipsis"),ie(it,Qe,yt,"\u2026","\\ldots",!0),ie($,Qe,yt,"\u2026","\\ldots",!0),ie($,Qe,yt,"\u22EF","\\@cdots",!0),ie($,Qe,yt,"\u22F1","\\ddots",!0),ie($,Qe,ue,"\u22EE","\\varvdots"),ie($,Qe,Zt,"\u02CA","\\acute"),ie($,Qe,Zt,"\u02CB","\\grave"),ie($,Qe,Zt,"\xA8","\\ddot"),ie($,Qe,Zt,"~","\\tilde"),ie($,Qe,Zt,"\u02C9","\\bar"),ie($,Qe,Zt,"\u02D8","\\breve"),ie($,Qe,Zt,"\u02C7","\\check"),ie($,Qe,Zt,"^","\\hat"),ie($,Qe,Zt,"\u20D7","\\vec"),ie($,Qe,Zt,"\u02D9","\\dot"),ie($,Qe,Zt,"\u02DA","\\mathring"),ie($,Qe,It,"\u0131","\\imath",!0),ie($,Qe,It,"\u0237","\\jmath",!0),ie(it,Qe,ue,"\u0131","\\i",!0),ie(it,Qe,ue,"\u0237","\\j",!0),ie(it,Qe,ue,"\xDF","\\ss",!0),ie(it,Qe,ue,"\xE6","\\ae",!0),ie(it,Qe,ue,"\xE6","\\ae",!0),ie(it,Qe,ue,"\u0153","\\oe",!0),ie(it,Qe,ue,"\xF8","\\o",!0),ie(it,Qe,ue,"\xC6","\\AE",!0),ie(it,Qe,ue,"\u0152","\\OE",!0),ie(it,Qe,ue,"\xD8","\\O",!0),ie(it,Qe,Zt,"\u02CA","\\'"),ie(it,Qe,Zt,"\u02CB","\\`"),ie(it,Qe,Zt,"\u02C6","\\^"),ie(it,Qe,Zt,"\u02DC","\\~"),ie(it,Qe,Zt,"\u02C9","\\="),ie(it,Qe,Zt,"\u02D8","\\u"),ie(it,Qe,Zt,"\u02D9","\\."),ie(it,Qe,Zt,"\u02DA","\\r"),ie(it,Qe,Zt,"\u02C7","\\v"),ie(it,Qe,Zt,"\xA8",'\\"'),ie(it,Qe,Zt,"\u02DD","\\H"),ie(it,Qe,Zt,"\u25EF","\\textcircled");var Ne={"--":!0,"---":!0,"``":!0,"''":!0};ie(it,Qe,ue,"\u2013","--"),ie(it,Qe,ue,"\u2013","\\textendash"),ie(it,Qe,ue,"\u2014","---"),ie(it,Qe,ue,"\u2014","\\textemdash"),ie(it,Qe,ue,"\u2018","`"),ie(it,Qe,ue,"\u2018","\\textquoteleft"),ie(it,Qe,ue,"\u2019","'"),ie(it,Qe,ue,"\u2019","\\textquoteright"),ie(it,Qe,ue,"\u201C","``"),ie(it,Qe,ue,"\u201C","\\textquotedblleft"),ie(it,Qe,ue,"\u201D","''"),ie(it,Qe,ue,"\u201D","\\textquotedblright"),ie($,Qe,ue,"\xB0","\\degree",!0),ie(it,Qe,ue,"\xB0","\\degree"),ie(it,Qe,ue,"\xB0","\\textdegree",!0),ie($,Qe,It,"\xA3","\\pounds"),ie($,Qe,It,"\xA3","\\mathsterling",!0),ie(it,Qe,It,"\xA3","\\pounds"),ie(it,Qe,It,"\xA3","\\textsterling",!0),ie($,ye,ue,"\u2720","\\maltese"),ie(it,ye,ue,"\u2720","\\maltese"),ie(it,Qe,fe,"\xA0","\\ "),ie(it,Qe,fe,"\xA0"," "),ie(it,Qe,fe,"\xA0","~");for(var je='0123456789/@."',Ke=0;Ke<je.length;Ke++){var Ye=je.charAt(Ke);ie($,Qe,ue,Ye,Ye)}for(var Pe='0123456789!@*()-=+[]<>|";:?/.,',nt=0;nt<Pe.length;nt++){var At=Pe.charAt(nt);ie(it,Qe,ue,At,At)}for(var Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ne=0;ne<Ot.length;ne++){var he=Ot.charAt(ne);ie($,Qe,It,he,he),ie(it,Qe,ue,he,he)}ie($,ye,ue,"C","\u2102"),ie(it,ye,ue,"C","\u2102"),ie($,ye,ue,"H","\u210D"),ie(it,ye,ue,"H","\u210D"),ie($,ye,ue,"N","\u2115"),ie(it,ye,ue,"N","\u2115"),ie($,ye,ue,"P","\u2119"),ie(it,ye,ue,"P","\u2119"),ie($,ye,ue,"Q","\u211A"),ie(it,ye,ue,"Q","\u211A"),ie($,ye,ue,"R","\u211D"),ie(it,ye,ue,"R","\u211D"),ie($,ye,ue,"Z","\u2124"),ie(it,ye,ue,"Z","\u2124"),ie($,Qe,It,"h","\u210E"),ie(it,Qe,It,"h","\u210E");for(var Q="",te=0;te<Ot.length;te++){var be=Ot.charAt(te);Q=String.fromCharCode(55349,56320+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56372+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56424+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56580+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56736+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56788+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56840+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56944+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),te<26&&(Q=String.fromCharCode(55349,56632+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q),Q=String.fromCharCode(55349,56476+te),ie($,Qe,It,be,Q),ie(it,Qe,ue,be,Q))}Q=String.fromCharCode(55349,56668),ie($,Qe,It,"k",Q),ie(it,Qe,ue,"k",Q);for(var Ie=0;Ie<10;Ie++){var Re=Ie.toString();Q=String.fromCharCode(55349,57294+Ie),ie($,Qe,It,Re,Q),ie(it,Qe,ue,Re,Q),Q=String.fromCharCode(55349,57314+Ie),ie($,Qe,It,Re,Q),ie(it,Qe,ue,Re,Q),Q=String.fromCharCode(55349,57324+Ie),ie($,Qe,It,Re,Q),ie(it,Qe,ue,Re,Q),Q=String.fromCharCode(55349,57334+Ie),ie($,Qe,It,Re,Q),ie(it,Qe,ue,Re,Q)}for(var $e="\xC7\xD0\xDE\xE7\xFE",gt=0;gt<$e.length;gt++){var Wt=$e.charAt(gt);ie($,Qe,It,Wt,Wt),ie(it,Qe,ue,Wt,Wt)}ie(it,Qe,ue,"\xF0","\xF0"),ie(it,Qe,ue,"\u2013","\u2013"),ie(it,Qe,ue,"\u2014","\u2014"),ie(it,Qe,ue,"\u2018","\u2018"),ie(it,Qe,ue,"\u2019","\u2019"),ie(it,Qe,ue,"\u201C","\u201C"),ie(it,Qe,ue,"\u201D","\u201D");var $t=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Dt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Kt=function(oe,xe){var Te=oe.charCodeAt(0),We=oe.charCodeAt(1),Et=(Te-55296)*1024+(We-56320)+65536,Ut=xe==="math"?0:1;if(119808<=Et&&Et<120484){var hr=Math.floor((Et-119808)/26);return[$t[hr][2],$t[hr][Ut]]}else if(120782<=Et&&Et<=120831){var gr=Math.floor((Et-120782)/10);return[Dt[gr][2],Dt[gr][Ut]]}else{if(Et===120485||Et===120486)return[$t[0][2],$t[0][Ut]];if(120486<Et&&Et<120782)return["",""];throw new o("Unsupported character: "+oe)}},Gt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Qt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Mt=function(oe,xe){return xe.size<2?oe:Gt[oe-1][xe.size-1]},dr=function(){function Pt(xe){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=xe.style,this.color=xe.color,this.size=xe.size||Pt.BASESIZE,this.textSize=xe.textSize||this.size,this.phantom=!!xe.phantom,this.font=xe.font||"",this.fontFamily=xe.fontFamily||"",this.fontWeight=xe.fontWeight||"",this.fontShape=xe.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=xe.maxSize,this.minRuleThickness=xe.minRuleThickness,this._fontMetrics=void 0}var oe=Pt.prototype;return oe.extend=function(Te){var We={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Et in Te)Te.hasOwnProperty(Et)&&(We[Et]=Te[Et]);return new Pt(We)},oe.havingStyle=function(Te){return this.style===Te?this:this.extend({style:Te,size:Mt(this.textSize,Te)})},oe.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},oe.havingSize=function(Te){return this.size===Te&&this.textSize===Te?this:this.extend({style:this.style.text(),size:Te,textSize:Te,sizeMultiplier:Qt[Te-1]})},oe.havingBaseStyle=function(Te){Te=Te||this.style.text();var We=Mt(Pt.BASESIZE,Te);return this.size===We&&this.textSize===Pt.BASESIZE&&this.style===Te?this:this.extend({style:Te,size:We})},oe.havingBaseSizing=function(){var Te;switch(this.style.id){case 4:case 5:Te=3;break;case 6:case 7:Te=1;break;default:Te=6}return this.extend({style:this.style.text(),size:Te})},oe.withColor=function(Te){return this.extend({color:Te})},oe.withPhantom=function(){return this.extend({phantom:!0})},oe.withFont=function(Te){return this.extend({font:Te})},oe.withTextFontFamily=function(Te){return this.extend({fontFamily:Te,font:""})},oe.withTextFontWeight=function(Te){return this.extend({fontWeight:Te,font:""})},oe.withTextFontShape=function(Te){return this.extend({fontShape:Te,font:""})},oe.sizingClasses=function(Te){return Te.size!==this.size?["sizing","reset-size"+Te.size,"size"+this.size]:[]},oe.baseSizingClasses=function(){return this.size!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]},oe.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ge(this.size)),this._fontMetrics},oe.getColor=function(){return this.phantom?"transparent":this.color},Pt}();dr.BASESIZE=6;var er=dr,st={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},xt={ex:!0,em:!0,mu:!0},ut=function(oe){return typeof oe!="string"&&(oe=oe.unit),oe in st||oe in xt||oe==="ex"},pt=function(oe,xe){var Te;if(oe.unit in st)Te=st[oe.unit]/xe.fontMetrics().ptPerEm/xe.sizeMultiplier;else if(oe.unit==="mu")Te=xe.fontMetrics().cssEmPerMu;else{var We;if(xe.style.isTight()?We=xe.havingStyle(xe.style.text()):We=xe,oe.unit==="ex")Te=We.fontMetrics().xHeight;else if(oe.unit==="em")Te=We.fontMetrics().quad;else throw new o("Invalid unit: '"+oe.unit+"'");We!==xe&&(Te*=We.sizeMultiplier/xe.sizeMultiplier)}return Math.min(oe.number*Te,xe.maxSize)},_t=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Tt=function(oe,xe,Te){return Ve[Te][oe]&&Ve[Te][oe].replace&&(oe=Ve[Te][oe].replace),{value:oe,metrics:He(oe,xe,Te)}},ft=function(oe,xe,Te,We,Et){var Ut=Tt(oe,xe,Te),hr=Ut.metrics;oe=Ut.value;var gr;if(hr){var Rr=hr.italic;(Te==="text"||We&&We.font==="mathit")&&(Rr=0),gr=new ze(oe,hr.height,hr.depth,Rr,hr.skew,hr.width,Et)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+oe+"' in style '"+xe+"' and mode '"+Te+"'")),gr=new ze(oe,0,0,0,0,0,Et);if(We){gr.maxFontSize=We.sizeMultiplier,We.style.isTight()&&gr.classes.push("mtight");var $r=We.getColor();$r&&(gr.style.color=$r)}return gr},Ht=function(oe,xe,Te,We){return We===void 0&&(We=[]),Te.font==="boldsymbol"&&Tt(oe,"Main-Bold",xe).metrics?ft(oe,"Main-Bold",xe,Te,We.concat(["mathbf"])):oe==="\\"||Ve[xe][oe].font==="main"?ft(oe,"Main-Regular",xe,Te,We):ft(oe,"AMS-Regular",xe,Te,We.concat(["amsrm"]))},kt=function(oe,xe,Te,We){return/[0-9]/.test(oe.charAt(0))||w.contains(_t,oe)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ir=function(oe,xe,Te,We){return w.contains(_t,oe)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(oe.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xt=function(oe,xe,Te,We){return Tt(oe,"Math-BoldItalic",xe).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},mr=function(oe,xe,Te){var We=oe.mode,Et=oe.text,Ut=["mord"],hr=We==="math"||We==="text"&&xe.font,gr=hr?xe.font:xe.fontFamily;if(Et.charCodeAt(0)===55349){var Rr=Kt(Et,We),$r=Rr[0],ln=Rr[1];return ft(Et,$r,We,xe,Ut.concat(ln))}else if(gr){var yn,Cn;if(gr==="boldsymbol"||gr==="mathnormal"){var Qn=gr==="boldsymbol"?Xt(Et,We,xe,Ut):ir(Et,We,xe,Ut);yn=Qn.fontName,Cn=[Qn.fontClass]}else w.contains(_t,Et)?(yn="Main-Italic",Cn=["mathit"]):hr?(yn=Yr[gr].fontName,Cn=[gr]):(yn=xr(gr,xe.fontWeight,xe.fontShape),Cn=[gr,xe.fontWeight,xe.fontShape]);if(Tt(Et,yn,We).metrics)return ft(Et,yn,We,xe,Ut.concat(Cn));if(Ne.hasOwnProperty(Et)&&yn.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<Et.length;wi++)ti.push(ft(Et[wi],yn,We,xe,Ut.concat(Cn)));return Ir(ti)}}if(Te==="mathord"){var ea=kt(Et,We,xe,Ut);return ft(Et,ea.fontName,We,xe,Ut.concat([ea.fontClass]))}else if(Te==="textord"){var ji=Ve[We][Et]&&Ve[We][Et].font;if(ji==="ams"){var Sa=xr("amsrm",xe.fontWeight,xe.fontShape);return ft(Et,Sa,We,xe,Ut.concat("amsrm",xe.fontWeight,xe.fontShape))}else if(ji==="main"||!ji){var lo=xr("textrm",xe.fontWeight,xe.fontShape);return ft(Et,lo,We,xe,Ut.concat(xe.fontWeight,xe.fontShape))}else{var Wa=xr(ji,xe.fontWeight,xe.fontShape);return ft(Et,Wa,We,xe,Ut.concat(Wa,xe.fontWeight,xe.fontShape))}}else throw new Error("unexpected type: "+Te+" in makeOrd")},Ar=function(oe,xe){if(Se(oe.classes)!==Se(xe.classes)||oe.skew!==xe.skew||oe.maxFontSize!==xe.maxFontSize)return!1;for(var Te in oe.style)if(oe.style.hasOwnProperty(Te)&&oe.style[Te]!==xe.style[Te])return!1;for(var We in xe.style)if(xe.style.hasOwnProperty(We)&&oe.style[We]!==xe.style[We])return!1;return!0},Nr=function(oe){for(var xe=0;xe<oe.length-1;xe++){var Te=oe[xe],We=oe[xe+1];Te instanceof ze&&We instanceof ze&&Ar(Te,We)&&(Te.text+=We.text,Te.height=Math.max(Te.height,We.height),Te.depth=Math.max(Te.depth,We.depth),Te.italic=We.italic,oe.splice(xe+1,1),xe--)}return oe},kr=function(oe){for(var xe=0,Te=0,We=0,Et=0;Et<oe.children.length;Et++){var Ut=oe.children[Et];Ut.height>xe&&(xe=Ut.height),Ut.depth>Te&&(Te=Ut.depth),Ut.maxFontSize>We&&(We=Ut.maxFontSize)}oe.height=xe,oe.depth=Te,oe.maxFontSize=We},tn=function(oe,xe,Te,We){var Et=new ee(oe,xe,Te,We);return kr(Et),Et},qr=function(oe,xe,Te,We){return new ee(oe,xe,Te,We)},Lr=function(oe,xe,Te){var We=tn([oe],[],xe);return We.height=Math.max(Te||xe.fontMetrics().defaultRuleThickness,xe.minRuleThickness),We.style.borderBottomWidth=We.height+"em",We.maxFontSize=1,We},Qr=function(oe,xe,Te,We){var Et=new se(oe,xe,Te,We);return kr(Et),Et},Ir=function(oe){var xe=new Ee(oe);return kr(xe),xe},ur=function(oe,xe){return oe instanceof Ee?tn([],[oe],xe):oe},pr=function(oe){if(oe.positionType==="individualShift"){for(var xe=oe.children,Te=[xe[0]],We=-xe[0].shift-xe[0].elem.depth,Et=We,Ut=1;Ut<xe.length;Ut++){var hr=-xe[Ut].shift-Et-xe[Ut].elem.depth,gr=hr-(xe[Ut-1].elem.height+xe[Ut-1].elem.depth);Et=Et+hr,Te.push({type:"kern",size:gr}),Te.push(xe[Ut])}return{children:Te,depth:We}}var Rr;if(oe.positionType==="top"){for(var $r=oe.positionData,ln=0;ln<oe.children.length;ln++){var yn=oe.children[ln];$r-=yn.type==="kern"?yn.size:yn.elem.height+yn.elem.depth}Rr=$r}else if(oe.positionType==="bottom")Rr=-oe.positionData;else{var Cn=oe.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(oe.positionType==="shift")Rr=-Cn.elem.depth-oe.positionData;else if(oe.positionType==="firstBaseline")Rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+oe.positionType+".")}return{children:oe.children,depth:Rr}},cr=function(oe,xe){for(var Te=pr(oe),We=Te.children,Et=Te.depth,Ut=0,hr=0;hr<We.length;hr++){var gr=We[hr];if(gr.type==="elem"){var Rr=gr.elem;Ut=Math.max(Ut,Rr.maxFontSize,Rr.height)}}Ut+=2;var $r=tn(["pstrut"],[]);$r.style.height=Ut+"em";for(var ln=[],yn=Et,Cn=Et,Qn=Et,ti=0;ti<We.length;ti++){var wi=We[ti];if(wi.type==="kern")Qn+=wi.size;else{var ea=wi.elem,ji=wi.wrapperClasses||[],Sa=wi.wrapperStyle||{},lo=tn(ji,[$r,ea],void 0,Sa);lo.style.top=-Ut-Qn-ea.depth+"em",wi.marginLeft&&(lo.style.marginLeft=wi.marginLeft),wi.marginRight&&(lo.style.marginRight=wi.marginRight),ln.push(lo),Qn+=ea.height+ea.depth}yn=Math.min(yn,Qn),Cn=Math.max(Cn,Qn)}var Wa=tn(["vlist"],ln);Wa.style.height=Cn+"em";var yo;if(yn<0){var Ao=tn([],[]),$a=tn(["vlist"],[Ao]);$a.style.height=-yn+"em";var ko=tn(["vlist-s"],[new ze("\u200B")]);yo=[tn(["vlist-r"],[Wa,ko]),tn(["vlist-r"],[$a])]}else yo=[tn(["vlist-r"],[Wa])];var No=tn(["vlist-t"],yo);return yo.length===2&&No.classes.push("vlist-t2"),No.height=Cn,No.depth=-yn,No},fr=function(oe,xe){var Te=tn(["mspace"],[],xe),We=pt(oe,xe);return Te.style.marginRight=We+"em",Te},xr=function(oe,xe,Te){var We="";switch(oe){case"amsrm":We="AMS";break;case"textrm":We="Main";break;case"textsf":We="SansSerif";break;case"texttt":We="Typewriter";break;default:We=oe}var Et;return xe==="textbf"&&Te==="textit"?Et="BoldItalic":xe==="textbf"?Et="Bold":xe==="textit"?Et="Italic":Et="Regular",We+"-"+Et},Yr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},un={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Nn=function(oe,xe){var Te=un[oe],We=Te[0],Et=Te[1],Ut=Te[2],hr=new ae(We),gr=new Oe([hr],{width:Et+"em",height:Ut+"em",style:"width:"+Et+"em",viewBox:"0 0 "+1e3*Et+" "+1e3*Ut,preserveAspectRatio:"xMinYMin"}),Rr=qr(["overlay"],[gr],xe);return Rr.height=Ut,Rr.style.height=Ut+"em",Rr.style.width=Et+"em",Rr},jr={fontMap:Yr,makeSymbol:ft,mathsym:Ht,makeSpan:tn,makeSvgSpan:qr,makeLineSpan:Lr,makeAnchor:Qr,makeFragment:Ir,wrapFragment:ur,makeVList:cr,makeOrd:mr,makeGlue:fr,staticSvg:Nn,svgData:un,tryCombineChars:Nr};function Tn(Pt,oe){var xe=gn(Pt,oe);if(!xe)throw new Error("Expected node of type "+oe+", but got "+(Pt?"node of type "+Pt.type:String(Pt)));return xe}function gn(Pt,oe){return Pt&&Pt.type===oe?Pt:null}function Pn(Pt,oe){var xe=zn(Pt,oe);if(!xe)throw new Error('Expected node of type "atom" and family "'+oe+'", but got '+(Pt?Pt.type==="atom"?"atom of family "+Pt.family:"node of type "+Pt.type:String(Pt)));return xe}function zn(Pt,oe){return Pt&&Pt.type==="atom"&&Pt.family===oe?Pt:null}function qn(Pt){var oe=Yn(Pt);if(!oe)throw new Error("Expected node of symbol group type, but got "+(Pt?"node of type "+Pt.type:String(Pt)));return oe}function Yn(Pt){return Pt&&(Pt.type==="atom"||rt.hasOwnProperty(Pt.type))?Pt:null}var Vn={number:3,unit:"mu"},An={number:4,unit:"mu"},on={number:5,unit:"mu"},ia={mord:{mop:Vn,mbin:An,mrel:on,minner:Vn},mop:{mord:Vn,mop:Vn,mrel:on,minner:Vn},mbin:{mord:An,mop:An,mopen:An,minner:An},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Vn,mbin:An,mrel:on,minner:Vn},mpunct:{mord:Vn,mop:Vn,mrel:on,mopen:Vn,mclose:Vn,mpunct:Vn,minner:Vn},minner:{mord:Vn,mop:Vn,mbin:An,mrel:on,mopen:Vn,mpunct:Vn,minner:Vn}},xa={mord:{mop:Vn},mop:{mord:Vn,mop:Vn},mbin:{},mrel:{},mopen:{},mclose:{mop:Vn},mpunct:{},minner:{mop:Vn}},ta={},Ii={},Ci={};function Gn(Pt){for(var oe=Pt.type,xe=Pt.names,Te=Pt.props,We=Pt.handler,Et=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:oe,numArgs:Te.numArgs,argTypes:Te.argTypes,greediness:Te.greediness===void 0?1:Te.greediness,allowedInText:!!Te.allowedInText,allowedInMath:Te.allowedInMath===void 0?!0:Te.allowedInMath,numOptionalArgs:Te.numOptionalArgs||0,infix:!!Te.infix,handler:We},gr=0;gr<xe.length;++gr)ta[xe[gr]]=hr;oe&&(Et&&(Ii[oe]=Et),Ut&&(Ci[oe]=Ut))}function Oa(Pt){var oe=Pt.type,xe=Pt.htmlBuilder,Te=Pt.mathmlBuilder;Gn({type:oe,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:xe,mathmlBuilder:Te})}var mn=function(oe){var xe=gn(oe,"ordgroup");return xe?xe.body:[oe]},On=jr.makeSpan,Ln=["leftmost","mbin","mopen","mrel","mop","mpunct"],In=["rightmost","mrel","mclose","mpunct"],jn={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT},ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(oe,xe,Te,We){We===void 0&&(We=[null,null]);for(var Et=[],Ut=0;Ut<oe.length;Ut++){var hr=Wi(oe[Ut],xe);if(hr instanceof Ee){var gr=hr.children;Et.push.apply(Et,gr)}else Et.push(hr)}if(!Te)return Et;var Rr=xe;if(oe.length===1){var $r=gn(oe[0],"sizing")||gn(oe[0],"styling");$r&&($r.type==="sizing"?Rr=xe.havingSize($r.size):$r.type==="styling"&&(Rr=xe.havingStyle(jn[$r.style])))}var ln=On([We[0]||"leftmost"],[],xe),yn=On([We[1]||"rightmost"],[],xe);return Na(Et,function(Cn,Qn){var ti=Qn.classes[0],wi=Cn.classes[0];ti==="mbin"&&w.contains(In,wi)?Qn.classes[0]="mord":wi==="mbin"&&w.contains(Ln,ti)&&(Cn.classes[0]="mord")},{node:ln},yn),Na(Et,function(Cn,Qn){var ti=Ba(Qn),wi=Ba(Cn),ea=ti&&wi?Cn.hasClass("mtight")?xa[ti][wi]:ia[ti][wi]:null;if(ea)return jr.makeGlue(ea,Rr)},{node:ln},yn),Et},Na=function Pt(oe,xe,Te,We){We&&oe.push(We);for(var Et=0;Et<oe.length;Et++){var Ut=oe[Et],hr=Qi(Ut);if(hr){Pt(hr.children,xe,Te);continue}if(Ut.classes[0]==="mspace")continue;var gr=xe(Ut,Te.node);gr&&(Te.insertAfter?Te.insertAfter(gr):(oe.unshift(gr),Et++)),Te.node=Ut,Te.insertAfter=function(Rr){return function($r){oe.splice(Rr+1,0,$r),Et++}}(Et)}We&&oe.pop()},Qi=function(oe){return oe instanceof Ee||oe instanceof se?oe:null},ma=function Pt(oe,xe){var Te=Qi(oe);if(Te){var We=Te.children;if(We.length){if(xe==="right")return Pt(We[We.length-1],"right");if(xe==="left")return Pt(We[0],"left")}}return oe},Ba=function(oe,xe){return oe?(xe&&(oe=ma(oe,xe)),ni[oe.classes[0]]||null):null},Qa=function(oe,xe){var Te=["nulldelimiter"].concat(oe.baseSizingClasses());return On(xe.concat(Te))},Wi=function(oe,xe,Te){if(!oe)return On();if(Ii[oe.type]){var We=Ii[oe.type](oe,xe);if(Te&&xe.size!==Te.size){We=On(xe.sizingClasses(Te),[We],xe);var Et=xe.sizeMultiplier/Te.sizeMultiplier;We.height*=Et,We.depth*=Et}return We}else throw new o("Got group of unknown type: '"+oe.type+"'")};function Co(Pt,oe){var xe=On(["base"],Pt,oe),Te=On(["strut"]);return Te.style.height=xe.height+xe.depth+"em",Te.style.verticalAlign=-xe.depth+"em",xe.children.unshift(Te),xe}function aa(Pt,oe){var xe=null;Pt.length===1&&Pt[0].type==="tag"&&(xe=Pt[0].tag,Pt=Pt[0].body);for(var Te=di(Pt,oe,!0),We=[],Et=[],Ut=0;Ut<Te.length;Ut++)if(Et.push(Te[Ut]),Te[Ut].hasClass("mbin")||Te[Ut].hasClass("mrel")||Te[Ut].hasClass("allowbreak")){for(var hr=!1;Ut<Te.length-1&&Te[Ut+1].hasClass("mspace")&&!Te[Ut+1].hasClass("newline");)Ut++,Et.push(Te[Ut]),Te[Ut].hasClass("nobreak")&&(hr=!0);hr||(We.push(Co(Et,oe)),Et=[])}else Te[Ut].hasClass("newline")&&(Et.pop(),Et.length>0&&(We.push(Co(Et,oe)),Et=[]),We.push(Te[Ut]));Et.length>0&&We.push(Co(Et,oe));var gr;xe&&(gr=Co(di(xe,oe,!0)),gr.classes=["tag"],We.push(gr));var Rr=On(["katex-html"],We);if(Rr.setAttribute("aria-hidden","true"),gr){var $r=gr.children[0];$r.style.height=Rr.height+Rr.depth+"em",$r.style.verticalAlign=-Rr.depth+"em"}return Rr}function Hi(Pt){return new Ee(Pt)}var ga=function(){function Pt(xe,Te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=xe,this.attributes={},this.children=Te||[]}var oe=Pt.prototype;return oe.setAttribute=function(Te,We){this.attributes[Te]=We},oe.getAttribute=function(Te){return this.attributes[Te]},oe.toNode=function(){var Te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&Te.setAttribute(We,this.attributes[We]);for(var Et=0;Et<this.children.length;Et++)Te.appendChild(this.children[Et].toNode());return Te},oe.toMarkup=function(){var Te="<"+this.type;for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Te+=" "+We+'="',Te+=w.escape(this.attributes[We]),Te+='"');Te+=">";for(var Et=0;Et<this.children.length;Et++)Te+=this.children[Et].toMarkup();return Te+="</"+this.type+">",Te},oe.toText=function(){return this.children.map(function(Te){return Te.toText()}).join("")},Pt}(),ha=function(){function Pt(xe){this.text=void 0,this.text=xe}var oe=Pt.prototype;return oe.toNode=function(){return document.createTextNode(this.text)},oe.toMarkup=function(){return w.escape(this.toText())},oe.toText=function(){return this.text},Pt}(),mo=function(){function Pt(xe){this.width=void 0,this.character=void 0,this.width=xe,xe>=.05555&&xe<=.05556?this.character="\u200A":xe>=.1666&&xe<=.1667?this.character="\u2009":xe>=.2222&&xe<=.2223?this.character="\u2005":xe>=.2777&&xe<=.2778?this.character="\u2005\u200A":xe>=-.05556&&xe<=-.05555?this.character="\u200A\u2063":xe>=-.1667&&xe<=-.1666?this.character="\u2009\u2063":xe>=-.2223&&xe<=-.2222?this.character="\u205F\u2063":xe>=-.2778&&xe<=-.2777?this.character="\u2005\u2063":this.character=null}var oe=Pt.prototype;return oe.toNode=function(){if(this.character)return document.createTextNode(this.character);var Te=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Te.setAttribute("width",this.width+"em"),Te},oe.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},oe.toText=function(){return this.character?this.character:" "},Pt}(),Fn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},$i=function(oe,xe,Te){return Ve[xe][oe]&&Ve[xe][oe].replace&&oe.charCodeAt(0)!==55349&&!(Ne.hasOwnProperty(oe)&&Te&&(Te.fontFamily&&Te.fontFamily.substr(4,2)==="tt"||Te.font&&Te.font.substr(4,2)==="tt"))&&(oe=Ve[xe][oe].replace),new Fn.TextNode(oe)},eo=function(oe){return oe.length===1?oe[0]:new Fn.MathNode("mrow",oe)},To=function(oe,xe){if(xe.fontFamily==="texttt")return"monospace";if(xe.fontFamily==="textsf")return xe.fontShape==="textit"&&xe.fontWeight==="textbf"?"sans-serif-bold-italic":xe.fontShape==="textit"?"sans-serif-italic":xe.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(xe.fontShape==="textit"&&xe.fontWeight==="textbf")return"bold-italic";if(xe.fontShape==="textit")return"italic";if(xe.fontWeight==="textbf")return"bold";var Te=xe.font;if(!Te||Te==="mathnormal")return null;var We=oe.mode;if(Te==="mathit")return"italic";if(Te==="boldsymbol")return"bold-italic";if(Te==="mathbf")return"bold";if(Te==="mathbb")return"double-struck";if(Te==="mathfrak")return"fraktur";if(Te==="mathscr"||Te==="mathcal")return"script";if(Te==="mathsf")return"sans-serif";if(Te==="mathtt")return"monospace";var Et=oe.text;if(w.contains(["\\imath","\\jmath"],Et))return null;Ve[We][Et]&&Ve[We][Et].replace&&(Et=Ve[We][Et].replace);var Ut=jr.fontMap[Te].fontName;return He(Et,Ut,We)?jr.fontMap[Te].variant:null},uo=function(oe,xe,Te){if(oe.length===1){var We=Tr(oe[0],xe);return Te&&We instanceof ga&&We.type==="mo"&&(We.setAttribute("lspace","0em"),We.setAttribute("rspace","0em")),[We]}for(var Et=[],Ut,hr=0;hr<oe.length;hr++){var gr=Tr(oe[hr],xe);if(gr instanceof ga&&Ut instanceof ga){if(gr.type==="mtext"&&Ut.type==="mtext"&&gr.getAttribute("mathvariant")===Ut.getAttribute("mathvariant")){var Rr;(Rr=Ut.children).push.apply(Rr,gr.children);continue}else if(gr.type==="mn"&&Ut.type==="mn"){var $r;($r=Ut.children).push.apply($r,gr.children);continue}else if(gr.type==="mi"&&gr.children.length===1&&Ut.type==="mn"){var ln=gr.children[0];if(ln instanceof ha&&ln.text==="."){var yn;(yn=Ut.children).push.apply(yn,gr.children);continue}}else if(Ut.type==="mi"&&Ut.children.length===1){var Cn=Ut.children[0];if(Cn instanceof ha&&Cn.text==="\u0338"&&(gr.type==="mo"||gr.type==="mi"||gr.type==="mn")){var Qn=gr.children[0];Qn instanceof ha&&Qn.text.length>0&&(Qn.text=Qn.text.slice(0,1)+"\u0338"+Qn.text.slice(1),Et.pop())}}}Et.push(gr),Ut=gr}return Et},rr=function(oe,xe,Te){return eo(uo(oe,xe,Te))},Tr=function(oe,xe){if(!oe)return new Fn.MathNode("mrow");if(Ci[oe.type]){var Te=Ci[oe.type](oe,xe);return Te}else throw new o("Got group of unknown type: '"+oe.type+"'")};function Pr(Pt,oe,xe,Te){var We=uo(Pt,xe),Et;We.length===1&&We[0]instanceof ga&&w.contains(["mrow","mtable"],We[0].type)?Et=We[0]:Et=new Fn.MathNode("mrow",We);var Ut=new Fn.MathNode("annotation",[new Fn.TextNode(oe)]);Ut.setAttribute("encoding","application/x-tex");var hr=new Fn.MathNode("semantics",[Et,Ut]),gr=new Fn.MathNode("math",[hr]);gr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Rr=Te?"katex":"katex-mathml";return jr.makeSpan([Rr],[gr])}var Wr=function(oe){return new er({style:oe.displayMode?P.DISPLAY:P.TEXT,maxSize:oe.maxSize,minRuleThickness:oe.minRuleThickness})},hn=function(oe,xe){if(xe.displayMode){var Te=["katex-display"];xe.leqno&&Te.push("leqno"),xe.fleqn&&Te.push("fleqn"),oe=jr.makeSpan(Te,[oe])}return oe},tt=function(oe,xe,Te){var We=Wr(Te),Et;if(Te.output==="mathml")return Pr(oe,xe,We,!0);if(Te.output==="html"){var Ut=aa(oe,We);Et=jr.makeSpan(["katex"],[Ut])}else{var hr=Pr(oe,xe,We,!1),gr=aa(oe,We);Et=jr.makeSpan(["katex"],[hr,gr])}return hn(Et,Te)},jt=function(oe,xe,Te){var We=Wr(Te),Et=aa(oe,We),Ut=jr.makeSpan(["katex"],[Et]);return hn(Ut,Te)},Jt=tt,nr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Or=function(oe){var xe=new Fn.MathNode("mo",[new Fn.TextNode(nr[oe.substr(1)])]);return xe.setAttribute("stretchy","true"),xe},wr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Er=function(oe){return oe.type==="ordgroup"?oe.body.length:1},zr=function(oe,xe){function Te(){var gr=4e5,Rr=oe.label.substr(1);if(w.contains(["widehat","widecheck","widetilde","utilde"],Rr)){var $r=oe,ln=Er($r.base),yn,Cn,Qn;if(ln>5)Rr==="widehat"||Rr==="widecheck"?(yn=420,gr=2364,Qn=.42,Cn=Rr+"4"):(yn=312,gr=2340,Qn=.34,Cn="tilde4");else{var ti=[1,1,2,2,3,3][ln];Rr==="widehat"||Rr==="widecheck"?(gr=[0,1062,2364,2364,2364][ti],yn=[0,239,300,360,420][ti],Qn=[0,.24,.3,.3,.36,.42][ti],Cn=Rr+ti):(gr=[0,600,1033,2339,2340][ti],yn=[0,260,286,306,312][ti],Qn=[0,.26,.286,.3,.306,.34][ti],Cn="tilde"+ti)}var wi=new ae(Cn),ea=new Oe([wi],{width:"100%",height:Qn+"em",viewBox:"0 0 "+gr+" "+yn,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],xe),minWidth:0,height:Qn}}else{var ji=[],Sa=wr[Rr],lo=Sa[0],Wa=Sa[1],yo=Sa[2],Ao=yo/1e3,$a=lo.length,ko,No;if($a===1){var Ha=Sa[3];ko=["hide-tail"],No=[Ha]}else if($a===2)ko=["halfarrow-left","halfarrow-right"],No=["xMinYMin","xMaxYMin"];else if($a===3)ko=["brace-left","brace-center","brace-right"],No=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+$a+" children.");for(var jo=0;jo<$a;jo++){var Fo=new ae(lo[jo]),Qo=new Oe([Fo],{width:"400em",height:Ao+"em",viewBox:"0 0 "+gr+" "+yo,preserveAspectRatio:No[jo]+" slice"}),wo=jr.makeSvgSpan([ko[jo]],[Qo],xe);if($a===1)return{span:wo,minWidth:Wa,height:Ao};wo.style.height=Ao+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,xe),minWidth:Wa,height:Ao}}}var We=Te(),Et=We.span,Ut=We.minWidth,hr=We.height;return Et.height=hr,Et.style.height=hr+"em",Ut>0&&(Et.style.minWidth=Ut+"em"),Et},Jr=function(oe,xe,Te,We){var Et,Ut=oe.height+oe.depth+2*Te;if(/fbox|color/.test(xe)){if(Et=jr.makeSpan(["stretchy",xe],[],We),xe==="fbox"){var hr=We.color&&We.getColor();hr&&(Et.style.borderColor=hr)}}else{var gr=[];/^[bx]cancel$/.test(xe)&&gr.push(new ge({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(xe)&&gr.push(new ge({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Rr=new Oe(gr,{width:"100%",height:Ut+"em"});Et=jr.makeSvgSpan([],[Rr],We)}return Et.height=Ut,Et.style.height=Ut+"em",Et},Zr={encloseSpan:Jr,mathMLnode:Or,svgSpan:zr},an=function(oe,xe){var Te,We,Et=gn(oe,"supsub"),Ut;Et?(We=Tn(Et.base,"accent"),Te=We.base,Et.base=Te,Ut=Ze(Wi(Et,xe)),Et.base=We):(We=Tn(oe,"accent"),Te=We.base);var hr=Wi(Te,xe.havingCrampedStyle()),gr=We.isShifty&&w.isCharacterBox(Te),Rr=0;if(gr){var $r=w.getBaseElem(Te),ln=Wi($r,xe.havingCrampedStyle());Rr=Le(ln).skew}var yn=Math.min(hr.height,xe.fontMetrics().xHeight),Cn;if(We.isStretchy)Cn=Zr.svgSpan(We,xe),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:Rr>0?{width:"calc(100% - "+2*Rr+"em)",marginLeft:2*Rr+"em"}:void 0}]},xe);else{var Qn,ti;We.label==="\\vec"?(Qn=jr.staticSvg("vec",xe),ti=jr.svgData.vec[1]):(Qn=jr.makeOrd({mode:We.mode,text:We.label},xe,"textord"),Qn=Le(Qn),Qn.italic=0,ti=Qn.width),Cn=jr.makeSpan(["accent-body"],[Qn]);var wi=We.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),yn=hr.height);var ea=Rr;wi||(ea-=ti/2),Cn.style.left=ea+"em",We.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:-yn},{type:"elem",elem:Cn}]},xe)}var ji=jr.makeSpan(["mord","accent"],[Cn],xe);return Ut?(Ut.children[0]=ji,Ut.height=Math.max(ji.height,Ut.height),Ut.classes[0]="mord",Ut):ji},St=function(oe,xe){var Te=oe.isStretchy?Zr.mathMLnode(oe.label):new Fn.MathNode("mo",[$i(oe.label,oe.mode)]),We=new Fn.MathNode("mover",[Tr(oe.base,xe),Te]);return We.setAttribute("accent","true"),We},Vt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Pt){return"\\"+Pt}).join("|"));Gn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(oe,xe){var Te=xe[0],We=!Vt.test(oe.funcName),Et=!We||oe.funcName==="\\widehat"||oe.funcName==="\\widetilde"||oe.funcName==="\\widecheck";return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:We,isShifty:Et,base:Te}},htmlBuilder:an,mathmlBuilder:St}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(oe,xe){var Te=xe[0];return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:!1,isShifty:!0,base:Te}},htmlBuilder:an,mathmlBuilder:St}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0];return{type:"accentUnder",mode:Te.mode,label:We,base:Et}},htmlBuilder:function(oe,xe){var Te=Wi(oe.base,xe),We=Zr.svgSpan(oe,xe),Et=oe.label==="\\utilde"?.12:0,Ut=jr.makeVList({positionType:"bottom",positionData:We.height+Et,children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:Et},{type:"elem",elem:Te}]},xe);return jr.makeSpan(["mord","accentunder"],[Ut],xe)},mathmlBuilder:function(oe,xe){var Te=Zr.mathMLnode(oe.label),We=new Fn.MathNode("munder",[Tr(oe.base,xe),Te]);return We.setAttribute("accentunder","true"),We}});var sr=function(oe){var xe=new Fn.MathNode("mpadded",oe?[oe]:[]);return xe.setAttribute("width","+0.6em"),xe.setAttribute("lspace","0.3em"),xe};Gn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(oe,xe,Te){var We=oe.parser,Et=oe.funcName;return{type:"xArrow",mode:We.mode,label:Et,body:xe[0],below:Te[0]}},htmlBuilder:function(oe,xe){var Te=xe.style,We=xe.havingStyle(Te.sup()),Et=jr.wrapFragment(Wi(oe.body,We,xe),xe);Et.classes.push("x-arrow-pad");var Ut;oe.below&&(We=xe.havingStyle(Te.sub()),Ut=jr.wrapFragment(Wi(oe.below,We,xe),xe),Ut.classes.push("x-arrow-pad"));var hr=Zr.svgSpan(oe,xe),gr=-xe.fontMetrics().axisHeight+.5*hr.height,Rr=-xe.fontMetrics().axisHeight-.5*hr.height-.111;(Et.depth>.25||oe.label==="\\xleftequilibrium")&&(Rr-=Et.depth);var $r;if(Ut){var ln=-xe.fontMetrics().axisHeight+Ut.height+.5*hr.height+.111;$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Et,shift:Rr},{type:"elem",elem:hr,shift:gr},{type:"elem",elem:Ut,shift:ln}]},xe)}else $r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Et,shift:Rr},{type:"elem",elem:hr,shift:gr}]},xe);return $r.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[$r],xe)},mathmlBuilder:function(oe,xe){var Te=Zr.mathMLnode(oe.label),We;if(oe.body){var Et=sr(Tr(oe.body,xe));if(oe.below){var Ut=sr(Tr(oe.below,xe));We=new Fn.MathNode("munderover",[Te,Ut,Et])}else We=new Fn.MathNode("mover",[Te,Et])}else if(oe.below){var hr=sr(Tr(oe.below,xe));We=new Fn.MathNode("munder",[Te,hr])}else We=sr(),We=new Fn.MathNode("mover",[Te,We]);return We}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(oe,xe){for(var Te=oe.parser,We=Tn(xe[0],"ordgroup"),Et=We.body,Ut="",hr=0;hr<Et.length;hr++){var gr=Tn(Et[hr],"textord");Ut+=gr.text}var Rr=parseInt(Ut);if(isNaN(Rr))throw new o("\\@char has non-numeric argument "+Ut);return{type:"textord",mode:Te.mode,text:String.fromCharCode(Rr)}}});var br=function(oe,xe){var Te=di(oe.body,xe.withColor(oe.color),!1);return jr.makeFragment(Te)},Mr=function(oe,xe){var Te=uo(oe.body,xe.withColor(oe.color)),We=new Fn.MathNode("mstyle",Te);return We.setAttribute("mathcolor",oe.color),We};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(oe,xe){var Te=oe.parser,We=Tn(xe[0],"color-token").color,Et=xe[1];return{type:"color",mode:Te.mode,color:We,body:mn(Et)}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(oe,xe){var Te=oe.parser,We=oe.breakOnTokenText,Et=Tn(xe[0],"color-token").color;Te.gullet.macros.set("\\current@color",Et);var Ut=Te.parseExpression(!0,We);return{type:"color",mode:Te.mode,color:Et,body:Ut}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(oe,xe,Te){var We=oe.parser,Et=oe.funcName,Ut=Te[0],hr=Et==="\\cr",gr=!1;return hr||(We.settings.displayMode&&We.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?gr=!1:gr=!0),{type:"cr",mode:We.mode,newLine:gr,newRow:hr,size:Ut&&Tn(Ut,"size").value}},htmlBuilder:function(oe,xe){if(oe.newRow)throw new o("\\cr valid only within a tabular/array environment");var Te=jr.makeSpan(["mspace"],[],xe);return oe.newLine&&(Te.classes.push("newline"),oe.size&&(Te.style.marginTop=pt(oe.size,xe)+"em")),Te},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mspace");return oe.newLine&&(Te.setAttribute("linebreak","newline"),oe.size&&Te.setAttribute("height",pt(oe.size,xe)+"em")),Te}});var Dr=function(oe,xe,Te){var We=Ve.math[oe]&&Ve.math[oe].replace,Et=He(We||oe,xe,Te);if(!Et)throw new Error("Unsupported symbol "+oe+" and font size "+xe+".");return Et},rn=function(oe,xe,Te,We){var Et=Te.havingBaseStyle(xe),Ut=jr.makeSpan(We.concat(Et.sizingClasses(Te)),[oe],Te),hr=Et.sizeMultiplier/Te.sizeMultiplier;return Ut.height*=hr,Ut.depth*=hr,Ut.maxFontSize=Et.sizeMultiplier,Ut},fn=function(oe,xe,Te){var We=xe.havingBaseStyle(Te),Et=(1-xe.sizeMultiplier/We.sizeMultiplier)*xe.fontMetrics().axisHeight;oe.classes.push("delimcenter"),oe.style.top=Et+"em",oe.height-=Et,oe.depth+=Et},wn=function(oe,xe,Te,We,Et,Ut){var hr=jr.makeSymbol(oe,"Main-Regular",Et,We),gr=rn(hr,xe,We,Ut);return Te&&fn(gr,We,xe),gr},Hn=function(oe,xe,Te,We){return jr.makeSymbol(oe,"Size"+xe+"-Regular",Te,We)},Sn=function(oe,xe,Te,We,Et,Ut){var hr=Hn(oe,xe,Et,We),gr=rn(jr.makeSpan(["delimsizing","size"+xe],[hr],We),P.TEXT,We,Ut);return Te&&fn(gr,We,P.TEXT),gr},bn=function(oe,xe,Te){var We;xe==="Size1-Regular"?We="delim-size1":We="delim-size4";var Et=jr.makeSpan(["delimsizinginner",We],[jr.makeSpan([],[jr.makeSymbol(oe,xe,Te)])]);return{type:"elem",elem:Et}},Mn={type:"kern",size:-.005},vn=function(oe,xe,Te,We,Et,Ut){var hr,gr,Rr,$r;hr=Rr=$r=oe,gr=null;var ln="Size1-Regular";oe==="\\uparrow"?Rr=$r="\u23D0":oe==="\\Uparrow"?Rr=$r="\u2016":oe==="\\downarrow"?hr=Rr="\u23D0":oe==="\\Downarrow"?hr=Rr="\u2016":oe==="\\updownarrow"?(hr="\\uparrow",Rr="\u23D0",$r="\\downarrow"):oe==="\\Updownarrow"?(hr="\\Uparrow",Rr="\u2016",$r="\\Downarrow"):oe==="["||oe==="\\lbrack"?(hr="\u23A1",Rr="\u23A2",$r="\u23A3",ln="Size4-Regular"):oe==="]"||oe==="\\rbrack"?(hr="\u23A4",Rr="\u23A5",$r="\u23A6",ln="Size4-Regular"):oe==="\\lfloor"||oe==="\u230A"?(Rr=hr="\u23A2",$r="\u23A3",ln="Size4-Regular"):oe==="\\lceil"||oe==="\u2308"?(hr="\u23A1",Rr=$r="\u23A2",ln="Size4-Regular"):oe==="\\rfloor"||oe==="\u230B"?(Rr=hr="\u23A5",$r="\u23A6",ln="Size4-Regular"):oe==="\\rceil"||oe==="\u2309"?(hr="\u23A4",Rr=$r="\u23A5",ln="Size4-Regular"):oe==="("||oe==="\\lparen"?(hr="\u239B",Rr="\u239C",$r="\u239D",ln="Size4-Regular"):oe===")"||oe==="\\rparen"?(hr="\u239E",Rr="\u239F",$r="\u23A0",ln="Size4-Regular"):oe==="\\{"||oe==="\\lbrace"?(hr="\u23A7",gr="\u23A8",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):oe==="\\}"||oe==="\\rbrace"?(hr="\u23AB",gr="\u23AC",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):oe==="\\lgroup"||oe==="\u27EE"?(hr="\u23A7",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):oe==="\\rgroup"||oe==="\u27EF"?(hr="\u23AB",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):oe==="\\lmoustache"||oe==="\u23B0"?(hr="\u23A7",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):(oe==="\\rmoustache"||oe==="\u23B1")&&(hr="\u23AB",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular");var yn=Dr(hr,ln,Et),Cn=yn.height+yn.depth,Qn=Dr(Rr,ln,Et),ti=Qn.height+Qn.depth,wi=Dr($r,ln,Et),ea=wi.height+wi.depth,ji=0,Sa=1;if(gr!==null){var lo=Dr(gr,ln,Et);ji=lo.height+lo.depth,Sa=2}var Wa=Cn+ea+ji,yo=Math.max(0,Math.ceil((xe-Wa)/(Sa*ti))),Ao=Wa+yo*Sa*ti,$a=We.fontMetrics().axisHeight;Te&&($a*=We.sizeMultiplier);var ko=Ao/2-$a,No=(yo+1)*.005-ti,Ha=[];if(Ha.push(bn($r,ln,Et)),gr===null)for(var jo=0;jo<yo;jo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et));else{for(var Fo=0;Fo<yo;Fo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et));Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Et)),Ha.push(Mn),Ha.push(bn(gr,ln,Et));for(var Qo=0;Qo<yo;Qo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et))}Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Et)),Ha.push(Mn),Ha.push(bn(hr,ln,Et));var wo=We.havingBaseStyle(P.TEXT),us=jr.makeVList({positionType:"bottom",positionData:ko,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[us],wo),P.TEXT,We,Ut)},Rn=80,En=.08,_n=function(oe,xe,Te,We,Et){var Ut=Xe(oe,We,Te),hr=new ae(oe,Ut),gr=new Oe([hr],{width:"400em",height:xe+"em",viewBox:"0 0 400000 "+Te,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[gr],Et)},Xn=function(oe,xe){var Te=xe.havingBaseSizing(),We=Ui("\\surd",oe*Te.sizeMultiplier,Ri,Te),Et=Te.sizeMultiplier,Ut=Math.max(0,xe.minRuleThickness-xe.fontMetrics().sqrtRuleThickness),hr,gr=0,Rr=0,$r=0,ln;return We.type==="small"?($r=1e3+1e3*Ut+Rn,oe<1?Et=1:oe<1.4&&(Et=.7),gr=(1+Ut+En)/Et,Rr=(1+Ut)/Et,hr=_n("sqrtMain",gr,$r,Ut,xe),hr.style.minWidth="0.853em",ln=.833/Et):We.type==="large"?($r=(1e3+Rn)*yi[We.size],Rr=(yi[We.size]+Ut)/Et,gr=(yi[We.size]+Ut+En)/Et,hr=_n("sqrtSize"+We.size,gr,$r,Ut,xe),hr.style.minWidth="1.02em",ln=1/Et):(gr=oe+Ut+En,Rr=oe+Ut,$r=Math.floor(1e3*oe+Ut)+Rn,hr=_n("sqrtTall",gr,$r,Ut,xe),hr.style.minWidth="0.742em",ln=1.056),hr.height=Rr,hr.style.height=gr+"em",{span:hr,advanceWidth:ln,ruleWidth:(xe.fontMetrics().sqrtRuleThickness+Ut)*Et}},ai=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ri=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Di=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yi=[0,1.2,1.8,2.4,3],xi=function(oe,xe,Te,We,Et){if(oe==="<"||oe==="\\lt"||oe==="\u27E8"?oe="\\langle":(oe===">"||oe==="\\gt"||oe==="\u27E9")&&(oe="\\rangle"),w.contains(ai,oe)||w.contains(Di,oe))return Sn(oe,xe,!1,Te,We,Et);if(w.contains(ri,oe))return vn(oe,yi[xe],!1,Te,We,Et);throw new o("Illegal delimiter: '"+oe+"'")},Li=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Un=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"stack"}],Ri=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fa=function(oe){if(oe.type==="small")return"Main-Regular";if(oe.type==="large")return"Size"+oe.size+"-Regular";if(oe.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+oe.type+"' here.")},Ui=function(oe,xe,Te,We){for(var Et=Math.min(2,3-We.style.size),Ut=Et;Ut<Te.length&&!(Te[Ut].type==="stack");Ut++){var hr=Dr(oe,fa(Te[Ut]),"math"),gr=hr.height+hr.depth;if(Te[Ut].type==="small"){var Rr=We.havingBaseStyle(Te[Ut].style);gr*=Rr.sizeMultiplier}if(gr>xe)return Te[Ut]}return Te[Te.length-1]},Mi=function(oe,xe,Te,We,Et,Ut){oe==="<"||oe==="\\lt"||oe==="\u27E8"?oe="\\langle":(oe===">"||oe==="\\gt"||oe==="\u27E9")&&(oe="\\rangle");var hr;w.contains(Di,oe)?hr=Li:w.contains(ai,oe)?hr=Ri:hr=Un;var gr=Ui(oe,xe,hr,We);return gr.type==="small"?wn(oe,gr.style,Te,We,Et,Ut):gr.type==="large"?Sn(oe,gr.size,Te,We,Et,Ut):vn(oe,xe,Te,We,Et,Ut)},mi=function(oe,xe,Te,We,Et,Ut){var hr=We.fontMetrics().axisHeight*We.sizeMultiplier,gr=901,Rr=5/We.fontMetrics().ptPerEm,$r=Math.max(xe-hr,Te+hr),ln=Math.max($r/500*gr,2*$r-Rr);return Mi(oe,ln,!0,We,Et,Ut)},hi={sqrtImage:Xn,sizedDelim:xi,customSizedDelim:Mi,leftRightDelim:mi},qi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},va=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ea(Pt,oe){var xe=Yn(Pt);if(xe&&w.contains(va,xe.text))return xe;throw new o("Invalid delimiter: '"+(xe?xe.text:JSON.stringify(Pt))+"' after '"+oe.funcName+"'",Pt)}Gn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(oe,xe){var Te=Ea(xe[0],oe);return{type:"delimsizing",mode:oe.parser.mode,size:qi[oe.funcName].size,mclass:qi[oe.funcName].mclass,delim:Te.text}},htmlBuilder:function(oe,xe){return oe.delim==="."?jr.makeSpan([oe.mclass]):hi.sizedDelim(oe.delim,oe.size,xe,oe.mode,[oe.mclass])},mathmlBuilder:function(oe){var xe=[];oe.delim!=="."&&xe.push($i(oe.delim,oe.mode));var Te=new Fn.MathNode("mo",xe);return oe.mclass==="mopen"||oe.mclass==="mclose"?Te.setAttribute("fence","true"):Te.setAttribute("fence","false"),Te}});function ya(Pt){if(!Pt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(oe,xe){var Te=oe.parser.gullet.macros.get("\\current@color");if(Te&&typeof Te!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:oe.parser.mode,delim:Ea(xe[0],oe).text,color:Te}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(oe,xe){var Te=Ea(xe[0],oe),We=oe.parser;++We.leftrightDepth;var Et=We.parseExpression(!1);--We.leftrightDepth,We.expect("\\right",!1);var Ut=Tn(We.parseFunction(),"leftright-right");return{type:"leftright",mode:We.mode,body:Et,left:Te.text,right:Ut.delim,rightColor:Ut.color}},htmlBuilder:function(oe,xe){ya(oe);for(var Te=di(oe.body,xe,!0,["mopen","mclose"]),We=0,Et=0,Ut=!1,hr=0;hr<Te.length;hr++)Te[hr].isMiddle?Ut=!0:(We=Math.max(Te[hr].height,We),Et=Math.max(Te[hr].depth,Et));We*=xe.sizeMultiplier,Et*=xe.sizeMultiplier;var gr;if(oe.left==="."?gr=Qa(xe,["mopen"]):gr=hi.leftRightDelim(oe.left,We,Et,xe,oe.mode,["mopen"]),Te.unshift(gr),Ut)for(var Rr=1;Rr<Te.length;Rr++){var $r=Te[Rr],ln=$r.isMiddle;ln&&(Te[Rr]=hi.leftRightDelim(ln.delim,We,Et,ln.options,oe.mode,[]))}var yn;if(oe.right===".")yn=Qa(xe,["mclose"]);else{var Cn=oe.rightColor?xe.withColor(oe.rightColor):xe;yn=hi.leftRightDelim(oe.right,We,Et,Cn,oe.mode,["mclose"])}return Te.push(yn),jr.makeSpan(["minner"],Te,xe)},mathmlBuilder:function(oe,xe){ya(oe);var Te=uo(oe.body,xe);if(oe.left!=="."){var We=new Fn.MathNode("mo",[$i(oe.left,oe.mode)]);We.setAttribute("fence","true"),Te.unshift(We)}if(oe.right!=="."){var Et=new Fn.MathNode("mo",[$i(oe.right,oe.mode)]);Et.setAttribute("fence","true"),oe.rightColor&&Et.setAttribute("mathcolor",oe.rightColor),Te.push(Et)}return eo(Te)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(oe,xe){var Te=Ea(xe[0],oe);if(!oe.parser.leftrightDepth)throw new o("\\middle without preceding \\left",Te);return{type:"middle",mode:oe.parser.mode,delim:Te.text}},htmlBuilder:function(oe,xe){var Te;if(oe.delim===".")Te=Qa(xe,[]);else{Te=hi.sizedDelim(oe.delim,1,xe,oe.mode,[]);var We={delim:oe.delim,options:xe};Te.isMiddle=We}return Te},mathmlBuilder:function(oe,xe){var Te=oe.delim==="\\vert"||oe.delim==="|"?$i("|","text"):$i(oe.delim,oe.mode),We=new Fn.MathNode("mo",[Te]);return We.setAttribute("fence","true"),We.setAttribute("lspace","0.05em"),We.setAttribute("rspace","0.05em"),We}});var oa=function(oe,xe){var Te=jr.wrapFragment(Wi(oe.body,xe),xe),We=oe.label.substr(1),Et=xe.sizeMultiplier,Ut,hr=0,gr=w.isCharacterBox(oe.body);if(We==="sout")Ut=jr.makeSpan(["stretchy","sout"]),Ut.height=xe.fontMetrics().defaultRuleThickness/Et,hr=-.5*xe.fontMetrics().xHeight;else{/cancel/.test(We)?gr||Te.classes.push("cancel-pad"):Te.classes.push("boxpad");var Rr=0,$r=0;/box/.test(We)?($r=Math.max(xe.fontMetrics().fboxrule,xe.minRuleThickness),Rr=xe.fontMetrics().fboxsep+(We==="colorbox"?0:$r)):Rr=gr?.2:0,Ut=Zr.encloseSpan(Te,We,Rr,xe),/fbox|boxed|fcolorbox/.test(We)&&(Ut.style.borderStyle="solid",Ut.style.borderWidth=$r+"em"),hr=Te.depth+Rr,oe.backgroundColor&&(Ut.style.backgroundColor=oe.backgroundColor,oe.borderColor&&(Ut.style.borderColor=oe.borderColor))}var ln;return oe.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ut,shift:hr},{type:"elem",elem:Te,shift:0}]},xe):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:0},{type:"elem",elem:Ut,shift:hr,wrapperClasses:/cancel/.test(We)?["svg-align"]:[]}]},xe),/cancel/.test(We)&&(ln.height=Te.height,ln.depth=Te.depth),/cancel/.test(We)&&!gr?jr.makeSpan(["mord","cancel-lap"],[ln],xe):jr.makeSpan(["mord"],[ln],xe)},sa=function(oe,xe){var Te=0,We=new Fn.MathNode(oe.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tr(oe.body,xe)]);switch(oe.label){case"\\cancel":We.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":We.setAttribute("notation","downdiagonalstrike");break;case"\\sout":We.setAttribute("notation","horizontalstrike");break;case"\\fbox":We.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Te=xe.fontMetrics().fboxsep*xe.fontMetrics().ptPerEm,We.setAttribute("width","+"+2*Te+"pt"),We.setAttribute("height","+"+2*Te+"pt"),We.setAttribute("lspace",Te+"pt"),We.setAttribute("voffset",Te+"pt"),oe.label==="\\fcolorbox"){var Et=Math.max(xe.fontMetrics().fboxrule,xe.minRuleThickness);We.setAttribute("style","border: "+Et+"em solid "+String(oe.borderColor))}break;case"\\xcancel":We.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return oe.backgroundColor&&We.setAttribute("mathbackground",oe.backgroundColor),We};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(oe,xe,Te){var We=oe.parser,Et=oe.funcName,Ut=Tn(xe[0],"color-token").color,hr=xe[1];return{type:"enclose",mode:We.mode,label:Et,backgroundColor:Ut,body:hr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(oe,xe,Te){var We=oe.parser,Et=oe.funcName,Ut=Tn(xe[0],"color-token").color,hr=Tn(xe[1],"color-token").color,gr=xe[2];return{type:"enclose",mode:We.mode,label:Et,backgroundColor:hr,borderColor:Ut,body:gr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(oe,xe){var Te=oe.parser;return{type:"enclose",mode:Te.mode,label:"\\fbox",body:xe[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(oe,xe,Te){var We=oe.parser,Et=oe.funcName,Ut=xe[0];return{type:"enclose",mode:We.mode,label:Et,body:Ut}},htmlBuilder:oa,mathmlBuilder:sa});var Ni={};function $n(Pt){for(var oe=Pt.type,xe=Pt.names,Te=Pt.props,We=Pt.handler,Et=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:oe,numArgs:Te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:We},gr=0;gr<xe.length;++gr)Ni[xe[gr]]=hr;Et&&(Ii[oe]=Et),Ut&&(Ci[oe]=Ut)}function Ai(Pt){var oe=[];Pt.consumeSpaces();for(var xe=Pt.fetch().text;xe==="\\hline"||xe==="\\hdashline";)Pt.consume(),oe.push(xe==="\\hdashline"),Pt.consumeSpaces(),xe=Pt.fetch().text;return oe}function _i(Pt,oe,xe){var Te=oe.hskipBeforeAndAfter,We=oe.addJot,Et=oe.cols,Ut=oe.arraystretch,hr=oe.colSeparationType;if(Pt.gullet.beginGroup(),Pt.gullet.macros.set("\\\\","\\cr"),!Ut){var gr=Pt.gullet.expandMacroAsText("\\arraystretch");if(gr==null)Ut=1;else if(Ut=parseFloat(gr),!Ut||Ut<0)throw new o("Invalid \\arraystretch: "+gr)}Pt.gullet.beginGroup();var Rr=[],$r=[Rr],ln=[],yn=[];for(yn.push(Ai(Pt));;){var Cn=Pt.parseExpression(!1,"\\cr");Pt.gullet.endGroup(),Pt.gullet.beginGroup(),Cn={type:"ordgroup",mode:Pt.mode,body:Cn},xe&&(Cn={type:"styling",mode:Pt.mode,style:xe,body:[Cn]}),Rr.push(Cn);var Qn=Pt.fetch().text;if(Qn==="&")Pt.consume();else if(Qn==="\\end"){Rr.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&$r.pop(),yn.length<$r.length+1&&yn.push([]);break}else if(Qn==="\\cr"){var ti=Tn(Pt.parseFunction(),"cr");ln.push(ti.size),yn.push(Ai(Pt)),Rr=[],$r.push(Rr)}else throw new o("Expected & or \\\\ or \\cr or \\end",Pt.nextToken)}return Pt.gullet.endGroup(),Pt.gullet.endGroup(),{type:"array",mode:Pt.mode,addJot:We,arraystretch:Ut,body:$r,cols:Et,rowGaps:ln,hskipBeforeAndAfter:Te,hLinesBeforeRow:yn,colSeparationType:hr}}function Vi(Pt){return Pt.substr(0,1)==="d"?"display":"text"}var Xi=function(oe,xe){var Te,We,Et=oe.body.length,Ut=oe.hLinesBeforeRow,hr=0,gr=new Array(Et),Rr=[],$r=Math.max(xe.fontMetrics().arrayRuleWidth,xe.minRuleThickness),ln=1/xe.fontMetrics().ptPerEm,yn=5*ln;if(oe.colSeparationType&&oe.colSeparationType==="small"){var Cn=xe.havingStyle(P.SCRIPT).sizeMultiplier;yn=.2778*(Cn/xe.sizeMultiplier)}var Qn=12*ln,ti=3*ln,wi=oe.arraystretch*Qn,ea=.7*wi,ji=.3*wi,Sa=0;function lo(bs){for(var ua=0;ua<bs.length;++ua)ua>0&&(Sa+=.25),Rr.push({pos:Sa,isDashed:bs[ua]})}for(lo(Ut[0]),Te=0;Te<oe.body.length;++Te){var Wa=oe.body[Te],yo=ea,Ao=ji;hr<Wa.length&&(hr=Wa.length);var $a=new Array(Wa.length);for(We=0;We<Wa.length;++We){var ko=Wi(Wa[We],xe);Ao<ko.depth&&(Ao=ko.depth),yo<ko.height&&(yo=ko.height),$a[We]=ko}var No=oe.rowGaps[Te],Ha=0;No&&(Ha=pt(No,xe),Ha>0&&(Ha+=ji,Ao<Ha&&(Ao=Ha),Ha=0)),oe.addJot&&(Ao+=ti),$a.height=yo,$a.depth=Ao,Sa+=yo,$a.pos=Sa,Sa+=Ao+Ha,gr[Te]=$a,lo(Ut[Te+1])}var jo=Sa/2+xe.fontMetrics().axisHeight,Fo=oe.cols||[],Qo=[],wo,us;for(We=0,us=0;We<hr||us<Fo.length;++We,++us){for(var ns=Fo[us]||{},Xs=!0;ns.type==="separator";){if(Xs||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=xe.fontMetrics().doubleRuleSep+"em",Qo.push(wo)),ns.separator==="|"||ns.separator===":"){var Ys=ns.separator==="|"?"solid":"dashed",Yo=jr.makeSpan(["vertical-separator"],[],xe);Yo.style.height=Sa+"em",Yo.style.borderRightWidth=$r+"em",Yo.style.borderRightStyle=Ys,Yo.style.margin="0 -"+$r/2+"em",Yo.style.verticalAlign=-(Sa-jo)+"em",Qo.push(Yo)}else throw new o("Invalid separator type: "+ns.separator);us++,ns=Fo[us]||{},Xs=!1}if(We>=hr)continue;var Eo=void 0;(We>0||oe.hskipBeforeAndAfter)&&(Eo=w.deflt(ns.pregap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)));var ds=[];for(Te=0;Te<Et;++Te){var hs=gr[Te],Rs=hs[We];if(!Rs)continue;var Do=hs.pos-jo;Rs.depth=hs.depth,Rs.height=hs.height,ds.push({type:"elem",elem:Rs,shift:Do})}ds=jr.makeVList({positionType:"individualShift",children:ds},xe),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Qo.push(ds),(We<hr-1||oe.hskipBeforeAndAfter)&&(Eo=w.deflt(ns.postgap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)))}if(gr=jr.makeSpan(["mtable"],Qo),Rr.length>0){for(var ys=jr.makeLineSpan("hline",xe,$r),Ms=jr.makeLineSpan("hdashline",xe,$r),As=[{type:"elem",elem:gr,shift:0}];Rr.length>0;){var ks=Rr.pop(),Hs=ks.pos-jo;ks.isDashed?As.push({type:"elem",elem:Ms,shift:Hs}):As.push({type:"elem",elem:ys,shift:Hs})}gr=jr.makeVList({positionType:"individualShift",children:As},xe)}return jr.makeSpan(["mord"],[gr],xe)},bi={c:"center ",l:"left ",r:"right "},Aa=function(oe,xe){var Te=new Fn.MathNode("mtable",oe.body.map(function(Sa){return new Fn.MathNode("mtr",Sa.map(function(lo){return new Fn.MathNode("mtd",[Tr(lo,xe)])}))})),We=oe.arraystretch===.5?.1:.16+oe.arraystretch-1+(oe.addJot?.09:0);Te.setAttribute("rowspacing",We+"em");var Et="",Ut="";if(oe.cols){var hr=oe.cols,gr="",Rr=!1,$r=0,ln=hr.length;hr[0].type==="separator"&&(Et+="top ",$r=1),hr[hr.length-1].type==="separator"&&(Et+="bottom ",ln-=1);for(var yn=$r;yn<ln;yn++)hr[yn].type==="align"?(Ut+=bi[hr[yn].align],Rr&&(gr+="none "),Rr=!0):hr[yn].type==="separator"&&(Rr&&(gr+=hr[yn].separator==="|"?"solid ":"dashed ",Rr=!1));Te.setAttribute("columnalign",Ut.trim()),/[sd]/.test(gr)&&Te.setAttribute("columnlines",gr.trim())}if(oe.colSeparationType==="align"){for(var Cn=oe.cols||[],Qn="",ti=1;ti<Cn.length;ti++)Qn+=ti%2?"0em ":"1em ";Te.setAttribute("columnspacing",Qn.trim())}else oe.colSeparationType==="alignat"?Te.setAttribute("columnspacing","0em"):oe.colSeparationType==="small"?Te.setAttribute("columnspacing","0.2778em"):Te.setAttribute("columnspacing","1em");var wi="",ea=oe.hLinesBeforeRow;Et+=ea[0].length>0?"left ":"",Et+=ea[ea.length-1].length>0?"right ":"";for(var ji=1;ji<ea.length-1;ji++)wi+=ea[ji].length===0?"none ":ea[ji][0]?"dashed ":"solid ";return/[sd]/.test(wi)&&Te.setAttribute("rowlines",wi.trim()),Et!==""&&(Te=new Fn.MathNode("menclose",[Te]),Te.setAttribute("notation",Et.trim())),oe.arraystretch&&oe.arraystretch<1&&(Te=new Fn.MathNode("mstyle",[Te]),Te.setAttribute("scriptlevel","1")),Te},ca=function(oe,xe){var Te=[],We=_i(oe.parser,{cols:Te,addJot:!0},"display"),Et,Ut=0,hr={type:"ordgroup",mode:oe.mode,body:[]},gr=gn(xe[0],"ordgroup");if(gr){for(var Rr="",$r=0;$r<gr.body.length;$r++){var ln=Tn(gr.body[$r],"textord");Rr+=ln.text}Et=Number(Rr),Ut=Et*2}var yn=!Ut;We.body.forEach(function(wi){for(var ea=1;ea<wi.length;ea+=2){var ji=Tn(wi[ea],"styling"),Sa=Tn(ji.body[0],"ordgroup");Sa.body.unshift(hr)}if(yn)Ut<wi.length&&(Ut=wi.length);else{var lo=wi.length/2;if(Et<lo)throw new o("Too many math in a row: "+("expected "+Et+", but got "+lo),wi[0])}});for(var Cn=0;Cn<Ut;++Cn){var Qn="r",ti=0;Cn%2===1?Qn="l":Cn>0&&yn&&(ti=1),Te[Cn]={type:"align",align:Qn,pregap:ti,postgap:0}}return We.colSeparationType=yn?"align":"alignat",We};$n({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(oe,xe){var Te=Yn(xe[0]),We=Te?[xe[0]]:Tn(xe[0],"ordgroup").body,Et=We.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lcr".indexOf(Rr)!==-1)return{type:"align",align:Rr};if(Rr==="|")return{type:"separator",separator:"|"};if(Rr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+Rr,hr)}),Ut={cols:Et,hskipBeforeAndAfter:!0};return _i(oe.parser,Ut,Vi(oe.envName))},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(oe){var xe={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[oe.envName],Te={hskipBeforeAndAfter:!1},We=_i(oe.parser,Te,Vi(oe.envName));return xe?{type:"leftright",mode:oe.mode,body:[We],left:xe[0],right:xe[1],rightColor:void 0}:We},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(oe){var xe={arraystretch:.5},Te=_i(oe.parser,xe,"script");return Te.colSeparationType="small",Te},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["subarray"],props:{numArgs:1},handler:function(oe,xe){var Te=Yn(xe[0]),We=Te?[xe[0]]:Tn(xe[0],"ordgroup").body,Et=We.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lc".indexOf(Rr)!==-1)return{type:"align",align:Rr};throw new o("Unknown column alignment: "+Rr,hr)});if(Et.length>1)throw new o("{subarray} can contain only one column");var Ut={cols:Et,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ut=_i(oe.parser,Ut,"script"),Ut.body[0].length>1)throw new o("{subarray} can contain only one column");return Ut},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(oe){var xe={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Te=_i(oe.parser,xe,Vi(oe.envName));return{type:"leftright",mode:oe.mode,body:[Te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["aligned"],props:{numArgs:0},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["gathered"],props:{numArgs:0},handler:function(oe){var xe={cols:[{type:"align",align:"c"}],addJot:!0};return _i(oe.parser,xe,"display")},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["alignedat"],props:{numArgs:1},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),Gn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(oe,xe){throw new o(oe.funcName+" valid only within array environment")}});var la=Ni,gi=la;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0];if(Et.type!=="ordgroup")throw new o("Invalid environment name",Et);for(var Ut="",hr=0;hr<Et.body.length;++hr)Ut+=Tn(Et.body[hr],"textord").text;if(We==="\\begin"){if(!gi.hasOwnProperty(Ut))throw new o("No such environment: "+Ut,Et);var gr=gi[Ut],Rr=Te.parseArguments("\\begin{"+Ut+"}",gr),$r=Rr.args,ln=Rr.optArgs,yn={mode:Te.mode,envName:Ut,parser:Te},Cn=gr.handler(yn,$r,ln);Te.expect("\\end",!1);var Qn=Te.nextToken,ti=Tn(Te.parseFunction(),"environment");if(ti.name!==Ut)throw new o("Mismatch: \\begin{"+Ut+"} matched by \\end{"+ti.name+"}",Qn);return Cn}return{type:"environment",mode:Te.mode,name:Ut,nameGroup:Et}}});var Pa=jr.makeSpan;function Ma(Pt,oe){var xe=di(Pt.body,oe,!0);return Pa([Pt.mclass],xe,oe)}function ra(Pt,oe){var xe,Te=uo(Pt.body,oe);return Pt.mclass==="minner"?Fn.newDocumentFragment(Te):(Pt.mclass==="mord"?Pt.isCharacterBox?(xe=Te[0],xe.type="mi"):xe=new Fn.MathNode("mi",Te):(Pt.isCharacterBox?(xe=Te[0],xe.type="mo"):xe=new Fn.MathNode("mo",Te),Pt.mclass==="mbin"?(xe.attributes.lspace="0.22em",xe.attributes.rspace="0.22em"):Pt.mclass==="mpunct"?(xe.attributes.lspace="0em",xe.attributes.rspace="0.17em"):(Pt.mclass==="mopen"||Pt.mclass==="mclose")&&(xe.attributes.lspace="0em",xe.attributes.rspace="0em")),xe)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0];return{type:"mclass",mode:Te.mode,mclass:"m"+We.substr(5),body:mn(Et),isCharacterBox:w.isCharacterBox(Et)}},htmlBuilder:Ma,mathmlBuilder:ra});var Yi=function(oe){var xe=oe.type==="ordgroup"&&oe.body.length?oe.body[0]:oe;return xe.type==="atom"&&(xe.family==="bin"||xe.family==="rel")?"m"+xe.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(oe,xe){var Te=oe.parser;return{type:"mclass",mode:Te.mode,mclass:Yi(xe[0]),body:[xe[1]],isCharacterBox:w.isCharacterBox(xe[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[1],Ut=xe[0],hr;We!=="\\stackrel"?hr=Yi(Et):hr="mrel";var gr={type:"op",mode:Et.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:We!=="\\stackrel",body:mn(Et)},Rr={type:"supsub",mode:Ut.mode,base:gr,sup:We==="\\underset"?null:Ut,sub:We==="\\underset"?Ut:null};return{type:"mclass",mode:Te.mode,mclass:hr,body:[Rr],isCharacterBox:w.isCharacterBox(Rr)}},htmlBuilder:Ma,mathmlBuilder:ra});var Xa=function(oe,xe){var Te=oe.font,We=xe.withFont(Te);return Wi(oe.body,We)},Ki=function(oe,xe){var Te=oe.font,We=xe.withFont(Te);return Tr(oe.body,We)},zi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0],Ut=We;return Ut in zi&&(Ut=zi[Ut]),{type:"font",mode:Te.mode,font:Ut.slice(1),body:Et}},htmlBuilder:Xa,mathmlBuilder:Ki}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(oe,xe){var Te=oe.parser,We=xe[0],Et=w.isCharacterBox(We);return{type:"mclass",mode:Te.mode,mclass:Yi(We),body:[{type:"font",mode:Te.mode,font:"boldsymbol",body:We}],isCharacterBox:Et}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=oe.breakOnTokenText,Ut=Te.mode,hr=Te.parseExpression(!0,Et),gr="math"+We.slice(1);return{type:"font",mode:Ut,font:gr,body:{type:"ordgroup",mode:Te.mode,body:hr}}},htmlBuilder:Xa,mathmlBuilder:Ki});var ba=function(oe,xe){var Te=xe;return oe==="display"?Te=Te.id>=P.SCRIPT.id?Te.text():P.DISPLAY:oe==="text"&&Te.size===P.DISPLAY.size?Te=P.TEXT:oe==="script"?Te=P.SCRIPT:oe==="scriptscript"&&(Te=P.SCRIPTSCRIPT),Te},Ua=function(oe,xe){var Te=ba(oe.size,xe.style),We=Te.fracNum(),Et=Te.fracDen(),Ut;Ut=xe.havingStyle(We);var hr=Wi(oe.numer,Ut,xe);if(oe.continued){var gr=8.5/xe.fontMetrics().ptPerEm,Rr=3.5/xe.fontMetrics().ptPerEm;hr.height=hr.height<gr?gr:hr.height,hr.depth=hr.depth<Rr?Rr:hr.depth}Ut=xe.havingStyle(Et);var $r=Wi(oe.denom,Ut,xe),ln,yn,Cn;oe.hasBarLine?(oe.barSize?(yn=pt(oe.barSize,xe),ln=jr.makeLineSpan("frac-line",xe,yn)):ln=jr.makeLineSpan("frac-line",xe),yn=ln.height,Cn=ln.height):(ln=null,yn=0,Cn=xe.fontMetrics().defaultRuleThickness);var Qn,ti,wi;Te.size===P.DISPLAY.size||oe.size==="display"?(Qn=xe.fontMetrics().num1,yn>0?ti=3*Cn:ti=7*Cn,wi=xe.fontMetrics().denom1):(yn>0?(Qn=xe.fontMetrics().num2,ti=Cn):(Qn=xe.fontMetrics().num3,ti=3*Cn),wi=xe.fontMetrics().denom2);var ea;if(ln){var Sa=xe.fontMetrics().axisHeight;Qn-hr.depth-(Sa+.5*yn)<ti&&(Qn+=ti-(Qn-hr.depth-(Sa+.5*yn))),Sa-.5*yn-($r.height-wi)<ti&&(wi+=ti-(Sa-.5*yn-($r.height-wi)));var lo=-(Sa-.5*yn);ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:ln,shift:lo},{type:"elem",elem:hr,shift:-Qn}]},xe)}else{var ji=Qn-hr.depth-($r.height-wi);ji<ti&&(Qn+=.5*(ti-ji),wi+=.5*(ti-ji)),ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:hr,shift:-Qn}]},xe)}Ut=xe.havingStyle(Te),ea.height*=Ut.sizeMultiplier/xe.sizeMultiplier,ea.depth*=Ut.sizeMultiplier/xe.sizeMultiplier;var Wa;Te.size===P.DISPLAY.size?Wa=xe.fontMetrics().delim1:Wa=xe.fontMetrics().delim2;var yo,Ao;return oe.leftDelim==null?yo=Qa(xe,["mopen"]):yo=hi.customSizedDelim(oe.leftDelim,Wa,!0,xe.havingStyle(Te),oe.mode,["mopen"]),oe.continued?Ao=jr.makeSpan([]):oe.rightDelim==null?Ao=Qa(xe,["mclose"]):Ao=hi.customSizedDelim(oe.rightDelim,Wa,!0,xe.havingStyle(Te),oe.mode,["mclose"]),jr.makeSpan(["mord"].concat(Ut.sizingClasses(xe)),[yo,jr.makeSpan(["mfrac"],[ea]),Ao],xe)},wa=function(oe,xe){var Te=new Fn.MathNode("mfrac",[Tr(oe.numer,xe),Tr(oe.denom,xe)]);if(!oe.hasBarLine)Te.setAttribute("linethickness","0px");else if(oe.barSize){var We=pt(oe.barSize,xe);Te.setAttribute("linethickness",We+"em")}var Et=ba(oe.size,xe.style);if(Et.size!==xe.style.size){Te=new Fn.MathNode("mstyle",[Te]);var Ut=Et.size===P.DISPLAY.size?"true":"false";Te.setAttribute("displaystyle",Ut),Te.setAttribute("scriptlevel","0")}if(oe.leftDelim!=null||oe.rightDelim!=null){var hr=[];if(oe.leftDelim!=null){var gr=new Fn.MathNode("mo",[new Fn.TextNode(oe.leftDelim.replace("\\",""))]);gr.setAttribute("fence","true"),hr.push(gr)}if(hr.push(Te),oe.rightDelim!=null){var Rr=new Fn.MathNode("mo",[new Fn.TextNode(oe.rightDelim.replace("\\",""))]);Rr.setAttribute("fence","true"),hr.push(Rr)}return eo(hr)}return Te};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0],Ut=xe[1],hr,gr=null,Rr=null,$r="auto";switch(We){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":hr=!0;break;case"\\\\atopfrac":hr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":hr=!1,gr="(",Rr=")";break;case"\\\\bracefrac":hr=!1,gr="\\{",Rr="\\}";break;case"\\\\brackfrac":hr=!1,gr="[",Rr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(We){case"\\cfrac":case"\\dfrac":case"\\dbinom":$r="display";break;case"\\tfrac":case"\\tbinom":$r="text";break}return{type:"genfrac",mode:Te.mode,continued:We==="\\cfrac",numer:Et,denom:Ut,hasBarLine:hr,leftDelim:gr,rightDelim:Rr,size:$r,barSize:null}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(oe){var xe=oe.parser,Te=oe.funcName,We=oe.token,Et;switch(Te){case"\\over":Et="\\frac";break;case"\\choose":Et="\\binom";break;case"\\atop":Et="\\\\atopfrac";break;case"\\brace":Et="\\\\bracefrac";break;case"\\brack":Et="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:xe.mode,replaceWith:Et,token:We}}});var vi=["display","text","script","scriptscript"],Ya=function(oe){var xe=null;return oe.length>0&&(xe=oe,xe=xe==="."?null:xe),xe};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(oe,xe){var Te=oe.parser,We=xe[4],Et=xe[5],Ut=gn(xe[0],"atom");Ut&&(Ut=Pn(xe[0],"open"));var hr=Ut?Ya(Ut.text):null,gr=gn(xe[1],"atom");gr&&(gr=Pn(xe[1],"close"));var Rr=gr?Ya(gr.text):null,$r=Tn(xe[2],"size"),ln,yn=null;$r.isBlank?ln=!0:(yn=$r.value,ln=yn.number>0);var Cn="auto",Qn=gn(xe[3],"ordgroup");if(Qn){if(Qn.body.length>0){var ti=Tn(Qn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Qn=Tn(xe[3],"textord"),Cn=vi[Number(Qn.text)];return{type:"genfrac",mode:Te.mode,numer:We,denom:Et,continued:!1,hasBarLine:ln,barSize:yn,leftDelim:hr,rightDelim:Rr,size:Cn}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=oe.token;return{type:"infix",mode:Te.mode,replaceWith:"\\\\abovefrac",size:Tn(xe[0],"size").value,token:Et}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0],Ut=p(Tn(xe[1],"infix").size),hr=xe[2],gr=Ut.number>0;return{type:"genfrac",mode:Te.mode,numer:Et,denom:hr,continued:!1,hasBarLine:gr,barSize:Ut,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ua,mathmlBuilder:wa});var Ka=function(oe,xe){var Te=xe.style,We,Et,Ut=gn(oe,"supsub");Ut?(We=Ut.sup?Wi(Ut.sup,xe.havingStyle(Te.sup()),xe):Wi(Ut.sub,xe.havingStyle(Te.sub()),xe),Et=Tn(Ut.base,"horizBrace")):Et=Tn(oe,"horizBrace");var hr=Wi(Et.base,xe.havingBaseStyle(P.DISPLAY)),gr=Zr.svgSpan(Et,xe),Rr;if(Et.isOver?(Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:gr}]},xe),Rr.children[0].children[0].children[1].classes.push("svg-align")):(Rr=jr.makeVList({positionType:"bottom",positionData:hr.depth+.1+gr.height,children:[{type:"elem",elem:gr},{type:"kern",size:.1},{type:"elem",elem:hr}]},xe),Rr.children[0].children[0].children[0].classes.push("svg-align")),We){var $r=jr.makeSpan(["mord",Et.isOver?"mover":"munder"],[Rr],xe);Et.isOver?Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:$r},{type:"kern",size:.2},{type:"elem",elem:We}]},xe):Rr=jr.makeVList({positionType:"bottom",positionData:$r.depth+.2+We.height+We.depth,children:[{type:"elem",elem:We},{type:"kern",size:.2},{type:"elem",elem:$r}]},xe)}return jr.makeSpan(["mord",Et.isOver?"mover":"munder"],[Rr],xe)},pa=function(oe,xe){var Te=Zr.mathMLnode(oe.label);return new Fn.MathNode(oe.isOver?"mover":"munder",[Tr(oe.base,xe),Te])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName;return{type:"horizBrace",mode:Te.mode,label:We,isOver:/^\\over/.test(We),base:xe[0]}},htmlBuilder:Ka,mathmlBuilder:pa}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=xe[1],Et=Tn(xe[0],"url").url;return Te.settings.isTrusted({command:"\\href",url:Et})?{type:"href",mode:Te.mode,href:Et,body:mn(We)}:Te.formatUnsupportedCmd("\\href")},htmlBuilder:function(oe,xe){var Te=di(oe.body,xe,!1);return jr.makeAnchor(oe.href,[],Te,xe)},mathmlBuilder:function(oe,xe){var Te=rr(oe.body,xe);return Te instanceof ga||(Te=new ga("mrow",[Te])),Te.setAttribute("href",oe.href),Te}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=Tn(xe[0],"url").url;if(!Te.settings.isTrusted({command:"\\url",url:We}))return Te.formatUnsupportedCmd("\\url");for(var Et=[],Ut=0;Ut<We.length;Ut++){var hr=We[Ut];hr==="~"&&(hr="\\textasciitilde"),Et.push({type:"textord",mode:"text",text:hr})}var gr={type:"text",mode:Te.mode,font:"\\texttt",body:Et};return{type:"href",mode:Te.mode,href:We,body:mn(gr)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser;return{type:"htmlmathml",mode:Te.mode,html:mn(xe[0]),mathml:mn(xe[1])}},htmlBuilder:function(oe,xe){var Te=di(oe.html,xe,!1);return jr.makeFragment(Te)},mathmlBuilder:function(oe,xe){return rr(oe.mathml,xe)}});var Oi=function(oe){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(oe))return{number:+oe,unit:"bp"};var xe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(oe);if(!xe)throw new o("Invalid size: '"+oe+"' in \\includegraphics");var Te={number:+(xe[1]+xe[2]),unit:xe[3]};if(!ut(Te))throw new o("Invalid unit: '"+Te.unit+"' in \\includegraphics.");return Te};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(oe,xe,Te){var We=oe.parser,Et={number:0,unit:"em"},Ut={number:.9,unit:"em"},hr={number:0,unit:"em"},gr="";if(Te[0])for(var Rr=Tn(Te[0],"raw").string,$r=Rr.split(","),ln=0;ln<$r.length;ln++){var yn=$r[ln].split("=");if(yn.length===2){var Cn=yn[1].trim();switch(yn[0].trim()){case"alt":gr=Cn;break;case"width":Et=Oi(Cn);break;case"height":Ut=Oi(Cn);break;case"totalheight":hr=Oi(Cn);break;default:throw new o("Invalid key: '"+yn[0]+"' in \\includegraphics.")}}}var Qn=Tn(xe[0],"url").url;return gr===""&&(gr=Qn,gr=gr.replace(/^.*[\\/]/,""),gr=gr.substring(0,gr.lastIndexOf("."))),We.settings.isTrusted({command:"\\includegraphics",url:Qn})?{type:"includegraphics",mode:We.mode,alt:gr,width:Et,height:Ut,totalheight:hr,src:Qn}:We.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(oe,xe){var Te=pt(oe.height,xe),We=0;oe.totalheight.number>0&&(We=pt(oe.totalheight,xe)-Te,We=Number(We.toFixed(2)));var Et=0;oe.width.number>0&&(Et=pt(oe.width,xe));var Ut={height:Te+We+"em"};Et>0&&(Ut.width=Et+"em"),We>0&&(Ut.verticalAlign=-We+"em");var hr=new ke(oe.src,oe.alt,Ut);return hr.height=Te,hr.depth=We,hr},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mglyph",[]);Te.setAttribute("alt",oe.alt);var We=pt(oe.height,xe),Et=0;if(oe.totalheight.number>0&&(Et=pt(oe.totalheight,xe)-We,Et=Et.toFixed(2),Te.setAttribute("valign","-"+Et+"em")),Te.setAttribute("height",We+Et+"em"),oe.width.number>0){var Ut=pt(oe.width,xe);Te.setAttribute("width",Ut+"em")}return Te.setAttribute("src",oe.src),Te}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=Tn(xe[0],"size");if(Te.settings.strict){var Ut=We[1]==="m",hr=Et.value.unit==="mu";Ut?(hr||Te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" supports only mu units, "+("not "+Et.value.unit+" units")),Te.mode!=="math"&&Te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" works only in math mode")):hr&&Te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" doesn't support mu units")}return{type:"kern",mode:Te.mode,dimension:Et.value}},htmlBuilder:function(oe,xe){return jr.makeGlue(oe.dimension,xe)},mathmlBuilder:function(oe,xe){var Te=pt(oe.dimension,xe);return new Fn.SpaceNode(Te)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0];return{type:"lap",mode:Te.mode,alignment:We.slice(5),body:Et}},htmlBuilder:function(oe,xe){var Te;oe.alignment==="clap"?(Te=jr.makeSpan([],[Wi(oe.body,xe)]),Te=jr.makeSpan(["inner"],[Te],xe)):Te=jr.makeSpan(["inner"],[Wi(oe.body,xe)]);var We=jr.makeSpan(["fix"],[]),Et=jr.makeSpan([oe.alignment],[Te,We],xe),Ut=jr.makeSpan(["strut"]);return Ut.style.height=Et.height+Et.depth+"em",Ut.style.verticalAlign=-Et.depth+"em",Et.children.unshift(Ut),Et=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Et}]},xe),jr.makeSpan(["mord"],[Et],xe)},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mpadded",[Tr(oe.body,xe)]);if(oe.alignment!=="rlap"){var We=oe.alignment==="llap"?"-1":"-0.5";Te.setAttribute("lspace",We+"width")}return Te.setAttribute("width","0px"),Te}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(oe,xe){var Te=oe.funcName,We=oe.parser,Et=We.mode;We.switchMode("math");var Ut=Te==="\\("?"\\)":"$",hr=We.parseExpression(!1,Ut);return We.expect(Ut),We.switchMode(Et),{type:"styling",mode:We.mode,style:"text",body:hr}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(oe,xe){throw new o("Mismatched "+oe.funcName)}});var So=function(oe,xe){switch(xe.style.size){case P.DISPLAY.size:return oe.display;case P.TEXT.size:return oe.text;case P.SCRIPT.size:return oe.script;case P.SCRIPTSCRIPT.size:return oe.scriptscript;default:return oe.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(oe,xe){var Te=oe.parser;return{type:"mathchoice",mode:Te.mode,display:mn(xe[0]),text:mn(xe[1]),script:mn(xe[2]),scriptscript:mn(xe[3])}},htmlBuilder:function(oe,xe){var Te=So(oe,xe),We=di(Te,xe,!1);return jr.makeFragment(We)},mathmlBuilder:function(oe,xe){var Te=So(oe,xe);return rr(Te,xe)}});var za=function(oe,xe,Te,We,Et,Ut,hr){oe=jr.makeSpan([],[oe]);var gr,Rr;if(xe){var $r=Wi(xe,We.havingStyle(Et.sup()),We);Rr={elem:$r,kern:Math.max(We.fontMetrics().bigOpSpacing1,We.fontMetrics().bigOpSpacing3-$r.depth)}}if(Te){var ln=Wi(Te,We.havingStyle(Et.sub()),We);gr={elem:ln,kern:Math.max(We.fontMetrics().bigOpSpacing2,We.fontMetrics().bigOpSpacing4-ln.height)}}var yn;if(Rr&&gr){var Cn=We.fontMetrics().bigOpSpacing5+gr.elem.height+gr.elem.depth+gr.kern+oe.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:oe},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else if(gr){var Qn=oe.height-hr;yn=jr.makeVList({positionType:"top",positionData:Qn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:oe}]},We)}else if(Rr){var ti=oe.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:oe},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else return oe;return jr.makeSpan(["mop","op-limits"],[yn],We)},ja=["\\smallint"],qa=function(oe,xe){var Te,We,Et=!1,Ut,hr=gn(oe,"supsub");hr?(Te=hr.sup,We=hr.sub,Ut=Tn(hr.base,"op"),Et=!0):Ut=Tn(oe,"op");var gr=xe.style,Rr=!1;gr.size===P.DISPLAY.size&&Ut.symbol&&!w.contains(ja,Ut.name)&&(Rr=!0);var $r;if(Ut.symbol){var ln=Rr?"Size2-Regular":"Size1-Regular",yn="";if((Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&(yn=Ut.name.substr(1),Ut.name=yn==="oiint"?"\\iint":"\\iiint"),$r=jr.makeSymbol(Ut.name,ln,"math",xe,["mop","op-symbol",Rr?"large-op":"small-op"]),yn.length>0){var Cn=$r.italic,Qn=jr.staticSvg(yn+"Size"+(Rr?"2":"1"),xe);$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:0},{type:"elem",elem:Qn,shift:Rr?.08:0}]},xe),Ut.name="\\"+yn,$r.classes.unshift("mop"),$r.italic=Cn}}else if(Ut.body){var ti=di(Ut.body,xe,!0);ti.length===1&&ti[0]instanceof ze?($r=ti[0],$r.classes[0]="mop"):$r=jr.makeSpan(["mop"],jr.tryCombineChars(ti),xe)}else{for(var wi=[],ea=1;ea<Ut.name.length;ea++)wi.push(jr.mathsym(Ut.name[ea],Ut.mode,xe));$r=jr.makeSpan(["mop"],wi,xe)}var ji=0,Sa=0;return($r instanceof ze||Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&!Ut.suppressBaseShift&&(ji=($r.height-$r.depth)/2-xe.fontMetrics().axisHeight,Sa=$r.italic),Et?za($r,Te,We,xe,gr,Sa,ji):(ji&&($r.style.position="relative",$r.style.top=ji+"em"),$r)},ho=function(oe,xe){var Te;if(oe.symbol)Te=new ga("mo",[$i(oe.name,oe.mode)]),w.contains(ja,oe.name)&&Te.setAttribute("largeop","false");else if(oe.body)Te=new ga("mo",uo(oe.body,xe));else{Te=new ga("mi",[new ha(oe.name.slice(1))]);var We=new ga("mo",[$i("\u2061","text")]);oe.parentIsSupSub?Te=new ga("mo",[Te,We]):Te=Hi([Te,We])}return Te},Ca={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=We;return Et.length===1&&(Et=Ca[Et]),{type:"op",mode:Te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Et}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(oe,xe){var Te=oe.parser,We=xe[0];return{type:"op",mode:Te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(We)}},htmlBuilder:qa,mathmlBuilder:ho});var to={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(oe){var xe=oe.parser,Te=oe.funcName;return{type:"op",mode:xe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Te}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(oe){var xe=oe.parser,Te=oe.funcName;return{type:"op",mode:xe.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Te}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(oe){var xe=oe.parser,Te=oe.funcName,We=Te;return We.length===1&&(We=to[We]),{type:"op",mode:xe.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:We}},htmlBuilder:qa,mathmlBuilder:ho});var Lo=function(oe,xe){var Te,We,Et=!1,Ut,hr=gn(oe,"supsub");hr?(Te=hr.sup,We=hr.sub,Ut=Tn(hr.base,"operatorname"),Et=!0):Ut=Tn(oe,"operatorname");var gr;if(Ut.body.length>0){for(var Rr=Ut.body.map(function(Cn){var Qn=Cn.text;return typeof Qn=="string"?{type:"textord",mode:Cn.mode,text:Qn}:Cn}),$r=di(Rr,xe.withFont("mathrm"),!0),ln=0;ln<$r.length;ln++){var yn=$r[ln];yn instanceof ze&&(yn.text=yn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}gr=jr.makeSpan(["mop"],$r,xe)}else gr=jr.makeSpan(["mop"],[],xe);return Et?za(gr,Te,We,xe,xe.style,0,0):gr},_a=function(oe,xe){for(var Te=uo(oe.body,xe.withFont("mathrm")),We=!0,Et=0;Et<Te.length;Et++){var Ut=Te[Et];if(!(Ut instanceof Fn.SpaceNode))if(Ut instanceof Fn.MathNode)switch(Ut.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var hr=Ut.children[0];Ut.children.length===1&&hr instanceof Fn.TextNode?hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):We=!1;break}default:We=!1}else We=!1}if(We){var gr=Te.map(function(ln){return ln.toText()}).join("");Te=[new Fn.TextNode(gr)]}var Rr=new Fn.MathNode("mi",Te);Rr.setAttribute("mathvariant","normal");var $r=new Fn.MathNode("mo",[$i("\u2061","text")]);return oe.parentIsSupSub?new Fn.MathNode("mo",[Rr,$r]):Fn.newDocumentFragment([Rr,$r])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0];return{type:"operatorname",mode:Te.mode,body:mn(Et),alwaysHandleSupSub:We==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Lo,mathmlBuilder:_a}),Oa({type:"ordgroup",htmlBuilder:function(oe,xe){return oe.semisimple?jr.makeFragment(di(oe.body,xe,!1)):jr.makeSpan(["mord"],di(oe.body,xe,!0),xe)},mathmlBuilder:function(oe,xe){return rr(oe.body,xe,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(oe,xe){var Te=oe.parser,We=xe[0];return{type:"overline",mode:Te.mode,body:We}},htmlBuilder:function(oe,xe){var Te=Wi(oe.body,xe.havingCrampedStyle()),We=jr.makeLineSpan("overline-line",xe),Et=xe.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te},{type:"kern",size:3*Et},{type:"elem",elem:We},{type:"kern",size:Et}]},xe);return jr.makeSpan(["mord","overline"],[Ut],xe)},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);Te.setAttribute("stretchy","true");var We=new Fn.MathNode("mover",[Tr(oe.body,xe),Te]);return We.setAttribute("accent","true"),We}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=xe[0];return{type:"phantom",mode:Te.mode,body:mn(We)}},htmlBuilder:function(oe,xe){var Te=di(oe.body,xe.withPhantom(),!1);return jr.makeFragment(Te)},mathmlBuilder:function(oe,xe){var Te=uo(oe.body,xe);return new Fn.MathNode("mphantom",Te)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=xe[0];return{type:"hphantom",mode:Te.mode,body:We}},htmlBuilder:function(oe,xe){var Te=jr.makeSpan([],[Wi(oe.body,xe.withPhantom())]);if(Te.height=0,Te.depth=0,Te.children)for(var We=0;We<Te.children.length;We++)Te.children[We].height=0,Te.children[We].depth=0;return Te=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},xe),jr.makeSpan(["mord"],[Te],xe)},mathmlBuilder:function(oe,xe){var Te=uo(mn(oe.body),xe),We=new Fn.MathNode("mphantom",Te),Et=new Fn.MathNode("mpadded",[We]);return Et.setAttribute("height","0px"),Et.setAttribute("depth","0px"),Et}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=xe[0];return{type:"vphantom",mode:Te.mode,body:We}},htmlBuilder:function(oe,xe){var Te=jr.makeSpan(["inner"],[Wi(oe.body,xe.withPhantom())]),We=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[Te,We],xe)},mathmlBuilder:function(oe,xe){var Te=uo(mn(oe.body),xe),We=new Fn.MathNode("mphantom",Te),Et=new Fn.MathNode("mpadded",[We]);return Et.setAttribute("width","0px"),Et}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=Tn(xe[0],"size").value,Et=xe[1];return{type:"raisebox",mode:Te.mode,dy:We,body:Et}},htmlBuilder:function(oe,xe){var Te=Wi(oe.body,xe),We=pt(oe.dy,xe);return jr.makeVList({positionType:"shift",positionData:-We,children:[{type:"elem",elem:Te}]},xe)},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mpadded",[Tr(oe.body,xe)]),We=oe.dy.number+oe.dy.unit;return Te.setAttribute("voffset",We),Te}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(oe,xe,Te){var We=oe.parser,Et=Te[0],Ut=Tn(xe[0],"size"),hr=Tn(xe[1],"size");return{type:"rule",mode:We.mode,shift:Et&&Tn(Et,"size").value,width:Ut.value,height:hr.value}},htmlBuilder:function(oe,xe){var Te=jr.makeSpan(["mord","rule"],[],xe),We=pt(oe.width,xe),Et=pt(oe.height,xe),Ut=oe.shift?pt(oe.shift,xe):0;return Te.style.borderRightWidth=We+"em",Te.style.borderTopWidth=Et+"em",Te.style.bottom=Ut+"em",Te.width=We,Te.height=Et+Ut,Te.depth=-Ut,Te.maxFontSize=Et*1.125*xe.sizeMultiplier,Te},mathmlBuilder:function(oe,xe){var Te=pt(oe.width,xe),We=pt(oe.height,xe),Et=oe.shift?pt(oe.shift,xe):0,Ut=xe.color&&xe.getColor()||"black",hr=new Fn.MathNode("mspace");hr.setAttribute("mathbackground",Ut),hr.setAttribute("width",Te+"em"),hr.setAttribute("height",We+"em");var gr=new Fn.MathNode("mpadded",[hr]);return Et>=0?gr.setAttribute("height","+"+Et+"em"):(gr.setAttribute("height",Et+"em"),gr.setAttribute("depth","+"+-Et+"em")),gr.setAttribute("voffset",Et+"em"),gr}});function ki(Pt,oe,xe){for(var Te=di(Pt,oe,!1),We=oe.sizeMultiplier/xe.sizeMultiplier,Et=0;Et<Te.length;Et++){var Ut=Te[Et].classes.indexOf("sizing");Ut<0?Array.prototype.push.apply(Te[Et].classes,oe.sizingClasses(xe)):Te[Et].classes[Ut+1]==="reset-size"+oe.size&&(Te[Et].classes[Ut+1]="reset-size"+xe.size),Te[Et].height*=We,Te[Et].depth*=We}return jr.makeFragment(Te)}var Ja=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Da=function(oe,xe){var Te=xe.havingSize(oe.size);return ki(oe.body,Te,xe)};Gn({type:"sizing",names:Ja,props:{numArgs:0,allowedInText:!0},handler:function(oe,xe){var Te=oe.breakOnTokenText,We=oe.funcName,Et=oe.parser,Ut=Et.parseExpression(!1,Te);return{type:"sizing",mode:Et.mode,size:Ja.indexOf(We)+1,body:Ut}},htmlBuilder:Da,mathmlBuilder:function(oe,xe){var Te=xe.havingSize(oe.size),We=uo(oe.body,Te),Et=new Fn.MathNode("mstyle",We);return Et.setAttribute("mathsize",Te.sizeMultiplier+"em"),Et}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(oe,xe,Te){var We=oe.parser,Et=!1,Ut=!1,hr=Te[0]&&Tn(Te[0],"ordgroup");if(hr)for(var gr="",Rr=0;Rr<hr.body.length;++Rr){var $r=hr.body[Rr];if(gr=$r.text,gr==="t")Et=!0;else if(gr==="b")Ut=!0;else{Et=!1,Ut=!1;break}}else Et=!0,Ut=!0;var ln=xe[0];return{type:"smash",mode:We.mode,body:ln,smashHeight:Et,smashDepth:Ut}},htmlBuilder:function(oe,xe){var Te=jr.makeSpan([],[Wi(oe.body,xe)]);if(!oe.smashHeight&&!oe.smashDepth)return Te;if(oe.smashHeight&&(Te.height=0,Te.children))for(var We=0;We<Te.children.length;We++)Te.children[We].height=0;if(oe.smashDepth&&(Te.depth=0,Te.children))for(var Et=0;Et<Te.children.length;Et++)Te.children[Et].depth=0;var Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},xe);return jr.makeSpan(["mord"],[Ut],xe)},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mpadded",[Tr(oe.body,xe)]);return oe.smashHeight&&Te.setAttribute("height","0px"),oe.smashDepth&&Te.setAttribute("depth","0px"),Te}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(oe,xe,Te){var We=oe.parser,Et=Te[0],Ut=xe[0];return{type:"sqrt",mode:We.mode,body:Ut,index:Et}},htmlBuilder:function(oe,xe){var Te=Wi(oe.body,xe.havingCrampedStyle());Te.height===0&&(Te.height=xe.fontMetrics().xHeight),Te=jr.wrapFragment(Te,xe);var We=xe.fontMetrics(),Et=We.defaultRuleThickness,Ut=Et;xe.style.id<P.TEXT.id&&(Ut=xe.fontMetrics().xHeight);var hr=Et+Ut/4,gr=Te.height+Te.depth+hr+Et,Rr=hi.sqrtImage(gr,xe),$r=Rr.span,ln=Rr.ruleWidth,yn=Rr.advanceWidth,Cn=$r.height-ln;Cn>Te.height+Te.depth+hr&&(hr=(hr+Cn-Te.height-Te.depth)/2);var Qn=$r.height-Te.height-hr-ln;Te.style.paddingLeft=yn+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te,wrapperClasses:["svg-align"]},{type:"kern",size:-(Te.height+Qn)},{type:"elem",elem:$r},{type:"kern",size:ln}]},xe);if(oe.index){var wi=xe.havingStyle(P.SCRIPTSCRIPT),ea=Wi(oe.index,wi,xe),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},xe),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],xe)}else return jr.makeSpan(["mord","sqrt"],[ti],xe)},mathmlBuilder:function(oe,xe){var Te=oe.body,We=oe.index;return We?new Fn.MathNode("mroot",[Tr(Te,xe),Tr(We,xe)]):new Fn.MathNode("msqrt",[Tr(Te,xe)])}});var pi={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT};Gn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(oe,xe){var Te=oe.breakOnTokenText,We=oe.funcName,Et=oe.parser,Ut=Et.parseExpression(!0,Te),hr=We.slice(1,We.length-5);return{type:"styling",mode:Et.mode,style:hr,body:Ut}},htmlBuilder:function(oe,xe){var Te=pi[oe.style],We=xe.havingStyle(Te).withFont("");return ki(oe.body,We,xe)},mathmlBuilder:function(oe,xe){var Te=pi[oe.style],We=xe.havingStyle(Te),Et=uo(oe.body,We),Ut=new Fn.MathNode("mstyle",Et),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},gr=hr[oe.style];return Ut.setAttribute("scriptlevel",gr[0]),Ut.setAttribute("displaystyle",gr[1]),Ut}});var Gi=function(oe,xe){var Te=oe.base;if(Te)if(Te.type==="op"){var We=Te.limits&&(xe.style.size===P.DISPLAY.size||Te.alwaysHandleSupSub);return We?qa:null}else if(Te.type==="operatorname"){var Et=Te.alwaysHandleSupSub&&(xe.style.size===P.DISPLAY.size||Te.limits);return Et?Lo:null}else{if(Te.type==="accent")return w.isCharacterBox(Te.base)?an:null;if(Te.type==="horizBrace"){var Ut=!oe.sub;return Ut===Te.isOver?Ka:null}else return null}else return null};Oa({type:"supsub",htmlBuilder:function(oe,xe){var Te=Gi(oe,xe);if(Te)return Te(oe,xe);var We=oe.base,Et=oe.sup,Ut=oe.sub,hr=Wi(We,xe),gr,Rr,$r=xe.fontMetrics(),ln=0,yn=0,Cn=We&&w.isCharacterBox(We);if(Et){var Qn=xe.havingStyle(xe.style.sup());gr=Wi(Et,Qn,xe),Cn||(ln=hr.height-Qn.fontMetrics().supDrop*Qn.sizeMultiplier/xe.sizeMultiplier)}if(Ut){var ti=xe.havingStyle(xe.style.sub());Rr=Wi(Ut,ti,xe),Cn||(yn=hr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/xe.sizeMultiplier)}var wi;xe.style===P.DISPLAY?wi=$r.sup1:xe.style.cramped?wi=$r.sup3:wi=$r.sup2;var ea=xe.sizeMultiplier,ji=.5/$r.ptPerEm/ea+"em",Sa=null;if(Rr){var lo=oe.base&&oe.base.type==="op"&&oe.base.name&&(oe.base.name==="\\oiint"||oe.base.name==="\\oiiint");(hr instanceof ze||lo)&&(Sa=-hr.italic+"em")}var Wa;if(gr&&Rr){ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),yn=Math.max(yn,$r.sub2);var yo=$r.defaultRuleThickness,Ao=4*yo;if(ln-gr.depth-(Rr.height-yn)<Ao){yn=Ao-(ln-gr.depth)+Rr.height;var $a=.8*$r.xHeight-(ln-gr.depth);$a>0&&(ln+=$a,yn-=$a)}var ko=[{type:"elem",elem:Rr,shift:yn,marginRight:ji,marginLeft:Sa},{type:"elem",elem:gr,shift:-ln,marginRight:ji}];Wa=jr.makeVList({positionType:"individualShift",children:ko},xe)}else if(Rr){yn=Math.max(yn,$r.sub1,Rr.height-.8*$r.xHeight);var No=[{type:"elem",elem:Rr,marginLeft:Sa,marginRight:ji}];Wa=jr.makeVList({positionType:"shift",positionData:yn,children:No},xe)}else if(gr)ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),Wa=jr.makeVList({positionType:"shift",positionData:-ln,children:[{type:"elem",elem:gr,marginRight:ji}]},xe);else throw new Error("supsub must have either sup or sub.");var Ha=Ba(hr,"right")||"mord";return jr.makeSpan([Ha],[hr,jr.makeSpan(["msupsub"],[Wa])],xe)},mathmlBuilder:function(oe,xe){var Te=!1,We,Et,Ut=gn(oe.base,"horizBrace");Ut&&(Et=!!oe.sup,Et===Ut.isOver&&(Te=!0,We=Ut.isOver)),oe.base&&(oe.base.type==="op"||oe.base.type==="operatorname")&&(oe.base.parentIsSupSub=!0);var hr=[Tr(oe.base,xe)];oe.sub&&hr.push(Tr(oe.sub,xe)),oe.sup&&hr.push(Tr(oe.sup,xe));var gr;if(Te)gr=We?"mover":"munder";else if(oe.sub)if(oe.sup){var ln=oe.base;ln&&ln.type==="op"&&ln.limits&&xe.style===P.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(xe.style===P.DISPLAY||ln.limits)?gr="munderover":gr="msubsup"}else{var $r=oe.base;$r&&$r.type==="op"&&$r.limits&&(xe.style===P.DISPLAY||$r.alwaysHandleSupSub)||$r&&$r.type==="operatorname"&&$r.alwaysHandleSupSub&&($r.limits||xe.style===P.DISPLAY)?gr="munder":gr="msub"}else{var Rr=oe.base;Rr&&Rr.type==="op"&&Rr.limits&&(xe.style===P.DISPLAY||Rr.alwaysHandleSupSub)||Rr&&Rr.type==="operatorname"&&Rr.alwaysHandleSupSub&&(Rr.limits||xe.style===P.DISPLAY)?gr="mover":gr="msup"}var yn=new Fn.MathNode(gr,hr);return yn}}),Oa({type:"atom",htmlBuilder:function(oe,xe){return jr.mathsym(oe.text,oe.mode,xe,["m"+oe.family])},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mo",[$i(oe.text,oe.mode)]);if(oe.family==="bin"){var We=To(oe,xe);We==="bold-italic"&&Te.setAttribute("mathvariant",We)}else oe.family==="punct"?Te.setAttribute("separator","true"):(oe.family==="open"||oe.family==="close")&&Te.setAttribute("stretchy","false");return Te}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Oa({type:"mathord",htmlBuilder:function(oe,xe){return jr.makeOrd(oe,xe,"mathord")},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mi",[$i(oe.text,oe.mode,xe)]),We=To(oe,xe)||"italic";return We!==oo[Te.type]&&Te.setAttribute("mathvariant",We),Te}}),Oa({type:"textord",htmlBuilder:function(oe,xe){return jr.makeOrd(oe,xe,"textord")},mathmlBuilder:function(oe,xe){var Te=$i(oe.text,oe.mode,xe),We=To(oe,xe)||"normal",Et;return oe.mode==="text"?Et=new Fn.MathNode("mtext",[Te]):/[0-9]/.test(oe.text)?Et=new Fn.MathNode("mn",[Te]):oe.text==="\\prime"?Et=new Fn.MathNode("mo",[Te]):Et=new Fn.MathNode("mi",[Te]),We!==oo[Et.type]&&Et.setAttribute("mathvariant",We),Et}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Oa({type:"spacing",htmlBuilder:function(oe,xe){if(fo.hasOwnProperty(oe.text)){var Te=fo[oe.text].className||"";if(oe.mode==="text"){var We=jr.makeOrd(oe,xe,"textord");return We.classes.push(Te),We}else return jr.makeSpan(["mspace",Te],[jr.mathsym(oe.text,oe.mode,xe)],xe)}else{if(go.hasOwnProperty(oe.text))return jr.makeSpan(["mspace",go[oe.text]],[],xe);throw new o('Unknown type of space "'+oe.text+'"')}},mathmlBuilder:function(oe,xe){var Te;if(fo.hasOwnProperty(oe.text))Te=new Fn.MathNode("mtext",[new Fn.TextNode("\xA0")]);else{if(go.hasOwnProperty(oe.text))return new Fn.MathNode("mspace");throw new o('Unknown type of space "'+oe.text+'"')}return Te}});var Ta=function(){var oe=new Fn.MathNode("mtd",[]);return oe.setAttribute("width","50%"),oe};Oa({type:"tag",mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mtable",[new Fn.MathNode("mtr",[Ta(),new Fn.MathNode("mtd",[rr(oe.body,xe)]),Ta(),new Fn.MathNode("mtd",[rr(oe.tag,xe)])])]);return Te.setAttribute("width","100%"),Te}});var Fi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ra={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(oe,xe){var Te=oe.font;return Te?Fi[Te]?xe.withTextFontFamily(Fi[Te]):Ra[Te]?xe.withTextFontWeight(Ra[Te]):xe.withTextFontShape(Vo[Te]):xe};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser,We=oe.funcName,Et=xe[0];return{type:"text",mode:Te.mode,body:mn(Et),font:We}},htmlBuilder:function(oe,xe){var Te=ro(oe,xe),We=di(oe.body,Te,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(We),Te)},mathmlBuilder:function(oe,xe){var Te=ro(oe,xe);return rr(oe.body,Te)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(oe,xe){var Te=oe.parser;return{type:"underline",mode:Te.mode,body:xe[0]}},htmlBuilder:function(oe,xe){var Te=Wi(oe.body,xe),We=jr.makeLineSpan("underline-line",xe),Et=xe.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"top",positionData:Te.height,children:[{type:"kern",size:Et},{type:"elem",elem:We},{type:"kern",size:3*Et},{type:"elem",elem:Te}]},xe);return jr.makeSpan(["mord","underline"],[Ut],xe)},mathmlBuilder:function(oe,xe){var Te=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);Te.setAttribute("stretchy","true");var We=new Fn.MathNode("munder",[Tr(oe.body,xe),Te]);return We.setAttribute("accentunder","true"),We}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(oe,xe,Te){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(oe,xe){for(var Te=vo(oe),We=[],Et=xe.havingStyle(xe.style.text()),Ut=0;Ut<Te.length;Ut++){var hr=Te[Ut];hr==="~"&&(hr="\\textasciitilde"),We.push(jr.makeSymbol(hr,"Typewriter-Regular",oe.mode,Et,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(Et.sizingClasses(xe)),jr.tryCombineChars(We),Et)},mathmlBuilder:function(oe,xe){var Te=new Fn.TextNode(vo(oe)),We=new Fn.MathNode("mtext",[Te]);return We.setAttribute("mathvariant","monospace"),We}});var vo=function(oe){return oe.body.replace(/ /g,oe.star?"\u2423":"\xA0")},po=ta,Zi=po,xo=`[ \r
]`,is="\\\\[a-zA-Z@]+",Jo="\\\\[^\uD800-\uDFFF]",Is=""+is+xo+"*",Cs=new RegExp("^("+is+")"+xo+"*$"),Ts="[\u0300-\u036F]",Go=new RegExp(Ts+"+$"),bo="("+xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ts+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ts+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Is)+("|"+Jo+")"),Za=function(){function Pt(xe,Te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=xe,this.settings=Te,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var oe=Pt.prototype;return oe.setCatcode=function(Te,We){this.catcodes[Te]=We},oe.lex=function(){var Te=this.input,We=this.tokenRegex.lastIndex;if(We===Te.length)return new h("EOF",new v(this,We,We));var Et=this.tokenRegex.exec(Te);if(Et===null||Et.index!==We)throw new o("Unexpected character: '"+Te[We]+"'",new h(Te[We],new v(this,We,We+1)));var Ut=Et[2]||" ";if(this.catcodes[Ut]===14){var hr=Te.indexOf(`
`,this.tokenRegex.lastIndex);return hr===-1?(this.tokenRegex.lastIndex=Te.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=hr+1,this.lex()}var gr=Ut.match(Cs);return gr&&(Ut=gr[1]),new h(Ut,new v(this,We,this.tokenRegex.lastIndex))},Pt}(),Ga=function(){function Pt(xe,Te){xe===void 0&&(xe={}),Te===void 0&&(Te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Te,this.builtins=xe,this.undefStack=[]}var oe=Pt.prototype;return oe.beginGroup=function(){this.undefStack.push({})},oe.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Te=this.undefStack.pop();for(var We in Te)Te.hasOwnProperty(We)&&(Te[We]===void 0?delete this.current[We]:this.current[We]=Te[We])},oe.has=function(Te){return this.current.hasOwnProperty(Te)||this.builtins.hasOwnProperty(Te)},oe.get=function(Te){return this.current.hasOwnProperty(Te)?this.current[Te]:this.builtins[Te]},oe.set=function(Te,We,Et){if(Et===void 0&&(Et=!1),Et){for(var Ut=0;Ut<this.undefStack.length;Ut++)delete this.undefStack[Ut][Te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Te]=We)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(Te)&&(hr[Te]=this.current[Te])}this.current[Te]=We},Pt}(),so={},ps=so;function Sr(Pt,oe){so[Pt]=oe}Sr("\\@firstoftwo",function(Pt){var oe=Pt.consumeArgs(2);return{tokens:oe[0],numArgs:0}}),Sr("\\@secondoftwo",function(Pt){var oe=Pt.consumeArgs(2);return{tokens:oe[1],numArgs:0}}),Sr("\\@ifnextchar",function(Pt){var oe=Pt.consumeArgs(3),xe=Pt.future();return oe[0].length===1&&oe[0][0].text===xe.text?{tokens:oe[1],numArgs:0}:{tokens:oe[2],numArgs:0}}),Sr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Sr("\\TextOrMath",function(Pt){var oe=Pt.consumeArgs(2);return Pt.mode==="text"?{tokens:oe[0],numArgs:0}:{tokens:oe[1],numArgs:0}});var Xo={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Sr("\\char",function(Pt){var oe=Pt.popToken(),xe,Te="";if(oe.text==="'")xe=8,oe=Pt.popToken();else if(oe.text==='"')xe=16,oe=Pt.popToken();else if(oe.text==="`")if(oe=Pt.popToken(),oe.text[0]==="\\")Te=oe.text.charCodeAt(1);else{if(oe.text==="EOF")throw new o("\\char` missing argument");Te=oe.text.charCodeAt(0)}else xe=10;if(xe){if(Te=Xo[oe.text],Te==null||Te>=xe)throw new o("Invalid base-"+xe+" digit "+oe.text);for(var We;(We=Xo[Pt.future().text])!=null&&We<xe;)Te*=xe,Te+=We,Pt.popToken()}return"\\@char{"+Te+"}"});var ss=function(oe,xe){var Te=oe.consumeArgs(1)[0];if(Te.length!==1)throw new o("\\gdef's first argument must be a macro name");var We=Te[0].text,Et=0;for(Te=oe.consumeArgs(1)[0];Te.length===1&&Te[0].text==="#";){if(Te=oe.consumeArgs(1)[0],Te.length!==1)throw new o('Invalid argument number length "'+Te.length+'"');if(!/^[1-9]$/.test(Te[0].text))throw new o('Invalid argument number "'+Te[0].text+'"');if(Et++,parseInt(Te[0].text)!==Et)throw new o('Argument number "'+Te[0].text+'" out of order');Te=oe.consumeArgs(1)[0]}return oe.macros.set(We,{tokens:Te,numArgs:Et},xe),""};Sr("\\gdef",function(Pt){return ss(Pt,!0)}),Sr("\\def",function(Pt){return ss(Pt,!1)}),Sr("\\global",function(Pt){var oe=Pt.consumeArgs(1)[0];if(oe.length!==1)throw new o("Invalid command after \\global");var xe=oe[0].text;if(xe==="\\def")return ss(Pt,!0);throw new o("Invalid command '"+xe+"' after \\global")});var Ls=function(oe,xe,Te){var We=oe.consumeArgs(1)[0];if(We.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Et=We[0].text,Ut=oe.isDefined(Et);if(Ut&&!xe)throw new o("\\newcommand{"+Et+"} attempting to redefine "+(Et+"; use \\renewcommand"));if(!Ut&&!Te)throw new o("\\renewcommand{"+Et+"} when command "+Et+" does not yet exist; use \\newcommand");var hr=0;if(We=oe.consumeArgs(1)[0],We.length===1&&We[0].text==="["){for(var gr="",Rr=oe.expandNextToken();Rr.text!=="]"&&Rr.text!=="EOF";)gr+=Rr.text,Rr=oe.expandNextToken();if(!gr.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+gr);hr=parseInt(gr),We=oe.consumeArgs(1)[0]}return oe.macros.set(Et,{tokens:We,numArgs:hr}),""};Sr("\\newcommand",function(Pt){return Ls(Pt,!1,!0)}),Sr("\\renewcommand",function(Pt){return Ls(Pt,!0,!1)}),Sr("\\providecommand",function(Pt){return Ls(Pt,!0,!0)}),Sr("\\bgroup","{"),Sr("\\egroup","}"),Sr("\\lq","`"),Sr("\\rq","'"),Sr("\\aa","\\r a"),Sr("\\AA","\\r A"),Sr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Sr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Sr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Sr("\u212C","\\mathscr{B}"),Sr("\u2130","\\mathscr{E}"),Sr("\u2131","\\mathscr{F}"),Sr("\u210B","\\mathscr{H}"),Sr("\u2110","\\mathscr{I}"),Sr("\u2112","\\mathscr{L}"),Sr("\u2133","\\mathscr{M}"),Sr("\u211B","\\mathscr{R}"),Sr("\u212D","\\mathfrak{C}"),Sr("\u210C","\\mathfrak{H}"),Sr("\u2128","\\mathfrak{Z}"),Sr("\\Bbbk","\\Bbb{k}"),Sr("\xB7","\\cdotp"),Sr("\\llap","\\mathllap{\\textrm{#1}}"),Sr("\\rlap","\\mathrlap{\\textrm{#1}}"),Sr("\\clap","\\mathclap{\\textrm{#1}}"),Sr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Sr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Sr("\\ne","\\neq"),Sr("\u2260","\\neq"),Sr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Sr("\u2209","\\notin"),Sr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Sr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Sr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Sr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Sr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Sr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Sr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Sr("\u27C2","\\perp"),Sr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Sr("\u220C","\\notni"),Sr("\u231C","\\ulcorner"),Sr("\u231D","\\urcorner"),Sr("\u231E","\\llcorner"),Sr("\u231F","\\lrcorner"),Sr("\xA9","\\copyright"),Sr("\xAE","\\textregistered"),Sr("\uFE0F","\\textregistered"),Sr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Sr("\u22EE","\\vdots"),Sr("\\varGamma","\\mathit{\\Gamma}"),Sr("\\varDelta","\\mathit{\\Delta}"),Sr("\\varTheta","\\mathit{\\Theta}"),Sr("\\varLambda","\\mathit{\\Lambda}"),Sr("\\varXi","\\mathit{\\Xi}"),Sr("\\varPi","\\mathit{\\Pi}"),Sr("\\varSigma","\\mathit{\\Sigma}"),Sr("\\varUpsilon","\\mathit{\\Upsilon}"),Sr("\\varPhi","\\mathit{\\Phi}"),Sr("\\varPsi","\\mathit{\\Psi}"),Sr("\\varOmega","\\mathit{\\Omega}"),Sr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Sr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Sr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Sr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Sr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Sr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ka={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Sr("\\dots",function(Pt){var oe="\\dotso",xe=Pt.expandAfterFuture().text;return xe in ka?oe=ka[xe]:xe.substr(0,4)==="\\not"?oe="\\dotsb":xe in Ve.math&&(w.contains(["bin","rel"],Ve.math[xe].group)&&(oe="\\dotsb")),oe});var La={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Sr("\\dotso",function(Pt){var oe=Pt.future().text;return oe in La?"\\ldots\\,":"\\ldots"}),Sr("\\dotsc",function(Pt){var oe=Pt.future().text;return oe in La&&oe!==","?"\\ldots\\,":"\\ldots"}),Sr("\\cdots",function(Pt){var oe=Pt.future().text;return oe in La?"\\@cdots\\,":"\\@cdots"}),Sr("\\dotsb","\\cdots"),Sr("\\dotsm","\\cdots"),Sr("\\dotsi","\\!\\cdots"),Sr("\\dotsx","\\ldots\\,"),Sr("\\DOTSI","\\relax"),Sr("\\DOTSB","\\relax"),Sr("\\DOTSX","\\relax"),Sr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Sr("\\,","\\tmspace+{3mu}{.1667em}"),Sr("\\thinspace","\\,"),Sr("\\>","\\mskip{4mu}"),Sr("\\:","\\tmspace+{4mu}{.2222em}"),Sr("\\medspace","\\:"),Sr("\\;","\\tmspace+{5mu}{.2777em}"),Sr("\\thickspace","\\;"),Sr("\\!","\\tmspace-{3mu}{.1667em}"),Sr("\\negthinspace","\\!"),Sr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Sr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Sr("\\enspace","\\kern.5em "),Sr("\\enskip","\\hskip.5em\\relax"),Sr("\\quad","\\hskip1em\\relax"),Sr("\\qquad","\\hskip2em\\relax"),Sr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Sr("\\tag@paren","\\tag@literal{({#1})}"),Sr("\\tag@literal",function(Pt){if(Pt.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Sr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Sr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Sr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Sr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Sr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Sr("\\\\","\\newline"),Sr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Oo=vt["Main-Regular"]["T".charCodeAt(0)][1]-.7*vt["Main-Regular"]["A".charCodeAt(0)][1]+"em";Sr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Sr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Sr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Sr("\\@hspace","\\hskip #1\\relax"),Sr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Sr("\\ordinarycolon",":"),Sr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Sr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Sr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Sr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Sr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Sr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Sr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Sr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Sr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Sr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Sr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Sr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Sr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Sr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Sr("\u2237","\\dblcolon"),Sr("\u2239","\\eqcolon"),Sr("\u2254","\\coloneqq"),Sr("\u2255","\\eqqcolon"),Sr("\u2A74","\\Coloneqq"),Sr("\\ratio","\\vcentcolon"),Sr("\\coloncolon","\\dblcolon"),Sr("\\colonequals","\\coloneqq"),Sr("\\coloncolonequals","\\Coloneqq"),Sr("\\equalscolon","\\eqqcolon"),Sr("\\equalscoloncolon","\\Eqqcolon"),Sr("\\colonminus","\\coloneq"),Sr("\\coloncolonminus","\\Coloneq"),Sr("\\minuscolon","\\eqcolon"),Sr("\\minuscoloncolon","\\Eqcolon"),Sr("\\coloncolonapprox","\\Colonapprox"),Sr("\\coloncolonsim","\\Colonsim"),Sr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Sr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Sr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Sr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Sr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Sr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Sr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Sr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Sr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Sr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Sr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Sr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Sr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Sr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Sr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Sr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Sr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Sr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Sr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Sr("\u27E6","\\llbracket"),Sr("\u27E7","\\rrbracket"),Sr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Sr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Sr("\u2983","\\lBrace"),Sr("\u2984","\\rBrace"),Sr("\\darr","\\downarrow"),Sr("\\dArr","\\Downarrow"),Sr("\\Darr","\\Downarrow"),Sr("\\lang","\\langle"),Sr("\\rang","\\rangle"),Sr("\\uarr","\\uparrow"),Sr("\\uArr","\\Uparrow"),Sr("\\Uarr","\\Uparrow"),Sr("\\N","\\mathbb{N}"),Sr("\\R","\\mathbb{R}"),Sr("\\Z","\\mathbb{Z}"),Sr("\\alef","\\aleph"),Sr("\\alefsym","\\aleph"),Sr("\\Alpha","\\mathrm{A}"),Sr("\\Beta","\\mathrm{B}"),Sr("\\bull","\\bullet"),Sr("\\Chi","\\mathrm{X}"),Sr("\\clubs","\\clubsuit"),Sr("\\cnums","\\mathbb{C}"),Sr("\\Complex","\\mathbb{C}"),Sr("\\Dagger","\\ddagger"),Sr("\\diamonds","\\diamondsuit"),Sr("\\empty","\\emptyset"),Sr("\\Epsilon","\\mathrm{E}"),Sr("\\Eta","\\mathrm{H}"),Sr("\\exist","\\exists"),Sr("\\harr","\\leftrightarrow"),Sr("\\hArr","\\Leftrightarrow"),Sr("\\Harr","\\Leftrightarrow"),Sr("\\hearts","\\heartsuit"),Sr("\\image","\\Im"),Sr("\\infin","\\infty"),Sr("\\Iota","\\mathrm{I}"),Sr("\\isin","\\in"),Sr("\\Kappa","\\mathrm{K}"),Sr("\\larr","\\leftarrow"),Sr("\\lArr","\\Leftarrow"),Sr("\\Larr","\\Leftarrow"),Sr("\\lrarr","\\leftrightarrow"),Sr("\\lrArr","\\Leftrightarrow"),Sr("\\Lrarr","\\Leftrightarrow"),Sr("\\Mu","\\mathrm{M}"),Sr("\\natnums","\\mathbb{N}"),Sr("\\Nu","\\mathrm{N}"),Sr("\\Omicron","\\mathrm{O}"),Sr("\\plusmn","\\pm"),Sr("\\rarr","\\rightarrow"),Sr("\\rArr","\\Rightarrow"),Sr("\\Rarr","\\Rightarrow"),Sr("\\real","\\Re"),Sr("\\reals","\\mathbb{R}"),Sr("\\Reals","\\mathbb{R}"),Sr("\\Rho","\\mathrm{P}"),Sr("\\sdot","\\cdot"),Sr("\\sect","\\S"),Sr("\\spades","\\spadesuit"),Sr("\\sub","\\subset"),Sr("\\sube","\\subseteq"),Sr("\\supe","\\supseteq"),Sr("\\Tau","\\mathrm{T}"),Sr("\\thetasym","\\vartheta"),Sr("\\weierp","\\wp"),Sr("\\Zeta","\\mathrm{Z}"),Sr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Sr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Sr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Sr("\\blue","\\textcolor{##6495ed}{#1}"),Sr("\\orange","\\textcolor{##ffa500}{#1}"),Sr("\\pink","\\textcolor{##ff00af}{#1}"),Sr("\\red","\\textcolor{##df0030}{#1}"),Sr("\\green","\\textcolor{##28ae7b}{#1}"),Sr("\\gray","\\textcolor{gray}{#1}"),Sr("\\purple","\\textcolor{##9d38bd}{#1}"),Sr("\\blueA","\\textcolor{##ccfaff}{#1}"),Sr("\\blueB","\\textcolor{##80f6ff}{#1}"),Sr("\\blueC","\\textcolor{##63d9ea}{#1}"),Sr("\\blueD","\\textcolor{##11accd}{#1}"),Sr("\\blueE","\\textcolor{##0c7f99}{#1}"),Sr("\\tealA","\\textcolor{##94fff5}{#1}"),Sr("\\tealB","\\textcolor{##26edd5}{#1}"),Sr("\\tealC","\\textcolor{##01d1c1}{#1}"),Sr("\\tealD","\\textcolor{##01a995}{#1}"),Sr("\\tealE","\\textcolor{##208170}{#1}"),Sr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Sr("\\greenB","\\textcolor{##8af281}{#1}"),Sr("\\greenC","\\textcolor{##74cf70}{#1}"),Sr("\\greenD","\\textcolor{##1fab54}{#1}"),Sr("\\greenE","\\textcolor{##0d923f}{#1}"),Sr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Sr("\\goldB","\\textcolor{##ffbb71}{#1}"),Sr("\\goldC","\\textcolor{##ff9c39}{#1}"),Sr("\\goldD","\\textcolor{##e07d10}{#1}"),Sr("\\goldE","\\textcolor{##a75a05}{#1}"),Sr("\\redA","\\textcolor{##fca9a9}{#1}"),Sr("\\redB","\\textcolor{##ff8482}{#1}"),Sr("\\redC","\\textcolor{##f9685d}{#1}"),Sr("\\redD","\\textcolor{##e84d39}{#1}"),Sr("\\redE","\\textcolor{##bc2612}{#1}"),Sr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Sr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Sr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Sr("\\maroonD","\\textcolor{##ca337c}{#1}"),Sr("\\maroonE","\\textcolor{##9e034e}{#1}"),Sr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Sr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Sr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Sr("\\purpleD","\\textcolor{##7854ab}{#1}"),Sr("\\purpleE","\\textcolor{##543b78}{#1}"),Sr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Sr("\\mintB","\\textcolor{##edf2df}{#1}"),Sr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Sr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Sr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Sr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Sr("\\grayD","\\textcolor{##d6d8da}{#1}"),Sr("\\grayE","\\textcolor{##babec2}{#1}"),Sr("\\grayF","\\textcolor{##888d93}{#1}"),Sr("\\grayG","\\textcolor{##626569}{#1}"),Sr("\\grayH","\\textcolor{##3b3e40}{#1}"),Sr("\\grayI","\\textcolor{##21242c}{#1}"),Sr("\\kaBlue","\\textcolor{##314453}{#1}"),Sr("\\kaGreen","\\textcolor{##71B307}{#1}");var _o={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Pt(xe,Te,We){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Te,this.expansionCount=0,this.feed(xe),this.macros=new Ga(ps,Te.macros),this.mode=We,this.stack=[]}var oe=Pt.prototype;return oe.feed=function(Te){this.lexer=new Za(Te,this.settings)},oe.switchMode=function(Te){this.mode=Te},oe.beginGroup=function(){this.macros.beginGroup()},oe.endGroup=function(){this.macros.endGroup()},oe.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},oe.popToken=function(){return this.future(),this.stack.pop()},oe.pushToken=function(Te){this.stack.push(Te)},oe.pushTokens=function(Te){var We;(We=this.stack).push.apply(We,Te)},oe.consumeSpaces=function(){for(;;){var Te=this.future();if(Te.text===" ")this.stack.pop();else break}},oe.consumeArgs=function(Te){for(var We=[],Et=0;Et<Te;++Et){this.consumeSpaces();var Ut=this.popToken();if(Ut.text==="{"){for(var hr=[],gr=1;gr!==0;){var Rr=this.popToken();if(hr.push(Rr),Rr.text==="{")++gr;else if(Rr.text==="}")--gr;else if(Rr.text==="EOF")throw new o("End of input in macro argument",Ut)}hr.pop(),hr.reverse(),We[Et]=hr}else{if(Ut.text==="EOF")throw new o("End of input expecting macro argument");We[Et]=[Ut]}}return We},oe.expandOnce=function(){var Te=this.popToken(),We=Te.text,Et=this._getExpansion(We);if(Et==null)return this.pushToken(Te),Te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ut=Et.tokens;if(Et.numArgs){var hr=this.consumeArgs(Et.numArgs);Ut=Ut.slice();for(var gr=Ut.length-1;gr>=0;--gr){var Rr=Ut[gr];if(Rr.text==="#"){if(gr===0)throw new o("Incomplete placeholder at end of macro body",Rr);if(Rr=Ut[--gr],Rr.text==="#")Ut.splice(gr+1,1);else if(/^[1-9]$/.test(Rr.text)){var $r;($r=Ut).splice.apply($r,[gr,2].concat(hr[+Rr.text-1]))}else throw new o("Not a valid argument number",Rr)}}}return this.pushTokens(Ut),Ut},oe.expandAfterFuture=function(){return this.expandOnce(),this.future()},oe.expandNextToken=function(){for(;;){var Te=this.expandOnce();if(Te instanceof h)if(Te.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},oe.expandMacro=function(Te){if(!this.macros.get(Te))return;var We=[],Et=this.stack.length;for(this.pushToken(new h(Te));this.stack.length>Et;){var Ut=this.expandOnce();Ut instanceof h&&We.push(this.stack.pop())}return We},oe.expandMacroAsText=function(Te){var We=this.expandMacro(Te);return We&&We.map(function(Et){return Et.text}).join("")},oe._getExpansion=function(Te){var We=this.macros.get(Te);if(We==null)return We;var Et=typeof We=="function"?We(this):We;if(typeof Et=="string"){var Ut=0;if(Et.indexOf("#")!==-1)for(var hr=Et.replace(/##/g,"");hr.indexOf("#"+(Ut+1))!==-1;)++Ut;for(var gr=new Za(Et,this.settings),Rr=[],$r=gr.lex();$r.text!=="EOF";)Rr.push($r),$r=gr.lex();Rr.reverse();var ln={tokens:Rr,numArgs:Ut};return ln}return Et},oe.isDefined=function(Te){return this.macros.has(Te)||Zi.hasOwnProperty(Te)||Ve.math.hasOwnProperty(Te)||Ve.text.hasOwnProperty(Te)||_o.hasOwnProperty(Te)},Pt}(),Bo={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},rs={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ms=function(){function Pt(xe,Te){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ts(xe,Te,this.mode),this.settings=Te,this.leftrightDepth=0}var oe=Pt.prototype;return oe.expect=function(Te,We){if(We===void 0&&(We=!0),this.fetch().text!==Te)throw new o("Expected '"+Te+"', got '"+this.fetch().text+"'",this.fetch());We&&this.consume()},oe.consume=function(){this.nextToken=null},oe.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},oe.switchMode=function(Te){this.mode=Te,this.gullet.switchMode(Te)},oe.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Te=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Te},oe.parseExpression=function(Te,We){for(var Et=[];;){this.mode==="math"&&this.consumeSpaces();var Ut=this.fetch();if(Pt.endOfExpression.indexOf(Ut.text)!==-1)break;if(We&&Ut.text===We)break;if(Te&&Zi[Ut.text]&&Zi[Ut.text].infix)break;var hr=this.parseAtom(We);if(!hr)break;Et.push(hr)}return this.mode==="text"&&this.formLigatures(Et),this.handleInfixNodes(Et)},oe.handleInfixNodes=function(Te){for(var We=-1,Et,Ut=0;Ut<Te.length;Ut++){var hr=gn(Te[Ut],"infix");if(hr){if(We!==-1)throw new o("only one infix operator per group",hr.token);We=Ut,Et=hr.replaceWith}}if(We!==-1&&Et){var gr,Rr,$r=Te.slice(0,We),ln=Te.slice(We+1);$r.length===1&&$r[0].type==="ordgroup"?gr=$r[0]:gr={type:"ordgroup",mode:this.mode,body:$r},ln.length===1&&ln[0].type==="ordgroup"?Rr=ln[0]:Rr={type:"ordgroup",mode:this.mode,body:ln};var yn;return Et==="\\\\abovefrac"?yn=this.callFunction(Et,[gr,Te[We],Rr],[]):yn=this.callFunction(Et,[gr,Rr],[]),[yn]}else return Te},oe.handleSupSubscript=function(Te){var We=this.fetch(),Et=We.text;this.consume();var Ut=this.parseGroup(Te,!1,Pt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ut)throw new o("Expected group after '"+Et+"'",We);return Ut},oe.formatUnsupportedCmd=function(Te){for(var We=[],Et=0;Et<Te.length;Et++)We.push({type:"textord",mode:"text",text:Te[Et]});var Ut={type:"text",mode:this.mode,body:We},hr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ut]};return hr},oe.parseAtom=function(Te){var We=this.parseGroup("atom",!1,null,Te);if(this.mode==="text")return We;for(var Et,Ut;;){this.consumeSpaces();var hr=this.fetch();if(hr.text==="\\limits"||hr.text==="\\nolimits"){var gr=gn(We,"op");if(gr){var Rr=hr.text==="\\limits";gr.limits=Rr,gr.alwaysHandleSupSub=!0}else if(gr=gn(We,"operatorname"),gr&&gr.alwaysHandleSupSub){var $r=hr.text==="\\limits";gr.limits=$r}else throw new o("Limit controls must follow a math operator",hr);this.consume()}else if(hr.text==="^"){if(Et)throw new o("Double superscript",hr);Et=this.handleSupSubscript("superscript")}else if(hr.text==="_"){if(Ut)throw new o("Double subscript",hr);Ut=this.handleSupSubscript("subscript")}else if(hr.text==="'"){if(Et)throw new o("Double superscript",hr);var ln={type:"textord",mode:this.mode,text:"\\prime"},yn=[ln];for(this.consume();this.fetch().text==="'";)yn.push(ln),this.consume();this.fetch().text==="^"&&yn.push(this.handleSupSubscript("superscript")),Et={type:"ordgroup",mode:this.mode,body:yn}}else break}return Et||Ut?{type:"supsub",mode:this.mode,base:We,sup:Et,sub:Ut}:We},oe.parseFunction=function(Te,We,Et){var Ut=this.fetch(),hr=Ut.text,gr=Zi[hr];if(!gr)return null;if(this.consume(),Et!=null&&gr.greediness<=Et)throw new o("Got function '"+hr+"' with no arguments"+(We?" as "+We:""),Ut);if(this.mode==="text"&&!gr.allowedInText)throw new o("Can't use function '"+hr+"' in text mode",Ut);if(this.mode==="math"&&gr.allowedInMath===!1)throw new o("Can't use function '"+hr+"' in math mode",Ut);var Rr=this.parseArguments(hr,gr),$r=Rr.args,ln=Rr.optArgs;return this.callFunction(hr,$r,ln,Ut,Te)},oe.callFunction=function(Te,We,Et,Ut,hr){var gr={funcName:Te,parser:this,token:Ut,breakOnTokenText:hr},Rr=Zi[Te];if(Rr&&Rr.handler)return Rr.handler(gr,We,Et);throw new o("No function handler for "+Te)},oe.parseArguments=function(Te,We){var Et=We.numArgs+We.numOptionalArgs;if(Et===0)return{args:[],optArgs:[]};for(var Ut=We.greediness,hr=[],gr=[],Rr=0;Rr<Et;Rr++){var $r=We.argTypes&&We.argTypes[Rr],ln=Rr<We.numOptionalArgs,yn=Rr>0&&!ln||Rr===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+Te+"'",$r,ln,Ut,yn);if(!Cn){if(ln){gr.push(null);continue}throw new o("Expected group after '"+Te+"'",this.fetch())}(ln?gr:hr).push(Cn)}return{args:hr,optArgs:gr}},oe.parseGroupOfType=function(Te,We,Et,Ut,hr){switch(We){case"color":return hr&&this.consumeSpaces(),this.parseColorGroup(Et);case"size":return hr&&this.consumeSpaces(),this.parseSizeGroup(Et);case"url":return this.parseUrlGroup(Et,hr);case"math":case"text":return this.parseGroup(Te,Et,Ut,void 0,We,hr);case"hbox":{var gr=this.parseGroup(Te,Et,Ut,void 0,"text",hr);if(!gr)return gr;var Rr={type:"styling",mode:gr.mode,body:[gr],style:"text"};return Rr}case"raw":{if(hr&&this.consumeSpaces(),Et&&this.fetch().text==="{")return null;var $r=this.parseStringGroup("raw",Et,!0);if($r)return{type:"raw",mode:"text",string:$r.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Te,Et,Ut,void 0,void 0,hr);default:throw new o("Unknown group type as "+Te,this.fetch())}},oe.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},oe.parseStringGroup=function(Te,We,Et){var Ut=We?"[":"{",hr=We?"]":"}",gr=this.fetch();if(gr.text!==Ut){if(We)return null;if(Et&&gr.text!=="EOF"&&/[^{}[\]]/.test(gr.text))return this.consume(),gr}var Rr=this.mode;this.mode="text",this.expect(Ut);for(var $r="",ln=this.fetch(),yn=0,Cn=ln,Qn;(Qn=this.fetch()).text!==hr||Et&&yn>0;){switch(Qn.text){case"EOF":throw new o("Unexpected end of input in "+Te,ln.range(Cn,$r));case Ut:yn++;break;case hr:yn--;break}Cn=Qn,$r+=Cn.text,this.consume()}return this.expect(hr),this.mode=Rr,ln.range(Cn,$r)},oe.parseRegexGroup=function(Te,We){var Et=this.mode;this.mode="text";for(var Ut=this.fetch(),hr=Ut,gr="",Rr;(Rr=this.fetch()).text!=="EOF"&&Te.test(gr+Rr.text);)hr=Rr,gr+=hr.text,this.consume();if(gr==="")throw new o("Invalid "+We+": '"+Ut.text+"'",Ut);return this.mode=Et,Ut.range(hr,gr)},oe.parseColorGroup=function(Te){var We=this.parseStringGroup("color",Te);if(!We)return null;var Et=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(We.text);if(!Et)throw new o("Invalid color: '"+We.text+"'",We);var Ut=Et[0];return/^[0-9a-f]{6}$/i.test(Ut)&&(Ut="#"+Ut),{type:"color-token",mode:this.mode,color:Ut}},oe.parseSizeGroup=function(Te){var We,Et=!1;if(!Te&&this.fetch().text!=="{"?We=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):We=this.parseStringGroup("size",Te),!We)return null;!Te&&We.text.length===0&&(We.text="0pt",Et=!0);var Ut=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(We.text);if(!Ut)throw new o("Invalid size: '"+We.text+"'",We);var hr={number:+(Ut[1]+Ut[2]),unit:Ut[3]};if(!ut(hr))throw new o("Invalid unit: '"+hr.unit+"'",We);return{type:"size",mode:this.mode,value:hr,isBlank:Et}},oe.parseUrlGroup=function(Te,We){this.gullet.lexer.setCatcode("%",13);var Et=this.parseStringGroup("url",Te,!0);if(this.gullet.lexer.setCatcode("%",14),!Et)return null;var Ut=Et.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ut}},oe.parseGroup=function(Te,We,Et,Ut,hr,gr){var Rr=this.mode;hr&&this.switchMode(hr),gr&&this.consumeSpaces();var $r=this.fetch(),ln=$r.text,yn;if(We?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=Pt.endOfGroup[ln];this.gullet.beginGroup();var Qn=this.parseExpression(!1,Cn),ti=this.fetch();this.expect(Cn),this.gullet.endGroup(),yn={type:"ordgroup",mode:this.mode,loc:v.range($r,ti),body:Qn,semisimple:ln==="\\begingroup"||void 0}}else if(We)yn=null;else if(yn=this.parseFunction(Ut,Te,Et)||this.parseSymbol(),yn==null&&ln[0]==="\\"&&!_o.hasOwnProperty(ln)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+ln,$r);yn=this.formatUnsupportedCmd(ln),this.consume()}return hr&&this.switchMode(Rr),yn},oe.formLigatures=function(Te){for(var We=Te.length-1,Et=0;Et<We;++Et){var Ut=Te[Et],hr=Ut.text;hr==="-"&&Te[Et+1].text==="-"&&(Et+1<We&&Te[Et+2].text==="-"?(Te.splice(Et,3,{type:"textord",mode:"text",loc:v.range(Ut,Te[Et+2]),text:"---"}),We-=2):(Te.splice(Et,2,{type:"textord",mode:"text",loc:v.range(Ut,Te[Et+1]),text:"--"}),We-=1)),(hr==="'"||hr==="`")&&Te[Et+1].text===hr&&(Te.splice(Et,2,{type:"textord",mode:"text",loc:v.range(Ut,Te[Et+1]),text:hr+hr}),We-=1)}},oe.parseSymbol=function(){var Te=this.fetch(),We=Te.text;if(/^\\verb[^a-zA-Z]/.test(We)){this.consume();var Et=We.slice(5),Ut=Et.charAt(0)==="*";if(Ut&&(Et=Et.slice(1)),Et.length<2||Et.charAt(0)!==Et.slice(-1))throw new o(`\\verb assertion failed --
please report what input caused this bug`);return Et=Et.slice(1,-1),{type:"verb",mode:"text",body:Et,star:Ut}}rs.hasOwnProperty(We[0])&&!Ve[this.mode][We[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+We[0]+'" used in math mode',Te),We=rs[We[0]]+We.substr(1));var hr=Go.exec(We);hr&&(We=We.substring(0,hr.index),We==="i"?We="\u0131":We==="j"&&(We="\u0237"));var gr;if(Ve[this.mode][We]){this.settings.strict&&this.mode==="math"&&$e.indexOf(We)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+We[0]+'" used in math mode',Te);var Rr=Ve[this.mode][We].group,$r=v.range(Te),ln;if(et.hasOwnProperty(Rr)){var yn=Rr;ln={type:"atom",mode:this.mode,family:yn,loc:$r,text:We}}else ln={type:Rr,mode:this.mode,loc:$r,text:We};gr=ln}else if(We.charCodeAt(0)>=128)this.settings.strict&&(X(We.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+We[0]+'" used in math mode',Te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+We[0]+'"'+(" ("+We.charCodeAt(0)+")"),Te)),gr={type:"textord",mode:"text",loc:v.range(Te),text:We};else return null;if(this.consume(),hr)for(var Cn=0;Cn<hr[0].length;Cn++){var Qn=hr[0][Cn];if(!Bo[Qn])throw new o("Unknown accent ' "+Qn+"'",Te);var ti=Bo[Qn][this.mode];if(!ti)throw new o("Accent "+Qn+" unsupported in "+this.mode+" mode",Te);gr={type:"accent",mode:this.mode,loc:v.range(Te),label:ti,isStretchy:!1,isShifty:!0,base:gr}}return gr},Pt}();ms.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ms.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ms.SUPSUB_GREEDINESS=1;var ls=function(oe,xe){if(!(typeof oe=="string"||oe instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Te=new ms(oe,xe);delete Te.gullet.macros.current["\\df@tag"];var We=Te.parse();if(Te.gullet.macros.get("\\df@tag")){if(!xe.displayMode)throw new o("\\tag works only in display equations");Te.gullet.feed("\\df@tag"),We=[{type:"tag",mode:"text",body:We,tag:Te.parse()}]}return We},Ns=ls,Ds=function(oe,xe,Te){xe.textContent="";var We=Mo(oe,Te).toNode();xe.appendChild(We)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Ds=function(){throw new o("KaTeX doesn't work in quirks mode.")}));var as=function(oe,xe){var Te=Mo(oe,xe).toMarkup();return Te},$s=function(oe,xe){var Te=new E(xe);return Ns(oe,Te)},cs=function(oe,xe,Te){if(Te.throwOnError||!(oe instanceof o))throw oe;var We=jr.makeSpan(["katex-error"],[new ze(xe)]);return We.setAttribute("title",oe.toString()),We.setAttribute("style","color:"+Te.errorColor),We},Mo=function(oe,xe){var Te=new E(xe);try{var We=Ns(oe,Te);return tt(We,oe,Te)}catch(Et){return cs(Et,oe,Te)}},Dn=function(oe,xe){var Te=new E(xe);try{var We=Ns(oe,Te);return jt(We,oe,Te)}catch(Et){return cs(Et,oe,Te)}},Vs={version:"0.11.1",render:Ds,renderToString:as,ParseError:o,__parse:$s,__renderToDomTree:Mo,__renderToHTMLTree:Dn,__setFontMetrics:Rt,__defineSymbol:ie,__defineMacro:Sr,__domTree:{Span:ee,Anchor:se,SymbolNode:ze,SvgNode:Oe,PathNode:ae,LineNode:ge}},Os=f.default=Vs}]).default})},P2fV:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("Q9mQ"),m=e("+L6B"),v=e("sE09"),h=e.n(v)},P2ho:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={Again:57349,AltLeft:56,AltRight:57400,ArrowDown:57424,ArrowLeft:57419,ArrowRight:57421,ArrowUp:57416,AudioVolumeDown:57390,AudioVolumeMute:57376,AudioVolumeUp:57392,Backquote:41,Backslash:43,Backspace:14,BracketLeft:26,BracketRight:27,BrowserBack:57450,BrowserFavorites:57446,BrowserForward:57449,BrowserHome:57394,BrowserRefresh:57447,BrowserSearch:57445,BrowserStop:57448,CapsLock:58,Comma:51,ContextMenu:57437,ControlLeft:29,ControlRight:57373,Convert:121,Copy:57464,Cut:57404,Delete:57427,Digit0:11,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Eject:57469,End:57423,Enter:28,Equal:13,Escape:1,F1:59,F10:68,F11:87,F12:88,F13:93,F14:94,F15:95,F16:85,F17:57347,F18:57463,F19:57348,F2:60,F20:90,F21:116,F22:57465,F23:109,F24:111,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,Find:57409,Help:57461,Hiragana:119,Home:57415,Insert:57426,IntlBackslash:86,IntlRo:115,IntlYen:125,KanaMode:112,Katakana:120,KeyA:30,KeyB:48,KeyC:46,KeyD:32,KeyE:18,KeyF:33,KeyG:34,KeyH:35,KeyI:23,KeyJ:36,KeyK:37,KeyL:38,KeyM:50,KeyN:49,KeyO:24,KeyP:25,KeyQ:16,KeyR:19,KeyS:31,KeyT:20,KeyU:22,KeyV:47,KeyW:17,KeyX:45,KeyY:21,KeyZ:44,Lang3:120,Lang4:119,Lang5:118,LaunchApp1:57451,LaunchApp2:57377,LaunchMail:57452,MediaPlayPause:57378,MediaSelect:57453,MediaStop:57380,MediaTrackNext:57369,MediaTrackPrevious:57360,MetaLeft:57435,MetaRight:57436,Minus:12,NonConvert:123,NumLock:69,Numpad0:82,Numpad1:79,Numpad2:80,Numpad3:81,Numpad4:75,Numpad5:76,Numpad6:77,Numpad7:71,Numpad8:72,Numpad9:73,NumpadAdd:78,NumpadComma:126,NumpadDecimal:83,NumpadDivide:57397,NumpadEnter:57372,NumpadEqual:89,NumpadMultiply:55,NumpadParenLeft:57462,NumpadParenRight:57467,NumpadSubtract:74,Open:100,PageDown:57425,PageUp:57417,Paste:101,Pause:57414,Period:52,Power:57438,PrintScreen:84,Props:57350,Quote:40,ScrollLock:70,Semicolon:39,ShiftLeft:42,ShiftRight:54,Slash:53,Sleep:57439,Space:57,Suspend:57381,Tab:15,Undo:57351,WakeUp:57443};_.default=g},P47w:function(D,_,e){var g=e("hydK"),f=g.createElement,A=e("IMiH"),m=e("mFDi"),v=e("Fofx"),h=e("6GrX"),c=e("pzxd"),o=e("dqUG"),i=A.CMD,n=Array.prototype.join,a="none",u=Math.round,r=Math.sin,l=Math.cos,t=Math.PI,s=Math.PI*2,d=180/t,p=1e-4;function b(V){return u(V*1e4)/1e4}function w(V){return V<p&&V>-p}function E(V,z){var X=z?V.textFill:V.fill;return X!=null&&X!==a}function S(V,z){var X=z?V.textStroke:V.stroke;return X!=null&&X!==a}function x(V,z){z&&T(V,"transform","matrix("+n.call(z,",")+")")}function T(V,z,X){(!X||X.type!=="linear"&&X.type!=="radial")&&V.setAttribute(z,X)}function L(V,z,X){V.setAttributeNS("http://www.w3.org/1999/xlink",z,X)}function y(V,z,X,G){if(E(z,X)){var le=X?z.textFill:z.fill;le=le==="transparent"?a:le,T(V,"fill",le),T(V,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else T(V,"fill",a);if(S(z,X)){var Y=X?z.textStroke:z.stroke;Y=Y==="transparent"?a:Y,T(V,"stroke",Y);var me=X?z.textStrokeWidth:z.lineWidth,we=!X&&z.strokeNoScale?G.getLineScale():1;T(V,"stroke-width",me/we),T(V,"paint-order",X?"stroke":"fill"),T(V,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var pe=z.lineDash;pe?(T(V,"stroke-dasharray",z.lineDash.join(",")),T(V,"stroke-dashoffset",u(z.lineDashOffset||0))):T(V,"stroke-dasharray",""),z.lineCap&&T(V,"stroke-linecap",z.lineCap),z.lineJoin&&T(V,"stroke-linejoin",z.lineJoin),z.miterLimit&&T(V,"stroke-miterlimit",z.miterLimit)}else T(V,"stroke",a)}function C(V){for(var z=[],X=V.data,G=V.len(),le=0;le<G;){var Y=X[le++],me="",we=0;switch(Y){case i.M:me="M",we=2;break;case i.L:me="L",we=2;break;case i.Q:me="Q",we=4;break;case i.C:me="C",we=6;break;case i.A:var pe=X[le++],Fe=X[le++],Xe=X[le++],dt=X[le++],Ee=X[le++],Se=X[le++],at=X[le++],_e=X[le++],ce=Math.abs(Se),ee=w(ce-s)||(_e?Se>=s:-Se>=s),se=Se>0?Se%s:Se%s+s,ke=!1;ee?ke=!0:w(ce)?ke=!1:ke=se>=t===!!_e;var Ce=b(pe+Xe*l(Ee)),ze=b(Fe+dt*r(Ee));ee&&(_e?Se=s-1e-4:Se=-s+1e-4,ke=!0,le===9&&z.push("M",Ce,ze));var Oe=b(pe+Xe*l(Ee+Se)),ae=b(Fe+dt*r(Ee+Se));z.push("A",b(Xe),b(dt),u(at*d),+ke,+_e,Oe,ae);break;case i.Z:me="Z";break;case i.R:var Oe=b(X[le++]),ae=b(X[le++]),ge=b(X[le++]),Le=b(X[le++]);z.push("M",Oe,ae,"L",Oe+ge,ae,"L",Oe+ge,ae+Le,"L",Oe,ae+Le,"L",Oe,ae);break}me&&z.push(me);for(var Ze=0;Ze<we;Ze++)z.push(b(X[le++]))}return z.join(" ")}var O={};O.brush=function(V){var z=V.style,X=V.__svgEl;X||(X=f("path"),V.__svgEl=X),V.path||V.createPathProxy();var G=V.path;if(V.__dirtyPath){G.beginPath(),G.subPixelOptimize=!1,V.buildPath(G,V.shape),V.__dirtyPath=!1;var le=C(G);le.indexOf("NaN")<0&&T(X,"d",le)}y(X,z,!1,V),x(X,V.transform),z.text!=null?R(V,V.getBoundingRect()):K(V)};var N={};N.brush=function(V){var z=V.style,X=z.image;if(X instanceof HTMLImageElement){var G=X.src;X=G}if(!X)return;var le=z.x||0,Y=z.y||0,me=z.width,we=z.height,pe=V.__svgEl;pe||(pe=f("image"),V.__svgEl=pe),X!==V.__imageSrc&&(L(pe,"href",X),V.__imageSrc=X),T(pe,"width",me),T(pe,"height",we),T(pe,"x",le),T(pe,"y",Y),x(pe,V.transform),z.text!=null?R(V,V.getBoundingRect()):K(V)};var k={},F=new m,B={},H=[],W={left:"start",right:"end",center:"middle",middle:"middle"},R=function(z,X){var G=z.style,le=z.transform,Y=z instanceof o||G.transformText;z.__dirty&&c.normalizeTextStyle(G,!0);var me=G.text;if(me!=null&&(me+=""),!c.needDrawText(me,G))return;me==null&&(me=""),!Y&&le&&(F.copy(X),F.applyTransform(le),X=F);var we=z.__textSvgEl;we||(we=f("text"),z.__textSvgEl=we);var pe=we.style,Fe=G.font||h.DEFAULT_FONT,Xe=we.__computedFont;Fe!==we.__styleFont&&(pe.font=we.__styleFont=Fe,Xe=we.__computedFont=pe.font);var dt=G.textPadding,Ee=G.textLineHeight,Se=z.__textCotentBlock;(!Se||z.__dirtyText)&&(Se=z.__textCotentBlock=h.parsePlainText(me,Xe,dt,Ee,G.truncate));var at=Se.outerHeight,_e=Se.lineHeight;c.getBoxPosition(B,z,G,X);var ce=B.baseX,ee=B.baseY,se=B.textAlign||"left",ke=B.textVerticalAlign;U(we,Y,le,G,X,ce,ee);var Ce=h.adjustTextY(ee,at,ke),ze=ce,Oe=Ce;dt&&(ze=j(ce,se,dt),Oe+=dt[0]),Oe+=_e/2,y(we,G,!0,z);var ae=Se.canCacheByTextString,ge=z.__tspanList||(z.__tspanList=[]),Le=ge.length;if(ae&&z.__canCacheByTextString&&z.__text===me){if(z.__dirtyText&&Le)for(var Ze=0;Ze<Le;++Ze)P(ge[Ze],se,ze,Oe+Ze*_e)}else{z.__text=me,z.__canCacheByTextString=ae;for(var vt=Se.lines,Ct=vt.length,Ze=0;Ze<Ct;Ze++){var Be=ge[Ze],Rt=vt[Ze];Be?Be.__zrText!==Rt&&(Be.innerHTML="",Be.appendChild(document.createTextNode(Rt))):(Be=ge[Ze]=f("tspan"),we.appendChild(Be),Be.appendChild(document.createTextNode(Rt))),P(Be,se,ze,Oe+Ze*_e)}if(Le>Ct){for(;Ze<Le;Ze++)we.removeChild(ge[Ze]);ge.length=Ct}}};function U(V,z,X,G,le,Y,me){v.identity(H),z&&X&&v.copy(H,X);var we=G.textRotation;if(le&&we){var pe=G.textOrigin;pe==="center"?(Y=le.width/2+le.x,me=le.height/2+le.y):pe&&(Y=pe[0]+le.x,me=pe[1]+le.y),H[4]-=Y,H[5]-=me,v.rotate(H,H,we),H[4]+=Y,H[5]+=me}x(V,H)}function j(V,z,X){return z==="right"?V-X[1]:z==="center"?V+X[3]/2-X[1]/2:V+X[3]}function P(V,z,X,G){T(V,"dominant-baseline","middle"),T(V,"text-anchor",W[z]),T(V,"x",X),T(V,"y",G)}function K(V){V&&V.__textSvgEl&&(V.__textSvgEl.parentNode&&V.__textSvgEl.parentNode.removeChild(V.__textSvgEl),V.__textSvgEl=null,V.__tspanList=[],V.__text=null)}k.drawRectText=R,k.brush=function(V){var z=V.style;z.text!=null?R(V,!1):K(V)},_.path=O,_.image=N,_.text=k},P4Qj:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.removeSensor=_.getSensor=void 0;var g=m(e("chpo")),f=e("FxDU"),A=e("24YM");function m(o){return o&&o.__esModule?o:{default:o}}var v={},h=function(i){var n=i.getAttribute(A.SizeSensorId);if(n&&v[n])return v[n];var a=(0,g.default)();i.setAttribute(A.SizeSensorId,a);var u=(0,f.createSensor)(i);return v[a]=u,u};_.getSensor=h;var c=function(i){var n=i.element.getAttribute(A.SizeSensorId);i.element.removeAttribute(A.SizeSensorId),i.destroy(),n&&v[n]&&delete v[n]};_.removeSensor=c},P5Jw:function(D,_,e){"use strict";var g=e("rHrb"),f=g.CopyToClipboard;f.CopyToClipboard=f,D.exports=f},PArb:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),o=e.n(c),i=e("H84U"),n=function(u,r){var l={};for(var t in u)Object.prototype.hasOwnProperty.call(u,t)&&r.indexOf(t)<0&&(l[t]=u[t]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,t=Object.getOwnPropertySymbols(u);s<t.length;s++)r.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(u,t[s])&&(l[t[s]]=u[t[s]]);return l},a=function(r){return v.createElement(i.a,null,function(l){var t,s=l.getPrefixCls,d=l.direction,p=r.prefixCls,b=r.type,w=b===void 0?"horizontal":b,E=r.orientation,S=E===void 0?"center":E,x=r.className,T=r.children,L=r.dashed,y=r.plain,C=n(r,["prefixCls","type","orientation","className","children","dashed","plain"]),O=s("divider",p),N=S.length>0?"-".concat(S):S,k=!!T,F=o()(x,O,"".concat(O,"-").concat(w),(t={},m()(t,"".concat(O,"-with-text"),k),m()(t,"".concat(O,"-with-text").concat(N),k),m()(t,"".concat(O,"-dashed"),!!L),m()(t,"".concat(O,"-plain"),!!y),m()(t,"".concat(O,"-rtl"),d==="rtl"),t));return v.createElement("div",f()({className:F},C,{role:"separator"}),T&&v.createElement("span",{className:"".concat(O,"-inner-text")},T))})};_.a=a},PD8m:function(D,_){D.exports={name:"memoryStorage",read:g,write:f,each:A,remove:m,clearAll:v};var e={};function g(h){return e[h]}function f(h,c){e[h]=c}function A(h){for(var c in e)e.hasOwnProperty(c)&&h(e[c],c)}function m(h){delete e[h]}function v(h){e={}}},PEeC:function(D,_,e){"use strict";e.d(_,"a",function(){return v}),e.d(_,"b",function(){return h});var g=e("RIqP"),f=e.n(g),A=e("xEkU"),m=e.n(A);function v(c){var o,i=function(u){return function(){o=null,c.apply(void 0,f()(u))}},n=function(){if(o==null){for(var u=arguments.length,r=new Array(u),l=0;l<u;l++)r[l]=arguments[l];o=m()(i(r))}};return n.cancel=function(){return m.a.cancel(o)},n}function h(){return function(c,o,i){var n=i.value,a=!1;return{configurable:!0,get:function(){if(a||this===c.prototype||this.hasOwnProperty(o))return n;var r=v(n.bind(this));return a=!0,Object.defineProperty(this,o,{value:r,configurable:!0,writable:!0}),a=!1,r}}}}},PKem:function(D,_,e){"use strict";e.d(_,"a",function(){return E});var g=e("RIqP"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("pVnL"),h=e.n(v),c=e("lwsE"),o=e.n(c),i=e("W8MJ"),n=e.n(i),a=e("7W2i"),u=e.n(a),r=e("LQ03"),l=e.n(r),t=e("q1tI"),s=e.n(t),d=e("TSYQ"),p=e.n(d),b=e("H84U"),w=function(N,k){var F={};for(var B in N)Object.prototype.hasOwnProperty.call(N,B)&&k.indexOf(B)<0&&(F[B]=N[B]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,B=Object.getOwnPropertySymbols(N);H<B.length;H++)k.indexOf(B[H])<0&&Object.prototype.propertyIsEnumerable.call(N,B[H])&&(F[B[H]]=N[B[H]]);return F},E=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function S(N){var k=N.suffixCls,F=N.tagName,B=N.displayName;return function(H){var W;return W=function(R){u()(j,R);var U=l()(j);function j(){var P;return o()(this,j),P=U.apply(this,arguments),P.renderComponent=function(K){var V=K.getPrefixCls,z=P.props.prefixCls,X=V(k,z);return t.createElement(H,h()({prefixCls:X,tagName:F},P.props))},P}return n()(j,[{key:"render",value:function(){return t.createElement(b.a,null,this.renderComponent)}}]),j}(t.Component),W.displayName=B,W}}var x=function(k){var F=k.prefixCls,B=k.className,H=k.children,W=k.tagName,R=w(k,["prefixCls","className","children","tagName"]),U=p()(F,B);return t.createElement(W,h()({className:U},R),H)},T=function(N){u()(F,N);var k=l()(F);function F(){var B;return o()(this,F),B=k.apply(this,arguments),B.state={siders:[]},B.renderComponent=function(H){var W,R=H.direction,U=B.props,j=U.prefixCls,P=U.className,K=U.children,V=U.hasSider,z=U.tagName,X=w(U,["prefixCls","className","children","hasSider","tagName"]),G=p()(j,(W={},m()(W,"".concat(j,"-has-sider"),typeof V=="boolean"?V:B.state.siders.length>0),m()(W,"".concat(j,"-rtl"),R==="rtl"),W),P);return t.createElement(E.Provider,{value:{siderHook:B.getSiderHook()}},t.createElement(z,h()({className:G},X),K))},B}return n()(F,[{key:"getSiderHook",value:function(){var H=this;return{addSider:function(R){H.setState(function(U){return{siders:[].concat(f()(U.siders),[R])}})},removeSider:function(R){H.setState(function(U){return{siders:U.siders.filter(function(j){return j!==R})}})}}}},{key:"render",value:function(){return t.createElement(b.a,null,this.renderComponent)}}]),F}(t.Component),L=S({suffixCls:"layout",tagName:"section",displayName:"Layout"})(T),y=S({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(x),C=S({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(x),O=S({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(x);L.Header=y,L.Footer=C,L.Content=O,_.b=L},PNag:function(D,_,e){var g=e("bYtY"),f=e("SKnc"),A=e("YH21"),m=e("crZl"),v=e("IwbS"),h=e("OELB"),c=e("72pK"),o=e("y7Aq"),i=e("4NO4"),n=h.linearMap,a=g.each,u=Math.min,r=Math.max,l=12,t=6,s=m.extend({type:"visualMap.continuous",init:function(){s.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(T,L,y,C){(!C||C.type!=="selectDataRange"||C.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var T=this.visualMapModel,L=this.group;this._orient=T.get("orient"),this._useHandle=T.get("calculable"),this._resetInterval(),this._renderBar(L);var y=T.get("text");this._renderEndsText(L,y,0),this._renderEndsText(L,y,1),this._updateView(!0),this.renderBackground(L),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(L)},_renderEndsText:function(T,L,y){if(!L)return;var C=L[1-y];C=C!=null?C+"":"";var O=this.visualMapModel,N=O.get("textGap"),k=O.itemSize,F=this._shapes.barGroup,B=this._applyTransform([k[0]/2,y===0?-N:k[1]+N],F),H=this._applyTransform(y===0?"bottom":"top",F),W=this._orient,R=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:B[0],y:B[1],textVerticalAlign:W==="horizontal"?"middle":H,textAlign:W==="horizontal"?H:"center",text:C,textFont:R.getFont(),textFill:R.getTextColor()}}))},_renderBar:function(T){var L=this.visualMapModel,y=this._shapes,C=L.itemSize,O=this._orient,N=this._useHandle,k=o.getItemAlign(L,this.api,C),F=y.barGroup=this._createBarGroup(k);F.add(y.outOfRange=d()),F.add(y.inRange=d(null,N?S(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0)));var B=L.textStyleModel.getTextRect("\u56FD"),H=r(B.width,B.height);N&&(y.handleThumbs=[],y.handleLabels=[],y.handleLabelPoints=[],this._createHandle(F,0,C,H,O,k),this._createHandle(F,1,C,H,O,k)),this._createIndicator(F,C,H,O),T.add(F)},_createHandle:function(T,L,y,C,O){var N=g.bind(this._dragHandle,this,L,!1),k=g.bind(this._dragHandle,this,L,!0),F=d(p(L,C),S(this._orient),N,k);F.position[0]=y[0],T.add(F);var B=this.visualMapModel.textStyleModel,H=new v.Text({draggable:!0,drift:N,onmousemove:function(U){A.stop(U.event)},ondragend:k,style:{x:0,y:0,text:"",textFont:B.getFont(),textFill:B.getTextColor()}});this.group.add(H);var W=[O==="horizontal"?C/2:C*1.5,O==="horizontal"?L===0?-(C*1.5):C*1.5:L===0?-C/2:C/2],R=this._shapes;R.handleThumbs[L]=F,R.handleLabelPoints[L]=W,R.handleLabels[L]=H},_createIndicator:function(T,L,y,C){var O=d([[0,0]],"move");O.position[0]=L[0],O.attr({invisible:!0,silent:!0}),T.add(O);var N=this.visualMapModel.textStyleModel,k=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:N.getFont(),textFill:N.getTextColor()}});this.group.add(k);var F=[C==="horizontal"?y/2:t+3,0],B=this._shapes;B.indicator=O,B.indicatorLabel=k,B.indicatorLabelPoint=F},_dragHandle:function(T,L,y,C){if(!this._useHandle)return;if(this._dragging=!L,!L){var O=this._applyTransform([y,C],this._shapes.barGroup,!0);this._updateInterval(T,O[1]),this._updateView()}L===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),L?!this._hovering&&this._clearHoverLinkToSeries():E(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[T],!1)},_resetInterval:function(){var T=this.visualMapModel,L=this._dataInterval=T.getSelected(),y=T.getExtent(),C=[0,T.itemSize[1]];this._handleEnds=[n(L[0],y,C,!0),n(L[1],y,C,!0)]},_updateInterval:function(T,L){L=L||0;var y=this.visualMapModel,C=this._handleEnds,O=[0,y.itemSize[1]];c(L,C,O,T,0);var N=y.getExtent();this._dataInterval=[n(C[0],O,N,!0),n(C[1],O,N,!0)]},_updateView:function(T){var L=this.visualMapModel,y=L.getExtent(),C=this._shapes,O=[0,L.itemSize[1]],N=T?O:this._handleEnds,k=this._createBarVisual(this._dataInterval,y,N,"inRange"),F=this._createBarVisual(y,y,O,"outOfRange");C.inRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),C.outOfRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),this._updateHandle(N,k)},_createBarVisual:function(T,L,y,C){var O={forceState:C,convertOpacityToAlpha:!0},N=this._makeColorGradient(T,O),k=[this.getControllerVisual(T[0],"symbolSize",O),this.getControllerVisual(T[1],"symbolSize",O)],F=this._createBarPoints(y,k);return{barColor:new f(0,0,0,1,N),barPoints:F,handlesColor:[N[0].color,N[N.length-1].color]}},_makeColorGradient:function(T,L){var y=100,C=[],O=(T[1]-T[0])/y;C.push({color:this.getControllerVisual(T[0],"color",L),offset:0});for(var N=1;N<y;N++){var k=T[0]+O*N;if(k>T[1])break;C.push({color:this.getControllerVisual(k,"color",L),offset:N/y})}return C.push({color:this.getControllerVisual(T[1],"color",L),offset:1}),C},_createBarPoints:function(T,L){var y=this.visualMapModel.itemSize;return[[y[0]-L[0],T[0]],[y[0],T[0]],[y[0],T[1]],[y[0]-L[1],T[1]]]},_createBarGroup:function(T){var L=this._orient,y=this.visualMapModel.get("inverse");return new v.Group(L==="horizontal"&&!y?{scale:T==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:L==="horizontal"&&y?{scale:T==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:L==="vertical"&&!y?{scale:T==="left"?[1,-1]:[-1,-1]}:{scale:T==="left"?[1,1]:[-1,1]})},_updateHandle:function(T,L){if(!this._useHandle)return;var y=this._shapes,C=this.visualMapModel,O=y.handleThumbs,N=y.handleLabels;a([0,1],function(k){var F=O[k];F.setStyle("fill",L.handlesColor[k]),F.position[1]=T[k];var B=v.applyTransform(y.handleLabelPoints[k],v.getTransform(F,this.group));N[k].setStyle({x:B[0],y:B[1],text:C.formatValueText(this._dataInterval[k]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?k===0?"bottom":"top":"left",y.barGroup)})},this)},_showIndicator:function(T,L,y,C){var O=this.visualMapModel,N=O.getExtent(),k=O.itemSize,F=[0,k[1]],B=n(T,N,F,!0),H=this._shapes,W=H.indicator;if(!W)return;W.position[1]=B,W.attr("invisible",!1),W.setShape("points",b(!!y,C,B,k[1]));var R={convertOpacityToAlpha:!0},U=this.getControllerVisual(T,"color",R);W.setStyle("fill",U);var j=v.applyTransform(H.indicatorLabelPoint,v.getTransform(W,this.group)),P=H.indicatorLabel;P.attr("invisible",!1);var K=this._applyTransform("left",H.barGroup),V=this._orient;P.setStyle({text:(y||"")+O.formatValueText(L),textVerticalAlign:V==="horizontal"?K:"middle",textAlign:V==="horizontal"?"center":K,x:j[0],y:j[1]})},_enableHoverLinkToSeries:function(){var T=this;this._shapes.barGroup.on("mousemove",function(L){if(T._hovering=!0,!T._dragging){var y=T.visualMapModel.itemSize,C=T._applyTransform([L.offsetX,L.offsetY],T._shapes.barGroup,!0,!0);C[1]=u(r(0,C[1]),y[1]),T._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=y[0])}}).on("mouseout",function(){T._hovering=!1,!T._dragging&&T._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var T=this.api.getZr();this.visualMapModel.option.hoverLink?(T.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),T.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(T,L){var y=this.visualMapModel,C=y.itemSize;if(!y.option.hoverLink)return;var O=[0,C[1]],N=y.getExtent();T=u(r(O[0],T),O[1]);var k=w(y,N,O),F=[T-k,T+k],B=n(T,O,N,!0),H=[n(F[0],O,N,!0),n(F[1],O,N,!0)];F[0]<O[0]&&(H[0]=-Infinity),F[1]>O[1]&&(H[1]=Infinity),L&&(H[0]===-Infinity?this._showIndicator(B,H[1],"< ",k):H[1]===Infinity?this._showIndicator(B,H[0],"> ",k):this._showIndicator(B,B,"\u2248 ",k));var W=this._hoverLinkDataIndices,R=[];(L||E(y))&&(R=this._hoverLinkDataIndices=y.findTargetDataIndices(H));var U=i.compressBatches(W,R);this._dispatchHighDown("downplay",o.makeHighDownBatch(U[0],y)),this._dispatchHighDown("highlight",o.makeHighDownBatch(U[1],y))},_hoverLinkFromSeriesMouseOver:function(T){var L=T.target,y=this.visualMapModel;if(!L||L.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(L.seriesIndex);if(!y.isTargetSeries(C))return;var O=C.getData(L.dataType),N=O.get(y.getDataDimension(O),L.dataIndex,!0);isNaN(N)||this._showIndicator(N,N)},_hideIndicator:function(){var T=this._shapes;T.indicator&&T.indicator.attr("invisible",!0),T.indicatorLabel&&T.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var T=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",o.makeHighDownBatch(T,this.visualMapModel)),T.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var T=this.api.getZr();T.off("mouseover",this._hoverLinkFromSeriesMouseOver),T.off("mouseout",this._hideIndicator)},_applyTransform:function(T,L,y,C){var O=v.getTransform(L,C?null:this.group);return v[g.isArray(T)?"applyTransform":"transformDirection"](T,O,y)},_dispatchHighDown:function(T,L){L&&L.length&&this.api.dispatchAction({type:T,batch:L})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function d(T,L,y,C){return new v.Polygon({shape:{points:T},draggable:!!y,cursor:L,drift:y,onmousemove:function(O){A.stop(O.event)},ondragend:C})}function p(T,L){return T===0?[[0,0],[L,0],[L,-L]]:[[0,0],[L,0],[L,L]]}function b(T,L,y,C){return T?[[0,-u(L,r(y,0))],[t,0],[0,u(L,r(C-y,0))]]:[[0,0],[5,-5],[5,5]]}function w(T,L,y){var C=l/2,O=T.get("hoverLinkDataSize");return O&&(C=n(O,L,y,!0)/2),C}function E(T){var L=T.get("hoverLinkOnHandle");return!!(L==null?T.get("realtime"):L)}function S(T){return T==="vertical"?"ns-resize":"ew-resize"}var x=s;D.exports=x},PQMj:function(D,_,e){},PSzr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};_.default=g},ProS:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("aX58"),m=e("bYtY"),v=e("Qe9p"),h=e("ItGF"),c=e("BPZU"),o=e("H6uX"),i=e("fmMI"),n=e("hD7B"),a=e("IDmD"),u=e("ypgQ"),r=e("+wW9"),l=e("0V0F"),t=e("bLfw"),s=e("T4UG"),d=e("sS/r"),p=e("6Ic6"),b=e("IwbS"),w=e("4NO4"),E=e("iLNv"),S=E.throttle,x=e("/WM3"),T=e("uAnK"),L=e("mYwL"),y=e("af/B"),C=e("xTNl"),O=e("8hn6");e("A1Ka");var N=e("7DRL"),k=m.assert,F=m.each,B=m.isFunction,H=m.isObject,W=t.parseClassType,R="4.8.0",U={zrender:"4.3.1"},j=1,P=1e3,K=800,V=900,z=5e3,X=1e3,G=1100,le=2e3,Y=3e3,me=3500,we=4e3,pe=5e3,Fe={PROCESSOR:{FILTER:P,SERIES_FILTER:K,STATISTIC:z},VISUAL:{LAYOUT:X,PROGRESSIVE_LAYOUT:G,GLOBAL:le,CHART:Y,POST_CHART_LAYOUT:me,COMPONENT:we,BRUSH:pe}},Xe="__flagInMainProcess",dt="__optionUpdated",Ee=/^[a-zA-Z0-9_]+$/;function Se(st,xt){return function(ut,pt,_t){if(!xt&&this._disposed){Ge(this.id);return}ut=ut&&ut.toLowerCase(),o.prototype[st].call(this,ut,pt,_t)}}function at(){o.call(this)}at.prototype.on=Se("on",!0),at.prototype.off=Se("off",!0),at.prototype.one=Se("one",!0),m.mixin(at,o);function _e(st,xt,ut){ut=ut||{},typeof xt=="string"&&(xt=ct[xt]),this.id,this.group,this._dom=st;var pt="canvas",_t=this._zr=A.init(st,{renderer:ut.renderer||pt,devicePixelRatio:ut.devicePixelRatio,width:ut.width,height:ut.height});this._throttledZrFlush=S(m.bind(_t.flush,_t),17);var xt=m.clone(xt);xt&&r(xt,!0),this._theme=xt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new a;var Tt=this._api=Ve(this);function ft(Ht,kt){return Ht.__prio-kt.__prio}c(ht,ft),c(Qe,ft),this._scheduler=new y(this,Tt,Qe,ht),o.call(this,this._ecEventProcessor=new ie),this._messageCenter=new at,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],_t.animation.on("frame",this._onframe,this),Le(_t,this),m.setAsPrimitive(this)}var ce=_e.prototype;ce._onframe=function(){if(this._disposed)return;var st=this._scheduler;if(this[dt]){var xt=this[dt].silent;this[Xe]=!0,ke(this),se.update.call(this),this[Xe]=!1,this[dt]=!1,ae.call(this,xt),ge.call(this,xt)}else if(st.unfinished){var ut=j,pt=this._model,_t=this._api;st.unfinished=!1;do{var Tt=+new Date;st.performSeriesTasks(pt),st.performDataProcessorTasks(pt),ze(this,pt),st.performVisualTasks(pt),Rt(this,this._model,_t,"remain"),ut-=+new Date-Tt}while(ut>0&&st.unfinished);st.unfinished||this._zr.flush()}},ce.getDom=function(){return this._dom},ce.getZr=function(){return this._zr},ce.setOption=function(st,xt,ut){if(this._disposed){Ge(this.id);return}var pt;if(H(xt)&&(ut=xt.lazyUpdate,pt=xt.silent,xt=xt.notMerge),this[Xe]=!0,!this._model||xt){var _t=new u(this._api),Tt=this._theme,ft=this._model=new i;ft.scheduler=this._scheduler,ft.init(null,null,Tt,_t)}this._model.setOption(st,ye),ut?(this[dt]={silent:pt},this[Xe]=!1):(ke(this),se.update.call(this),this._zr.flush(),this[dt]=!1,this[Xe]=!1,ae.call(this,pt),ge.call(this,pt))},ce.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},ce.getModel=function(){return this._model},ce.getOption=function(){return this._model&&this._model.getOption()},ce.getWidth=function(){return this._zr.getWidth()},ce.getHeight=function(){return this._zr.getHeight()},ce.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},ce.getRenderedCanvas=function(st){if(!h.canvasSupported)return;st=st||{},st.pixelRatio=st.pixelRatio||1,st.backgroundColor=st.backgroundColor||this._model.get("backgroundColor");var xt=this._zr;return xt.painter.getRenderedCanvas(st)},ce.getSvgDataURL=function(){if(!h.svgSupported)return;var st=this._zr,xt=st.storage.getDisplayList();return m.each(xt,function(ut){ut.stopAnimation(!0)}),st.painter.toDataURL()},ce.getDataURL=function(st){if(this._disposed){Ge(this.id);return}st=st||{};var xt=st.excludeComponents,ut=this._model,pt=[],_t=this;F(xt,function(ft){ut.eachComponent({mainType:ft},function(Ht){var kt=_t._componentsMap[Ht.__viewId];kt.group.ignore||(pt.push(kt),kt.group.ignore=!0)})});var Tt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(st).toDataURL("image/"+(st&&st.type||"png"));return F(pt,function(ft){ft.group.ignore=!1}),Tt},ce.getConnectedDataURL=function(st){if(this._disposed){Ge(this.id);return}if(!h.canvasSupported)return;var xt=st.type==="svg",ut=this.group,pt=Math.min,_t=Math.max,Tt=Infinity;if(or[ut]){var ft=Tt,Ht=Tt,kt=-Tt,ir=-Tt,Xt=[],mr=st&&st.pixelRatio||1;m.each(It,function(Lr,Qr){if(Lr.group===ut){var Ir=xt?Lr.getZr().painter.getSvgDom().innerHTML:Lr.getRenderedCanvas(m.clone(st)),ur=Lr.getDom().getBoundingClientRect();ft=pt(ur.left,ft),Ht=pt(ur.top,Ht),kt=_t(ur.right,kt),ir=_t(ur.bottom,ir),Xt.push({dom:Ir,left:ur.left,top:ur.top})}}),ft*=mr,Ht*=mr,kt*=mr,ir*=mr;var Ar=kt-ft,Nr=ir-Ht,kr=m.createCanvas(),tn=A.init(kr,{renderer:xt?"svg":"canvas"});if(tn.resize({width:Ar,height:Nr}),xt){var qr="";return F(Xt,function(Lr){var Qr=Lr.left-ft,Ir=Lr.top-Ht;qr+='<g transform="translate('+Qr+","+Ir+')">'+Lr.dom+"</g>"}),tn.painter.getSvgRoot().innerHTML=qr,st.connectedBackgroundColor&&tn.painter.setBackgroundColor(st.connectedBackgroundColor),tn.refreshImmediately(),tn.painter.toDataURL()}else return st.connectedBackgroundColor&&tn.add(new b.Rect({shape:{x:0,y:0,width:Ar,height:Nr},style:{fill:st.connectedBackgroundColor}})),F(Xt,function(Lr){var Qr=new b.Image({style:{x:Lr.left*mr-ft,y:Lr.top*mr-Ht,image:Lr.dom}});tn.add(Qr)}),tn.refreshImmediately(),kr.toDataURL("image/"+(st&&st.type||"png"))}else return this.getDataURL(st)},ce.convertToPixel=m.curry(ee,"convertToPixel"),ce.convertFromPixel=m.curry(ee,"convertFromPixel");function ee(st,xt,ut){if(this._disposed){Ge(this.id);return}var pt=this._model,_t=this._coordSysMgr.getCoordinateSystems(),Tt;xt=w.parseFinder(pt,xt);for(var ft=0;ft<_t.length;ft++){var Ht=_t[ft];if(Ht[st]&&(Tt=Ht[st](pt,xt,ut))!=null)return Tt}}ce.containPixel=function(st,xt){if(this._disposed){Ge(this.id);return}var ut=this._model,pt;return st=w.parseFinder(ut,st),m.each(st,function(_t,Tt){Tt.indexOf("Models")>=0&&m.each(_t,function(ft){var Ht=ft.coordinateSystem;if(Ht&&Ht.containPoint)pt|=!!Ht.containPoint(xt);else if(Tt==="seriesModels"){var kt=this._chartsMap[ft.__viewId];kt&&kt.containPoint&&(pt|=kt.containPoint(xt,ft))}},this)},this),!!pt},ce.getVisual=function(st,xt){var ut=this._model;st=w.parseFinder(ut,st,{defaultMainType:"series"});var pt=st.seriesModel,_t=pt.getData(),Tt=st.hasOwnProperty("dataIndexInside")?st.dataIndexInside:st.hasOwnProperty("dataIndex")?_t.indexOfRawIndex(st.dataIndex):null;return Tt!=null?_t.getItemVisual(Tt,xt):_t.getVisual(xt)},ce.getViewOfComponentModel=function(st){return this._componentsMap[st.__viewId]},ce.getViewOfSeriesModel=function(st){return this._chartsMap[st.__viewId]};var se={prepareAndUpdate:function(st){ke(this),se.update.call(this,st)},update:function(st){var xt=this._model,ut=this._api,pt=this._zr,_t=this._coordSysMgr,Tt=this._scheduler;if(!xt)return;Tt.restoreData(xt,st),Tt.performSeriesTasks(xt),_t.create(xt,ut),Tt.performDataProcessorTasks(xt,st),ze(this,xt),_t.update(xt,ut),vt(xt),Tt.performVisualTasks(xt,st),Ct(this,xt,ut,st);var ft=xt.get("backgroundColor")||"transparent";if(h.canvasSupported)pt.setBackgroundColor(ft);else{var Ht=v.parse(ft);ft=v.stringify(Ht,"rgb"),Ht[3]===0&&(ft="transparent")}He(xt,ut)},updateTransform:function(st){var xt=this._model,ut=this,pt=this._api;if(!xt)return;var _t=[];xt.eachComponent(function(ft,Ht){var kt=ut.getViewOfComponentModel(Ht);if(kt&&kt.__alive)if(kt.updateTransform){var ir=kt.updateTransform(Ht,xt,pt,st);ir&&ir.update&&_t.push(kt)}else _t.push(kt)});var Tt=m.createHashMap();xt.eachSeries(function(ft){var Ht=ut._chartsMap[ft.__viewId];if(Ht.updateTransform){var kt=Ht.updateTransform(ft,xt,pt,st);kt&&kt.update&&Tt.set(ft.uid,1)}else Tt.set(ft.uid,1)}),vt(xt),this._scheduler.performVisualTasks(xt,st,{setDirty:!0,dirtyMap:Tt}),Rt(ut,xt,pt,st,Tt),He(xt,this._api)},updateView:function(st){var xt=this._model;if(!xt)return;p.markUpdateMethod(st,"updateView"),vt(xt),this._scheduler.performVisualTasks(xt,st,{setDirty:!0}),Ct(this,this._model,this._api,st),He(xt,this._api)},updateVisual:function(st){se.update.call(this,st)},updateLayout:function(st){se.update.call(this,st)}};function ke(st){var xt=st._model,ut=st._scheduler;ut.restorePipelines(xt),ut.prepareStageTasks(),Ze(st,"component",xt,ut),Ze(st,"chart",xt,ut),ut.plan()}function Ce(st,xt,ut,pt,_t){var Tt=st._model;if(!pt){F(st._componentsViews.concat(st._chartsViews),ir);return}var ft={};ft[pt+"Id"]=ut[pt+"Id"],ft[pt+"Index"]=ut[pt+"Index"],ft[pt+"Name"]=ut[pt+"Name"];var Ht={mainType:pt,query:ft};_t&&(Ht.subType=_t);var kt=ut.excludeSeriesId;kt!=null&&(kt=m.createHashMap(w.normalizeToArray(kt))),Tt&&Tt.eachComponent(Ht,function(Xt){(!kt||kt.get(Xt.id)==null)&&ir(st[pt==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId])},st);function ir(Xt){Xt&&Xt.__alive&&Xt[xt]&&Xt[xt](Xt.__model,Tt,st._api,ut)}}ce.resize=function(st){if(this._disposed){Ge(this.id);return}this._zr.resize(st);var xt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!xt)return;var ut=xt.resetOption("media"),pt=st&&st.silent;this[Xe]=!0,ut&&ke(this),se.update.call(this),this[Xe]=!1,ae.call(this,pt),ge.call(this,pt)};function ze(st,xt){var ut=st._chartsMap,pt=st._scheduler;xt.eachSeries(function(_t){pt.updateStreamModes(_t,ut[_t.__viewId])})}ce.showLoading=function(st,xt){if(this._disposed){Ge(this.id);return}if(H(st)&&(xt=st,st=""),st=st||"default",this.hideLoading(),!yt[st])return;var ut=yt[st](this._api,xt),pt=this._zr;this._loadingFX=ut,pt.add(ut)},ce.hideLoading=function(){if(this._disposed){Ge(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},ce.makeActionFromEvent=function(st){var xt=m.extend({},st);return xt.type=it[st.type],xt},ce.dispatchAction=function(st,xt){if(this._disposed){Ge(this.id);return}if(H(xt)||(xt={silent:!!xt}),!$[st.type])return;if(!this._model)return;if(this[Xe]){this._pendingActions.push(st);return}Oe.call(this,st,xt.silent),xt.flush?this._zr.flush(!0):xt.flush!==!1&&h.browser.weChat&&this._throttledZrFlush(),ae.call(this,xt.silent),ge.call(this,xt.silent)};function Oe(st,xt){var ut=st.type,pt=st.escapeConnect,_t=$[ut],Tt=_t.actionInfo,ft=(Tt.update||"update").split(":"),Ht=ft.pop();ft=ft[0]!=null&&W(ft[0]),this[Xe]=!0;var kt=[st],ir=!1;st.batch&&(ir=!0,kt=m.map(st.batch,function(Nr){return Nr=m.defaults(m.extend({},Nr),st),Nr.batch=null,Nr}));var Xt=[],mr,Ar=ut==="highlight"||ut==="downplay";F(kt,function(Nr){mr=_t.action(Nr,this._model,this._api),mr=mr||m.extend({},Nr),mr.type=Tt.event||mr.type,Xt.push(mr),Ar?Ce(this,Ht,Nr,"series"):ft&&Ce(this,Ht,Nr,ft.main,ft.sub)},this),Ht!=="none"&&!Ar&&!ft&&(this[dt]?(ke(this),se.update.call(this,st),this[dt]=!1):se[Ht].call(this,st)),ir?mr={type:Tt.event||ut,escapeConnect:pt,batch:Xt}:mr=Xt[0],this[Xe]=!1,!xt&&this._messageCenter.trigger(mr.type,mr)}function ae(st){for(var xt=this._pendingActions;xt.length;){var ut=xt.shift();Oe.call(this,ut,st)}}function ge(st){!st&&this.trigger("updated")}function Le(st,xt){st.on("rendered",function(){xt.trigger("rendered"),st.animation.isFinished()&&!xt[dt]&&!xt._scheduler.unfinished&&!xt._pendingActions.length&&xt.trigger("finished")})}ce.appendData=function(st){if(this._disposed){Ge(this.id);return}var xt=st.seriesIndex,ut=this.getModel(),pt=ut.getSeriesByIndex(xt);pt.appendData(st),this._scheduler.unfinished=!0},ce.on=Se("on",!1),ce.off=Se("off",!1),ce.one=Se("one",!1);function Ze(st,xt,ut,pt){for(var _t=xt==="component",Tt=_t?st._componentsViews:st._chartsViews,ft=_t?st._componentsMap:st._chartsMap,Ht=st._zr,kt=st._api,ir=0;ir<Tt.length;ir++)Tt[ir].__alive=!1;_t?ut.eachComponent(function(Ar,Nr){Ar!=="series"&&Xt(Nr)}):ut.eachSeries(Xt);function Xt(Ar){var Nr="_ec_"+Ar.id+"_"+Ar.type,kr=ft[Nr];if(!kr){var tn=W(Ar.type),qr=_t?d.getClass(tn.main,tn.sub):p.getClass(tn.sub);kr=new qr,kr.init(ut,kt),ft[Nr]=kr,Tt.push(kr),Ht.add(kr.group)}Ar.__viewId=kr.__id=Nr,kr.__alive=!0,kr.__model=Ar,kr.group.__ecComponentInfo={mainType:Ar.mainType,index:Ar.componentIndex},!_t&&pt.prepareView(kr,Ar,ut,kt)}for(var ir=0;ir<Tt.length;){var mr=Tt[ir];mr.__alive?ir++:(!_t&&mr.renderTask.dispose(),Ht.remove(mr.group),mr.dispose(ut,kt),Tt.splice(ir,1),delete ft[mr.__id],mr.__id=mr.group.__ecComponentInfo=null)}}function vt(st){st.clearColorPalette(),st.eachSeries(function(xt){xt.clearColorPalette()})}function Ct(st,xt,ut,pt){Be(st,xt,ut,pt),F(st._chartsViews,function(_t){_t.__alive=!1}),Rt(st,xt,ut,pt),F(st._chartsViews,function(_t){_t.__alive||_t.remove(xt,ut)})}function Be(st,xt,ut,pt,_t){F(_t||st._componentsViews,function(Tt){var ft=Tt.__model;Tt.render(ft,xt,ut,pt),lt(ft,Tt)})}function Rt(st,xt,ut,pt,_t){var Tt=st._scheduler,ft;xt.eachSeries(function(Ht){var kt=st._chartsMap[Ht.__viewId];kt.__alive=!0;var ir=kt.renderTask;Tt.updatePayload(ir,pt),_t&&_t.get(Ht.uid)&&ir.dirty(),ft|=ir.perform(Tt.getPerformArgs(ir)),kt.group.silent=!!Ht.get("silent"),lt(Ht,kt),rt(Ht,kt)}),Tt.unfinished|=ft,et(st,xt),T(st._zr.dom,xt)}function He(st,xt){F(Zt,function(ut){ut(st,xt)})}var wt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];ce._initEvents=function(){F(wt,function(st){var xt=function(ut){var pt=this.getModel(),_t=ut.target,Tt,ft=st==="globalout";if(ft)Tt={};else if(_t&&_t.dataIndex!=null){var Ht=_t.dataModel||pt.getSeriesByIndex(_t.seriesIndex);Tt=Ht&&Ht.getDataParams(_t.dataIndex,_t.dataType,_t)||{}}else _t&&_t.eventData&&(Tt=m.extend({},_t.eventData));if(Tt){var kt=Tt.componentType,ir=Tt.componentIndex;(kt==="markLine"||kt==="markPoint"||kt==="markArea")&&(kt="series",ir=Tt.seriesIndex);var Xt=kt&&ir!=null&&pt.getComponent(kt,ir),mr=Xt&&this[Xt.mainType==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId];Tt.event=ut,Tt.type=st,this._ecEventProcessor.eventInfo={targetEl:_t,packedEvent:Tt,model:Xt,view:mr},this.trigger(st,Tt)}};xt.zrEventfulCallAtLast=!0,this._zr.on(st,xt,this)},this),F(it,function(st,xt){this._messageCenter.on(xt,function(ut){this.trigger(xt,ut)},this)},this)},ce.isDisposed=function(){return this._disposed},ce.clear=function(){if(this._disposed){Ge(this.id);return}this.setOption({series:[]},!0)},ce.dispose=function(){if(this._disposed){Ge(this.id);return}this._disposed=!0,w.setAttribute(this.getDom(),ve,"");var st=this._api,xt=this._model;F(this._componentsViews,function(ut){ut.dispose(xt,st)}),F(this._chartsViews,function(ut){ut.dispose(xt,st)}),this._zr.dispose(),delete It[this.id]},m.mixin(_e,o);function Ge(st){}function et(st,xt){var ut=st._zr,pt=ut.storage,_t=0;pt.traverse(function(Tt){_t++}),_t>xt.get("hoverLayerThreshold")&&!h.node&&xt.eachSeries(function(Tt){if(Tt.preventUsingHoverLayer)return;var ft=st._chartsMap[Tt.__viewId];ft.__alive&&ft.group.traverse(function(Ht){Ht.useHoverLayer=!0})})}function rt(st,xt){var ut=st.get("blendMode")||null;xt.group.traverse(function(pt){pt.isGroup||pt.style.blend!==ut&&pt.setStyle("blend",ut),pt.eachPendingDisplayable&&pt.eachPendingDisplayable(function(_t){_t.setStyle("blend",ut)})})}function lt(st,xt){var ut=st.get("z"),pt=st.get("zlevel");xt.group.traverse(function(_t){_t.type!=="group"&&(ut!=null&&(_t.z=ut),pt!=null&&(_t.zlevel=pt))})}function Ve(st){var xt=st._coordSysMgr;return m.extend(new n(st),{getCoordinateSystems:m.bind(xt.getCoordinateSystems,xt),getComponentByElement:function(ut){for(;ut;){var pt=ut.__ecComponentInfo;if(pt!=null)return st._model.getComponent(pt.mainType,pt.index);ut=ut.parent}}})}function ie(){this.eventInfo}ie.prototype={constructor:ie,normalizeQuery:function(st){var xt={},ut={},pt={};if(m.isString(st)){var _t=W(st);xt.mainType=_t.main||null,xt.subType=_t.sub||null}else{var Tt=["Index","Name","Id"],ft={name:1,dataIndex:1,dataType:1};m.each(st,function(Ht,kt){for(var ir=!1,Xt=0;Xt<Tt.length;Xt++){var mr=Tt[Xt],Ar=kt.lastIndexOf(mr);if(Ar>0&&Ar===kt.length-mr.length){var Nr=kt.slice(0,Ar);Nr!=="data"&&(xt.mainType=Nr,xt[mr.toLowerCase()]=Ht,ir=!0)}}ft.hasOwnProperty(kt)&&(ut[kt]=Ht,ir=!0),ir||(pt[kt]=Ht)})}return{cptQuery:xt,dataQuery:ut,otherQuery:pt}},filter:function(st,xt,ut){var pt=this.eventInfo;if(!pt)return!0;var _t=pt.targetEl,Tt=pt.packedEvent,ft=pt.model,Ht=pt.view;if(!ft||!Ht)return!0;var kt=xt.cptQuery,ir=xt.dataQuery;return Xt(kt,ft,"mainType")&&Xt(kt,ft,"subType")&&Xt(kt,ft,"index","componentIndex")&&Xt(kt,ft,"name")&&Xt(kt,ft,"id")&&Xt(ir,Tt,"name")&&Xt(ir,Tt,"dataIndex")&&Xt(ir,Tt,"dataType")&&(!Ht.filterForExposedEvent||Ht.filterForExposedEvent(st,xt.otherQuery,_t,Tt));function Xt(mr,Ar,Nr,kr){return mr[Nr]==null||Ar[kr||Nr]===mr[Nr]}},afterTrigger:function(){this.eventInfo=null}};var $={},it={},Qe=[],ye=[],Zt=[],ht=[],ct={},yt={},It={},or={},Bt=new Date-0,Ae=new Date-0,ve="_echarts_instance_";function fe(st){var xt=0,ut=1,pt=2,_t="__connectUpdateStatus";function Tt(ft,Ht){for(var kt=0;kt<ft.length;kt++){var ir=ft[kt];ir[_t]=Ht}}F(it,function(ft,Ht){st._messageCenter.on(Ht,function(kt){if(or[st.group]&&st[_t]!==xt){if(kt&&kt.escapeConnect)return;var ir=st.makeActionFromEvent(kt),Xt=[];F(It,function(mr){mr!==st&&mr.group===st.group&&Xt.push(mr)}),Tt(Xt,xt),F(Xt,function(mr){mr[_t]!==ut&&mr.dispatchAction(ir)}),Tt(Xt,pt)}})})}function ue(st,xt,ut){var pt=Pe(st);if(pt)return pt;var _t=new _e(st,xt,ut);return _t.id="ec_"+Bt++,It[_t.id]=_t,w.setAttribute(st,ve,_t.id),fe(_t),_t}function Ne(st){if(m.isArray(st)){var xt=st;st=null,F(xt,function(ut){ut.group!=null&&(st=ut.group)}),st=st||"g_"+Ae++,F(xt,function(ut){ut.group=st})}return or[st]=!0,st}function je(st){or[st]=!1}var Ke=je;function Ye(st){typeof st=="string"?st=It[st]:st instanceof _e||(st=Pe(st)),st instanceof _e&&!st.isDisposed()&&st.dispose()}function Pe(st){return It[w.getAttribute(st,ve)]}function nt(st){return It[st]}function At(st,xt){ct[st]=xt}function Ot(st){ye.push(st)}function ne(st,xt){$e(Qe,st,xt,P)}function he(st){Zt.push(st)}function Q(st,xt,ut){typeof xt=="function"&&(ut=xt,xt="");var pt=H(st)?st.type:[st,st={event:xt}][0];st.event=(st.event||pt).toLowerCase(),xt=st.event,k(Ee.test(pt)&&Ee.test(xt)),$[pt]||($[pt]={action:ut,actionInfo:st}),it[xt]=pt}function te(st,xt){a.register(st,xt)}function be(st){var xt=a.get(st);if(xt)return xt.getDimensionsInfo?xt.getDimensionsInfo():xt.dimensions.slice()}function Ie(st,xt){$e(ht,st,xt,X,"layout")}function Re(st,xt){$e(ht,st,xt,Y,"visual")}function $e(st,xt,ut,pt,_t){(B(xt)||H(xt))&&(ut=xt,xt=pt);var Tt=y.wrapStageHandler(ut,_t);return Tt.__prio=xt,Tt.__raw=ut,st.push(Tt),Tt}function gt(st,xt){yt[st]=xt}function Wt(st){return t.extend(st)}function $t(st){return d.extend(st)}function Dt(st){return s.extend(st)}function Kt(st){return p.extend(st)}function Gt(st){m.$override("createCanvas",st)}function Qt(st,xt,ut){N.registerMap(st,xt,ut)}function Mt(st){var xt=N.retrieveMap(st);return xt&&xt[0]&&{geoJson:xt[0].geoJSON,specialAreas:xt[0].specialAreas}}Re(le,x),Ot(r),ne(V,l),gt("default",L),Q({type:"highlight",event:"highlight",update:"highlight"},m.noop),Q({type:"downplay",event:"downplay",update:"downplay"},m.noop),At("light",C),At("dark",O);var dr={};_.version=R,_.dependencies=U,_.PRIORITY=Fe,_.init=ue,_.connect=Ne,_.disConnect=je,_.disconnect=Ke,_.dispose=Ye,_.getInstanceByDom=Pe,_.getInstanceById=nt,_.registerTheme=At,_.registerPreprocessor=Ot,_.registerProcessor=ne,_.registerPostUpdate=he,_.registerAction=Q,_.registerCoordinateSystem=te,_.getCoordinateSystemDimensions=be,_.registerLayout=Ie,_.registerVisual=Re,_.registerLoading=gt,_.extendComponentModel=Wt,_.extendComponentView=$t,_.extendSeriesModel=Dt,_.extendChartView=Kt,_.setCanvasCreator=Gt,_.registerMap=Qt,_.getMap=Mt,_.dataTool=dr;var er=e("txkQ");(function(){for(var st in er)er.hasOwnProperty(st)&&(_[st]=er[st])})()},"Pv/L":function(D,_,e){"use strict";e.d(_,"a",function(){return v});var g=e("+kx5"),f=e("Y9hK"),A=e("Qw5x"),m=e("u6e6");function v(h){return Object(g.a)(h)||Object(f.a)(h)||Object(A.a)(h)||Object(m.a)()}},Q7if:function(D,_,e){var g=e("JEkh"),f=g.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});D.exports=f},Q9mQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("UADf"),m=e.n(A)},"QB+1":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Ywus"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},QBsz:function(D,_){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(y,C){var O=new e(2);return y==null&&(y=0),C==null&&(C=0),O[0]=y,O[1]=C,O}function f(y,C){return y[0]=C[0],y[1]=C[1],y}function A(y){var C=new e(2);return C[0]=y[0],C[1]=y[1],C}function m(y,C,O){return y[0]=C,y[1]=O,y}function v(y,C,O){return y[0]=C[0]+O[0],y[1]=C[1]+O[1],y}function h(y,C,O,N){return y[0]=C[0]+O[0]*N,y[1]=C[1]+O[1]*N,y}function c(y,C,O){return y[0]=C[0]-O[0],y[1]=C[1]-O[1],y}function o(y){return Math.sqrt(n(y))}var i=o;function n(y){return y[0]*y[0]+y[1]*y[1]}var a=n;function u(y,C,O){return y[0]=C[0]*O[0],y[1]=C[1]*O[1],y}function r(y,C,O){return y[0]=C[0]/O[0],y[1]=C[1]/O[1],y}function l(y,C){return y[0]*C[0]+y[1]*C[1]}function t(y,C,O){return y[0]=C[0]*O,y[1]=C[1]*O,y}function s(y,C){var O=o(C);return O===0?(y[0]=0,y[1]=0):(y[0]=C[0]/O,y[1]=C[1]/O),y}function d(y,C){return Math.sqrt((y[0]-C[0])*(y[0]-C[0])+(y[1]-C[1])*(y[1]-C[1]))}var p=d;function b(y,C){return(y[0]-C[0])*(y[0]-C[0])+(y[1]-C[1])*(y[1]-C[1])}var w=b;function E(y,C){return y[0]=-C[0],y[1]=-C[1],y}function S(y,C,O,N){return y[0]=C[0]+N*(O[0]-C[0]),y[1]=C[1]+N*(O[1]-C[1]),y}function x(y,C,O){var N=C[0],k=C[1];return y[0]=O[0]*N+O[2]*k+O[4],y[1]=O[1]*N+O[3]*k+O[5],y}function T(y,C,O){return y[0]=Math.min(C[0],O[0]),y[1]=Math.min(C[1],O[1]),y}function L(y,C,O){return y[0]=Math.max(C[0],O[0]),y[1]=Math.max(C[1],O[1]),y}_.create=g,_.copy=f,_.clone=A,_.set=m,_.add=v,_.scaleAndAdd=h,_.sub=c,_.len=o,_.length=i,_.lenSquare=n,_.lengthSquare=a,_.mul=u,_.div=r,_.dot=l,_.scale=t,_.normalize=s,_.distance=d,_.dist=p,_.distanceSquare=b,_.distSquare=w,_.negate=E,_.lerp=S,_.applyTransform=x,_.min=T,_.max=L},"QO+J":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=A(e("NohK")),f=e("24YM");function A(v){return v&&v.__esModule?v:{default:v}}var m=function(h){var c=void 0,o=[],i=function(){getComputedStyle(h).position==="static"&&(h.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",n),n()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",f.SensorClassName),t.setAttribute("tabindex",f.SensorTabIndex),t.type="text/html",h.appendChild(t),t.data="about:blank",t},n=(0,g.default)(function(){o.forEach(function(l){l(h)})}),a=function(t){c||(c=i()),o.indexOf(t)===-1&&o.push(t)},u=function(){c&&c.parentNode&&(c.contentDocument&&c.contentDocument.defaultView.removeEventListener("resize",n),c.parentNode.removeChild(c),c=void 0,o=[])},r=function(t){var s=o.indexOf(t);s!==-1&&o.splice(s,1),o.length===0&&c&&u()};return{element:h,bind:a,destroy:u,unbind:r}};_.createSensor=m},"QQZ/":function(D,_,e){var g=e("Sq3C"),f=e("Z1HP"),A=e("Sxd8"),m=e("dt0z");function v(h,c,o){h=m(h),c=A(c);var i=c?f(h):0;return c&&i<c?g(c-i,o)+h:h}D.exports=v},QUw5:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.select"});D.exports=f},QV2g:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(){for(var m,v=[],h=0;h<256;h++){m=h;for(var c=0;c<8;c++)m=m&1?3988292384^m>>>1:m>>>1;v[h]=m}return v}var f=g();function A(m,v,h,c){var o=f,i=c+h;m^=-1;for(var n=c;n<i;n++)m=m>>>8^o[(m^v[n])&255];return m^-1}},QbM5:function(D,_,e){},Qe9p:function(D,_,e){var g=e("1RvN"),f={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function A(C){return C=Math.round(C),C<0?0:C>255?255:C}function m(C){return C=Math.round(C),C<0?0:C>360?360:C}function v(C){return C<0?0:C>1?1:C}function h(C){return C.length&&C.charAt(C.length-1)==="%"?A(parseFloat(C)/100*255):A(parseInt(C,10))}function c(C){return C.length&&C.charAt(C.length-1)==="%"?v(parseFloat(C)/100):v(parseFloat(C))}function o(C,O,N){return N<0?N+=1:N>1&&(N-=1),N*6<1?C+(O-C)*N*6:N*2<1?O:N*3<2?C+(O-C)*(2/3-N)*6:C}function i(C,O,N){return C+(O-C)*N}function n(C,O,N,k,F){return C[0]=O,C[1]=N,C[2]=k,C[3]=F,C}function a(C,O){return C[0]=O[0],C[1]=O[1],C[2]=O[2],C[3]=O[3],C}var u=new g(20),r=null;function l(C,O){r&&a(r,O),r=u.put(C,r||O.slice())}function t(C,O){if(!C)return;O=O||[];var N=u.get(C);if(N)return a(O,N);C=C+"";var k=C.replace(/ /g,"").toLowerCase();if(k in f)return a(O,f[k]),l(C,O),O;if(k.charAt(0)==="#"){if(k.length===4){var F=parseInt(k.substr(1),16);if(!(F>=0&&F<=4095)){n(O,0,0,0,1);return}return n(O,(F&3840)>>4|(F&3840)>>8,F&240|(F&240)>>4,F&15|(F&15)<<4,1),l(C,O),O}else if(k.length===7){var F=parseInt(k.substr(1),16);if(!(F>=0&&F<=16777215)){n(O,0,0,0,1);return}return n(O,(F&16711680)>>16,(F&65280)>>8,F&255,1),l(C,O),O}return}var B=k.indexOf("("),H=k.indexOf(")");if(B!==-1&&H+1===k.length){var W=k.substr(0,B),R=k.substr(B+1,H-(B+1)).split(","),U=1;switch(W){case"rgba":if(R.length!==4){n(O,0,0,0,1);return}U=c(R.pop());case"rgb":if(R.length!==3){n(O,0,0,0,1);return}return n(O,h(R[0]),h(R[1]),h(R[2]),U),l(C,O),O;case"hsla":if(R.length!==4){n(O,0,0,0,1);return}return R[3]=c(R[3]),s(R,O),l(C,O),O;case"hsl":if(R.length!==3){n(O,0,0,0,1);return}return s(R,O),l(C,O),O;default:return}}n(O,0,0,0,1);return}function s(C,O){var N=(parseFloat(C[0])%360+360)%360/360,k=c(C[1]),F=c(C[2]),B=F<=.5?F*(k+1):F+k-F*k,H=F*2-B;return O=O||[],n(O,A(o(H,B,N+1/3)*255),A(o(H,B,N)*255),A(o(H,B,N-1/3)*255),1),C.length===4&&(O[3]=C[3]),O}function d(C){if(!C)return;var O=C[0]/255,N=C[1]/255,k=C[2]/255,F=Math.min(O,N,k),B=Math.max(O,N,k),H=B-F,W=(B+F)/2,R,U;if(H===0)R=0,U=0;else{W<.5?U=H/(B+F):U=H/(2-B-F);var j=((B-O)/6+H/2)/H,P=((B-N)/6+H/2)/H,K=((B-k)/6+H/2)/H;O===B?R=K-P:N===B?R=1/3+j-K:k===B&&(R=2/3+P-j),R<0&&(R+=1),R>1&&(R-=1)}var V=[R*360,U,W];return C[3]!=null&&V.push(C[3]),V}function p(C,O){var N=t(C);if(N){for(var k=0;k<3;k++)O<0?N[k]=N[k]*(1-O)|0:N[k]=(255-N[k])*O+N[k]|0,N[k]>255?N[k]=255:C[k]<0&&(N[k]=0);return y(N,N.length===4?"rgba":"rgb")}}function b(C){var O=t(C);if(O)return((1<<24)+(O[0]<<16)+(O[1]<<8)+ +O[2]).toString(16).slice(1)}function w(C,O,N){if(!(O&&O.length)||!(C>=0&&C<=1))return;N=N||[];var k=C*(O.length-1),F=Math.floor(k),B=Math.ceil(k),H=O[F],W=O[B],R=k-F;return N[0]=A(i(H[0],W[0],R)),N[1]=A(i(H[1],W[1],R)),N[2]=A(i(H[2],W[2],R)),N[3]=v(i(H[3],W[3],R)),N}var E=w;function S(C,O,N){if(!(O&&O.length)||!(C>=0&&C<=1))return;var k=C*(O.length-1),F=Math.floor(k),B=Math.ceil(k),H=t(O[F]),W=t(O[B]),R=k-F,U=y([A(i(H[0],W[0],R)),A(i(H[1],W[1],R)),A(i(H[2],W[2],R)),v(i(H[3],W[3],R))],"rgba");return N?{color:U,leftIndex:F,rightIndex:B,value:k}:U}var x=S;function T(C,O,N,k){if(C=t(C),C)return C=d(C),O!=null&&(C[0]=m(O)),N!=null&&(C[1]=c(N)),k!=null&&(C[2]=c(k)),y(s(C),"rgba")}function L(C,O){if(C=t(C),C&&O!=null)return C[3]=v(O),y(C,"rgba")}function y(C,O){if(!C||!C.length)return;var N=C[0]+","+C[1]+","+C[2];return(O==="rgba"||O==="hsva"||O==="hsla")&&(N+=","+C[3]),O+"("+N+")"}_.parse=t,_.lift=p,_.toHex=b,_.fastLerp=w,_.fastMapToColor=E,_.lerp=S,_.mapToColor=x,_.modifyHSL=T,_.modifyAlpha=L,_.stringify=y},Qi1f:function(D,_,e){"use strict";e.d(_,"g",function(){return n}),e.d(_,"c",function(){return a}),e.d(_,"a",function(){return r}),e.d(_,"b",function(){return l}),e.d(_,"d",function(){return t}),e.d(_,"e",function(){return s}),e.d(_,"f",function(){return b});var g=e("VTBJ"),f=e("U8pU"),A=e("HXN9"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("Kwbf"),o=e("Gu+u"),i=e.n(o);function n(w,E){Object(c.a)(w,"[@ant-design/icons] ".concat(E))}function a(w){return Object(f.a)(w)==="object"&&typeof w.name=="string"&&typeof w.theme=="string"&&(Object(f.a)(w.icon)==="object"||typeof w.icon=="function")}function u(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(E,S){var x=w[S];switch(S){case"class":E.className=x,delete E.class;break;default:E[S]=x}return E},{})}function r(w,E,S){return S?h.a.createElement(w.tag,Object(g.a)(Object(g.a)({key:E},u(w.attrs)),S),(w.children||[]).map(function(x,T){return r(x,"".concat(E,"-").concat(w.tag,"-").concat(T))})):h.a.createElement(w.tag,Object(g.a)({key:E},u(w.attrs)),(w.children||[]).map(function(x,T){return r(x,"".concat(E,"-").concat(w.tag,"-").concat(T))}))}function l(w){return Object(A.generate)(w)[0]}function t(w){return w?Array.isArray(w)?w:[w]:[]}var s={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},d=`
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,p=!1,b=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;Object(v.useEffect)(function(){p||(Object(o.insertCss)(E,{prepend:!0}),p=!0)},[])}},QkVE:function(D,_,e){var g=e("EpBk");function f(A,m){var v=A.__data__;return g(m)?v[typeof m=="string"?"string":"hash"]:v.map}D.exports=f},QoRX:function(D,_){function e(g,f){for(var A=-1,m=g==null?0:g.length;++A<m;)if(f(g[A],A,g))return!0;return!1}D.exports=e},QqLw:function(D,_,e){var g=e("tadb"),f=e("ebwN"),A=e("HOxn"),m=e("yGk4"),v=e("Of+w"),h=e("NykK"),c=e("3Fdi"),o="[object Map]",i="[object Object]",n="[object Promise]",a="[object Set]",u="[object WeakMap]",r="[object DataView]",l=c(g),t=c(f),s=c(A),d=c(m),p=c(v),b=h;(g&&b(new g(new ArrayBuffer(1)))!=r||f&&b(new f)!=o||A&&b(A.resolve())!=n||m&&b(new m)!=a||v&&b(new v)!=u)&&(b=function(w){var E=h(w),S=E==i?w.constructor:void 0,x=S?c(S):"";if(x)switch(x){case l:return r;case t:return o;case s:return n;case d:return a;case p:return u}return E}),D.exports=b},Qs3X:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("X+im"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},Qs9O:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};_.default=g},QuXc:function(D,_){var e=function(A){this.colorStops=A||[]};e.prototype={constructor:e,addColorStop:function(A,m){this.colorStops.push({offset:A,color:m})}};var g=e;D.exports=g},Qvb6:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("ItGF"),m=e("B9fm"),v=e("gvm7"),h=e("7aKB"),c=e("OELB"),o=e("IwbS"),i=e("Ez2D"),n=e("+TT/"),a=e("Qxkt"),u=e("F9bG"),r=e("aX7z"),l=e("/y7N"),t=e("4NO4"),s=t.getTooltipRenderMode,d=f.bind,p=f.each,b=c.parsePercent,w=new o.Rect({shape:{x:-1,y:-1,width:2,height:2}}),E=g.extendComponentView({type:"tooltip",init:function(O,N){if(A.node)return;var k=O.getComponent("tooltip"),F=k.get("renderMode");this._renderMode=s(F);var B;this._renderMode==="html"?(B=new m(N.getDom(),N,{appendToBody:k.get("appendToBody",!0)}),this._newLine="<br/>"):(B=new v(N),this._newLine=`
`),this._tooltipContent=B},render:function(O,N,k){if(A.node)return;this.group.removeAll(),this._tooltipModel=O,this._ecModel=N,this._api=k,this._lastDataByCoordSys=null,this._alwaysShowContent=O.get("alwaysShowContent");var F=this._tooltipContent;F.update(),F.setEnterable(O.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var O=this._tooltipModel,N=O.get("triggerOn");u.register("itemTooltip",this._api,d(function(k,F,B){N!=="none"&&(N.indexOf(k)>=0?this._tryShow(F,B):k==="leave"&&this._hide(B))},this))},_keepShow:function(){var O=this._tooltipModel,N=this._ecModel,k=this._api;if(this._lastX!=null&&this._lastY!=null&&O.get("triggerOn")!=="none"){var F=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!k.isDisposed()&&F.manuallyShowTip(O,N,k,{x:F._lastX,y:F._lastY})})}},manuallyShowTip:function(O,N,k,F){if(F.from===this.uid||A.node)return;var B=x(F,k);this._ticket="";var H=F.dataByCoordSys;if(F.tooltip&&F.x!=null&&F.y!=null){var W=w;W.position=[F.x,F.y],W.update(),W.tooltip=F.tooltip,this._tryShow({offsetX:F.x,offsetY:F.y,target:W},B)}else if(H)this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,dataByCoordSys:F.dataByCoordSys,tooltipOption:F.tooltipOption},B);else if(F.seriesIndex!=null){if(this._manuallyAxisShowTip(O,N,k,F))return;var R=i(F,N),U=R.point[0],j=R.point[1];U!=null&&j!=null&&this._tryShow({offsetX:U,offsetY:j,position:F.position,target:R.el},B)}else F.x!=null&&F.y!=null&&(k.dispatchAction({type:"updateAxisPointer",x:F.x,y:F.y}),this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,target:k.getZr().findHover(F.x,F.y).target},B))},manuallyHideTip:function(O,N,k,F){var B=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&B.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,F.from!==this.uid&&this._hide(x(F,k))},_manuallyAxisShowTip:function(O,N,k,F){var B=F.seriesIndex,H=F.dataIndex,W=N.getComponent("axisPointer").coordSysAxesInfo;if(B==null||H==null||W==null)return;var R=N.getSeriesByIndex(B);if(!R)return;var U=R.getData(),O=S([U.getItemModel(H),R,(R.coordinateSystem||{}).model,O]);return O.get("trigger")!=="axis"?void 0:(k.dispatchAction({type:"updateAxisPointer",seriesIndex:B,dataIndex:H,position:F.position}),!0)},_tryShow:function(O,N){var k=O.target,F=this._tooltipModel;if(!F)return;this._lastX=O.offsetX,this._lastY=O.offsetY;var B=O.dataByCoordSys;B&&B.length?this._showAxisTooltip(B,O):k&&k.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(O,k,N)):k&&k.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(O,k,N)):(this._lastDataByCoordSys=null,this._hide(N))},_showOrMove:function(O,N){var k=O.get("showDelay");N=f.bind(N,this),clearTimeout(this._showTimout),k>0?this._showTimout=setTimeout(N,k):N()},_showAxisTooltip:function(O,N){var k=this._ecModel,F=this._tooltipModel,B=[N.offsetX,N.offsetY],H=[],W=[],R=S([N.tooltipOption,F]),U=this._renderMode,j=this._newLine,P={};p(O,function(V){p(V.dataByAxis,function(z){var X=k.getComponent(z.axisDim+"Axis",z.axisIndex),G=z.value,le=[];if(!X||G==null)return;var Y=l.getValueLabel(G,X.axis,k,z.seriesDataIndices,z.valueLabelOpt);f.each(z.seriesDataIndices,function(we){var pe=k.getSeriesByIndex(we.seriesIndex),Fe=we.dataIndexInside,Xe=pe&&pe.getDataParams(Fe);if(Xe.axisDim=z.axisDim,Xe.axisIndex=z.axisIndex,Xe.axisType=z.axisType,Xe.axisId=z.axisId,Xe.axisValue=r.getAxisRawValue(X.axis,G),Xe.axisValueLabel=Y,Xe){W.push(Xe);var dt=pe.formatTooltip(Fe,!0,null,U),Ee;if(f.isObject(dt)){Ee=dt.html;var Se=dt.markers;f.merge(P,Se)}else Ee=dt;le.push(Ee)}});var me=Y;U!=="html"?H.push(le.join(j)):H.push((me?h.encodeHTML(me)+j:"")+le.join(j))})},this),H.reverse(),H=H.join(this._newLine+this._newLine);var K=N.position;this._showOrMove(R,function(){this._updateContentNotChangedOnAxis(O)?this._updatePosition(R,K,B[0],B[1],this._tooltipContent,W):this._showTooltipContent(R,H,W,Math.random(),B[0],B[1],K,void 0,P)})},_showSeriesItemTooltip:function(O,N,k){var F=this._ecModel,B=N.seriesIndex,H=F.getSeriesByIndex(B),W=N.dataModel||H,R=N.dataIndex,U=N.dataType,j=W.getData(U),P=S([j.getItemModel(R),W,H&&(H.coordinateSystem||{}).model,this._tooltipModel]),K=P.get("trigger");if(K!=null&&K!=="item")return;var V=W.getDataParams(R,U),z=W.formatTooltip(R,!1,U,this._renderMode),X,G;f.isObject(z)?(X=z.html,G=z.markers):(X=z,G=null);var le="item_"+W.name+"_"+R;this._showOrMove(P,function(){this._showTooltipContent(P,X,V,le,O.offsetX,O.offsetY,O.position,O.target,G)}),k({type:"showTip",dataIndexInside:R,dataIndex:j.getRawIndex(R),seriesIndex:B,from:this.uid})},_showComponentItemTooltip:function(O,N,k){var F=N.tooltip;if(typeof F=="string"){var B=F;F={content:B,formatter:B}}var H=new a(F,this._tooltipModel,this._ecModel),W=H.get("content"),R=Math.random();this._showOrMove(H,function(){this._showTooltipContent(H,W,H.get("formatterParams")||{},R,O.offsetX,O.offsetY,O.position,N)}),k({type:"showTip",from:this.uid})},_showTooltipContent:function(O,N,k,F,B,H,W,R,U){if(this._ticket="",!O.get("showContent")||!O.get("show"))return;var j=this._tooltipContent,P=O.get("formatter");W=W||O.get("position");var K=N;if(P&&typeof P=="string")K=h.formatTpl(P,k,!0);else if(typeof P=="function"){var V=d(function(z,X){z===this._ticket&&(j.setContent(X,U,O),this._updatePosition(O,W,B,H,j,k,R))},this);this._ticket=F,K=P(k,F,V)}j.setContent(K,U,O),j.show(O),this._updatePosition(O,W,B,H,j,k,R)},_updatePosition:function(O,N,k,F,B,H,W){var R=this._api.getWidth(),U=this._api.getHeight();N=N||O.get("position");var j=B.getSize(),P=O.get("align"),K=O.get("verticalAlign"),V=W&&W.getBoundingRect().clone();if(W&&V.applyTransform(W.transform),typeof N=="function"&&(N=N([k,F],H,B.el,V,{viewSize:[R,U],contentSize:j.slice()})),f.isArray(N))k=b(N[0],R),F=b(N[1],U);else if(f.isObject(N)){N.width=j[0],N.height=j[1];var z=n.getLayoutRect(N,{width:R,height:U});k=z.x,F=z.y,P=null,K=null}else if(typeof N=="string"&&W){var X=y(N,V,j);k=X[0],F=X[1]}else{var X=T(k,F,B,R,U,P?null:20,K?null:20);k=X[0],F=X[1]}if(P&&(k-=C(P)?j[0]/2:P==="right"?j[0]:0),K&&(F-=C(K)?j[1]/2:K==="bottom"?j[1]:0),O.get("confine")){var X=L(k,F,B,R,U);k=X[0],F=X[1]}B.moveTo(k,F)},_updateContentNotChangedOnAxis:function(O){var N=this._lastDataByCoordSys,k=!!N&&N.length===O.length;return k&&p(N,function(F,B){var H=F.dataByAxis||{},W=O[B]||{},R=W.dataByAxis||[];k&=H.length===R.length,k&&p(H,function(U,j){var P=R[j]||{},K=U.seriesDataIndices||[],V=P.seriesDataIndices||[];k&=U.value===P.value&&U.axisType===P.axisType&&U.axisId===P.axisId&&K.length===V.length,k&&p(K,function(z,X){var G=V[X];k&=z.seriesIndex===G.seriesIndex&&z.dataIndex===G.dataIndex})})}),this._lastDataByCoordSys=O,!!k},_hide:function(O){this._lastDataByCoordSys=null,O({type:"hideTip",from:this.uid})},dispose:function(O,N){if(A.node)return;this._tooltipContent.dispose(),u.unregister("itemTooltip",N)}});function S(O){for(var N=O.pop();O.length;){var k=O.pop();k&&(a.isInstance(k)&&(k=k.get("tooltip",!0)),typeof k=="string"&&(k={formatter:k}),N=new a(k,N,N.ecModel))}return N}function x(O,N){return O.dispatchAction||f.bind(N.dispatchAction,N)}function T(O,N,k,F,B,H,W){var R=k.getOuterSize(),U=R.width,j=R.height;return H!=null&&(O+U+H>F?O-=U+H:O+=H),W!=null&&(N+j+W>B?N-=j+W:N+=W),[O,N]}function L(O,N,k,F,B){var H=k.getOuterSize(),W=H.width,R=H.height;return O=Math.min(O+W,F)-W,N=Math.min(N+R,B)-R,O=Math.max(O,0),N=Math.max(N,0),[O,N]}function y(O,N,k){var F=k[0],B=k[1],H=5,W=0,R=0,U=N.width,j=N.height;switch(O){case"inside":W=N.x+U/2-F/2,R=N.y+j/2-B/2;break;case"top":W=N.x+U/2-F/2,R=N.y-B-H;break;case"bottom":W=N.x+U/2-F/2,R=N.y+j+H;break;case"left":W=N.x-F-H,R=N.y+j/2-B/2;break;case"right":W=N.x+U+H,R=N.y+j/2-B/2}return[W,R]}function C(O){return O==="center"||O==="middle"}D.exports=E},Qxkt:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),A=e("4NO4"),m=A.makeInner,v=e("Yl7c"),h=v.enableClassExtend,c=v.enableClassCheck,o=e("OQFs"),i=e("m9t5"),n=e("/iHx"),a=e("VR9l"),u=g.mixin,r=m();function l(p,b,w){this.parentModel=b,this.ecModel=w,this.option=p}l.prototype={constructor:l,init:null,mergeOption:function(p){g.merge(this.option,p,!0)},get:function(p,b){return p==null?this.option:t(this.option,this.parsePath(p),!b&&s(this,p))},getShallow:function(p,b){var w=this.option,E=w==null?w:w[p],S=!b&&s(this,p);return E==null&&S&&(E=S.getShallow(p)),E},getModel:function(p,b){var w=p==null?this.option:t(this.option,p=this.parsePath(p)),E;return b=b||(E=s(this,p))&&E.getModel(p),new l(w,b,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var p=this.constructor;return new p(g.clone(this.option))},setReadOnly:function(p){},parsePath:function(p){return typeof p=="string"&&(p=p.split(".")),p},customizeGetParent:function(p){r(this).getParent=p},isAnimationEnabled:function(){if(!f.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(p,b,w){for(var E=0;E<b.length;E++){if(!b[E])continue;if(p=p&&typeof p=="object"?p[b[E]]:null,p==null)break}return p==null&&w&&(p=w.get(b)),p}function s(p,b){var w=r(p).getParent;return w?w.call(p,b):p.parentModel}h(l),c(l),u(l,o),u(l,i),u(l,n),u(l,a);var d=l;D.exports=d},QyFq:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};_.default=g},QzjZ:function(D,_,e){var g=e("S/Yl"),f=e("IDmD");function A(m,v){var h=[];return m.eachComponent("singleAxis",function(c,o){var i=new g(c,m,v);i.name="single_"+o,i.resize(c,v),c.coordinateSystem=i,h.push(i)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="singleAxis"){var o=m.queryComponents({mainType:"singleAxis",index:c.get("singleAxisIndex"),id:c.get("singleAxisId")})[0];c.coordinateSystem=o&&o.coordinateSystem}}),h}f.register("single",{create:A,dimensions:g.prototype.dimensions})},R4Th:function(D,_,e){var g=e("ProS"),f=e("9wZj"),A=e("yO87"),m=e("Fofx"),v=e("h8O9"),h=g.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(A)},render:function(c,o,i){var n=c.getData(),a=this._symbolDraw;a.updateData(n),this.group.add(a.group)},updateTransform:function(c,o,i){var n=c.getData();this.group.dirty();var a=v().reset(c);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateGroupTransform:function(c){var o=c.coordinateSystem;o&&o.getRoamTransform&&(this.group.transform=m.clone(o.getRoamTransform()),this.group.decomposeTransform())},remove:function(c,o){this._symbolDraw&&this._symbolDraw.remove(o)},dispose:function(){}});D.exports=h},R9oj:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("pwpV"),m=e.n(A)},RBEP:function(D,_,e){for(var g=e("ProS"),f=e("VaxA"),A=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<m.length;v++)g.registerAction({type:m[v],update:"updateView"},A);g.registerAction({type:"treemapRootToNode",update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"treemap",query:h},o);function o(i,n){var a=["treemapZoomToNode","treemapRootToNode"],u=f.retrieveTargetInfo(h,a,i);if(u){var r=i.getViewRoot();r&&(h.direction=f.aboveViewRoot(r,u.node)?"rollUp":"drillDown"),i.resetViewRoot(u.node)}}})},RCxd:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="ExclamationCircleOutlined";var h=_.a=g.forwardRef(v)},RDYZ:function(D,_,e){var g=e("dMvE");function f(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}f.prototype={constructor:f,step:function(v,h){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=h;return}var c=(v-this._startTime-this._pausedTime)/this._life;if(c<0)return;c=Math.min(c,1);var o=this.easing,i=typeof o=="string"?g[o]:o,n=typeof i=="function"?i(c):c;return this.fire("frame",n),c===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var h=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-h+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,h){v="on"+v,this[v]&&this[v](this._target,h)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var A=f;D.exports=A},RELg:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldIE-userDataStorage",write:c,read:o,each:i,remove:n,clearAll:a};var A="storejs",m=f.document,v=l(),h=(f.navigator?f.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function c(t,s){if(h)return;var d=r(t);v(function(p){p.setAttribute(d,s),p.save(A)})}function o(t){if(h)return;var s=r(t),d=null;return v(function(p){d=p.getAttribute(s)}),d}function i(t){v(function(s){for(var d=s.XMLDocument.documentElement.attributes,p=d.length-1;p>=0;p--){var b=d[p];t(s.getAttribute(b.name),b.name)}})}function n(t){var s=r(t);v(function(d){d.removeAttribute(s),d.save(A)})}function a(){v(function(t){var s=t.XMLDocument.documentElement.attributes;t.load(A);for(var d=s.length-1;d>=0;d--)t.removeAttribute(s[d].name);t.save(A)})}var u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function r(t){return t.replace(/^\d/,"___$&").replace(u,"___")}function l(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var t="script",s,d,p;try{d=new ActiveXObject("htmlfile"),d.open(),d.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),d.close(),s=d.w.frames[0].document,p=s.createElement("div")}catch(b){p=m.createElement("div"),s=m.body}return function(b){var w=[].slice.call(arguments,0);w.unshift(p),s.appendChild(p),p.addBehavior("#default#userData"),p.load(A),b.apply(this,w),s.removeChild(p);return}}},RPvy:function(D,_,e){var g=e("ProS"),f=e("VaxA"),A="sunburstRootToNode";g.registerAction({type:A,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(i,n){var a=f.retrieveTargetInfo(h,[A],i);if(a){var u=i.getViewRoot();u&&(h.direction=f.aboveViewRoot(u,a.node)?"rollUp":"drillDown"),i.resetViewRoot(a.node)}}});var m="sunburstHighlight";g.registerAction({type:m,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(i,n){var a=f.retrieveTargetInfo(h,[m],i);a&&(h.highlight=a.node)}});var v="sunburstUnhighlight";g.registerAction({type:v,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(i,n){h.unhighlight=!0}})},RSch:function(D,_,e){var g=e("IwbS"),f=e("bYtY");function A(h,c,o){g.Group.call(this),this._createPolyline(h,c,o)}var m=A.prototype;m._createPolyline=function(h,c,o){var i=h.getItemLayout(c),n=new g.Polyline({shape:{points:i}});this.add(n),this._updateCommonStl(h,c,o)},m.updateData=function(h,c,o){var i=h.hostModel,n=this.childAt(0),a={shape:{points:h.getItemLayout(c)}};g.updateProps(n,a,i,c),this._updateCommonStl(h,c,o)},m._updateCommonStl=function(h,c,o){var i=this.childAt(0),n=h.getItemModel(c),a=h.getItemVisual(c,"color"),u=o&&o.lineStyle,r=o&&o.hoverLineStyle;(!o||h.hasItemOption)&&(u=n.getModel("lineStyle").getLineStyle(),r=n.getModel("emphasis.lineStyle").getLineStyle()),i.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:a},u)),i.hoverStyle=r,g.setHoverStyle(this)},m.updateLayout=function(h,c){var o=this.childAt(0);o.setShape("points",h.getItemLayout(c))},f.inherits(A,g.Group);var v=A;D.exports=v},RXMa:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,v){var h=v.cx,c=v.cy,o=Math.PI*2;m.moveTo(h+v.r,c),m.arc(h,c,v.r,0,o,!1),m.moveTo(h+v.r0,c),m.arc(h,c,v.r0,0,o,!0)}});D.exports=f},RZPm:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("JgUQ")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="FileOutlined";var c=A.forwardRef(h);_.default=c},RlCK:function(D,_,e){var g=e("ProS"),f=e("bYtY");function A(m,v,h){var c={},o=m==="toggleSelected",i;return h.eachComponent("legend",function(n){o&&i!=null?n[i?"select":"unSelect"](v.name):m==="allSelect"||m==="inverseSelect"?n[m]():(n[m](v.name),i=n.isSelected(v.name));var a=n.getData();f.each(a,function(u){var r=u.get("name");if(r===`
`||r==="")return;var l=n.isSelected(r);c.hasOwnProperty(r)?c[r]=c[r]&&l:c[r]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:c}:{name:v.name,selected:c}}g.registerAction("legendToggleSelect","legendselectchanged",f.curry(A,"toggleSelected")),g.registerAction("legendAllSelect","legendselectall",f.curry(A,"allSelect")),g.registerAction("legendInverseSelect","legendinverseselect",f.curry(A,"inverseSelect")),g.registerAction("legendSelect","legendselected",f.curry(A,"select")),g.registerAction("legendUnSelect","legendunselected",f.curry(A,"unSelect"))},RotF:function(D,_,e){D.exports=e("LSTS")},Rx6q:function(D,_){function e(g){var f=g.getRect(),A=g.getRangeInfo();return{coordSys:{type:"calendar",x:f.x,y:f.y,width:f.width,height:f.height,cellWidth:g.getCellWidth(),cellHeight:g.getCellHeight(),rangeInfo:{start:A.start,end:A.end,weeks:A.weeks,dayCount:A.allDay}},api:{coord:function(m,v){return g.dataToPoint(m,v)}}}}D.exports=e},"S/Yl":function(D,_,e){var g=e("Zvw2"),f=e("aX7z"),A=e("+TT/"),m=A.getLayoutRect,v=e("bYtY"),h=v.each;function c(i,n,a){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(i,n,a),this.model=i}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(i,n,a){var u=this.dimension,r=new g(u,f.createScaleByModel(i),[0,0],i.get("type"),i.get("position")),l=r.type==="category";r.onBand=l&&i.get("boundaryGap"),r.inverse=i.get("inverse"),r.orient=i.get("orient"),i.axis=r,r.model=i,r.coordinateSystem=this,this._axis=r},update:function(i,n){i.eachSeries(function(a){if(a.coordinateSystem===this){var u=a.getData();h(u.mapDimension(this.dimension,!0),function(r){this._axis.scale.unionExtentFromData(u,r)},this),f.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(i,n){this._rect=m({left:i.get("left"),top:i.get("top"),right:i.get("right"),bottom:i.get("bottom"),width:i.get("width"),height:i.get("height")},{width:n.getWidth(),height:n.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var i=this._rect,n=this._axis,a=n.isHorizontal(),u=a?[0,i.width]:[0,i.height],r=n.reverse?1:0;n.setExtent(u[r],u[1-r]),this._updateAxisTransform(n,a?i.x:i.y)},_updateAxisTransform:function(i,n){var a=i.getExtent(),u=a[0]+a[1],r=i.isHorizontal();i.toGlobalCoord=r?function(l){return l+n}:function(l){return u-l+n},i.toLocalCoord=r?function(l){return l-n}:function(l){return u-l+n}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(i){var n=this.getRect(),a=this.getAxis(),u=a.orient;return u==="horizontal"?a.contain(a.toLocalCoord(i[0]))&&i[1]>=n.y&&i[1]<=n.y+n.height:a.contain(a.toLocalCoord(i[1]))&&i[0]>=n.y&&i[0]<=n.y+n.height},pointToData:function(i){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(i[n.orient==="horizontal"?0:1]))]},dataToPoint:function(i){var n=this.getAxis(),a=this.getRect(),u=[],r=n.orient==="horizontal"?0:1;return i instanceof Array&&(i=i[0]),u[r]=n.toGlobalCoord(n.dataToCoord(+i)),u[1-r]=r===0?a.y+a.height/2:a.x+a.width/2,u}};var o=c;D.exports=o},"SA+Z":function(D,_,e){var g=e("wTVA"),f=e("EbDI"),A=e("ZhPi"),m=e("wkBT");function v(h){return g(h)||f(h)||A(h)||m()}D.exports=v},"SA4+":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("IwbS"),v=e("zYTA"),h=e("bYtY");function c(a,u,r){var l=a[1]-a[0];u=h.map(u,function(d){return{interval:[(d.interval[0]-a[0])/l,(d.interval[1]-a[0])/l]}});var t=u.length,s=0;return function(d){for(var p=s;p<t;p++){var b=u[p].interval;if(b[0]<=d&&d<=b[1]){s=p;break}}if(p===t)for(var p=s-1;p>=0;p--){var b=u[p].interval;if(b[0]<=d&&d<=b[1]){s=p;break}}return p>=0&&p<t&&r[p]}}function o(a,u){var r=a[1]-a[0];return u=[(u[0]-a[0])/r,(u[1]-a[0])/r],function(l){return l>=u[0]&&l<=u[1]}}function i(a){var u=a.dimensions;return u[0]==="lng"&&u[1]==="lat"}var n=A.extendChartView({type:"heatmap",render:function(a,u,r){var l;u.eachComponent("visualMap",function(s){s.eachTargetSeries(function(d){d===a&&(l=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=a.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(a,r,0,a.getData().count()):i(t)&&this._renderOnGeo(t,a,l,r)},incrementalPrepareRender:function(a,u,r){this.group.removeAll()},incrementalRender:function(a,u,r,l){var t=u.coordinateSystem;t&&this._renderOnCartesianAndCalendar(u,l,a.start,a.end,!0)},_renderOnCartesianAndCalendar:function(a,u,r,l,t){var s=a.coordinateSystem,d,p;if(s.type==="cartesian2d"){var b=s.getAxis("x"),w=s.getAxis("y");d=b.getBandWidth(),p=w.getBandWidth()}for(var E=this.group,S=a.getData(),x="itemStyle",T="emphasis.itemStyle",L="label",y="emphasis.label",C=a.getModel(x).getItemStyle(["color"]),O=a.getModel(T).getItemStyle(),N=a.getModel(L),k=a.getModel(y),F=s.type,B=F==="cartesian2d"?[S.mapDimension("x"),S.mapDimension("y"),S.mapDimension("value")]:[S.mapDimension("time"),S.mapDimension("value")],H=r;H<l;H++){var W;if(F==="cartesian2d"){if(isNaN(S.get(B[2],H)))continue;var R=s.dataToPoint([S.get(B[0],H),S.get(B[1],H)]);W=new m.Rect({shape:{x:Math.floor(Math.round(R[0])-d/2),y:Math.floor(Math.round(R[1])-p/2),width:Math.ceil(d),height:Math.ceil(p)},style:{fill:S.getItemVisual(H,"color"),opacity:S.getItemVisual(H,"opacity")}})}else{if(isNaN(S.get(B[1],H)))continue;W=new m.Rect({z2:1,shape:s.dataToRect([S.get(B[0],H)]).contentShape,style:{fill:S.getItemVisual(H,"color"),opacity:S.getItemVisual(H,"opacity")}})}var U=S.getItemModel(H);S.hasItemOption&&(C=U.getModel(x).getItemStyle(["color"]),O=U.getModel(T).getItemStyle(),N=U.getModel(L),k=U.getModel(y));var j=a.getRawValue(H),P="-";j&&j[2]!=null&&(P=j[2]),m.setLabelStyle(C,O,N,k,{labelFetcher:a,labelDataIndex:H,defaultText:P,isRectText:!0}),W.setStyle(C),m.setHoverStyle(W,S.hasItemOption?O:h.extend({},O)),W.incremental=t,t&&(W.useHoverLayer=!0),E.add(W),S.setItemGraphicEl(H,W)}},_renderOnGeo:function(a,u,r,l){var t=r.targetVisuals.inRange,s=r.targetVisuals.outOfRange,d=u.getData(),p=this._hmLayer||this._hmLayer||new v;p.blurSize=u.get("blurSize"),p.pointSize=u.get("pointSize"),p.minOpacity=u.get("minOpacity"),p.maxOpacity=u.get("maxOpacity");var b=a.getViewRect().clone(),w=a.getRoamTransform();b.applyTransform(w);var E=Math.max(b.x,0),S=Math.max(b.y,0),x=Math.min(b.width+b.x,l.getWidth()),T=Math.min(b.height+b.y,l.getHeight()),L=x-E,y=T-S,C=[d.mapDimension("lng"),d.mapDimension("lat"),d.mapDimension("value")],O=d.mapArray(C,function(B,H,W){var R=a.dataToPoint([B,H]);return R[0]-=E,R[1]-=S,R.push(W),R}),N=r.getExtent(),k=r.type==="visualMap.continuous"?o(N,r.option.range):c(N,r.getPieceList(),r.option.selected);p.update(O,L,y,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:s.color.getColorMapper()},k);var F=new m.Image({style:{width:L,height:y,x:E,y:S,image:p.canvas},silent:!0});this.group.add(F)},dispose:function(){}});D.exports=n},SA8n:function(D,_,e){var g=e("Sj9i"),f=e("QBsz"),A=e("U/Mo"),m=A.getSymbolSize,v=[],h=[],c=[],o=g.quadraticAt,i=f.distSquare,n=Math.abs;function a(r,l,t){for(var s=r[0],d=r[1],p=r[2],b=Infinity,w,E=t*t,S=.1,x=.1;x<=.9;x+=.1){v[0]=o(s[0],d[0],p[0],x),v[1]=o(s[1],d[1],p[1],x);var T=n(i(v,l)-E);T<b&&(b=T,w=x)}for(var L=0;L<32;L++){var y=w+S;h[0]=o(s[0],d[0],p[0],w),h[1]=o(s[1],d[1],p[1],w),c[0]=o(s[0],d[0],p[0],y),c[1]=o(s[1],d[1],p[1],y);var T=i(h,l)-E;if(n(T)<.01)break;var C=i(c,l)-E;S/=2,T<0?C>=0?w=w+S:w=w-S:C>=0?w=w-S:w=w+S}return w}function u(r,l){var t=[],s=g.quadraticSubdivide,d=[[],[],[]],p=[[],[]],b=[];l/=2,r.eachEdge(function(w,E){var S=w.getLayout(),x=w.getVisual("fromSymbol"),T=w.getVisual("toSymbol");S.__original||(S.__original=[f.clone(S[0]),f.clone(S[1])],S[2]&&S.__original.push(f.clone(S[2])));var L=S.__original;if(S[2]!=null){if(f.copy(d[0],L[0]),f.copy(d[1],L[2]),f.copy(d[2],L[1]),x&&x!=="none"){var y=m(w.node1),C=a(d,L[0],y*l);s(d[0][0],d[1][0],d[2][0],C,t),d[0][0]=t[3],d[1][0]=t[4],s(d[0][1],d[1][1],d[2][1],C,t),d[0][1]=t[3],d[1][1]=t[4]}if(T&&T!=="none"){var y=m(w.node2),C=a(d,L[1],y*l);s(d[0][0],d[1][0],d[2][0],C,t),d[1][0]=t[1],d[2][0]=t[2],s(d[0][1],d[1][1],d[2][1],C,t),d[1][1]=t[1],d[2][1]=t[2]}f.copy(S[0],d[0]),f.copy(S[1],d[2]),f.copy(S[2],d[1])}else{if(f.copy(p[0],L[0]),f.copy(p[1],L[1]),f.sub(b,p[1],p[0]),f.normalize(b,b),x&&x!=="none"){var y=m(w.node1);f.scaleAndAdd(p[0],p[0],b,y*l)}if(T&&T!=="none"){var y=m(w.node2);f.scaleAndAdd(p[1],p[1],b,-y*l)}f.copy(S[0],p[0]),f.copy(S[1],p[1])}})}D.exports=u},SJMd:function(D,_){/**
* @license
* Copyright (C) 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var e,g,f,A=!1,m,v;window.PR_SHOULD_USE_CONTINUATION=!0;var h,c;(function(){var o=window,i=["break,continue,do,else,for,if,return,while"],n=[i,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[n,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],u=[a,"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"],r=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",s=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],d="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",p=[i,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],b=[i,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],w=[i,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],E=[u,l,r,s,d,p,b,w],S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,x="str",T="kwd",L="com",y="typ",C="lit",O="pun",N="pln",k="tag",F="dec",B="src",H="atn",W="atv",R="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function j(_e){for(var ce=0,ee=!1,se=!1,ke=0,Ce=_e.length;ke<Ce;++ke){var ze=_e[ke];if(ze.ignoreCase)se=!0;else if(/[a-z]/i.test(ze.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ee=!0,se=!1;break}}var Oe={b:8,t:9,n:10,v:11,f:12,r:13};function ae(Ct){var Be=Ct.charCodeAt(0);if(Be!==92)return Be;var Rt=Ct.charAt(1);return Be=Oe[Rt],Be||("0"<=Rt&&Rt<="7"?parseInt(Ct.substring(1),8):Rt==="u"||Rt==="x"?parseInt(Ct.substring(2),16):Ct.charCodeAt(1))}function ge(Ct){if(Ct<32)return(Ct<16?"\\x0":"\\x")+Ct.toString(16);var Be=String.fromCharCode(Ct);return Be==="\\"||Be==="-"||Be==="]"||Be==="^"?"\\"+Be:Be}function Le(Ct){var Be=Ct.substring(1,Ct.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Rt=[],He=Be[0]==="^",wt=["["];He&&wt.push("^");for(var Ge=He?1:0,et=Be.length;Ge<et;++Ge){var rt=Be[Ge];if(/\\[bdsw]/i.test(rt))wt.push(rt);else{var lt=ae(rt),Ve;Ge+2<et&&Be[Ge+1]==="-"?(Ve=ae(Be[Ge+2]),Ge+=2):Ve=lt,Rt.push([lt,Ve]),Ve<65||lt>122||(Ve<65||lt>90||Rt.push([Math.max(65,lt)|32,Math.min(Ve,90)|32]),Ve<97||lt>122||Rt.push([Math.max(97,lt)&~32,Math.min(Ve,122)&~32]))}}Rt.sort(function(Qe,ye){return Qe[0]-ye[0]||ye[1]-Qe[1]});for(var ie=[],$=[],Ge=0;Ge<Rt.length;++Ge){var it=Rt[Ge];it[0]<=$[1]+1?$[1]=Math.max($[1],it[1]):ie.push($=it)}for(var Ge=0;Ge<ie.length;++Ge){var it=ie[Ge];wt.push(ge(it[0])),it[1]>it[0]&&(it[1]+1>it[0]&&wt.push("-"),wt.push(ge(it[1])))}return wt.push("]"),wt.join("")}function Ze(Ct){for(var Be=Ct.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Rt=Be.length,He=[],wt=0,Ge=0;wt<Rt;++wt){var et=Be[wt];if(et==="(")++Ge;else if(et.charAt(0)==="\\"){var rt=+et.substring(1);rt&&(rt<=Ge?He[rt]=-1:Be[wt]=ge(rt))}}for(var wt=1;wt<He.length;++wt)He[wt]===-1&&(He[wt]=++ce);for(var wt=0,Ge=0;wt<Rt;++wt){var et=Be[wt];if(et==="(")++Ge,He[Ge]||(Be[wt]="(?:");else if(et.charAt(0)==="\\"){var rt=+et.substring(1);rt&&rt<=Ge&&(Be[wt]="\\"+He[rt])}}for(var wt=0;wt<Rt;++wt)Be[wt]==="^"&&Be[wt+1]!=="^"&&(Be[wt]="");if(Ct.ignoreCase&&ee)for(var wt=0;wt<Rt;++wt){var et=Be[wt],lt=et.charAt(0);et.length>=2&&lt==="["?Be[wt]=Le(et):lt!=="\\"&&(Be[wt]=et.replace(/[a-zA-Z]/g,function($){var it=$.charCodeAt(0);return"["+String.fromCharCode(it&~32,it|32)+"]"}))}return Be.join("")}for(var vt=[],ke=0,Ce=_e.length;ke<Ce;++ke){var ze=_e[ke];if(ze.global||ze.multiline)throw new Error(""+ze);vt.push("(?:"+Ze(ze)+")")}return new RegExp(vt.join("|"),se?"gi":"g")}function P(_e,ce){var ee=/(?:^|\s)nocode(?:\s|$)/,se=[],ke=0,Ce=[],ze=0;function Oe(ae){var ge=ae.nodeType;if(ge==1){if(ee.test(ae.className))return;for(var Le=ae.firstChild;Le;Le=Le.nextSibling)Oe(Le);var Ze=ae.nodeName.toLowerCase();(Ze==="br"||Ze==="li")&&(se[ze]=`
`,Ce[ze<<1]=ke++,Ce[ze++<<1|1]=ae)}else if(ge==3||ge==4){var vt=ae.nodeValue;vt.length&&(ce?vt=vt.replace(/\r\n?/g,`
`):vt=vt.replace(/[ \t\r\n]+/g," "),se[ze]=vt,Ce[ze<<1]=ke,ke+=vt.length,Ce[ze++<<1|1]=ae)}}return Oe(_e),{sourceCode:se.join("").replace(/\n$/,""),spans:Ce}}function K(_e,ce,ee,se,ke){if(!ee)return;var Ce={sourceNode:_e,pre:1,langExtension:null,numberLines:null,sourceCode:ee,spans:null,basePos:ce,decorations:null};se(Ce),ke.push.apply(ke,Ce.decorations)}var V=/\S/;function z(_e){for(var ce=void 0,ee=_e.firstChild;ee;ee=ee.nextSibling){var se=ee.nodeType;ce=se===1?ce?_e:ee:se===3&&V.test(ee.nodeValue)?_e:ce}return ce===_e?void 0:ce}function X(_e,ce){var ee={},se;(function(){for(var ze=_e.concat(ce),Oe=[],ae={},ge=0,Le=ze.length;ge<Le;++ge){var Ze=ze[ge],vt=Ze[3];if(vt)for(var Ct=vt.length;--Ct>=0;)ee[vt.charAt(Ct)]=Ze;var Be=Ze[1],Rt=""+Be;ae.hasOwnProperty(Rt)||(Oe.push(Be),ae[Rt]=null)}Oe.push(/[\0-\uffff]/),se=j(Oe)})();var ke=ce.length,Ce=function ze(Oe){for(var ae=Oe.sourceCode,ge=Oe.basePos,Le=Oe.sourceNode,Ze=[ge,N],vt=0,Ct=ae.match(se)||[],Be={},Rt=0,He=Ct.length;Rt<He;++Rt){var wt=Ct[Rt],Ge=Be[wt],et=void 0,rt;if(typeof Ge=="string")rt=!1;else{var lt=ee[wt.charAt(0)];if(lt)et=wt.match(lt[1]),Ge=lt[0];else{for(var Ve=0;Ve<ke;++Ve)if(lt=ce[Ve],et=wt.match(lt[1]),et){Ge=lt[0];break}et||(Ge=N)}rt=Ge.length>=5&&Ge.substring(0,5)==="lang-",rt&&!(et&&typeof et[1]=="string")&&(rt=!1,Ge=B),rt||(Be[wt]=Ge)}var ie=vt;if(vt+=wt.length,!rt)Ze.push(ge+ie,Ge);else{var $=et[1],it=wt.indexOf($),Qe=it+$.length;et[2]&&(Qe=wt.length-et[2].length,it=Qe-$.length);var ye=Ge.substring(5);K(Le,ge+ie,wt.substring(0,it),ze,Ze),K(Le,ge+ie+it,$,Fe(ye,$),Ze),K(Le,ge+ie+Qe,wt.substring(Qe),ze,Ze)}}Oe.decorations=Ze};return Ce}function G(_e){var ce=[],ee=[];_e.tripleQuotedStrings?ce.push([x,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):_e.multiLineStrings?ce.push([x,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):ce.push([x,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),_e.verbatimStrings&&ee.push([x,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var se=_e.hashComments;se&&(_e.cStyleComments?(se>1?ce.push([L,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):ce.push([L,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ee.push([x,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):ce.push([L,/^#[^\r\n]*/,null,"#"])),_e.cStyleComments&&(ee.push([L,/^\/\/[^\r\n]*/,null]),ee.push([L,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ke=_e.regexLiterals;if(ke){var Ce=ke>1?"":`
\r`,ze=Ce?".":"[\\S\\s]",Oe="/(?=[^/*"+Ce+"])(?:[^/\\x5B\\x5C"+Ce+"]|\\x5C"+ze+"|\\x5B(?:[^\\x5C\\x5D"+Ce+"]|\\x5C"+ze+")*(?:\\x5D|$))+/";ee.push(["lang-regex",RegExp("^"+U+"("+Oe+")")])}var ae=_e.types;ae&&ee.push([y,ae]);var ge=(""+_e.keywords).replace(/^ | $/g,"");ge.length&&ee.push([T,new RegExp("^(?:"+ge.replace(/[\s,]+/g,"|")+")\\b"),null]),ce.push([N,/^\s+/,null,` \r
\xA0`]);var Le="^.[^\\s\\w.$@'\"`/\\\\]*";return _e.regexLiterals&&(Le+="(?!s*/)"),ee.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[y,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[N,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[N,/^\\[\s\S]?/,null],[O,new RegExp(Le),null]),X(ce,ee)}var le=G({keywords:E,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Y(_e,ce,ee){for(var se=/(?:^|\s)nocode(?:\s|$)/,ke=/\r\n?|\n/,Ce=_e.ownerDocument,ze=Ce.createElement("li");_e.firstChild;)ze.appendChild(_e.firstChild);var Oe=[ze];function ae(Be){var Rt=Be.nodeType;if(Rt==1&&!se.test(Be.className))if(Be.nodeName==="br")ge(Be),Be.parentNode&&Be.parentNode.removeChild(Be);else for(var He=Be.firstChild;He;He=He.nextSibling)ae(He);else if((Rt==3||Rt==4)&&ee){var wt=Be.nodeValue,Ge=wt.match(ke);if(Ge){var et=wt.substring(0,Ge.index);Be.nodeValue=et;var rt=wt.substring(Ge.index+Ge[0].length);if(rt){var lt=Be.parentNode;lt.insertBefore(Ce.createTextNode(rt),Be.nextSibling)}ge(Be),et||Be.parentNode.removeChild(Be)}}}function ge(Be){for(;!Be.nextSibling;)if(Be=Be.parentNode,!Be)return;function Rt(Ge,et){var rt=et?Ge.cloneNode(!1):Ge,lt=Ge.parentNode;if(lt){var Ve=Rt(lt,1),ie=Ge.nextSibling;Ve.appendChild(rt);for(var $=ie;$;$=ie)ie=$.nextSibling,Ve.appendChild($)}return rt}for(var He=Rt(Be.nextSibling,0),wt;(wt=He.parentNode)&&wt.nodeType===1;)He=wt;Oe.push(He)}for(var Le=0;Le<Oe.length;++Le)ae(Oe[Le]);ce===(ce|0)&&Oe[0].setAttribute("value",ce);var Ze=Ce.createElement("ol");Ze.className="linenums";for(var vt=Math.max(0,ce-1|0)||0,Le=0,Ct=Oe.length;Le<Ct;++Le)ze=Oe[Le],ze.className="L"+(Le+vt)%10,ze.firstChild||ze.appendChild(Ce.createTextNode("\xA0")),Ze.appendChild(ze);_e.appendChild(Ze)}function me(_e){var ce=/\bMSIE\s(\d+)/.exec(navigator.userAgent);ce=ce&&+ce[1]<=8;var ee=/\n/g,se=_e.sourceCode,ke=se.length,Ce=0,ze=_e.spans,Oe=ze.length,ae=0,ge=_e.decorations,Le=ge.length,Ze=0;ge[Le]=ke;var vt,Ct;for(Ct=vt=0;Ct<Le;)ge[Ct]!==ge[Ct+2]?(ge[vt++]=ge[Ct++],ge[vt++]=ge[Ct++]):Ct+=2;for(Le=vt,Ct=vt=0;Ct<Le;){for(var Be=ge[Ct],Rt=ge[Ct+1],He=Ct+2;He+2<=Le&&ge[He+1]===Rt;)He+=2;ge[vt++]=Be,ge[vt++]=Rt,Ct=He}Le=ge.length=vt;var wt=_e.sourceNode,Ge="";wt&&(Ge=wt.style.display,wt.style.display="none");try{for(var et=null;ae<Oe;){var rt=ze[ae],lt=ze[ae+2]||ke,Ve=ge[Ze+2]||ke,He=Math.min(lt,Ve),ie=ze[ae+1],$;if(ie.nodeType!==1&&($=se.substring(Ce,He))){ce&&($=$.replace(ee,"\r")),ie.nodeValue=$;var it=ie.ownerDocument,Qe=it.createElement("span");Qe.className=ge[Ze+1];var ye=ie.parentNode;ye.replaceChild(Qe,ie),Qe.appendChild(ie),Ce<lt&&(ze[ae+1]=ie=it.createTextNode(se.substring(He,lt)),ye.insertBefore(ie,Qe.nextSibling))}Ce=He,Ce>=lt&&(ae+=2),Ce>=Ve&&(Ze+=2)}}finally{wt&&(wt.style.display=Ge)}}var we={};function pe(_e,ce){for(var ee=ce.length;--ee>=0;){var se=ce[ee];we.hasOwnProperty(se)?o.console&&console.warn("cannot override language handler %s",se):we[se]=_e}}function Fe(_e,ce){return _e&&we.hasOwnProperty(_e)||(_e=/^\s*</.test(ce)?"default-markup":"default-code"),we[_e]}pe(le,["default-code"]),pe(X([],[[N,/^[^<?]+/],[F,/^<!\w[^>]*(?:>|$)/],[L,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[O,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),pe(X([[N,/^[\s]+/,null,` \r
`],[W,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[k,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[H,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[O,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),pe(X([],[[W,/^[\s\S]+/]]),["uq.val"]),pe(G({keywords:u,hashComments:!0,cStyleComments:!0,types:S}),["c","cc","cpp","cxx","cyc","m"]),pe(G({keywords:"null,true,false"}),["json"]),pe(G({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]),pe(G({keywords:r,cStyleComments:!0}),["java"]),pe(G({keywords:w,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),pe(G({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),pe(G({keywords:d,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),pe(G({keywords:b,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),pe(G({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),pe(G({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),pe(X([],[[x,/^[\s\S]+/]]),["regex"]);function Xe(_e){var ce=_e.langExtension;try{var ee=P(_e.sourceNode,_e.pre),se=ee.sourceCode;_e.sourceCode=se,_e.spans=ee.spans,_e.basePos=0,Fe(ce,se)(_e),me(_e)}catch(ke){o.console&&console.log(ke&&ke.stack||ke)}}function dt(_e,ce,ee){var se=ee||!1,ke=ce||null,Ce=document.createElement("div");Ce.innerHTML="<pre>"+_e+"</pre>",Ce=Ce.firstChild,se&&Y(Ce,se,!0);var ze={langExtension:ke,numberLines:se,sourceNode:Ce,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Xe(ze),Ce.innerHTML}function Ee(_e,ce){var ee=ce||document.body,se=ee.ownerDocument||document;function ke(rt){return ee.getElementsByTagName(rt)}for(var Ce=[ke("pre"),ke("code"),ke("xmp")],ze=[],Oe=0;Oe<Ce.length;++Oe)for(var ae=0,ge=Ce[Oe].length;ae<ge;++ae)ze.push(Ce[Oe][ae]);Ce=null;var Le=Date;Le.now||(Le={now:function(){return+new Date}});var Ze=0,vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ct=/\bprettyprint\b/,Be=/\bprettyprinted\b/,Rt=/pre|xmp/i,He=/^code$/i,wt=/^(?:pre|code|xmp)$/i,Ge={};function et(){for(var rt=o.PR_SHOULD_USE_CONTINUATION?Le.now()+250:Infinity;Ze<ze.length&&Le.now()<rt;Ze++){for(var lt=ze[Ze],Ve=Ge,ie=lt;ie=ie.previousSibling;){var $=ie.nodeType,it=($===7||$===8)&&ie.nodeValue;if(it?!/^\??prettify\b/.test(it):$!==3||/\S/.test(ie.nodeValue))break;if(it){Ve={},it.replace(/\b(\w+)=([\w:.%+-]+)/g,function(ue,Ne,je){Ve[Ne]=je});break}}var Qe=lt.className;if((Ve!==Ge||Ct.test(Qe))&&!Be.test(Qe)){for(var ye=!1,Zt=lt.parentNode;Zt;Zt=Zt.parentNode){var ht=Zt.tagName;if(wt.test(ht)&&Zt.className&&Ct.test(Zt.className)){ye=!0;break}}if(!ye){lt.className+=" prettyprinted";var ct=Ve.lang;if(!ct){ct=Qe.match(vt);var yt;!ct&&(yt=z(lt))&&He.test(yt.tagName)&&(ct=yt.className.match(vt)),ct&&(ct=ct[1])}var It;if(Rt.test(lt.tagName))It=1;else{var or=lt.currentStyle,Bt=se.defaultView,Ae=or?or.whiteSpace:Bt&&Bt.getComputedStyle?Bt.getComputedStyle(lt,null).getPropertyValue("white-space"):0;It=Ae&&Ae.substring(0,3)==="pre"}var ve=Ve.linenums;(ve=ve==="true"||+ve)||(ve=Qe.match(/\blinenums\b(?::(\d+))?/),ve=ve?ve[1]&&ve[1].length?+ve[1]:!0:!1),ve&&Y(lt,ve,It);var fe={langExtension:ct,sourceNode:lt,numberLines:ve,pre:It,sourceCode:null,basePos:null,spans:null,decorations:null};Xe(fe)}}}Ze<ze.length?o.setTimeout(et,250):typeof _e=="function"&&_e()}et()}var Se=o.PR={createSimpleLexer:X,registerLangHandler:pe,sourceDecorator:G,PR_ATTRIB_NAME:H,PR_ATTRIB_VALUE:W,PR_COMMENT:L,PR_DECLARATION:F,PR_KEYWORD:T,PR_LITERAL:C,PR_NOCODE:R,PR_PLAIN:N,PR_PUNCTUATION:O,PR_SOURCE:B,PR_STRING:x,PR_TAG:k,PR_TYPE:y,prettyPrintOne:A?o.prettyPrintOne=dt:h=dt,prettyPrint:c=A?o.prettyPrint=Ee:c=Ee},at=o.define;typeof at=="function"&&at.amd&&at("google-code-prettify",[],function(){return Se})})()},SKnc:function(D,_,e){var g=e("bYtY"),f=e("QuXc"),A=function(h,c,o,i,n,a){this.x=h==null?0:h,this.y=c==null?0:c,this.x2=o==null?1:o,this.y2=i==null?0:i,this.type="linear",this.global=a||!1,f.call(this,n)};A.prototype={constructor:A},g.inherits(A,f);var m=A;D.exports=m},"SKx+":function(D,_,e){var g=e("ProS"),f=g.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),A=f;D.exports=A},SMc4:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),A=e("nkfE"),m=e("ICMv"),v=f.extend({type:"cartesian2dAxis",axis:null,init:function(){v.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){v.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){v.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function h(i,n){return n.type||(n.data?"category":"value")}g.merge(v.prototype,m);var c={offset:0};A("x",v,h,c),A("y",v,h,c);var o=v;D.exports=o},SRve:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};_.default=g},SUKs:function(D,_,e){var g=e("LPTA"),f=g.debugMode,A=function(){};f===1&&(A=console.error);var m=A;D.exports=m},SZEN:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.clientToElement=g;function g(f,A,m){var v=m.getBoundingClientRect(),h={x:0,y:0};return f<v.left?h.x=0:f>=v.right?h.x=v.width-1:h.x=f-v.left,A<v.top?h.y=0:A>=v.bottom?h.y=v.height-1:h.y=A-v.top,h}},Sdc0:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("q1tI"),h=e("rePB"),c=e("ODXe"),o=e("Ff2n"),i=e("TSYQ"),n=e.n(i),a=e("6cGi"),u=e("4IlW"),r=v.forwardRef(function(T,L){var y,C=T.prefixCls,O=C===void 0?"rc-switch":C,N=T.className,k=T.checked,F=T.defaultChecked,B=T.disabled,H=T.loadingIcon,W=T.checkedChildren,R=T.unCheckedChildren,U=T.onClick,j=T.onChange,P=T.onKeyDown,K=Object(o.a)(T,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(a.a)(!1,{value:k,defaultValue:F}),z=Object(c.a)(V,2),X=z[0],G=z[1];function le(pe,Fe){var Xe=X;return B||(Xe=pe,G(Xe),j==null||j(Xe,Fe)),Xe}function Y(pe){pe.which===u.a.LEFT?le(!1,pe):pe.which===u.a.RIGHT&&le(!0,pe),P==null||P(pe)}function me(pe){var Fe=le(!X,pe);U==null||U(Fe,pe)}var we=n()(O,N,(y={},Object(h.a)(y,"".concat(O,"-checked"),X),Object(h.a)(y,"".concat(O,"-disabled"),B),y));return v.createElement("button",Object.assign({},K,{type:"button",role:"switch","aria-checked":X,disabled:B,className:we,ref:L,onKeyDown:Y,onClick:me}),H,v.createElement("span",{className:"".concat(O,"-inner")},X?W:R))});r.displayName="Switch";var l=r,t=e("gZBC"),s=e.n(t),d=e("g0mS"),p=e("H84U"),b=e("3Nzz"),w=e("uaoM"),E=function(T,L){var y={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(y[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(y[C[O]]=T[C[O]]);return y},S=v.forwardRef(function(T,L){var y,C=T.prefixCls,O=T.size,N=T.loading,k=T.className,F=k===void 0?"":k,B=T.disabled,H=E(T,["prefixCls","size","loading","className","disabled"]);Object(w.a)("checked"in H||!("value"in H),"Switch","`value` is not a valid prop, do you mean `checked`?");var W=v.useContext(p.b),R=W.getPrefixCls,U=W.direction,j=v.useContext(b.b),P=R("switch",C),K=v.createElement("div",{className:"".concat(P,"-handle")},N&&v.createElement(s.a,{className:"".concat(P,"-loading-icon")})),V=n()(F,(y={},m()(y,"".concat(P,"-small"),(O||j)==="small"),m()(y,"".concat(P,"-loading"),N),m()(y,"".concat(P,"-rtl"),U==="rtl"),y));return v.createElement(d.a,{insertExtraNode:!0},v.createElement(l,f()({},H,{prefixCls:P,className:V,disabled:B||N,ref:L,loadingIcon:K})))});S.__ANT_SWITCH=!0,S.displayName="Switch";var x=_.a=S},SehX:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("2B6p"),m=A.updateCenterAndZoom;g.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,h){var c=v.componentType||"series";h.eachComponent({mainType:c,query:v},function(o){var i=o.coordinateSystem;if(i.type!=="geo")return;var n=m(i,v,o.get("scaleLimit"));o.setCenter&&o.setCenter(n.center),o.setZoom&&o.setZoom(n.zoom),c==="series"&&f.each(o.seriesGroup,function(a){a.setCenter(n.center),a.setZoom(n.zoom)})})})},SfRM:function(D,_,e){var g=e("YESw");function f(){this.__data__=g?g(null):{},this.size=0}D.exports=f},SgGq:function(D,_,e){var g=e("bYtY"),f=e("H6uX"),A=e("YH21"),m=e("pP6R");function v(t){this.pointerChecker,this._zr=t,this._opt={};var s=g.bind,d=s(h,this),p=s(c,this),b=s(o,this),w=s(i,this),E=s(n,this);f.call(this),this.setPointerChecker=function(S){this.pointerChecker=S},this.enable=function(S,x){this.disable(),this._opt=g.defaults(g.clone(x)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),S==null&&(S=!0),(S===!0||S==="move"||S==="pan")&&(t.on("mousedown",d),t.on("mousemove",p),t.on("mouseup",b)),(S===!0||S==="scale"||S==="zoom")&&(t.on("mousewheel",w),t.on("pinch",E))},this.disable=function(){t.off("mousedown",d),t.off("mousemove",p),t.off("mouseup",b),t.off("mousewheel",w),t.off("pinch",E)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}g.mixin(v,f);function h(t){if(A.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var s=t.offsetX,d=t.offsetY;this.pointerChecker&&this.pointerChecker(t,s,d)&&(this._x=s,this._y=d,this._dragging=!0)}function c(t){if(!this._dragging||!r("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var s=t.offsetX,d=t.offsetY,p=this._x,b=this._y,w=s-p,E=d-b;this._x=s,this._y=d,this._opt.preventDefaultMouseMove&&A.stop(t.event),u(this,"pan","moveOnMouseMove",t,{dx:w,dy:E,oldX:p,oldY:b,newX:s,newY:d})}function o(t){A.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function i(t){var s=r("zoomOnMouseWheel",t,this._opt),d=r("moveOnMouseWheel",t,this._opt),p=t.wheelDelta,b=Math.abs(p),w=t.offsetX,E=t.offsetY;if(p===0||!s&&!d)return;if(s){var S=b>3?1.4:b>1?1.2:1.1,x=p>0?S:1/S;a(this,"zoom","zoomOnMouseWheel",t,{scale:x,originX:w,originY:E})}if(d){var T=Math.abs(p),L=(p>0?1:-1)*(T>3?.4:T>1?.15:.05);a(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:L,originX:w,originY:E})}}function n(t){if(m.isTaken(this._zr,"globalPan"))return;var s=t.pinchScale>1?1.1:1/1.1;a(this,"zoom",null,t,{scale:s,originX:t.pinchX,originY:t.pinchY})}function a(t,s,d,p,b){t.pointerChecker&&t.pointerChecker(p,b.originX,b.originY)&&(A.stop(p.event),u(t,s,d,p,b))}function u(t,s,d,p,b){b.isAvailableBehavior=g.bind(r,null,d,p),t.trigger(s,b)}function r(t,s,d){var p=d[t];return!t||p&&(!g.isString(p)||s.event[p+"Key"])}var l=v;D.exports=l},SgaC:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function A(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._subrects=0}return A(v,[{key:"decodeRect",value:function(c,o,i,n,a,u,r){if(this._subrects===0){if(a.rQwait("RRE",4+4))return!1;this._subrects=a.rQshift32();var l=a.rQshiftBytes(4);u.fillRect(c,o,i,n,l)}for(;this._subrects>0;){if(a.rQwait("RRE",4+8))return!1;var t=a.rQshiftBytes(4),s=a.rQshift16(),d=a.rQshift16(),p=a.rQshift16(),b=a.rQshift16();u.fillRect(c+s,o+d,p,b,t),this._subrects--}return!0}}]),v}();_.default=m},Sj0X:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("XuBP")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="DownOutlined";var c=A.forwardRef(h);_.default=c},Sj9i:function(D,_,e){var g=e("QBsz"),f=g.create,A=g.distSquare,m=Math.pow,v=Math.sqrt,h=1e-8,c=1e-4,o=v(3),i=1/3,n=f(),a=f(),u=f();function r(C){return C>-h&&C<h}function l(C){return C>h||C<-h}function t(C,O,N,k,F){var B=1-F;return B*B*(B*C+3*F*O)+F*F*(F*k+3*B*N)}function s(C,O,N,k,F){var B=1-F;return 3*(((O-C)*B+2*(N-O)*F)*B+(k-N)*F*F)}function d(C,O,N,k,F,B){var H=k+3*(O-N)-C,W=3*(N-O*2+C),R=3*(O-C),U=C-F,j=W*W-3*H*R,P=W*R-9*H*U,K=R*R-3*W*U,V=0;if(r(j)&&r(P))if(r(W))B[0]=0;else{var z=-R/W;z>=0&&z<=1&&(B[V++]=z)}else{var X=P*P-4*j*K;if(r(X)){var G=P/j,z=-W/H+G,le=-G/2;z>=0&&z<=1&&(B[V++]=z),le>=0&&le<=1&&(B[V++]=le)}else if(X>0){var Y=v(X),me=j*W+1.5*H*(-P+Y),we=j*W+1.5*H*(-P-Y);me<0?me=-m(-me,i):me=m(me,i),we<0?we=-m(-we,i):we=m(we,i);var z=(-W-(me+we))/(3*H);z>=0&&z<=1&&(B[V++]=z)}else{var pe=(2*j*W-3*H*P)/(2*v(j*j*j)),Fe=Math.acos(pe)/3,Xe=v(j),dt=Math.cos(Fe),z=(-W-2*Xe*dt)/(3*H),le=(-W+Xe*(dt+o*Math.sin(Fe)))/(3*H),Ee=(-W+Xe*(dt-o*Math.sin(Fe)))/(3*H);z>=0&&z<=1&&(B[V++]=z),le>=0&&le<=1&&(B[V++]=le),Ee>=0&&Ee<=1&&(B[V++]=Ee)}}return V}function p(C,O,N,k,F){var B=6*N-12*O+6*C,H=9*O+3*k-3*C-9*N,W=3*O-3*C,R=0;if(r(H)){if(l(B)){var U=-W/B;U>=0&&U<=1&&(F[R++]=U)}}else{var j=B*B-4*H*W;if(r(j))F[0]=-B/(2*H);else if(j>0){var P=v(j),U=(-B+P)/(2*H),K=(-B-P)/(2*H);U>=0&&U<=1&&(F[R++]=U),K>=0&&K<=1&&(F[R++]=K)}}return R}function b(C,O,N,k,F,B){var H=(O-C)*F+C,W=(N-O)*F+O,R=(k-N)*F+N,U=(W-H)*F+H,j=(R-W)*F+W,P=(j-U)*F+U;B[0]=C,B[1]=H,B[2]=U,B[3]=P,B[4]=P,B[5]=j,B[6]=R,B[7]=k}function w(C,O,N,k,F,B,H,W,R,U,j){var P,K=.005,V=Infinity,z,X,G,le;n[0]=R,n[1]=U;for(var Y=0;Y<1;Y+=.05)a[0]=t(C,N,F,H,Y),a[1]=t(O,k,B,W,Y),G=A(n,a),G<V&&(P=Y,V=G);V=Infinity;for(var me=0;me<32&&!(K<c);me++)z=P-K,X=P+K,a[0]=t(C,N,F,H,z),a[1]=t(O,k,B,W,z),G=A(a,n),z>=0&&G<V?(P=z,V=G):(u[0]=t(C,N,F,H,X),u[1]=t(O,k,B,W,X),le=A(u,n),X<=1&&le<V?(P=X,V=le):K*=.5);return j&&(j[0]=t(C,N,F,H,P),j[1]=t(O,k,B,W,P)),v(V)}function E(C,O,N,k){var F=1-k;return F*(F*C+2*k*O)+k*k*N}function S(C,O,N,k){return 2*((1-k)*(O-C)+k*(N-O))}function x(C,O,N,k,F){var B=C-2*O+N,H=2*(O-C),W=C-k,R=0;if(r(B)){if(l(H)){var U=-W/H;U>=0&&U<=1&&(F[R++]=U)}}else{var j=H*H-4*B*W;if(r(j)){var U=-H/(2*B);U>=0&&U<=1&&(F[R++]=U)}else if(j>0){var P=v(j),U=(-H+P)/(2*B),K=(-H-P)/(2*B);U>=0&&U<=1&&(F[R++]=U),K>=0&&K<=1&&(F[R++]=K)}}return R}function T(C,O,N){var k=C+N-2*O;return k===0?.5:(C-O)/k}function L(C,O,N,k,F){var B=(O-C)*k+C,H=(N-O)*k+O,W=(H-B)*k+B;F[0]=C,F[1]=B,F[2]=W,F[3]=W,F[4]=H,F[5]=N}function y(C,O,N,k,F,B,H,W,R){var U,j=.005,P=Infinity;n[0]=H,n[1]=W;for(var K=0;K<1;K+=.05){a[0]=E(C,N,F,K),a[1]=E(O,k,B,K);var V=A(n,a);V<P&&(U=K,P=V)}P=Infinity;for(var z=0;z<32&&!(j<c);z++){var X=U-j,G=U+j;a[0]=E(C,N,F,X),a[1]=E(O,k,B,X);var V=A(a,n);if(X>=0&&V<P)U=X,P=V;else{u[0]=E(C,N,F,G),u[1]=E(O,k,B,G);var le=A(u,n);G<=1&&le<P?(U=G,P=le):j*=.5}}return R&&(R[0]=E(C,N,F,U),R[1]=E(O,k,B,U)),v(P)}_.cubicAt=t,_.cubicDerivativeAt=s,_.cubicRootAt=d,_.cubicExtrema=p,_.cubicSubdivide=b,_.cubicProjectPoint=w,_.quadraticAt=E,_.quadraticDerivativeAt=S,_.quadraticRootAt=x,_.quadraticExtremum=T,_.quadraticSubdivide=L,_.quadraticProjectPoint=y},Sp2Z:function(D,_,e){var g=e("3LNs"),f=e("/y7N"),A=e("AVZG"),m=e("Znkb"),v=g.extend({makeElOption:function(n,a,u,r,l){var t=u.axis,s=t.grid,d=r.get("type"),p=h(s,t).getOtherAxis(t).getGlobalExtent(),b=t.toGlobalCoord(t.dataToCoord(a,!0));if(d&&d!=="none"){var w=f.buildElStyle(r),E=c[d](t,b,p);E.style=w,n.graphicKey=E.type,n.pointer=E}var S=A.layout(s.model,u);f.buildCartesianSingleLabelElOption(a,n,S,u,r,l)},getHandleTransform:function(n,a,u){var r=A.layout(a.axis.grid.model,a,{labelInside:!1});return r.labelMargin=u.get("handle.margin"),{position:f.getTransformedPosition(a.axis,n,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(n,a,u,r){var l=u.axis,t=l.grid,s=l.getGlobalExtent(!0),d=h(t,l).getOtherAxis(l).getGlobalExtent(),p=l.dim==="x"?0:1,b=n.position;b[p]+=a[p],b[p]=Math.min(s[1],b[p]),b[p]=Math.max(s[0],b[p]);var w=(d[1]+d[0])/2,E=[w,w];E[p]=b[p];var S=[{verticalAlign:"middle"},{align:"center"}];return{position:b,rotation:n.rotation,cursorPoint:E,tooltipOption:S[p]}}});function h(n,a){var u={};return u[a.dim+"AxisIndex"]=a.index,n.getCartesian(u)}var c={line:function(n,a,u){var r=f.makeLineShape([a,u[0]],[a,u[1]],o(n));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(n,a,u){var r=Math.max(1,n.getBandWidth()),l=u[1]-u[0];return{type:"Rect",shape:f.makeRectShape([a-r/2,u[0]],[r,l],o(n))}}};function o(n){return n.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",v);var i=v;D.exports=i},Sq3C:function(D,_,e){var g=e("sKgW"),f=e("zoYe"),A=e("wy8a"),m=e("quyA"),v=e("Z1HP"),h=e("Em2t"),c=Math.ceil;function o(i,n){n=n===void 0?" ":f(n);var a=n.length;if(a<2)return a?g(n,i):n;var u=g(n,c(i/v(n)));return m(n)?A(h(u),0,i).join(""):u.slice(0,i)}D.exports=o},SqI9:function(D,_,e){var g=e("y+Vt"),f=e("iXp4"),A=g.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:f(g.prototype.brush),buildPath:function(v,h){var c=h.cx,o=h.cy,i=Math.max(h.r0||0,0),n=Math.max(h.r,0),a=h.startAngle,u=h.endAngle,r=h.clockwise,l=Math.cos(a),t=Math.sin(a);v.moveTo(l*i+c,t*i+o),v.lineTo(l*n+c,t*n+o),v.arc(c,o,n,a,u,!r),v.lineTo(Math.cos(u)*i+c,Math.sin(u)*i+o),i!==0&&v.arc(c,o,i,u,a,r),v.closePath()}});D.exports=A},SrGk:function(D,_,e){var g=e("hydK"),f=g.createElement,A=e("bYtY"),m=e("y+Vt"),v=e("Dagg"),h=e("dqUG"),c=e("P47w"),o=c.path,i=c.image,n=c.text,a="0",u="1";function r(t,s,d,p,b){this._zrId=t,this._svgRoot=s,this._tagNames=typeof d=="string"?[d]:d,this._markLabel=p,this._domName=b||"_dom",this.nextId=0}r.prototype.createElement=f,r.prototype.getDefs=function(t){var s=this._svgRoot,d=this._svgRoot.getElementsByTagName("defs");return d.length===0?t?(d=s.insertBefore(this.createElement("defs"),s.firstChild),d.contains||(d.contains=function(p){var b=d.children;if(!b)return!1;for(var w=b.length-1;w>=0;--w)if(b[w]===p)return!0;return!1}),d):null:d[0]},r.prototype.update=function(t,s){if(!t)return;var d=this.getDefs(!1);if(t[this._domName]&&d.contains(t[this._domName]))typeof s=="function"&&s(t);else{var p=this.add(t);p&&(t[this._domName]=p)}},r.prototype.addDom=function(t){var s=this.getDefs(!0);s.appendChild(t)},r.prototype.removeDom=function(t){var s=this.getDefs(!1);s&&t[this._domName]&&(s.removeChild(t[this._domName]),t[this._domName]=null)},r.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var s=[];return A.each(this._tagNames,function(d){var p=t.getElementsByTagName(d);s=s.concat([].slice.call(p))}),s},r.prototype.markAllUnused=function(){var t=this.getDoms(),s=this;A.each(t,function(d){d[s._markLabel]=a})},r.prototype.markUsed=function(t){t&&(t[this._markLabel]=u)},r.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var s=this.getDoms(),d=this;A.each(s,function(p){p[d._markLabel]!==u&&t.removeChild(p)})},r.prototype.getSvgProxy=function(t){return t instanceof m?o:t instanceof v?i:t instanceof h?n:o},r.prototype.getTextSvgElement=function(t){return t.__textSvgEl},r.prototype.getSvgElement=function(t){return t.__svgEl};var l=r;D.exports=l},Swgg:function(D,_,e){var g=e("fc+c"),f=g.extend({type:"dataZoom.select"});D.exports=f},Sxd8:function(D,_,e){var g=e("ZCgT");function f(A){var m=g(A),v=m%1;return m===m?v?m-v:m:0}D.exports=f},T1rO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("zdCA"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},T4UG:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("ItGF"),v=e("7aKB"),h=v.formatTime,c=v.encodeHTML,o=v.addCommas,i=v.getTooltipMarker,n=e("4NO4"),a=e("bLfw"),u=e("5Hur"),r=e("OKJ2"),l=e("+TT/"),t=l.getLayoutParams,s=l.mergeLayoutParam,d=e("9H2F"),p=d.createTask,b=e("D5nY"),w=b.prepareSource,E=b.getSource,S=e("KxfA"),x=S.retrieveRawValue,T=n.makeInner(),L=a.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(R,U,j,P){this.seriesIndex=this.componentIndex,this.dataTask=p({count:O,reset:N}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(R,j),w(this);var K=this.getInitialData(R,j);F(K,this),this.dataTask.context.data=K,T(this).dataBeforeProcessed=K,y(this)},mergeDefaultAndTheme:function(R,U){var j=this.layoutMode,P=j?t(R):{},K=this.subType;a.hasClass(K)&&(K+="Series"),A.merge(R,U.getTheme().get(this.subType)),A.merge(R,this.getDefaultOption()),n.defaultEmphasis(R,"label",["show"]),this.fillDataTextStyle(R.data),j&&s(R,P,j)},mergeOption:function(R,U){R=A.merge(this.option,R,!0),this.fillDataTextStyle(R.data);var j=this.layoutMode;j&&s(this.option,R,j),w(this);var P=this.getInitialData(R,U);F(P,this),this.dataTask.dirty(),this.dataTask.context.data=P,T(this).dataBeforeProcessed=P,y(this)},fillDataTextStyle:function(R){if(R&&!A.isTypedArray(R))for(var U=["show"],j=0;j<R.length;j++)R[j]&&R[j].label&&n.defaultEmphasis(R[j],"label",U)},getInitialData:function(){},appendData:function(R){var U=this.getRawData();U.appendData(R.data)},getData:function(R){var U=H(this);if(U){var j=U.context.data;return R==null?j:j.getLinkedData(R)}else return T(this).data},setData:function(R){var U=H(this);if(U){var j=U.context;j.data!==R&&U.modifyOutputEnd&&U.setOutputEnd(R.count()),j.outputData=R,U!==this.dataTask&&(j.data=R)}T(this).data=R},getSource:function(){return E(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var R=this.coordinateSystem;return R&&R.getBaseAxis&&R.getBaseAxis()},formatTooltip:function(R,U,j,P){var K=this;P=P||"html";var V=P==="html"?"<br/>":`
`,z=P==="richText",X={},G=0;function le(Ce){var ze=A.reduce(Ce,function(Ze,vt,Ct){var Be=me.getDimensionInfo(Ct);return Ze|=Be&&Be.tooltip!==!1&&Be.displayName!=null},0),Oe=[];we.length?A.each(we,function(Ze){ae(x(me,R,Ze),Ze)}):A.each(Ce,ae);function ae(Ze,vt){var Ct=me.getDimensionInfo(vt);if(!Ct||Ct.otherDims.tooltip===!1)return;var Be=Ct.type,Rt="sub"+K.seriesIndex+"at"+G,He=i({color:dt,type:"subItem",renderMode:P,markerId:Rt}),wt=typeof He=="string"?He:He.content,Ge=(ze?wt+c(Ct.displayName||"-")+": ":"")+c(Be==="ordinal"?Ze+"":Be==="time"?U?"":h("yyyy/MM/dd hh:mm:ss",Ze):o(Ze));Ge&&Oe.push(Ge),z&&(X[Rt]=dt,++G)}var ge=ze?z?`
`:"<br/>":"",Le=ge+Oe.join(ge||", ");return{renderMode:P,content:Le,style:X}}function Y(Ce){return{renderMode:P,content:c(o(Ce)),style:X}}var me=this.getData(),we=me.mapDimension("defaultedTooltip",!0),pe=we.length,Fe=this.getRawValue(R),Xe=A.isArray(Fe),dt=me.getItemVisual(R,"color");A.isObject(dt)&&dt.colorStops&&(dt=(dt.colorStops[0]||{}).color),dt=dt||"transparent";var Ee=pe>1||Xe&&!pe?le(Fe):Y(pe?x(me,R,we[0]):Xe?Fe[0]:Fe),Se=Ee.content,at=K.seriesIndex+"at"+G,_e=i({color:dt,type:"item",renderMode:P,markerId:at});X[at]=dt,++G;var ce=me.getName(R),ee=this.name;n.isNameSpecified(this)||(ee=""),ee=ee?c(ee)+(U?": ":V):"";var se=typeof _e=="string"?_e:_e.content,ke=U?se+ee+Se:ee+se+(ce?c(ce)+": "+Se:Se);return{html:ke,markers:X}},isAnimationEnabled:function(){if(m.node)return!1;var R=this.getShallow("animation");return R&&(this.getData().count()>this.getShallow("animationThreshold")&&(R=!1)),R},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(R,U,j){var P=this.ecModel,K=u.getColorFromPalette.call(this,R,U,j);return K||(K=P.getColorFromPalette(R,U,j)),K},coordDimToDataDim:function(R){return this.getRawData().mapDimension(R,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});A.mixin(L,r),A.mixin(L,u);function y(R){var U=R.name;n.isNameSpecified(R)||(R.name=C(R)||U)}function C(R){var U=R.getRawData(),j=U.mapDimension("seriesName",!0),P=[];return A.each(j,function(K){var V=U.getDimensionInfo(K);V.displayName&&P.push(V.displayName)}),P.join(" ")}function O(R){return R.model.getRawData().count()}function N(R){var U=R.model;return U.setData(U.getRawData().cloneShallow()),k}function k(R,U){U.outputData&&R.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function F(R,U){A.each(R.CHANGABLE_METHODS,function(j){R.wrapMethod(j,A.curry(B,U))})}function B(R){var U=H(R);U&&U.setOutputEnd(this.count())}function H(R){var U=(R.ecModel||{}).scheduler,j=U&&U.getPipeline(R.uid);if(j){var P=j.currentTask;if(P){var K=P.agentStubMap;K&&(P=K.get(R.uid))}return P}}var W=L;D.exports=W},T6xi:function(D,_,e){var g=e("YgsL"),f=e("nCxF");function A(m,v,h){var c=v.points,o=v.smooth;if(c&&c.length>=2){if(o&&o!=="spline"){var i=f(c,o,h,v.smoothConstraint);m.moveTo(c[0][0],c[0][1]);for(var n=c.length,a=0;a<(h?n:n-1);a++){var u=i[a*2],r=i[a*2+1],l=c[(a+1)%n];m.bezierCurveTo(u[0],u[1],r[0],r[1],l[0],l[1])}}else{o==="spline"&&(c=g(c,h)),m.moveTo(c[0][0],c[0][1]);for(var a=1,t=c.length;a<t;a++)m.lineTo(c[a][0],c[a][1])}h&&m.closePath()}}_.buildPath=A},TIY9:function(D,_,e){var g=e("bYtY"),f=g.each,A=e("vafp"),m=e("4NO4"),v=m.makeInner,h=e("Mgri"),c=e("F5Ls"),o=e("a9QJ"),i=e("p/La"),n=v(),a={load:function(r,l,t){var s=n(l).parsed;if(s)return s;var d=l.specialAreas||{},p=l.geoJSON,b;try{b=p?A(p,t):[]}catch(w){throw new Error(`Invalid geoJson format
`+w.message)}return h(r,b),f(b,function(w){var E=w.name;c(r,w),o(r,w),i(r,w);var S=d[E];S&&w.transformTo(S.left,S.top,S.width,S.height)}),n(l).parsed={regions:b,boundingRect:u(b)}}};function u(r){for(var l,t=0;t<r.length;t++){var s=r[t].getBoundingRect();l=l||s.clone(),l.union(s)}return l}D.exports=a},TJmX:function(D,_,e){var g=e("zM3Q"),f=["itemStyle","borderColor"],A=["itemStyle","borderColor0"],m=["itemStyle","color"],v=["itemStyle","color0"],h={seriesType:"candlestick",plan:g(),performRawSeries:!0,reset:function(c,o){var i=c.getData();if(i.setVisual({legendSymbol:"roundRect",colorP:u(1,c),colorN:u(-1,c),borderColorP:r(1,c),borderColorN:r(-1,c)}),o.isSeriesFiltered(c))return;var n=c.pipelineContext.large;return!n&&{progress:a};function a(l,t){for(var s;(s=l.next())!=null;){var d=t.getItemModel(s),p=t.getItemLayout(s).sign;t.setItemVisual(s,{color:u(p,d),borderColor:r(p,d)})}}function u(l,t){return t.get(l>0?m:v)}function r(l,t){return t.get(l>0?f:A)}}};D.exports=h},TWL2:function(D,_,e){var g=e("IwbS"),f=e("bYtY"),A=e("6Ic6");function m(i,n){g.Group.call(this);var a=new g.Polygon,u=new g.Polyline,r=new g.Text;this.add(a),this.add(u),this.add(r),this.highDownOnUpdate=function(l,t){t==="emphasis"?(u.ignore=u.hoverIgnore,r.ignore=r.hoverIgnore):(u.ignore=u.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(i,n,!0)}var v=m.prototype,h=["itemStyle","opacity"];v.updateData=function(i,n,a){var u=this.childAt(0),r=i.hostModel,l=i.getItemModel(n),t=i.getItemLayout(n),s=i.getItemModel(n).get(h);s=s==null?1:s,u.useStyle({}),a?(u.setShape({points:t.points}),u.setStyle({opacity:0}),g.initProps(u,{style:{opacity:s}},r,n)):g.updateProps(u,{style:{opacity:s},shape:{points:t.points}},r,n);var d=l.getModel("itemStyle"),p=i.getItemVisual(n,"color");u.setStyle(f.defaults({lineJoin:"round",fill:p},d.getItemStyle(["opacity"]))),u.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(i,n),g.setHoverStyle(this)},v._updateLabel=function(i,n){var a=this.childAt(1),u=this.childAt(2),r=i.hostModel,l=i.getItemModel(n),t=i.getItemLayout(n),s=t.label,d=i.getItemVisual(n,"color");g.updateProps(a,{shape:{points:s.linePoints||s.linePoints}},r,n),g.updateProps(u,{style:{x:s.x,y:s.y}},r,n),u.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var p=l.getModel("label"),b=l.getModel("emphasis.label"),w=l.getModel("labelLine"),E=l.getModel("emphasis.labelLine"),d=i.getItemVisual(n,"color");g.setLabelStyle(u.style,u.hoverStyle={},p,b,{labelFetcher:i.hostModel,labelDataIndex:n,defaultText:i.getName(n),autoColor:d,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),u.ignore=u.normalIgnore=!p.get("show"),u.hoverIgnore=!b.get("show"),a.ignore=a.normalIgnore=!w.get("show"),a.hoverIgnore=!E.get("show"),a.setStyle({stroke:d}),a.setStyle(w.getModel("lineStyle").getLineStyle()),a.hoverStyle=E.getModel("lineStyle").getLineStyle()},f.inherits(m,g.Group);var c=A.extend({type:"funnel",render:function(i,n,a){var u=i.getData(),r=this._data,l=this.group;u.diff(r).add(function(t){var s=new m(u,t);u.setItemGraphicEl(t,s),l.add(s)}).update(function(t,s){var d=r.getItemGraphicEl(s);d.updateData(u,t),l.add(d),u.setItemGraphicEl(t,d)}).remove(function(t){var s=r.getItemGraphicEl(t);l.remove(s)}).execute(),this._data=u},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),o=c;D.exports=o},TYVI:function(D,_,e){var g=e("5GtS"),f=e("T4UG"),A=f.extend({type:"series.gauge",getInitialData:function(v,h){return g(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),m=A;D.exports=m},Tghj:function(D,_,e){(function(g){var f;typeof window!="undefined"?f=window.__DEV__:typeof g!="undefined"&&(f=g.__DEV__),typeof f=="undefined"&&(f=!0);var A=f;_.__DEV__=A}).call(this,e("yLpj"))},ThAp:function(D,_,e){var g=e("bYtY"),f=e("5GtS"),A=e("T4UG"),m=e("7aKB"),v=m.encodeHTML,h=m.addCommas,c=e("cCMj"),o=e("KxfA"),i=o.retrieveRawAttr,n=e("W4dC"),a=e("D5nY"),u=a.makeSeriesEncodeForNameBased,r=A.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var s=f(this,{coordDimensions:["value"],encodeDefaulter:g.curry(u,this)}),d=s.mapDimension("value"),p=g.createHashMap(),b=[],w=[],E=0,S=s.count();E<S;E++){var x=s.getName(E);p.set(x,!0),b.push({name:x,value:s.get(d,E),selected:i(s,E,"selected")})}var T=n.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(T.regions,function(L){var y=L.name;p.get(y)||(b.push({name:y}),w.push(y))}),this.updateSelectedMap(b),s.appendValues([],w),s},getHostGeoModel:function(){var t=this.option.geoIndex;return t!=null?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var s=this.getData();return s.get(s.mapDimension("value"),t)},getRegionModel:function(t){var s=this.getData();return s.getItemModel(s.indexOfName(t))},formatTooltip:function(t){for(var s=this.getData(),d=h(this.getRawValue(t)),p=s.getName(t),b=this.seriesGroup,w=[],E=0;E<b.length;E++){var S=b[E].originalData.indexOfName(p),x=s.mapDimension("value");isNaN(b[E].originalData.get(x,S))||w.push(v(b[E].name))}return w.join(", ")+"<br />"+v(p+" : "+d)},getTooltipPosition:function(t){if(t!=null){var s=this.getData().getName(t),d=this.coordinateSystem,p=d.getRegion(s);return p&&d.dataToPoint(p.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});g.mixin(r,c);var l=r;D.exports=l},TkdX:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,v=4;function h(r,l,t){f.Group.call(this);var s=new f.Sector({z2:m});s.seriesIndex=l.seriesIndex;var d=new f.Text({z2:v,silent:r.getModel("label").get("silent")});this.add(s),this.add(d),this.updateData(!0,r,"normal",l,t);function p(){d.ignore=d.hoverIgnore}function b(){d.ignore=d.normalIgnore}this.on("emphasis",p).on("normal",b).on("mouseover",p).on("mouseout",b)}var c=h.prototype;c.updateData=function(r,l,t,s,d){this.node=l,l.piece=this,s=s||this._seriesModel,d=d||this._ecModel;var p=this.childAt(0);p.dataIndex=l.dataIndex;var b=l.getModel(),w=l.getLayout(),E=g.extend({},w);E.label=null;var S=i(l,s,d);u(l,s,S);var x=b.getModel("itemStyle").getItemStyle(),T;if(t==="normal")T=x;else{var L=b.getModel(t+".itemStyle").getItemStyle();T=g.merge(L,x)}T=g.defaults({lineJoin:"bevel",fill:T.fill||S},T),r?(p.setShape(E),p.shape.r=w.r0,f.updateProps(p,{shape:{r:w.r}},s,l.dataIndex),p.useStyle(T)):typeof T.fill=="object"&&T.fill.type||typeof p.style.fill=="object"&&p.style.fill.type?(f.updateProps(p,{shape:E},s),p.useStyle(T)):f.updateProps(p,{shape:E,style:T},s),this._updateLabel(s,S,t);var y=b.getShallow("cursor");if(y&&p.attr("cursor",y),r){var C=s.getShallow("highlightPolicy");this._initEvents(p,l,s,C)}this._seriesModel=s||this._seriesModel,this._ecModel=d||this._ecModel,f.setHoverStyle(this)},c.onEmphasis=function(r){var l=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(l.node===t?t.piece.updateData(!1,t,"emphasis"):a(t,l.node,r)?t.piece.childAt(0).trigger("highlight"):r!==A.NONE&&t.piece.childAt(0).trigger("downplay"))})},c.onNormal=function(){this.node.hostTree.root.eachNode(function(r){r.piece&&r.piece.updateData(!1,r,"normal")})},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(r,l,t){var s=this.node.getModel(),d=s.getModel("label"),p=t==="normal"||t==="emphasis"?d:s.getModel(t+".label"),b=s.getModel("emphasis.label"),w=g.retrieve(r.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);U("show")===!1&&(w="");var E=this.node.getLayout(),S=p.get("minAngle");S==null&&(S=d.get("minAngle")),S=S/180*Math.PI;var x=E.endAngle-E.startAngle;S!=null&&Math.abs(x)<S&&(w="");var T=this.childAt(1);f.setLabelStyle(T.style,T.hoverStyle||{},d,b,{defaultText:p.getShallow("show")?w:null,autoColor:l,useInsideStyle:!0});var L=(E.startAngle+E.endAngle)/2,y=Math.cos(L),C=Math.sin(L),O,N=U("position"),k=U("distance")||0,F=U("align");N==="outside"?(O=E.r+k,F=L>Math.PI/2?"right":"left"):!F||F==="center"?(O=(E.r+E.r0)/2,F="center"):F==="left"?(O=E.r0+k,L>Math.PI/2&&(F="right")):F==="right"&&(O=E.r-k,L>Math.PI/2&&(F="left")),T.attr("style",{text:w,textAlign:F,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var B=O*y+E.cx,H=O*C+E.cy;T.attr("position",[B,H]);var W=U("rotate"),R=0;W==="radial"?(R=-L,R<-Math.PI/2&&(R+=Math.PI)):W==="tangential"?(R=Math.PI/2-L,R>Math.PI/2?R-=Math.PI:R<-Math.PI/2&&(R+=Math.PI)):typeof W=="number"&&(R=W*Math.PI/180),T.attr("rotation",R);function U(j){var P=p.get(j);return P==null?d.get(j):P}},c._initEvents=function(r,l,t,s){r.off("mouseover").off("mouseout").off("emphasis").off("normal");var d=this,p=function(){d.onEmphasis(s)},b=function(){d.onNormal()},w=function(){d.onDownplay()},E=function(){d.onHighlight()};t.isAnimationEnabled()&&r.on("mouseover",p).on("mouseout",b).on("emphasis",p).on("normal",b).on("downplay",w).on("highlight",E)},g.inherits(h,f.Group);var o=h;function i(r,l,t){var s=r.getVisual("color"),d=r.getVisual("visualMeta");(!d||d.length===0)&&(s=null);var p=r.getModel("itemStyle").get("color");if(p)return p;if(s)return s;if(r.depth===0)return t.option.color[0];var b=t.option.color.length;return p=t.option.color[n(r)%b],p}function n(r){for(var l=r;l.depth>1;)l=l.parentNode;var t=r.getAncestors()[0];return g.indexOf(t.children,l)}function a(r,l,t){return t===A.NONE?!1:t===A.SELF?r===l:t===A.ANCESTOR?r===l||r.isAncestorOf(l):r===l||r.isDescendantOf(l)}function u(r,l,t){var s=l.getData();s.setItemVisual(r.dataIndex,"color",t)}D.exports=o},ToDW:function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=g(e("pVnL")),A=g(e("3tO9")),m=g(e("lwsE")),v=g(e("W8MJ")),h=g(e("PJYZ")),c=g(e("7W2i")),o=g(e("LQ03")),i=g(e("lSNA")),n=g(e("q1tI")),a=e("hQUZ"),u=g(e("pIsd")),r=g(e("cZFH")),l=e("3K4p"),t=function(s){(0,c.default)(p,s);var d=(0,o.default)(p);function p(b){var w;return(0,m.default)(this,p),w=d.call(this,b),(0,i.default)((0,h.default)(w),"innerSliderRefHandler",function(E){return w.innerSlider=E}),(0,i.default)((0,h.default)(w),"slickPrev",function(){return w.innerSlider.slickPrev()}),(0,i.default)((0,h.default)(w),"slickNext",function(){return w.innerSlider.slickNext()}),(0,i.default)((0,h.default)(w),"slickGoTo",function(E){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return w.innerSlider.slickGoTo(E,S)}),(0,i.default)((0,h.default)(w),"slickPause",function(){return w.innerSlider.pause("paused")}),(0,i.default)((0,h.default)(w),"slickPlay",function(){return w.innerSlider.autoPlay("play")}),w.state={breakpoint:null},w._responsiveMediaHandlers=[],w}return(0,v.default)(p,[{key:"media",value:function(w,E){var S=window.matchMedia(w),x=function(L){var y=L.matches;y&&E()};S.addListener(x),x(S),this._responsiveMediaHandlers.push({mql:S,query:w,listener:x})}},{key:"componentDidMount",value:function(){var w=this;if(this.props.responsive){var E=this.props.responsive.map(function(x){return x.breakpoint});E.sort(function(x,T){return x-T}),E.forEach(function(x,T){var L;T===0?L=(0,u.default)({minWidth:0,maxWidth:x}):L=(0,u.default)({minWidth:E[T-1]+1,maxWidth:x}),(0,l.canUseDOM)()&&w.media(L,function(){w.setState({breakpoint:x})})});var S=(0,u.default)({minWidth:E.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(S,function(){w.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(w){w.mql.removeListener(w.listener)})}},{key:"render",value:function(){var w=this,E,S;this.state.breakpoint?(S=this.props.responsive.filter(function(B){return B.breakpoint===w.state.breakpoint}),E=S[0].settings==="unslick"?"unslick":(0,A.default)((0,A.default)((0,A.default)({},r.default),this.props),S[0].settings)):E=(0,A.default)((0,A.default)({},r.default),this.props),E.centerMode&&(E.slidesToScroll>1&&!1&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(E.slidesToScroll)),E.slidesToScroll=1),E.fade&&(E.slidesToShow>1&&!1&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(E.slidesToShow)),E.slidesToScroll>1&&!1&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(E.slidesToScroll)),E.slidesToShow=1,E.slidesToScroll=1);var x=n.default.Children.toArray(this.props.children);x=x.filter(function(B){return typeof B=="string"?!!B.trim():!!B}),E.variableWidth&&(E.rows>1||E.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),E.variableWidth=!1);for(var T=[],L=null,y=0;y<x.length;y+=E.rows*E.slidesPerRow){for(var C=[],O=y;O<y+E.rows*E.slidesPerRow;O+=E.slidesPerRow){for(var N=[],k=O;k<O+E.slidesPerRow&&!(E.variableWidth&&x[k].props.style&&(L=x[k].props.style.width),k>=x.length);k+=1)N.push(n.default.cloneElement(x[k],{key:100*y+10*O+k,tabIndex:-1,style:{width:"".concat(100/E.slidesPerRow,"%"),display:"inline-block"}}));C.push(n.default.createElement("div",{key:10*y+O},N))}E.variableWidth?T.push(n.default.createElement("div",{key:y,style:{width:L}},C)):T.push(n.default.createElement("div",{key:y},C))}if(E==="unslick"){var F="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:F},x)}else T.length<=E.slidesToShow&&(E.unslick=!0);return n.default.createElement(a.InnerSlider,(0,f.default)({style:this.props.style,ref:this.innerSliderRefHandler},E),T)}}]),p}(n.default.Component);_.default=t},Tp9H:function(D,_,e){var g=e("ItGF"),f=e("Kagy"),A=e("IUWy"),m=f.toolbox.saveAsImage;function v(o){this.model=o}v.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},v.prototype.unusable=!g.canvasSupported;var h=v.prototype;h.onclick=function(o,i){var n=this.model,a=n.get("name")||o.get("title.0.text")||"echarts",u=i.getZr().painter.getType()==="svg",r=u?"svg":n.get("type",!0)||"png",l=i.getConnectedDataURL({type:r,backgroundColor:n.get("backgroundColor",!0)||o.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(typeof MouseEvent=="function"&&!g.browser.ie&&!g.browser.edge){var t=document.createElement("a");t.download=a+"."+r,t.target="_blank",t.href=l;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var d=atob(l.split(",")[1]),p=d.length,b=new Uint8Array(p);p--;)b[p]=d.charCodeAt(p);var w=new Blob([b]);window.navigator.msSaveOrOpenBlob(w,a+"."+r)}else{var E=n.get("lang"),S='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(E&&E[0]||"")+'" /></body>',x=window.open();x.document.write(S)}},A.register("saveAsImage",v);var c=v;D.exports=c},"U/Mo":function(D,_){function e(f){var A=f.coordinateSystem;if(A.type!=="view")return 1;var m=f.option.nodeScaleRatio,v=A.scale,h=v&&v[0]||1,c=A.getZoom(),o=(c-1)*m+1;return o/h}function g(f){var A=f.getVisual("symbolSize");return A instanceof Array&&(A=(A[0]+A[1])/2),+A}_.getNodeGlobalScale=e,_.getSymbolSize=g},UADf:function(D,_,e){},UESt:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="RightOutlined";var h=_.a=g.forwardRef(v)},"UNi/":function(D,_){function e(g,f){for(var A=-1,m=Array(g);++A<g;)m[A]=f(A);return m}D.exports=e},UOVi:function(D,_,e){var g=e("bYtY"),f=e("7aKB"),A=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function v(i){return g.indexOf(m,i)>=0}function h(i,n){i=i.slice();var a=g.map(i,f.capitalFirst);n=(n||[]).slice();var u=g.map(n,f.capitalFirst);return function(r,l){g.each(i,function(t,s){for(var d={name:t,capital:a[s]},p=0;p<n.length;p++)d[n[p]]=t+u[p];r.call(l,d)})}}var c=h(A,["axisIndex","axis","index","id"]);function o(i,n,a){return function(t){var s={nodes:[],records:{}};if(n(function(b){s.records[b.name]={}}),!t)return s;l(t,s);var d;do d=!1,i(p);while(d);function p(b){!u(b,s)&&r(b,s)&&(l(b,s),d=!0)}return s};function u(t,s){return g.indexOf(s.nodes,t)>=0}function r(t,s){var d=!1;return n(function(p){g.each(a(t,p)||[],function(b){s.records[p.name][b]&&(d=!0)})}),d}function l(t,s){s.nodes.push(t),n(function(d){g.each(a(t,d)||[],function(p){s.records[d.name][p]=!0})})}}_.isCoordSupported=v,_.createNameEach=h,_.eachAxisDim=c,_.createLinkedNodesFinder=o},Uc92:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};_.default=g},UmKh:function(D,_,e){"use strict";var g=e("q1tI"),f=e.n(g),A=e("aGtg");function m(W){var R=[];return f.a.Children.forEach(W,function(U){R.push(U)}),R}function v(W,R){var U=null;return W&&W.forEach(function(j){if(U)return;j&&j.key===R&&(U=j)}),U}function h(W,R,U){var j=null;return W&&W.forEach(function(P){if(P&&P.key===R&&P.props[U]){if(j)throw new Error("two child with same key for <rc-animate> children");j=P}}),j}function c(W,R,U){var j=0;return W&&W.forEach(function(P){if(j)return;j=P&&P.key===R&&!P.props[U]}),j}function o(W,R,U){var j=W.length===R.length;return j&&W.forEach(function(P,K){var V=R[K];P&&V&&((P&&!V||!P&&V||(P.key!==V.key||U&&P.props[U]!==V.props[U]))&&(j=!1))}),j}function i(W,R){var U=[],j={},P=[];return W.forEach(function(K){K&&v(R,K.key)?P.length&&(j[K.key]=P,P=[]):P.push(K)}),R.forEach(function(K){K&&Object.prototype.hasOwnProperty.call(j,K.key)&&(U=U.concat(j[K.key])),U.push(K)}),U=U.concat(P),U}var n=e("i8i4"),a=e.n(n),u=e("UwPn"),r={isAppearSupported:function(R){return R.transitionName&&R.transitionAppear||R.animation.appear},isEnterSupported:function(R){return R.transitionName&&R.transitionEnter||R.animation.enter},isLeaveSupported:function(R){return R.transitionName&&R.transitionLeave||R.animation.leave},allowAppearCallback:function(R){return R.transitionAppear||R.animation.appear},allowEnterCallback:function(R){return R.transitionEnter||R.animation.enter},allowLeaveCallback:function(R){return R.transitionLeave||R.animation.leave}},l=r,t=function(){function W(R,U){for(var j=0;j<U.length;j++){var P=U[j];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(R,P.key,P)}}return function(R,U,j){return U&&W(R.prototype,U),j&&W(R,j),R}}();function s(W,R){if(!(W instanceof R))throw new TypeError("Cannot call a class as a function")}function d(W,R){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:W}function p(W,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);W.prototype=Object.create(R&&R.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(W,R):W.__proto__=R)}var b={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},w=function(W){p(R,W);function R(){return s(this,R),d(this,(R.__proto__||Object.getPrototypeOf(R)).apply(this,arguments))}return t(R,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(j){l.isEnterSupported(this.props)?this.transition("enter",j):j()}},{key:"componentWillAppear",value:function(j){l.isAppearSupported(this.props)?this.transition("appear",j):j()}},{key:"componentWillLeave",value:function(j){l.isLeaveSupported(this.props)?this.transition("leave",j):j()}},{key:"transition",value:function(j,P){var K=this,V=a.a.findDOMNode(this),z=this.props,X=z.transitionName,G=typeof X=="object";this.stop();var le=function(){K.stopper=null,P()};if((u.b||!z.animation[j])&&X&&z[b[j]]){var Y=G?X[j]:X+"-"+j,me=Y+"-active";G&&X[j+"Active"]&&(me=X[j+"Active"]),this.stopper=Object(u.a)(V,{name:Y,active:me},le)}else this.stopper=z.animation[j](V,le)}},{key:"stop",value:function(){var j=this.stopper;j&&(this.stopper=null,j.stop())}},{key:"render",value:function(){return this.props.children}}]),R}(f.a.Component),E=w,S=Object.assign||function(W){for(var R=1;R<arguments.length;R++){var U=arguments[R];for(var j in U)Object.prototype.hasOwnProperty.call(U,j)&&(W[j]=U[j])}return W},x=function(){function W(R,U){for(var j=0;j<U.length;j++){var P=U[j];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(R,P.key,P)}}return function(R,U,j){return U&&W(R.prototype,U),j&&W(R,j),R}}();function T(W,R,U){return R in W?Object.defineProperty(W,R,{value:U,enumerable:!0,configurable:!0,writable:!0}):W[R]=U,W}function L(W,R){if(!(W instanceof R))throw new TypeError("Cannot call a class as a function")}function y(W,R){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:W}function C(W,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);W.prototype=Object.create(R&&R.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(W,R):W.__proto__=R)}var O="rc_animate_"+Date.now();function N(W){var R=W.children;return f.a.isValidElement(R)&&!R.key?f.a.cloneElement(R,{key:O}):R}function k(){}var F=function(W){C(R,W);function R(U){L(this,R);var j=y(this,(R.__proto__||Object.getPrototypeOf(R)).call(this,U));return B.call(j),j.currentlyAnimatingKeys={},j.keysToEnter=[],j.keysToLeave=[],j.state={children:m(N(U))},j.childrenRefs={},j}return x(R,[{key:"componentDidMount",value:function(){var j=this,P=this.props.showProp,K=this.state.children;P&&(K=K.filter(function(V){return!!V.props[P]})),K.forEach(function(V){V&&j.performAppear(V.key)})}},{key:"componentWillReceiveProps",value:function(j){var P=this;this.nextProps=j;var K=m(N(j)),V=this.props;V.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(Y){P.stop(Y)});var z=V.showProp,X=this.currentlyAnimatingKeys,G=V.exclusive?m(N(V)):this.state.children,le=[];z?(G.forEach(function(Y){var me=Y&&v(K,Y.key),we=void 0;(!me||!me.props[z])&&Y.props[z]?we=f.a.cloneElement(me||Y,T({},z,!0)):we=me,we&&le.push(we)}),K.forEach(function(Y){(!Y||!v(G,Y.key))&&le.push(Y)})):le=i(G,K),this.setState({children:le}),K.forEach(function(Y){var me=Y&&Y.key;if(Y&&X[me])return;var we=Y&&v(G,me);if(z){var pe=Y.props[z];if(we){var Fe=h(G,me,z);!Fe&&pe&&P.keysToEnter.push(me)}else pe&&P.keysToEnter.push(me)}else we||P.keysToEnter.push(me)}),G.forEach(function(Y){var me=Y&&Y.key;if(Y&&X[me])return;var we=Y&&v(K,me);if(z){var pe=Y.props[z];if(we){var Fe=h(K,me,z);!Fe&&pe&&P.keysToLeave.push(me)}else pe&&P.keysToLeave.push(me)}else we||P.keysToLeave.push(me)})}},{key:"componentDidUpdate",value:function(){var j=this.keysToEnter;this.keysToEnter=[],j.forEach(this.performEnter);var P=this.keysToLeave;this.keysToLeave=[],P.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(j,P){var K=this.props.showProp;return K?h(j,P,K):v(j,P)}},{key:"stop",value:function(j){delete this.currentlyAnimatingKeys[j];var P=this.childrenRefs[j];P&&P.stop()}},{key:"render",value:function(){var j=this,P=this.props;this.nextProps=P;var K=this.state.children,V=null;K&&(V=K.map(function(G){if(G==null)return G;if(!G.key)throw new Error("must set key for <rc-animate> children");return f.a.createElement(E,{key:G.key,ref:function(Y){j.childrenRefs[G.key]=Y},animation:P.animation,transitionName:P.transitionName,transitionEnter:P.transitionEnter,transitionAppear:P.transitionAppear,transitionLeave:P.transitionLeave},G)}));var z=P.component;if(z){var X=P;return typeof z=="string"&&(X=S({className:P.className,style:P.style},P.componentProps)),f.a.createElement(z,X,V)}return V[0]||null}}]),R}(f.a.Component);F.isAnimate=!0,F.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:k,onEnter:k,onLeave:k,onAppear:k};var B=function(){var R=this;this.performEnter=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillEnter(R.handleDoneAdding.bind(R,U,"enter")))},this.performAppear=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillAppear(R.handleDoneAdding.bind(R,U,"appear")))},this.handleDoneAdding=function(U,j){var P=R.props;if(delete R.currentlyAnimatingKeys[U],P.exclusive&&P!==R.nextProps)return;var K=m(N(P));R.isValidChildByKey(K,U)?j==="appear"?l.allowAppearCallback(P)&&(P.onAppear(U),P.onEnd(U,!0)):l.allowEnterCallback(P)&&(P.onEnter(U),P.onEnd(U,!0)):R.performLeave(U)},this.performLeave=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillLeave(R.handleDoneLeaving.bind(R,U)))},this.handleDoneLeaving=function(U){var j=R.props;if(delete R.currentlyAnimatingKeys[U],j.exclusive&&j!==R.nextProps)return;var P=m(N(j));if(R.isValidChildByKey(P,U))R.performEnter(U);else{var K=function(){l.allowLeaveCallback(j)&&(j.onLeave(U),j.onEnd(U,!1))};o(R.state.children,P,j.showProp)?K():R.setState({children:P},K)}}},H=_.a=Object(A.a)(F)},UnoB:function(D,_,e){var g=e("bYtY"),f=e("OELB");function A(h,c){h.eachSeriesByType("themeRiver",function(o){var i=o.getData(),n=o.coordinateSystem,a={},u=n.getRect();a.rect=u;var r=o.get("boundaryGap"),l=n.getAxis();if(a.boundaryGap=r,l.orient==="horizontal"){r[0]=f.parsePercent(r[0],u.height),r[1]=f.parsePercent(r[1],u.height);var t=u.height-r[0]-r[1];m(i,o,t)}else{r[0]=f.parsePercent(r[0],u.width),r[1]=f.parsePercent(r[1],u.width);var s=u.width-r[0]-r[1];m(i,o,s)}i.setLayout("layoutInfo",a)})}function m(h,c,o){if(!h.count())return;for(var i=c.coordinateSystem,n=c.getLayerSeries(),a=h.mapDimension("single"),u=h.mapDimension("value"),r=g.map(n,function(S){return g.map(S.indices,function(x){var T=i.dataToPoint(h.get(a,x));return T[1]=h.get(u,x),T})}),l=v(r),t=l.y0,s=o/l.max,d=n.length,p=n[0].indices.length,b,w=0;w<p;++w){b=t[w]*s,h.setItemLayout(n[0].indices[w],{layerIndex:0,x:r[0][w][0],y0:b,y:r[0][w][1]*s});for(var E=1;E<d;++E)b+=r[E-1][w][1]*s,h.setItemLayout(n[E].indices[w],{layerIndex:E,x:r[E][w][0],y0:b,y:r[E][w][1]*s})}}function v(h){for(var c=h.length,o=h[0].length,i=[],n=[],a=0,u,r={},l=0;l<o;++l){for(var t=0,u=0;t<c;++t)u+=h[t][l][1];u>a&&(a=u),i.push(u)}for(var s=0;s<o;++s)n[s]=(a-i[s])/2;a=0;for(var d=0;d<o;++d){var p=i[d]+n[d];p>a&&(a=p)}return r.y0=n,r.max=a,r}D.exports=A},Urep:function(D,_,e){},V6Ve:function(D,_,e){var g=e("kekF"),f=g(Object.keys,Object);D.exports=f},V7ic:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("digP")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="FileTwoTone";var c=A.forwardRef(h);_.default=c},VFCP:function(D,_,e){e("dBmv"),e("KamJ")},VPsl:function(D,_){function e(g){g.eachSeriesByType("map",function(f){var A=f.get("color"),m=f.getModel("itemStyle"),v=m.get("areaColor"),h=m.get("color")||A[f.seriesIndex%A.length];f.getData().setVisual({areaColor:v,color:h})})}D.exports=e},VR9l:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),A={getItemStyle:function(m,v){var h=f(this,m,v),c=this.getBorderLineDash();return c&&(h.lineDash=c),h},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};D.exports=A},VSLf:function(D,_,e){e("I+Bx"),e("F0hE"),e("bBKM")},VSMT:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.decodeUTF8=g,_.encodeUTF8=f;function g(A){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(A))}catch(v){if(v instanceof URIError&&m)return A;throw v}}function f(A){return unescape(encodeURIComponent(A))}},VXYp:function(D,_,e){var g=e("bYtY"),f=e("SgGq"),A=e("iLNv"),m="\0_ec_dataZoom_roams";function v(r,l){var t=o(r),s=l.dataZoomId,d=l.coordId;g.each(t,function(w,E){var S=w.dataZoomInfos;S[s]&&g.indexOf(l.allCoordIds,d)<0&&(delete S[s],w.count--)}),n(t);var p=t[d];p||(p=t[d]={coordId:d,dataZoomInfos:{},count:0},p.controller=i(r,p),p.dispatchAction=g.curry(a,r)),!p.dataZoomInfos[s]&&p.count++,p.dataZoomInfos[s]=l;var b=u(p.dataZoomInfos);p.controller.enable(b.controlType,b.opt),p.controller.setPointerChecker(l.containsPoint),A.createOrUpdate(p,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function h(r,l){var t=o(r);g.each(t,function(s){s.controller.dispose();var d=s.dataZoomInfos;d[l]&&(delete d[l],s.count--)}),n(t)}function c(r){return r.type+"\0_"+r.id}function o(r){var l=r.getZr();return l[m]||(l[m]={})}function i(r,l){var t=new f(r.getZr());return g.each(["pan","zoom","scrollMove"],function(s){t.on(s,function(d){var p=[];g.each(l.dataZoomInfos,function(b){if(!d.isAvailableBehavior(b.dataZoomModel.option))return;var w=(b.getRange||{})[s],E=w&&w(l.controller,d);!b.dataZoomModel.get("disabled",!0)&&E&&p.push({dataZoomId:b.dataZoomId,start:E[0],end:E[1]})}),p.length&&l.dispatchAction(p)})}),t}function n(r){g.each(r,function(l,t){l.count||(l.controller.dispose(),delete r[t])})}function a(r,l){r.dispatchAction({type:"dataZoom",batch:l})}function u(r){var l,t="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},d=!0;return g.each(r,function(p){var b=p.dataZoomModel,w=b.get("disabled",!0)?!1:b.get("zoomLock",!0)?"move":!0;s[t+w]>s[t+l]&&(l=w),d&=b.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!d}}}_.register=v,_.unregister=h,_.generateCoordId=c},VaNO:function(D,_){function e(g){return this.__data__.has(g)}D.exports=e},VaxA:function(D,_,e){var g=e("bYtY");function f(h,c,o){if(h&&g.indexOf(c,h.type)>=0){var i=o.getData().tree.root,n=h.targetNode;if(typeof n=="string"&&(n=i.getNodeById(n)),n&&i.contains(n))return{node:n};var a=h.targetNodeId;if(a!=null&&(n=i.getNodeById(a)))return{node:n}}}function A(h){for(var c=[];h;)h=h.parentNode,h&&c.push(h);return c.reverse()}function m(h,c){var o=A(h);return g.indexOf(o,c)>=0}function v(h,c){for(var o=[];h;){var i=h.dataIndex;o.push({name:h.name,dataIndex:i,value:c.getRawValue(i)}),h=h.parentNode}return o.reverse(),o}_.retrieveTargetInfo=f,_.getPathToRoot=A,_.aboveViewRoot=m,_.wrapTreePathInfo=v},Vi4m:function(D,_,e){var g=e("bYtY");function f(m){m!=null&&g.extend(this,m),this.otherDims={}}var A=f;D.exports=A},Vl3Y:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("J4zp"),m=e.n(A),v=e("lSNA"),h=e.n(v),c=e("q1tI"),o=e("TSYQ"),i=e.n(o),n=e("85Yc"),a=e("H84U"),u=e("BGR+"),r=c.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=c.createContext({updateItemErrors:function(){}}),t=function(ct){var yt=Object(u.default)(ct,["prefixCls"]);return c.createElement(n.FormProvider,yt)};function s(ht){return ht!=null&&typeof ht=="object"&&ht.nodeType===1}function d(ht,ct){return ct&&ht==="hidden"?!1:ht!=="visible"&&ht!=="clip"}function p(ht){if(!ht.ownerDocument||!ht.ownerDocument.defaultView)return null;try{return ht.ownerDocument.defaultView.frameElement}catch(ct){return null}}function b(ht){var ct=p(ht);return ct?ct.clientHeight<ht.scrollHeight||ct.clientWidth<ht.scrollWidth:!1}function w(ht,ct){if(ht.clientHeight<ht.scrollHeight||ht.clientWidth<ht.scrollWidth){var yt=getComputedStyle(ht,null);return d(yt.overflowY,ct)||d(yt.overflowX,ct)||b(ht)}return!1}function E(ht,ct,yt,It,or,Bt,Ae,ve){return Bt<ht&&Ae>ct||Bt>ht&&Ae<ct?0:Bt<=ht&&ve<=yt||Ae>=ct&&ve>=yt?Bt-ht-It:Ae>ct&&ve<yt||Bt<ht&&ve>yt?Ae-ct+or:0}var S=function(ht,ct){var yt=ct.scrollMode,It=ct.block,or=ct.inline,Bt=ct.boundary,Ae=ct.skipOverflowHiddenElements,ve=typeof Bt=="function"?Bt:function(ir){return ir!==Bt};if(!s(ht))throw new TypeError("Invalid target");for(var fe=document.scrollingElement||document.documentElement,ue=[],Ne=ht;s(Ne)&&ve(Ne);){if(Ne=Ne.parentNode,Ne===fe){ue.push(Ne);break}if(Ne===document.body&&w(Ne)&&!w(document.documentElement))continue;w(Ne,Ae)&&ue.push(Ne)}for(var je=window.visualViewport?visualViewport.width:innerWidth,Ke=window.visualViewport?visualViewport.height:innerHeight,Ye=window.scrollX||pageXOffset,Pe=window.scrollY||pageYOffset,nt=ht.getBoundingClientRect(),At=nt.height,Ot=nt.width,ne=nt.top,he=nt.right,Q=nt.bottom,te=nt.left,be=It==="start"||It==="nearest"?ne:It==="end"?Q:ne+At/2,Ie=or==="center"?te+Ot/2:or==="end"?he:te,Re=[],$e=0;$e<ue.length;$e++){var gt=ue[$e],Wt=gt.getBoundingClientRect(),$t=Wt.height,Dt=Wt.width,Kt=Wt.top,Gt=Wt.right,Qt=Wt.bottom,Mt=Wt.left;if(yt==="if-needed"&&ne>=0&&te>=0&&Q<=Ke&&he<=je&&ne>=Kt&&Q<=Qt&&te>=Mt&&he<=Gt)return Re;var dr=getComputedStyle(gt),er=parseInt(dr.borderLeftWidth,10),st=parseInt(dr.borderTopWidth,10),xt=parseInt(dr.borderRightWidth,10),ut=parseInt(dr.borderBottomWidth,10),pt=0,_t=0,Tt="offsetWidth"in gt?gt.offsetWidth-gt.clientWidth-er-xt:0,ft="offsetHeight"in gt?gt.offsetHeight-gt.clientHeight-st-ut:0;if(fe===gt)It==="start"?pt=be:It==="end"?pt=be-Ke:It==="nearest"?pt=E(Pe,Pe+Ke,Ke,st,ut,Pe+be,Pe+be+At,At):pt=be-Ke/2,or==="start"?_t=Ie:or==="center"?_t=Ie-je/2:or==="end"?_t=Ie-je:_t=E(Ye,Ye+je,je,er,xt,Ye+Ie,Ye+Ie+Ot,Ot),pt=Math.max(0,pt+Pe),_t=Math.max(0,_t+Ye);else{It==="start"?pt=be-Kt-st:It==="end"?pt=be-Qt+ut+ft:It==="nearest"?pt=E(Kt,Qt,$t,st,ut+ft,be,be+At,At):pt=be-(Kt+$t/2)+ft/2,or==="start"?_t=Ie-Mt-er:or==="center"?_t=Ie-(Mt+Dt/2)+Tt/2:or==="end"?_t=Ie-Gt+xt+Tt:_t=E(Mt,Gt,Dt,er,xt+Tt,Ie,Ie+Ot,Ot);var Ht=gt.scrollLeft,kt=gt.scrollTop;pt=Math.max(0,Math.min(kt+pt,gt.scrollHeight-$t+ft)),_t=Math.max(0,Math.min(Ht+_t,gt.scrollWidth-Dt+Tt)),be+=kt-pt,Ie+=Ht-_t}Re.push({el:gt,top:pt,left:_t})}return Re};function x(ht){return ht===Object(ht)&&Object.keys(ht).length!==0}function T(ht,ct){ct===void 0&&(ct="auto");var yt="scrollBehavior"in document.body.style;ht.forEach(function(It){var or=It.el,Bt=It.top,Ae=It.left;or.scroll&&yt?or.scroll({top:Bt,left:Ae,behavior:ct}):(or.scrollTop=Bt,or.scrollLeft=Ae)})}function L(ht){return ht===!1?{block:"end",inline:"nearest"}:x(ht)?ht:{block:"start",inline:"nearest"}}function y(ht,ct){var yt=!ht.ownerDocument.documentElement.contains(ht);if(x(ct)&&typeof ct.behavior=="function")return ct.behavior(yt?[]:S(ht,ct));if(yt)return;var It=L(ct);return T(S(ht,It),It.behavior)}var C=y;function O(ht){return ht===void 0||ht===!1?[]:Array.isArray(ht)?ht:[ht]}function N(ht,ct){if(!ht.length)return;var yt=ht.join("_");return ct?"".concat(ct,"_").concat(yt):yt}function k(ht){var ct=O(ht);return ct.join("_")}function F(ht){var ct=Object(n.useForm)(),yt=m()(ct,1),It=yt[0],or=Object(c.useRef)({}),Bt=Object(c.useMemo)(function(){return ht||f()(f()({},It),{__INTERNAL__:{itemRef:function(ve){return function(fe){var ue=k(ve);fe?or.current[ue]=fe:delete or.current[ue]}}},scrollToField:function(ve){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=O(ve),Ne=N(ue,Bt.__INTERNAL__.name),je=Ne?document.getElementById(Ne):null;je&&C(je,f()({scrollMode:"if-needed",block:"nearest"},fe))},getFieldInstance:function(ve){var fe=k(ve);return or.current[fe]}})},[ht,It]);return[Bt]}var B=e("3Nzz"),H=function(ht,ct){var yt={};for(var It in ht)Object.prototype.hasOwnProperty.call(ht,It)&&ct.indexOf(It)<0&&(yt[It]=ht[It]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(ht);or<It.length;or++)ct.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(ht,It[or])&&(yt[It[or]]=ht[It[or]]);return yt},W=function(ct,yt){var It,or=c.useContext(B.b),Bt=c.useContext(a.b),Ae=Bt.getPrefixCls,ve=Bt.direction,fe=ct.name,ue=ct.prefixCls,Ne=ct.className,je=Ne===void 0?"":Ne,Ke=ct.size,Ye=Ke===void 0?or:Ke,Pe=ct.form,nt=ct.colon,At=ct.labelAlign,Ot=ct.labelCol,ne=ct.wrapperCol,he=ct.hideRequiredMark,Q=ct.layout,te=Q===void 0?"horizontal":Q,be=ct.scrollToFirstError,Ie=ct.requiredMark,Re=ct.onFinishFailed,$e=H(ct,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),gt=Object(c.useMemo)(function(){return Ie!==void 0?Ie:!he},[he,Ie]),Wt=Ae("form",ue),$t=i()(Wt,(It={},h()(It,"".concat(Wt,"-").concat(te),!0),h()(It,"".concat(Wt,"-hide-required-mark"),gt===!1),h()(It,"".concat(Wt,"-rtl"),ve==="rtl"),h()(It,"".concat(Wt,"-").concat(Ye),Ye),It),je),Dt=F(Pe),Kt=m()(Dt,1),Gt=Kt[0],Qt=Gt.__INTERNAL__;Qt.name=fe;var Mt=Object(c.useMemo)(function(){return{name:fe,labelAlign:At,labelCol:Ot,wrapperCol:ne,vertical:te==="vertical",colon:nt,requiredMark:gt,itemRef:Qt.itemRef}},[fe,At,Ot,ne,te,nt,gt]);c.useImperativeHandle(yt,function(){return Gt});var dr=function(st){Re&&Re(st),be&&st.errorFields.length&&Gt.scrollToField(st.errorFields[0].name)};return c.createElement(B.a,{size:Ye},c.createElement(r.Provider,{value:Mt},c.createElement(n.default,f()({id:fe},$e,{onFinishFailed:dr,form:Gt,className:$t}))))},R=c.forwardRef(W),U=R,j=e("cDf5"),P=e.n(j),K=e("RIqP"),V=e.n(K),z=e("Y+p1"),X=e.n(z),G=e("KW7l"),le=e("c+Xe"),Y=e("qrJ5"),me=e("CWQg"),we=e("uaoM"),pe=e("/kpp"),Fe=e("YMnH"),Xe=e("ZvpZ"),dt=function(ct){var yt=ct.prefixCls,It=ct.label,or=ct.htmlFor,Bt=ct.labelCol,Ae=ct.labelAlign,ve=ct.colon,fe=ct.required,ue=ct.requiredMark,Ne=Object(Fe.b)("Form"),je=m()(Ne,1),Ke=je[0];return It?c.createElement(r.Consumer,{key:"label"},function(Ye){var Pe,nt=Ye.vertical,At=Ye.labelAlign,Ot=Ye.labelCol,ne=Ye.colon,he,Q=Bt||Ot||{},te=Ae||At,be="".concat(yt,"-item-label"),Ie=i()(be,te==="left"&&"".concat(be,"-left"),Q.className),Re=It,$e=ve===!0||ne!==!1&&ve!==!1,gt=$e&&!nt;gt&&typeof It=="string"&&It.trim()!==""&&(Re=It.replace(/[:|]\s*$/,"")),ue==="optional"&&!fe&&(Re=c.createElement(c.Fragment,null,Re,c.createElement("span",{className:"".concat(yt,"-item-optional")},(Ke==null?void 0:Ke.optional)||((he=Xe.a.Form)===null||he===void 0?void 0:he.optional))));var Wt=i()((Pe={},h()(Pe,"".concat(yt,"-item-required"),fe),h()(Pe,"".concat(yt,"-item-required-mark-optional"),ue==="optional"),h()(Pe,"".concat(yt,"-item-no-colon"),!$e),Pe));return c.createElement(pe.a,f()({},Q,{className:Ie}),c.createElement("label",{htmlFor:or,className:Wt,title:typeof It=="string"?It:""},Re))}):null},Ee=dt,Se=e("gZBC"),at=e.n(Se),_e=e("kbBi"),ce=e.n(_e),ee=e("J84W"),se=e.n(ee),ke=e("sKbD"),Ce=e.n(ke),ze=e("YrtM"),Oe=e("8XRh"),ae=e("hkKa");function ge(ht,ct,yt){var It=c.useRef({errors:ht,visible:!!ht.length}),or=Object(ae.a)(),Bt=function(){var ve=It.current.visible,fe=!!ht.length,ue=It.current.errors;It.current.errors=ht,It.current.visible=fe,ve!==fe?ct(fe):(ue.length!==ht.length||ue.some(function(Ne,je){return Ne!==ht[je]}))&&or()};return c.useEffect(function(){if(!yt){var Ae=setTimeout(Bt,10);return function(){return clearTimeout(Ae)}}},[ht]),yt&&Bt(),[It.current.visible,It.current.errors]}var Le={success:se.a,warning:Ce.a,error:ce.a,validating:at.a},Ze=function(ct){var yt=ct.prefixCls,It=ct.wrapperCol,or=ct.children,Bt=ct.help,Ae=ct.errors,ve=ct.onDomErrorVisibleChange,fe=ct.hasFeedback,ue=ct.validateStatus,Ne=ct.extra,je=Object(ae.a)(),Ke="".concat(yt,"-item"),Ye=c.useContext(r),Pe=It||Ye.wrapperCol||{},nt=i()("".concat(Ke,"-control"),Pe.className),At=ge(Ae,function(Re){Re&&Promise.resolve().then(function(){ve(!0)}),je()},!!Bt),Ot=m()(At,2),ne=Ot[0],he=Ot[1];c.useEffect(function(){return function(){ve(!1)}},[]);var Q=Object(ze.a)(function(){return he},ne,function(Re,$e){return $e}),te=ue&&Le[ue],be=fe&&te?c.createElement("span",{className:"".concat(Ke,"-children-icon")},c.createElement(te,null)):null,Ie=f()({},Ye);return delete Ie.labelCol,delete Ie.wrapperCol,c.createElement(r.Provider,{value:Ie},c.createElement(pe.a,f()({},Pe,{className:nt}),c.createElement("div",{className:"".concat(Ke,"-control-input")},c.createElement("div",{className:"".concat(Ke,"-control-input-content")},or),be),c.createElement(Oe.default,{motionDeadline:500,visible:ne,motionName:"show-help",onLeaveEnd:function(){ve(!1)},motionAppear:!0,removeOnLeave:!0},function(Re){var $e=Re.className;return c.createElement("div",{className:i()("".concat(Ke,"-explain"),$e),key:"help"},Q.map(function(gt,Wt){return c.createElement("div",{key:Wt,role:"alert"},gt)}))}),Ne&&c.createElement("div",{className:"".concat(Ke,"-extra")},Ne)))},vt=Ze,Ct=e("0n0R"),Be=e("xEkU"),Rt=e.n(Be);function He(ht){var ct=c.useState(ht),yt=m()(ct,2),It=yt[0],or=yt[1],Bt=Object(c.useRef)(null),Ae=Object(c.useRef)([]),ve=Object(c.useRef)(!1);c.useEffect(function(){return function(){ve.current=!0,Rt.a.cancel(Bt.current)}},[]);function fe(ue){if(ve.current)return;Bt.current===null&&(Ae.current=[],Bt.current=Rt()(function(){Bt.current=null,or(function(Ne){var je=Ne;return Ae.current.forEach(function(Ke){je=Ke(je)}),je})})),Ae.current.push(ue)}return[It,fe]}function wt(){var ht=c.useContext(r),ct=ht.itemRef,yt=c.useRef({});function It(or,Bt){var Ae=Bt&&P()(Bt)==="object"&&Bt.ref,ve=or.join("_");return(yt.current.name!==ve||yt.current.originRef!==Ae)&&(yt.current.name=ve,yt.current.originRef=Ae,yt.current.ref=Object(le.a)(ct(or),Ae)),yt.current.ref}return It}var Ge=function(ht,ct){var yt={};for(var It in ht)Object.prototype.hasOwnProperty.call(ht,It)&&ct.indexOf(It)<0&&(yt[It]=ht[It]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(ht);or<It.length;or++)ct.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(ht,It[or])&&(yt[It[or]]=ht[It[or]]);return yt},et=Object(me.a)("success","warning","error","validating",""),rt=c.memo(function(ht){var ct=ht.children;return ct},function(ht,ct){return ht.value===ct.value&&ht.update===ct.update});function lt(ht){return ht===null&&Object(we.a)(!1,"Form.Item","`null` is passed as `name` property"),!(ht==null)}function Ve(ht){var ct=ht.name,yt=ht.fieldKey,It=ht.noStyle,or=ht.dependencies,Bt=ht.prefixCls,Ae=ht.style,ve=ht.className,fe=ht.shouldUpdate,ue=ht.hasFeedback,Ne=ht.help,je=ht.rules,Ke=ht.validateStatus,Ye=ht.children,Pe=ht.required,nt=ht.label,At=ht.trigger,Ot=At===void 0?"onChange":At,ne=ht.validateTrigger,he=ht.hidden,Q=Ge(ht,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),te=c.useRef(!1),be=c.useContext(a.b),Ie=be.getPrefixCls,Re=c.useContext(r),$e=Re.name,gt=Re.requiredMark,Wt=c.useContext(l),$t=Wt.updateItemErrors,Dt=c.useState(!!Ne),Kt=m()(Dt,2),Gt=Kt[0],Qt=Kt[1],Mt=c.useRef(Ke),dr=He({}),er=m()(dr,2),st=er[0],xt=er[1],ut=c.useContext(G.b),pt=ut.validateTrigger,_t=ne!==void 0?ne:pt;function Tt(tn){te.current||Qt(tn)}var ft=lt(ct),Ht=c.useRef([]);c.useEffect(function(){return function(){te.current=!0,$t(Ht.current.join("__SPLIT__"),[])}},[]);var kt=Ie("form",Bt),ir=It?$t:function(tn,qr){xt(function(){var Lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return X()(Lr[tn],qr)?Lr:f()(f()({},Lr),h()({},tn,qr))})},Xt=wt();function mr(tn,qr,Lr,Qr){var Ir,ur;if(It&&!he)return tn;var pr=[];Object.keys(st).forEach(function(Yr){pr=[].concat(V()(pr),V()(st[Yr]||[]))});var cr;Ne!=null?cr=O(Ne):(cr=Lr?Lr.errors:[],cr=[].concat(V()(cr),V()(pr)));var fr="";Ke!==void 0?fr=Ke:(Lr==null?void 0:Lr.validating)?fr="validating":((ur=Lr==null?void 0:Lr.errors)===null||ur===void 0?void 0:ur.length)||pr.length?fr="error":(Lr==null?void 0:Lr.touched)&&(fr="success"),Gt&&Ne&&(Mt.current=fr);var xr=(Ir={},h()(Ir,"".concat(kt,"-item"),!0),h()(Ir,"".concat(kt,"-item-with-help"),Gt||Ne),h()(Ir,"".concat(ve),!!ve),h()(Ir,"".concat(kt,"-item-has-feedback"),fr&&ue),h()(Ir,"".concat(kt,"-item-has-success"),fr==="success"),h()(Ir,"".concat(kt,"-item-has-warning"),fr==="warning"),h()(Ir,"".concat(kt,"-item-has-error"),fr==="error"),h()(Ir,"".concat(kt,"-item-has-error-leave"),!Ne&&Gt&&Mt.current==="error"),h()(Ir,"".concat(kt,"-item-is-validating"),fr==="validating"),h()(Ir,"".concat(kt,"-item-hidden"),he),Ir);return c.createElement(Y.a,f()({className:i()(xr),style:Ae,key:"row"},Object(u.default)(Q,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),c.createElement(Ee,f()({htmlFor:qr,required:Qr,requiredMark:gt},ht,{prefixCls:kt})),c.createElement(vt,f()({},ht,Lr,{errors:cr,prefixCls:kt,onDomErrorVisibleChange:Tt,validateStatus:fr}),c.createElement(l.Provider,{value:{updateItemErrors:ir}},tn)))}var Ar=typeof Ye=="function",Nr=c.useRef(0);if(Nr.current+=1,!ft&&!Ar&&!or)return mr(Ye);var kr={};return typeof nt=="string"&&(kr.label=nt),c.createElement(n.Field,f()({},ht,{messageVariables:kr,trigger:Ot,validateTrigger:_t,onReset:function(){Tt(!1)}}),function(tn,qr,Lr){var Qr=qr.errors,Ir=O(ct).length&&qr?qr.name:[],ur=N(Ir,$e);if(It){if(Ht.current=V()(Ir),yt){var pr=Array.isArray(yt)?yt:[yt];Ht.current=[].concat(V()(Ir.slice(0,-1)),V()(pr))}$t(Ht.current.join("__SPLIT__"),Qr)}var cr=Pe!==void 0?Pe:!!(je&&je.some(function(Nn){if(Nn&&P()(Nn)==="object"&&Nn.required)return!0;if(typeof Nn=="function"){var jr=Nn(Lr);return jr&&jr.required}return!1})),fr=f()({},tn),xr=null;if(Object(we.a)(!(fe&&or),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Ye)&&ft)Object(we.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),xr=Ye;else if(Ar&&(!(fe||or)||ft))Object(we.a)(!!(fe||or),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(we.a)(!ft,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(or&&!Ar&&!ft)Object(we.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ct.b)(Ye)){Object(we.a)(Ye.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Yr=f()(f()({},Ye.props),fr);Yr.id||(Yr.id=ur),Object(le.c)(Ye)&&(Yr.ref=Xt(Ir,Ye));var un=new Set([].concat(V()(O(Ot)),V()(O(_t))));un.forEach(function(Nn){Yr[Nn]=function(){for(var jr,Tn,gn,Pn,zn,qn=arguments.length,Yn=new Array(qn),Vn=0;Vn<qn;Vn++)Yn[Vn]=arguments[Vn];(gn=fr[Nn])===null||gn===void 0||(jr=gn).call.apply(jr,[fr].concat(Yn)),(zn=(Pn=Ye.props)[Nn])===null||zn===void 0||(Tn=zn).call.apply(Tn,[Pn].concat(Yn))}}),xr=c.createElement(rt,{value:fr[ht.valuePropName||"value"],update:Nr.current},Object(Ct.a)(Ye,Yr))}else Ar&&(fe||or)&&!ft?xr=Ye(Lr):(Object(we.a)(!Ir.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),xr=Ye);return mr(xr,ur,qr,cr)})}var ie=Ve,$=function(ht,ct){var yt={};for(var It in ht)Object.prototype.hasOwnProperty.call(ht,It)&&ct.indexOf(It)<0&&(yt[It]=ht[It]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(ht);or<It.length;or++)ct.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(ht,It[or])&&(yt[It[or]]=ht[It[or]]);return yt},it=function(ct){var yt=ct.children,It=$(ct,["children"]);return Object(we.a)(!!It.name,"Form.List","Miss `name` prop."),c.createElement(n.List,It,function(or,Bt){return yt(or.map(function(Ae){return f()(f()({},Ae),{fieldKey:Ae.key})}),Bt)})},Qe=it,ye=U;ye.Item=ie,ye.List=Qe,ye.useForm=F,ye.Provider=t,ye.create=function(){Object(we.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Zt=_.a=ye},VpOo:function(D,_){function e(g,f){var A=f.x,m=f.y,v=f.width,h=f.height,c=f.r,o,i,n,a;v<0&&(A=A+v,v=-v),h<0&&(m=m+h,h=-h),typeof c=="number"?o=i=n=a=c:c instanceof Array?c.length===1?o=i=n=a=c[0]:c.length===2?(o=n=c[0],i=a=c[1]):c.length===3?(o=c[0],i=a=c[1],n=c[2]):(o=c[0],i=c[1],n=c[2],a=c[3]):o=i=n=a=0;var u;o+i>v&&(u=o+i,o*=v/u,i*=v/u),n+a>v&&(u=n+a,n*=v/u,a*=v/u),i+n>h&&(u=i+n,i*=h/u,n*=h/u),o+a>h&&(u=o+a,o*=h/u,a*=h/u),g.moveTo(A+o,m),g.lineTo(A+v-i,m),i!==0&&g.arc(A+v-i,m+i,i,-Math.PI/2,0),g.lineTo(A+v,m+h-n),n!==0&&g.arc(A+v-n,m+h-n,n,0,Math.PI/2),g.lineTo(A+a,m+h),a!==0&&g.arc(A+a,m+h-a,a,Math.PI/2,Math.PI),g.lineTo(A,m+o),o!==0&&g.arc(A+o,m+o,o,Math.PI,Math.PI*1.5)}_.buildPath=e},"VrN/":function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";var g=navigator.userAgent,f=navigator.platform,A=/gecko\/\d/i.test(g),m=/MSIE \d/.test(g),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(g),h=/Edge\/(\d+)/.exec(g),c=m||v||h,o=c&&(m?document.documentMode||6:+(h||v)[1]),i=!h&&/WebKit\//.test(g),n=i&&/Qt\/\d+\.\d+/.test(g),a=!h&&/Chrome\//.test(g),u=/Opera\//.test(g),r=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(g),t=/PhantomJS/.test(g),s=!h&&/AppleWebKit/.test(g)&&/Mobile\/\w+/.test(g),d=/Android/.test(g),p=s||d||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(g),b=s||/Mac/.test(f),w=/\bCrOS\b/.test(g),E=/win/i.test(f),S=u&&g.match(/Version\/(\d*\.\d*)/);S&&(S=Number(S[1])),S&&S>=15&&(u=!1,i=!0);var x=b&&(n||u&&(S==null||S<12.11)),T=A||c&&o>=9;function L(I){return new RegExp("(^|\\s)"+I+"(?:$|\\s)\\s*")}var y=function(M,q){var J=M.className,re=L(q).exec(J);if(re){var De=J.slice(re.index+re[0].length);M.className=J.slice(0,re.index)+(De?re[1]+De:"")}};function C(I){for(var M=I.childNodes.length;M>0;--M)I.removeChild(I.firstChild);return I}function O(I,M){return C(I).appendChild(M)}function N(I,M,q,J){var re=document.createElement(I);if(q&&(re.className=q),J&&(re.style.cssText=J),typeof M=="string")re.appendChild(document.createTextNode(M));else if(M)for(var De=0;De<M.length;++De)re.appendChild(M[De]);return re}function k(I,M,q,J){var re=N(I,M,q,J);return re.setAttribute("role","presentation"),re}var F;document.createRange?F=function(M,q,J,re){var De=document.createRange();return De.setEnd(re||M,J),De.setStart(M,q),De}:F=function(M,q,J){var re=document.body.createTextRange();try{re.moveToElementText(M.parentNode)}catch(De){return re}return re.collapse(!0),re.moveEnd("character",J),re.moveStart("character",q),re};function B(I,M){if(M.nodeType==3&&(M=M.parentNode),I.contains)return I.contains(M);do if(M.nodeType==11&&(M=M.host),M==I)return!0;while(M=M.parentNode)}function H(){var I;try{I=document.activeElement}catch(M){I=document.body||null}for(;I&&I.shadowRoot&&I.shadowRoot.activeElement;)I=I.shadowRoot.activeElement;return I}function W(I,M){var q=I.className;L(M).test(q)||(I.className+=(q?" ":"")+M)}function R(I,M){for(var q=I.split(" "),J=0;J<q.length;J++)q[J]&&!L(q[J]).test(M)&&(M+=" "+q[J]);return M}var U=function(M){M.select()};s?U=function(M){M.selectionStart=0,M.selectionEnd=M.value.length}:c&&(U=function(M){try{M.select()}catch(q){}});function j(I){var M=Array.prototype.slice.call(arguments,1);return function(){return I.apply(null,M)}}function P(I,M,q){M||(M={});for(var J in I)I.hasOwnProperty(J)&&(q!==!1||!M.hasOwnProperty(J))&&(M[J]=I[J]);return M}function K(I,M,q,J,re){M==null&&(M=I.search(/[^\s\u00a0]/),M==-1&&(M=I.length));for(var De=J||0,mt=re||0;;){var Nt=I.indexOf(" ",De);if(Nt<0||Nt>=M)return mt+(M-De);mt+=Nt-De,mt+=q-mt%q,De=Nt+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};V.prototype.onTimeout=function(I){I.id=0,I.time<=+new Date?I.f():setTimeout(I.handler,I.time-+new Date)},V.prototype.set=function(I,M){this.f=M;var q=+new Date+I;(!this.id||q<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,I),this.time=q)};function z(I,M){for(var q=0;q<I.length;++q)if(I[q]==M)return q;return-1}var X=50,G={toString:function(){return"CodeMirror.Pass"}},le={scroll:!1},Y={origin:"*mouse"},me={origin:"+move"};function we(I,M,q){for(var J=0,re=0;;){var De=I.indexOf(" ",J);De==-1&&(De=I.length);var mt=De-J;if(De==I.length||re+mt>=M)return J+Math.min(mt,M-re);if(re+=De-J,re+=q-re%q,J=De+1,re>=M)return J}}var pe=[""];function Fe(I){for(;pe.length<=I;)pe.push(Xe(pe)+" ");return pe[I]}function Xe(I){return I[I.length-1]}function dt(I,M){for(var q=[],J=0;J<I.length;J++)q[J]=M(I[J],J);return q}function Ee(I,M,q){for(var J=0,re=q(M);J<I.length&&q(I[J])<=re;)J++;I.splice(J,0,M)}function Se(){}function at(I,M){var q;return Object.create?q=Object.create(I):(Se.prototype=I,q=new Se),M&&P(M,q),q}var _e=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ce(I){return/\w/.test(I)||I>"\x80"&&(I.toUpperCase()!=I.toLowerCase()||_e.test(I))}function ee(I,M){return M?M.source.indexOf("\\w")>-1&&ce(I)?!0:M.test(I):ce(I)}function se(I){for(var M in I)if(I.hasOwnProperty(M)&&I[M])return!1;return!0}var ke=/[\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 Ce(I){return I.charCodeAt(0)>=768&&ke.test(I)}function ze(I,M,q){for(;(q<0?M>0:M<I.length)&&Ce(I.charAt(M));)M+=q;return M}function Oe(I,M,q){for(var J=M>q?-1:1;;){if(M==q)return M;var re=(M+q)/2,De=J<0?Math.ceil(re):Math.floor(re);if(De==M)return I(De)?M:q;I(De)?q=De:M=De+J}}function ae(I,M,q,J){if(!I)return J(M,q,"ltr",0);for(var re=!1,De=0;De<I.length;++De){var mt=I[De];(mt.from<q&&mt.to>M||M==q&&mt.to==M)&&(J(Math.max(mt.from,M),Math.min(mt.to,q),mt.level==1?"rtl":"ltr",De),re=!0)}re||J(M,q,"ltr")}var ge=null;function Le(I,M,q){var J;ge=null;for(var re=0;re<I.length;++re){var De=I[re];if(De.from<M&&De.to>M)return re;De.to==M&&(De.from!=De.to&&q=="before"?J=re:ge=re),De.from==M&&(De.from!=De.to&&q!="before"?J=re:ge=re)}return J!=null?J:ge}var Ze=function(){var I="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",M="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function q(Yt){return Yt<=247?I.charAt(Yt):1424<=Yt&&Yt<=1524?"R":1536<=Yt&&Yt<=1785?M.charAt(Yt-1536):1774<=Yt&&Yt<=2220?"r":8192<=Yt&&Yt<=8203?"w":Yt==8204?"b":"L"}var J=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,re=/[stwN]/,De=/[LRr]/,mt=/[Lb1n]/,Nt=/[1n]/;function zt(Yt,Cr,Ur){this.level=Yt,this.from=Cr,this.to=Ur}return function(Yt,Cr){var Ur=Cr=="ltr"?"L":"R";if(Yt.length==0||Cr=="ltr"&&!J.test(Yt))return!1;for(var en=Yt.length,nn=[],xn=0;xn<en;++xn)nn.push(q(Yt.charCodeAt(xn)));for(var Bn=0,Zn=Ur;Bn<en;++Bn){var Jn=nn[Bn];Jn=="m"?nn[Bn]=Zn:Zn=Jn}for(var oi=0,li=Ur;oi<en;++oi){var qe=nn[oi];qe=="1"&&li=="r"?nn[oi]="n":De.test(qe)&&(li=qe,qe=="r"&&(nn[oi]="R"))}for(var Z=1,Me=nn[0];Z<en-1;++Z){var Je=nn[Z];Je=="+"&&Me=="1"&&nn[Z+1]=="1"?nn[Z]="1":Je==","&&Me==nn[Z+1]&&(Me=="1"||Me=="n")&&(nn[Z]=Me),Me=Je}for(var Lt=0;Lt<en;++Lt){var tr=nn[Lt];if(tr==",")nn[Lt]="N";else if(tr=="%"){var vr=void 0;for(vr=Lt+1;vr<en&&nn[vr]=="%";++vr);for(var _r=Lt&&nn[Lt-1]=="!"||vr<en&&nn[vr]=="1"?"1":"N",Hr=Lt;Hr<vr;++Hr)nn[Hr]=_r;Lt=vr-1}}for(var Kr=0,cn=Ur;Kr<en;++Kr){var sn=nn[Kr];cn=="L"&&sn=="1"?nn[Kr]="L":De.test(sn)&&(cn=sn)}for(var kn=0;kn<en;++kn)if(re.test(nn[kn])){var si=void 0;for(si=kn+1;si<en&&re.test(nn[si]);++si);for(var Kn=(kn?nn[kn-1]:Ur)=="L",fi=(si<en?nn[si]:Ur)=="L",da=Kn==fi?Kn?"L":"R":Ur,Ti=kn;Ti<si;++Ti)nn[Ti]=da;kn=si-1}for(var na=[],Ia,Pi=0;Pi<en;)if(mt.test(nn[Pi])){var Io=Pi;for(++Pi;Pi<en&&mt.test(nn[Pi]);++Pi);na.push(new zt(0,Io,Pi))}else{var no=Pi,zo=na.length,Po=Cr=="rtl"?1:0;for(++Pi;Pi<en&&nn[Pi]!="L";++Pi);for(var Fa=no;Fa<Pi;)if(Nt.test(nn[Fa])){no<Fa&&(na.splice(zo,0,new zt(1,no,Fa)),zo+=Po);var Wo=Fa;for(++Fa;Fa<Pi&&Nt.test(nn[Fa]);++Fa);na.splice(zo,0,new zt(2,Wo,Fa)),zo+=Po,no=Fa}else++Fa;no<Pi&&na.splice(zo,0,new zt(1,no,Pi))}return Cr=="ltr"&&(na[0].level==1&&(Ia=Yt.match(/^\s+/))&&(na[0].from=Ia[0].length,na.unshift(new zt(0,0,Ia[0].length))),Xe(na).level==1&&(Ia=Yt.match(/\s+$/))&&(Xe(na).to-=Ia[0].length,na.push(new zt(0,en-Ia[0].length,en)))),Cr=="rtl"?na.reverse():na}}();function vt(I,M){var q=I.order;return q==null&&(q=I.order=Ze(I.text,M)),q}var Ct=[],Be=function(M,q,J){if(M.addEventListener)M.addEventListener(q,J,!1);else if(M.attachEvent)M.attachEvent("on"+q,J);else{var re=M._handlers||(M._handlers={});re[q]=(re[q]||Ct).concat(J)}};function Rt(I,M){return I._handlers&&I._handlers[M]||Ct}function He(I,M,q){if(I.removeEventListener)I.removeEventListener(M,q,!1);else if(I.detachEvent)I.detachEvent("on"+M,q);else{var J=I._handlers,re=J&&J[M];if(re){var De=z(re,q);De>-1&&(J[M]=re.slice(0,De).concat(re.slice(De+1)))}}}function wt(I,M){var q=Rt(I,M);if(!q.length)return;for(var J=Array.prototype.slice.call(arguments,2),re=0;re<q.length;++re)q[re].apply(null,J)}function Ge(I,M,q){return typeof M=="string"&&(M={type:M,preventDefault:function(){this.defaultPrevented=!0}}),wt(I,q||M.type,I,M),$(M)||M.codemirrorIgnore}function et(I){var M=I._handlers&&I._handlers.cursorActivity;if(!M)return;for(var q=I.curOp.cursorActivityHandlers||(I.curOp.cursorActivityHandlers=[]),J=0;J<M.length;++J)z(q,M[J])==-1&&q.push(M[J])}function rt(I,M){return Rt(I,M).length>0}function lt(I){I.prototype.on=function(M,q){Be(this,M,q)},I.prototype.off=function(M,q){He(this,M,q)}}function Ve(I){I.preventDefault?I.preventDefault():I.returnValue=!1}function ie(I){I.stopPropagation?I.stopPropagation():I.cancelBubble=!0}function $(I){return I.defaultPrevented!=null?I.defaultPrevented:I.returnValue==!1}function it(I){Ve(I),ie(I)}function Qe(I){return I.target||I.srcElement}function ye(I){var M=I.which;return M==null&&(I.button&1?M=1:I.button&2?M=3:I.button&4&&(M=2)),b&&I.ctrlKey&&M==1&&(M=3),M}var Zt=function(){if(c&&o<9)return!1;var I=N("div");return"draggable"in I||"dragDrop"in I}(),ht;function ct(I){if(ht==null){var M=N("span","\u200B");O(I,N("span",[M,document.createTextNode("x")])),I.firstChild.offsetHeight!=0&&(ht=M.offsetWidth<=1&&M.offsetHeight>2&&!(c&&o<8))}var q=ht?N("span","\u200B"):N("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return q.setAttribute("cm-text",""),q}var yt;function It(I){if(yt!=null)return yt;var M=O(I,document.createTextNode("A\u062EA")),q=F(M,0,1).getBoundingClientRect(),J=F(M,1,2).getBoundingClientRect();return C(I),!q||q.left==q.right?!1:yt=J.right-q.right<3}var or=`
b`.split(/\n/).length!=3?function(I){for(var M=0,q=[],J=I.length;M<=J;){var re=I.indexOf(`
`,M);re==-1&&(re=I.length);var De=I.slice(M,I.charAt(re-1)=="\r"?re-1:re),mt=De.indexOf("\r");mt!=-1?(q.push(De.slice(0,mt)),M+=mt+1):(q.push(De),M=re+1)}return q}:function(I){return I.split(/\r\n?|\n/)},Bt=window.getSelection?function(I){try{return I.selectionStart!=I.selectionEnd}catch(M){return!1}}:function(I){var M;try{M=I.ownerDocument.selection.createRange()}catch(q){}return!M||M.parentElement()!=I?!1:M.compareEndPoints("StartToEnd",M)!=0},Ae=function(){var I=N("div");return"oncopy"in I?!0:(I.setAttribute("oncopy","return;"),typeof I.oncopy=="function")}(),ve=null;function fe(I){if(ve!=null)return ve;var M=O(I,N("span","x")),q=M.getBoundingClientRect(),J=F(M,0,1).getBoundingClientRect();return ve=Math.abs(q.left-J.left)>1}var ue={},Ne={};function je(I,M){arguments.length>2&&(M.dependencies=Array.prototype.slice.call(arguments,2)),ue[I]=M}function Ke(I,M){Ne[I]=M}function Ye(I){if(typeof I=="string"&&Ne.hasOwnProperty(I))I=Ne[I];else if(I&&typeof I.name=="string"&&Ne.hasOwnProperty(I.name)){var M=Ne[I.name];typeof M=="string"&&(M={name:M}),I=at(M,I),I.name=M.name}else{if(typeof I=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(I))return Ye("application/xml");if(typeof I=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(I))return Ye("application/json")}return typeof I=="string"?{name:I}:I||{name:"null"}}function Pe(I,M){M=Ye(M);var q=ue[M.name];if(!q)return Pe(I,"text/plain");var J=q(I,M);if(nt.hasOwnProperty(M.name)){var re=nt[M.name];for(var De in re){if(!re.hasOwnProperty(De))continue;J.hasOwnProperty(De)&&(J["_"+De]=J[De]),J[De]=re[De]}}if(J.name=M.name,M.helperType&&(J.helperType=M.helperType),M.modeProps)for(var mt in M.modeProps)J[mt]=M.modeProps[mt];return J}var nt={};function At(I,M){var q=nt.hasOwnProperty(I)?nt[I]:nt[I]={};P(M,q)}function Ot(I,M){if(M===!0)return M;if(I.copyState)return I.copyState(M);var q={};for(var J in M){var re=M[J];re instanceof Array&&(re=re.concat([])),q[J]=re}return q}function ne(I,M){for(var q;I.innerMode&&!(q=I.innerMode(M),!q||q.mode==I);)M=q.state,I=q.mode;return q||{mode:I,state:M}}function he(I,M,q){return I.startState?I.startState(M,q):!0}var Q=function(M,q,J){this.pos=this.start=0,this.string=M,this.tabSize=q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=J};Q.prototype.eol=function(){return this.pos>=this.string.length},Q.prototype.sol=function(){return this.pos==this.lineStart},Q.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Q.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Q.prototype.eat=function(I){var M=this.string.charAt(this.pos),q;if(typeof I=="string"?q=M==I:q=M&&(I.test?I.test(M):I(M)),q)return++this.pos,M},Q.prototype.eatWhile=function(I){for(var M=this.pos;this.eat(I););return this.pos>M},Q.prototype.eatSpace=function(){for(var I=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>I},Q.prototype.skipToEnd=function(){this.pos=this.string.length},Q.prototype.skipTo=function(I){var M=this.string.indexOf(I,this.pos);if(M>-1)return this.pos=M,!0},Q.prototype.backUp=function(I){this.pos-=I},Q.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=K(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},Q.prototype.indentation=function(){return K(this.string,null,this.tabSize)-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},Q.prototype.match=function(I,M,q){if(typeof I=="string"){var J=function(Nt){return q?Nt.toLowerCase():Nt},re=this.string.substr(this.pos,I.length);if(J(re)==J(I))return M!==!1&&(this.pos+=I.length),!0}else{var De=this.string.slice(this.pos).match(I);return De&&De.index>0?null:(De&&M!==!1&&(this.pos+=De[0].length),De)}},Q.prototype.current=function(){return this.string.slice(this.start,this.pos)},Q.prototype.hideFirstChars=function(I,M){this.lineStart+=I;try{return M()}finally{this.lineStart-=I}},Q.prototype.lookAhead=function(I){var M=this.lineOracle;return M&&M.lookAhead(I)},Q.prototype.baseToken=function(){var I=this.lineOracle;return I&&I.baseToken(this.pos)};function te(I,M){if(M-=I.first,M<0||M>=I.size)throw new Error("There is no line "+(M+I.first)+" in the document.");for(var q=I;!q.lines;)for(var J=0;;++J){var re=q.children[J],De=re.chunkSize();if(M<De){q=re;break}M-=De}return q.lines[M]}function be(I,M,q){var J=[],re=M.line;return I.iter(M.line,q.line+1,function(De){var mt=De.text;re==q.line&&(mt=mt.slice(0,q.ch)),re==M.line&&(mt=mt.slice(M.ch)),J.push(mt),++re}),J}function Ie(I,M,q){var J=[];return I.iter(M,q,function(re){J.push(re.text)}),J}function Re(I,M){var q=M-I.height;if(q)for(var J=I;J;J=J.parent)J.height+=q}function $e(I){if(I.parent==null)return null;for(var M=I.parent,q=z(M.lines,I),J=M.parent;J;M=J,J=J.parent)for(var re=0;!(J.children[re]==M);++re)q+=J.children[re].chunkSize();return q+M.first}function gt(I,M){var q=I.first;e:do{for(var J=0;J<I.children.length;++J){var re=I.children[J],De=re.height;if(M<De){I=re;continue e}M-=De,q+=re.chunkSize()}return q}while(!I.lines);for(var mt=0;mt<I.lines.length;++mt){var Nt=I.lines[mt],zt=Nt.height;if(M<zt)break;M-=zt}return q+mt}function Wt(I,M){return M>=I.first&&M<I.first+I.size}function $t(I,M){return String(I.lineNumberFormatter(M+I.firstLineNumber))}function Dt(I,M,q){if(q===void 0&&(q=null),!(this instanceof Dt))return new Dt(I,M,q);this.line=I,this.ch=M,this.sticky=q}function Kt(I,M){return I.line-M.line||I.ch-M.ch}function Gt(I,M){return I.sticky==M.sticky&&Kt(I,M)==0}function Qt(I){return Dt(I.line,I.ch)}function Mt(I,M){return Kt(I,M)<0?M:I}function dr(I,M){return Kt(I,M)<0?I:M}function er(I,M){return Math.max(I.first,Math.min(M,I.first+I.size-1))}function st(I,M){if(M.line<I.first)return Dt(I.first,0);var q=I.first+I.size-1;return M.line>q?Dt(q,te(I,q).text.length):xt(M,te(I,M.line).text.length)}function xt(I,M){var q=I.ch;return q==null||q>M?Dt(I.line,M):q<0?Dt(I.line,0):I}function ut(I,M){for(var q=[],J=0;J<M.length;J++)q[J]=st(I,M[J]);return q}var pt=function(M,q){this.state=M,this.lookAhead=q},_t=function(M,q,J,re){this.state=q,this.doc=M,this.line=J,this.maxLookAhead=re||0,this.baseTokens=null,this.baseTokenPos=1};_t.prototype.lookAhead=function(I){var M=this.doc.getLine(this.line+I);return M!=null&&I>this.maxLookAhead&&(this.maxLookAhead=I),M},_t.prototype.baseToken=function(I){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=I;)this.baseTokenPos+=2;var M=this.baseTokens[this.baseTokenPos+1];return{type:M&&M.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-I}},_t.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},_t.fromSaved=function(I,M,q){return M instanceof pt?new _t(I,Ot(I.mode,M.state),q,M.lookAhead):new _t(I,Ot(I.mode,M),q)},_t.prototype.save=function(I){var M=I!==!1?Ot(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pt(M,this.maxLookAhead):M};function Tt(I,M,q,J){var re=[I.state.modeGen],De={};kr(I,M.text,I.doc.mode,q,function(Yt,Cr){return re.push(Yt,Cr)},De,J);for(var mt=q.state,Nt=function(Cr){q.baseTokens=re;var Ur=I.state.overlays[Cr],en=1,nn=0;q.state=!0,kr(I,M.text,Ur.mode,q,function(xn,Bn){for(var Zn=en;nn<xn;){var Jn=re[en];Jn>xn&&re.splice(en,1,xn,re[en+1],Jn),en+=2,nn=Math.min(xn,Jn)}if(!Bn)return;if(Ur.opaque)re.splice(Zn,en-Zn,xn,"overlay "+Bn),en=Zn+2;else for(;Zn<en;Zn+=2){var oi=re[Zn+1];re[Zn+1]=(oi?oi+" ":"")+"overlay "+Bn}},De),q.state=mt,q.baseTokens=null,q.baseTokenPos=1},zt=0;zt<I.state.overlays.length;++zt)Nt(zt);return{styles:re,classes:De.bgClass||De.textClass?De:null}}function ft(I,M,q){if(!M.styles||M.styles[0]!=I.state.modeGen){var J=Ht(I,$e(M)),re=M.text.length>I.options.maxHighlightLength&&Ot(I.doc.mode,J.state),De=Tt(I,M,J);re&&(J.state=re),M.stateAfter=J.save(!re),M.styles=De.styles,De.classes?M.styleClasses=De.classes:M.styleClasses&&(M.styleClasses=null),q===I.doc.highlightFrontier&&(I.doc.modeFrontier=Math.max(I.doc.modeFrontier,++I.doc.highlightFrontier))}return M.styles}function Ht(I,M,q){var J=I.doc,re=I.display;if(!J.mode.startState)return new _t(J,!0,M);var De=tn(I,M,q),mt=De>J.first&&te(J,De-1).stateAfter,Nt=mt?_t.fromSaved(J,mt,De):new _t(J,he(J.mode),De);return J.iter(De,M,function(zt){kt(I,zt.text,Nt);var Yt=Nt.line;zt.stateAfter=Yt==M-1||Yt%5==0||Yt>=re.viewFrom&&Yt<re.viewTo?Nt.save():null,Nt.nextLine()}),q&&(J.modeFrontier=Nt.line),Nt}function kt(I,M,q,J){var re=I.doc.mode,De=new Q(M,I.options.tabSize,q);for(De.start=De.pos=J||0,M==""&&ir(re,q.state);!De.eol();)Xt(re,De,q.state),De.start=De.pos}function ir(I,M){if(I.blankLine)return I.blankLine(M);if(!I.innerMode)return;var q=ne(I,M);if(q.mode.blankLine)return q.mode.blankLine(q.state)}function Xt(I,M,q,J){for(var re=0;re<10;re++){J&&(J[0]=ne(I,q).mode);var De=I.token(M,q);if(M.pos>M.start)return De}throw new Error("Mode "+I.name+" failed to advance stream.")}var mr=function(M,q,J){this.start=M.start,this.end=M.pos,this.string=M.current(),this.type=q||null,this.state=J};function Ar(I,M,q,J){var re=I.doc,De=re.mode,mt;M=st(re,M);var Nt=te(re,M.line),zt=Ht(I,M.line,q),Yt=new Q(Nt.text,I.options.tabSize,zt),Cr;for(J&&(Cr=[]);(J||Yt.pos<M.ch)&&!Yt.eol();)Yt.start=Yt.pos,mt=Xt(De,Yt,zt.state),J&&Cr.push(new mr(Yt,mt,Ot(re.mode,zt.state)));return J?Cr:new mr(Yt,mt,zt.state)}function Nr(I,M){if(I)for(;;){var q=I.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!q)break;I=I.slice(0,q.index)+I.slice(q.index+q[0].length);var J=q[1]?"bgClass":"textClass";M[J]==null?M[J]=q[2]:new RegExp("(?:^|\\s)"+q[2]+"(?:$|\\s)").test(M[J])||(M[J]+=" "+q[2])}return I}function kr(I,M,q,J,re,De,mt){var Nt=q.flattenSpans;Nt==null&&(Nt=I.options.flattenSpans);var zt=0,Yt=null,Cr=new Q(M,I.options.tabSize,J),Ur,en=I.options.addModeClass&&[null];for(M==""&&Nr(ir(q,J.state),De);!Cr.eol();){if(Cr.pos>I.options.maxHighlightLength?(Nt=!1,mt&&kt(I,M,J,Cr.pos),Cr.pos=M.length,Ur=null):Ur=Nr(Xt(q,Cr,J.state,en),De),en){var nn=en[0].name;nn&&(Ur="m-"+(Ur?nn+" "+Ur:nn))}if(!Nt||Yt!=Ur){for(;zt<Cr.start;)zt=Math.min(Cr.start,zt+5e3),re(zt,Yt);Yt=Ur}Cr.start=Cr.pos}for(;zt<Cr.pos;){var xn=Math.min(Cr.pos,zt+5e3);re(xn,Yt),zt=xn}}function tn(I,M,q){for(var J,re,De=I.doc,mt=q?-1:M-(I.doc.mode.innerMode?1e3:100),Nt=M;Nt>mt;--Nt){if(Nt<=De.first)return De.first;var zt=te(De,Nt-1),Yt=zt.stateAfter;if(Yt&&(!q||Nt+(Yt instanceof pt?Yt.lookAhead:0)<=De.modeFrontier))return Nt;var Cr=K(zt.text,null,I.options.tabSize);(re==null||J>Cr)&&(re=Nt-1,J=Cr)}return re}function qr(I,M){if(I.modeFrontier=Math.min(I.modeFrontier,M),I.highlightFrontier<M-10)return;for(var q=I.first,J=M-1;J>q;J--){var re=te(I,J).stateAfter;if(re&&(!(re instanceof pt)||J+re.lookAhead<M)){q=J+1;break}}I.highlightFrontier=Math.min(I.highlightFrontier,q)}var Lr=!1,Qr=!1;function Ir(){Lr=!0}function ur(){Qr=!0}function pr(I,M,q){this.marker=I,this.from=M,this.to=q}function cr(I,M){if(I)for(var q=0;q<I.length;++q){var J=I[q];if(J.marker==M)return J}}function fr(I,M){for(var q,J=0;J<I.length;++J)I[J]!=M&&(q||(q=[])).push(I[J]);return q}function xr(I,M){I.markedSpans=I.markedSpans?I.markedSpans.concat([M]):[M],M.marker.attachLine(I)}function Yr(I,M,q){var J;if(I)for(var re=0;re<I.length;++re){var De=I[re],mt=De.marker,Nt=De.from==null||(mt.inclusiveLeft?De.from<=M:De.from<M);if(Nt||De.from==M&&mt.type=="bookmark"&&(!q||!De.marker.insertLeft)){var zt=De.to==null||(mt.inclusiveRight?De.to>=M:De.to>M);(J||(J=[])).push(new pr(mt,De.from,zt?null:De.to))}}return J}function un(I,M,q){var J;if(I)for(var re=0;re<I.length;++re){var De=I[re],mt=De.marker,Nt=De.to==null||(mt.inclusiveRight?De.to>=M:De.to>M);if(Nt||De.from==M&&mt.type=="bookmark"&&(!q||De.marker.insertLeft)){var zt=De.from==null||(mt.inclusiveLeft?De.from<=M:De.from<M);(J||(J=[])).push(new pr(mt,zt?null:De.from-M,De.to==null?null:De.to-M))}}return J}function Nn(I,M){if(M.full)return null;var q=Wt(I,M.from.line)&&te(I,M.from.line).markedSpans,J=Wt(I,M.to.line)&&te(I,M.to.line).markedSpans;if(!q&&!J)return null;var re=M.from.ch,De=M.to.ch,mt=Kt(M.from,M.to)==0,Nt=Yr(q,re,mt),zt=un(J,De,mt),Yt=M.text.length==1,Cr=Xe(M.text).length+(Yt?re:0);if(Nt)for(var Ur=0;Ur<Nt.length;++Ur){var en=Nt[Ur];if(en.to==null){var nn=cr(zt,en.marker);nn?Yt&&(en.to=nn.to==null?null:nn.to+Cr):en.to=re}}if(zt)for(var xn=0;xn<zt.length;++xn){var Bn=zt[xn];if(Bn.to!=null&&(Bn.to+=Cr),Bn.from==null){var Zn=cr(Nt,Bn.marker);Zn||(Bn.from=Cr,Yt&&(Nt||(Nt=[])).push(Bn))}else Bn.from+=Cr,Yt&&(Nt||(Nt=[])).push(Bn)}Nt&&(Nt=jr(Nt)),zt&&zt!=Nt&&(zt=jr(zt));var Jn=[Nt];if(!Yt){var oi=M.text.length-2,li;if(oi>0&&Nt)for(var qe=0;qe<Nt.length;++qe)Nt[qe].to==null&&(li||(li=[])).push(new pr(Nt[qe].marker,null,null));for(var Z=0;Z<oi;++Z)Jn.push(li);Jn.push(zt)}return Jn}function jr(I){for(var M=0;M<I.length;++M){var q=I[M];q.from!=null&&q.from==q.to&&q.marker.clearWhenEmpty!==!1&&I.splice(M--,1)}return I.length?I:null}function Tn(I,M,q){var J=null;if(I.iter(M.line,q.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var Bn=nn.markedSpans[xn].marker;Bn.readOnly&&(!J||z(J,Bn)==-1)&&(J||(J=[])).push(Bn)}}),!J)return null;for(var re=[{from:M,to:q}],De=0;De<J.length;++De)for(var mt=J[De],Nt=mt.find(0),zt=0;zt<re.length;++zt){var Yt=re[zt];if(Kt(Yt.to,Nt.from)<0||Kt(Yt.from,Nt.to)>0)continue;var Cr=[zt,1],Ur=Kt(Yt.from,Nt.from),en=Kt(Yt.to,Nt.to);(Ur<0||!mt.inclusiveLeft&&!Ur)&&Cr.push({from:Yt.from,to:Nt.from}),(en>0||!mt.inclusiveRight&&!en)&&Cr.push({from:Nt.to,to:Yt.to}),re.splice.apply(re,Cr),zt+=Cr.length-3}return re}function gn(I){var M=I.markedSpans;if(!M)return;for(var q=0;q<M.length;++q)M[q].marker.detachLine(I);I.markedSpans=null}function Pn(I,M){if(!M)return;for(var q=0;q<M.length;++q)M[q].marker.attachLine(I);I.markedSpans=M}function zn(I){return I.inclusiveLeft?-1:0}function qn(I){return I.inclusiveRight?1:0}function Yn(I,M){var q=I.lines.length-M.lines.length;if(q!=0)return q;var J=I.find(),re=M.find(),De=Kt(J.from,re.from)||zn(I)-zn(M);if(De)return-De;var mt=Kt(J.to,re.to)||qn(I)-qn(M);return mt||M.id-I.id}function Vn(I,M){var q=Qr&&I.markedSpans,J;if(q)for(var re=void 0,De=0;De<q.length;++De)re=q[De],re.marker.collapsed&&(M?re.from:re.to)==null&&(!J||Yn(J,re.marker)<0)&&(J=re.marker);return J}function An(I){return Vn(I,!0)}function on(I){return Vn(I,!1)}function ia(I,M){var q=Qr&&I.markedSpans,J;if(q)for(var re=0;re<q.length;++re){var De=q[re];De.marker.collapsed&&(De.from==null||De.from<M)&&(De.to==null||De.to>M)&&(!J||Yn(J,De.marker)<0)&&(J=De.marker)}return J}function xa(I,M,q,J,re){var De=te(I,M),mt=Qr&&De.markedSpans;if(mt)for(var Nt=0;Nt<mt.length;++Nt){var zt=mt[Nt];if(!zt.marker.collapsed)continue;var Yt=zt.marker.find(0),Cr=Kt(Yt.from,q)||zn(zt.marker)-zn(re),Ur=Kt(Yt.to,J)||qn(zt.marker)-qn(re);if(Cr>=0&&Ur<=0||Cr<=0&&Ur>=0)continue;if(Cr<=0&&(zt.marker.inclusiveRight&&re.inclusiveLeft?Kt(Yt.to,q)>=0:Kt(Yt.to,q)>0)||Cr>=0&&(zt.marker.inclusiveRight&&re.inclusiveLeft?Kt(Yt.from,J)<=0:Kt(Yt.from,J)<0))return!0}}function ta(I){for(var M;M=An(I);)I=M.find(-1,!0).line;return I}function Ii(I){for(var M;M=on(I);)I=M.find(1,!0).line;return I}function Ci(I){for(var M,q;M=on(I);)I=M.find(1,!0).line,(q||(q=[])).push(I);return q}function Gn(I,M){var q=te(I,M),J=ta(q);return q==J?M:$e(J)}function Oa(I,M){if(M>I.lastLine())return M;var q=te(I,M),J;if(!mn(I,q))return M;for(;J=on(q);)q=J.find(1,!0).line;return $e(q)+1}function mn(I,M){var q=Qr&&M.markedSpans;if(q)for(var J=void 0,re=0;re<q.length;++re){if(J=q[re],!J.marker.collapsed)continue;if(J.from==null)return!0;if(J.marker.widgetNode)continue;if(J.from==0&&J.marker.inclusiveLeft&&On(I,M,J))return!0}}function On(I,M,q){if(q.to==null){var J=q.marker.find(1,!0);return On(I,J.line,cr(J.line.markedSpans,q.marker))}if(q.marker.inclusiveRight&&q.to==M.text.length)return!0;for(var re=void 0,De=0;De<M.markedSpans.length;++De)if(re=M.markedSpans[De],re.marker.collapsed&&!re.marker.widgetNode&&re.from==q.to&&(re.to==null||re.to!=q.from)&&(re.marker.inclusiveLeft||q.marker.inclusiveRight)&&On(I,M,re))return!0}function Ln(I){I=ta(I);for(var M=0,q=I.parent,J=0;J<q.lines.length;++J){var re=q.lines[J];if(re==I)break;M+=re.height}for(var De=q.parent;De;q=De,De=q.parent)for(var mt=0;mt<De.children.length;++mt){var Nt=De.children[mt];if(Nt==q)break;M+=Nt.height}return M}function In(I){if(I.height==0)return 0;for(var M=I.text.length,q,J=I;q=An(J);){var re=q.find(0,!0);J=re.from.line,M+=re.from.ch-re.to.ch}for(J=I;q=on(J);){var De=q.find(0,!0);M-=J.text.length-De.from.ch,J=De.to.line,M+=J.text.length-De.to.ch}return M}function jn(I){var M=I.display,q=I.doc;M.maxLine=te(q,q.first),M.maxLineLength=In(M.maxLine),M.maxLineChanged=!0,q.iter(function(J){var re=In(J);re>M.maxLineLength&&(M.maxLineLength=re,M.maxLine=J)})}var ni=function(M,q,J){this.text=M,Pn(this,q),this.height=J?J(this):1};ni.prototype.lineNo=function(){return $e(this)},lt(ni);function di(I,M,q,J){I.text=M,I.stateAfter&&(I.stateAfter=null),I.styles&&(I.styles=null),I.order!=null&&(I.order=null),gn(I),Pn(I,q);var re=J?J(I):1;re!=I.height&&Re(I,re)}function Na(I){I.parent=null,gn(I)}var Qi={},ma={};function Ba(I,M){if(!I||/^\s*$/.test(I))return null;var q=M.addModeClass?ma:Qi;return q[I]||(q[I]=I.replace(/\S+/g,"cm-$&"))}function Qa(I,M){var q=k("span",null,null,i?"padding-right: .1px":null),J={pre:k("pre",[q],"CodeMirror-line"),content:q,col:0,pos:0,cm:I,trailingSpace:!1,splitSpaces:I.getOption("lineWrapping")};M.measure={};for(var re=0;re<=(M.rest?M.rest.length:0);re++){var De=re?M.rest[re-1]:M.line,mt=void 0;J.pos=0,J.addToken=Co,It(I.display.measure)&&(mt=vt(De,I.doc.direction))&&(J.addToken=Hi(J.addToken,mt)),J.map=[];var Nt=M!=I.display.externalMeasured&&$e(De);ha(De,J,ft(I,De,Nt)),De.styleClasses&&(De.styleClasses.bgClass&&(J.bgClass=R(De.styleClasses.bgClass,J.bgClass||"")),De.styleClasses.textClass&&(J.textClass=R(De.styleClasses.textClass,J.textClass||""))),J.map.length==0&&J.map.push(0,0,J.content.appendChild(ct(I.display.measure))),re==0?(M.measure.map=J.map,M.measure.cache={}):((M.measure.maps||(M.measure.maps=[])).push(J.map),(M.measure.caches||(M.measure.caches=[])).push({}))}if(i){var zt=J.content.lastChild;(/\bcm-tab\b/.test(zt.className)||zt.querySelector&&zt.querySelector(".cm-tab"))&&(J.content.className="cm-tab-wrap-hack")}return wt(I,"renderLine",I,M.line,J.pre),J.pre.className&&(J.textClass=R(J.pre.className,J.textClass||"")),J}function Wi(I){var M=N("span","\u2022","cm-invalidchar");return M.title="\\u"+I.charCodeAt(0).toString(16),M.setAttribute("aria-label",M.title),M}function Co(I,M,q,J,re,De,mt){if(!M)return;var Nt=I.splitSpaces?aa(M,I.trailingSpace):M,zt=I.cm.state.specialChars,Yt=!1,Cr;if(!zt.test(M))I.col+=M.length,Cr=document.createTextNode(Nt),I.map.push(I.pos,I.pos+M.length,Cr),c&&o<9&&(Yt=!0),I.pos+=M.length;else{Cr=document.createDocumentFragment();for(var Ur=0;;){zt.lastIndex=Ur;var en=zt.exec(M),nn=en?en.index-Ur:M.length-Ur;if(nn){var xn=document.createTextNode(Nt.slice(Ur,Ur+nn));c&&o<9?Cr.appendChild(N("span",[xn])):Cr.appendChild(xn),I.map.push(I.pos,I.pos+nn,xn),I.col+=nn,I.pos+=nn}if(!en)break;Ur+=nn+1;var Bn=void 0;if(en[0]==" "){var Zn=I.cm.options.tabSize,Jn=Zn-I.col%Zn;Bn=Cr.appendChild(N("span",Fe(Jn),"cm-tab")),Bn.setAttribute("role","presentation"),Bn.setAttribute("cm-text"," "),I.col+=Jn}else en[0]=="\r"||en[0]==`
`?(Bn=Cr.appendChild(N("span",en[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Bn.setAttribute("cm-text",en[0]),I.col+=1):(Bn=I.cm.options.specialCharPlaceholder(en[0]),Bn.setAttribute("cm-text",en[0]),c&&o<9?Cr.appendChild(N("span",[Bn])):Cr.appendChild(Bn),I.col+=1);I.map.push(I.pos,I.pos+1,Bn),I.pos++}}if(I.trailingSpace=Nt.charCodeAt(M.length-1)==32,q||J||re||Yt||De||mt){var oi=q||"";J&&(oi+=J),re&&(oi+=re);var li=N("span",[Cr],oi,De);if(mt)for(var qe in mt)mt.hasOwnProperty(qe)&&qe!="style"&&qe!="class"&&li.setAttribute(qe,mt[qe]);return I.content.appendChild(li)}I.content.appendChild(Cr)}function aa(I,M){if(I.length>1&&!/ /.test(I))return I;for(var q=M,J="",re=0;re<I.length;re++){var De=I.charAt(re);De==" "&&q&&(re==I.length-1||I.charCodeAt(re+1)==32)&&(De="\xA0"),J+=De,q=De==" "}return J}function Hi(I,M){return function(q,J,re,De,mt,Nt,zt){re=re?re+" cm-force-border":"cm-force-border";for(var Yt=q.pos,Cr=Yt+J.length;;){for(var Ur=void 0,en=0;en<M.length&&!(Ur=M[en],Ur.to>Yt&&Ur.from<=Yt);en++);if(Ur.to>=Cr)return I(q,J,re,De,mt,Nt,zt);I(q,J.slice(0,Ur.to-Yt),re,De,null,Nt,zt),De=null,J=J.slice(Ur.to-Yt),Yt=Ur.to}}}function ga(I,M,q,J){var re=!J&&q.widgetNode;re&&I.map.push(I.pos,I.pos+M,re),!J&&I.cm.display.input.needsContentAttribute&&(re||(re=I.content.appendChild(document.createElement("span"))),re.setAttribute("cm-marker",q.id)),re&&(I.cm.display.input.setUneditable(re),I.content.appendChild(re)),I.pos+=M,I.trailingSpace=!1}function ha(I,M,q){var J=I.markedSpans,re=I.text,De=0;if(!J){for(var mt=1;mt<q.length;mt+=2)M.addToken(M,re.slice(De,De=q[mt]),Ba(q[mt+1],M.cm.options));return}for(var Nt=re.length,zt=0,Yt=1,Cr="",Ur,en,nn=0,xn,Bn,Zn,Jn,oi;;){if(nn==zt){xn=Bn=Zn=en="",oi=null,Jn=null,nn=Infinity;for(var li=[],qe=void 0,Z=0;Z<J.length;++Z){var Me=J[Z],Je=Me.marker;if(Je.type=="bookmark"&&Me.from==zt&&Je.widgetNode)li.push(Je);else if(Me.from<=zt&&(Me.to==null||Me.to>zt||Je.collapsed&&Me.to==zt&&Me.from==zt)){if(Me.to!=null&&Me.to!=zt&&nn>Me.to&&(nn=Me.to,Bn=""),Je.className&&(xn+=" "+Je.className),Je.css&&(en=(en?en+";":"")+Je.css),Je.startStyle&&Me.from==zt&&(Zn+=" "+Je.startStyle),Je.endStyle&&Me.to==nn&&(qe||(qe=[])).push(Je.endStyle,Me.to),Je.title&&((oi||(oi={})).title=Je.title),Je.attributes)for(var Lt in Je.attributes)(oi||(oi={}))[Lt]=Je.attributes[Lt];Je.collapsed&&(!Jn||Yn(Jn.marker,Je)<0)&&(Jn=Me)}else Me.from>zt&&nn>Me.from&&(nn=Me.from)}if(qe)for(var tr=0;tr<qe.length;tr+=2)qe[tr+1]==nn&&(Bn+=" "+qe[tr]);if(!Jn||Jn.from==zt)for(var vr=0;vr<li.length;++vr)ga(M,0,li[vr]);if(Jn&&(Jn.from||0)==zt){if(ga(M,(Jn.to==null?Nt+1:Jn.to)-zt,Jn.marker,Jn.from==null),Jn.to==null)return;Jn.to==zt&&(Jn=!1)}}if(zt>=Nt)break;for(var _r=Math.min(Nt,nn);;){if(Cr){var Hr=zt+Cr.length;if(!Jn){var Kr=Hr>_r?Cr.slice(0,_r-zt):Cr;M.addToken(M,Kr,Ur?Ur+xn:xn,Zn,zt+Kr.length==nn?Bn:"",en,oi)}if(Hr>=_r){Cr=Cr.slice(_r-zt),zt=_r;break}zt=Hr,Zn=""}Cr=re.slice(De,De=q[Yt++]),Ur=Ba(q[Yt++],M.cm.options)}}}function mo(I,M,q){this.line=M,this.rest=Ci(M),this.size=this.rest?$e(Xe(this.rest))-q+1:1,this.node=this.text=null,this.hidden=mn(I,M)}function Fn(I,M,q){for(var J=[],re,De=M;De<q;De=re){var mt=new mo(I.doc,te(I.doc,De),De);re=De+mt.size,J.push(mt)}return J}var $i=null;function eo(I){$i?$i.ops.push(I):I.ownsGroup=$i={ops:[I],delayedCallbacks:[]}}function To(I){var M=I.delayedCallbacks,q=0;do{for(;q<M.length;q++)M[q].call(null);for(var J=0;J<I.ops.length;J++){var re=I.ops[J];if(re.cursorActivityHandlers)for(;re.cursorActivityCalled<re.cursorActivityHandlers.length;)re.cursorActivityHandlers[re.cursorActivityCalled++].call(null,re.cm)}}while(q<M.length)}function uo(I,M){var q=I.ownsGroup;if(!q)return;try{To(q)}finally{$i=null,M(q)}}var rr=null;function Tr(I,M){var q=Rt(I,M);if(!q.length)return;var J=Array.prototype.slice.call(arguments,2),re;$i?re=$i.delayedCallbacks:rr?re=rr:(re=rr=[],setTimeout(Pr,0));for(var De=function(zt){re.push(function(){return q[zt].apply(null,J)})},mt=0;mt<q.length;++mt)De(mt)}function Pr(){var I=rr;rr=null;for(var M=0;M<I.length;++M)I[M]()}function Wr(I,M,q,J){for(var re=0;re<M.changes.length;re++){var De=M.changes[re];De=="text"?Jt(I,M):De=="gutter"?Or(I,M,q,J):De=="class"?nr(I,M):De=="widget"&&wr(I,M,J)}M.changes=null}function hn(I){return I.node==I.text&&(I.node=N("div",null,null,"position: relative"),I.text.parentNode&&I.text.parentNode.replaceChild(I.node,I.text),I.node.appendChild(I.text),c&&o<8&&(I.node.style.zIndex=2)),I.node}function tt(I,M){var q=M.bgClass?M.bgClass+" "+(M.line.bgClass||""):M.line.bgClass;if(q&&(q+=" CodeMirror-linebackground"),M.background)q?M.background.className=q:(M.background.parentNode.removeChild(M.background),M.background=null);else if(q){var J=hn(M);M.background=J.insertBefore(N("div",null,q),J.firstChild),I.display.input.setUneditable(M.background)}}function jt(I,M){var q=I.display.externalMeasured;return q&&q.line==M.line?(I.display.externalMeasured=null,M.measure=q.measure,q.built):Qa(I,M)}function Jt(I,M){var q=M.text.className,J=jt(I,M);M.text==M.node&&(M.node=J.pre),M.text.parentNode.replaceChild(J.pre,M.text),M.text=J.pre,J.bgClass!=M.bgClass||J.textClass!=M.textClass?(M.bgClass=J.bgClass,M.textClass=J.textClass,nr(I,M)):q&&(M.text.className=q)}function nr(I,M){tt(I,M),M.line.wrapClass?hn(M).className=M.line.wrapClass:M.node!=M.text&&(M.node.className="");var q=M.textClass?M.textClass+" "+(M.line.textClass||""):M.line.textClass;M.text.className=q||""}function Or(I,M,q,J){if(M.gutter&&(M.node.removeChild(M.gutter),M.gutter=null),M.gutterBackground&&(M.node.removeChild(M.gutterBackground),M.gutterBackground=null),M.line.gutterClass){var re=hn(M);M.gutterBackground=N("div",null,"CodeMirror-gutter-background "+M.line.gutterClass,"left: "+(I.options.fixedGutter?J.fixedPos:-J.gutterTotalWidth)+"px; width: "+J.gutterTotalWidth+"px"),I.display.input.setUneditable(M.gutterBackground),re.insertBefore(M.gutterBackground,M.text)}var De=M.line.gutterMarkers;if(I.options.lineNumbers||De){var mt=hn(M),Nt=M.gutter=N("div",null,"CodeMirror-gutter-wrapper","left: "+(I.options.fixedGutter?J.fixedPos:-J.gutterTotalWidth)+"px");if(I.display.input.setUneditable(Nt),mt.insertBefore(Nt,M.text),M.line.gutterClass&&(Nt.className+=" "+M.line.gutterClass),I.options.lineNumbers&&(!De||!De["CodeMirror-linenumbers"])&&(M.lineNumber=Nt.appendChild(N("div",$t(I.options,q),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+J.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+I.display.lineNumInnerWidth+"px"))),De)for(var zt=0;zt<I.display.gutterSpecs.length;++zt){var Yt=I.display.gutterSpecs[zt].className,Cr=De.hasOwnProperty(Yt)&&De[Yt];Cr&&Nt.appendChild(N("div",[Cr],"CodeMirror-gutter-elt","left: "+J.gutterLeft[Yt]+"px; width: "+J.gutterWidth[Yt]+"px"))}}}function wr(I,M,q){M.alignable&&(M.alignable=null);for(var J=L("CodeMirror-linewidget"),re=M.node.firstChild,De=void 0;re;re=De)De=re.nextSibling,J.test(re.className)&&M.node.removeChild(re);zr(I,M,q)}function Er(I,M,q,J){var re=jt(I,M);return M.text=M.node=re.pre,re.bgClass&&(M.bgClass=re.bgClass),re.textClass&&(M.textClass=re.textClass),nr(I,M),Or(I,M,q,J),zr(I,M,J),M.node}function zr(I,M,q){if(Jr(I,M.line,M,q,!0),M.rest)for(var J=0;J<M.rest.length;J++)Jr(I,M.rest[J],M,q,!1)}function Jr(I,M,q,J,re){if(!M.widgets)return;for(var De=hn(q),mt=0,Nt=M.widgets;mt<Nt.length;++mt){var zt=Nt[mt],Yt=N("div",[zt.node],"CodeMirror-linewidget"+(zt.className?" "+zt.className:""));zt.handleMouseEvents||Yt.setAttribute("cm-ignore-events","true"),Zr(zt,Yt,q,J),I.display.input.setUneditable(Yt),re&&zt.above?De.insertBefore(Yt,q.gutter||q.text):De.appendChild(Yt),Tr(zt,"redraw")}}function Zr(I,M,q,J){if(I.noHScroll){(q.alignable||(q.alignable=[])).push(M);var re=J.wrapperWidth;M.style.left=J.fixedPos+"px",I.coverGutter||(re-=J.gutterTotalWidth,M.style.paddingLeft=J.gutterTotalWidth+"px"),M.style.width=re+"px"}I.coverGutter&&(M.style.zIndex=5,M.style.position="relative",I.noHScroll||(M.style.marginLeft=-J.gutterTotalWidth+"px"))}function an(I){if(I.height!=null)return I.height;var M=I.doc.cm;if(!M)return 0;if(!B(document.body,I.node)){var q="position: relative;";I.coverGutter&&(q+="margin-left: -"+M.display.gutters.offsetWidth+"px;"),I.noHScroll&&(q+="width: "+M.display.wrapper.clientWidth+"px;"),O(M.display.measure,N("div",[I.node],null,q))}return I.height=I.node.parentNode.offsetHeight}function St(I,M){for(var q=Qe(M);q!=I.wrapper;q=q.parentNode)if(!q||q.nodeType==1&&q.getAttribute("cm-ignore-events")=="true"||q.parentNode==I.sizer&&q!=I.mover)return!0}function Vt(I){return I.lineSpace.offsetTop}function sr(I){return I.mover.offsetHeight-I.lineSpace.offsetHeight}function br(I){if(I.cachedPaddingH)return I.cachedPaddingH;var M=O(I.measure,N("pre","x","CodeMirror-line-like")),q=window.getComputedStyle?window.getComputedStyle(M):M.currentStyle,J={left:parseInt(q.paddingLeft),right:parseInt(q.paddingRight)};return!isNaN(J.left)&&!isNaN(J.right)&&(I.cachedPaddingH=J),J}function Mr(I){return X-I.display.nativeBarWidth}function Dr(I){return I.display.scroller.clientWidth-Mr(I)-I.display.barWidth}function rn(I){return I.display.scroller.clientHeight-Mr(I)-I.display.barHeight}function fn(I,M,q){var J=I.options.lineWrapping,re=J&&Dr(I);if(!M.measure.heights||J&&M.measure.width!=re){var De=M.measure.heights=[];if(J){M.measure.width=re;for(var mt=M.text.firstChild.getClientRects(),Nt=0;Nt<mt.length-1;Nt++){var zt=mt[Nt],Yt=mt[Nt+1];Math.abs(zt.bottom-Yt.bottom)>2&&De.push((zt.bottom+Yt.top)/2-q.top)}}De.push(q.bottom-q.top)}}function wn(I,M,q){if(I.line==M)return{map:I.measure.map,cache:I.measure.cache};for(var J=0;J<I.rest.length;J++)if(I.rest[J]==M)return{map:I.measure.maps[J],cache:I.measure.caches[J]};for(var re=0;re<I.rest.length;re++)if($e(I.rest[re])>q)return{map:I.measure.maps[re],cache:I.measure.caches[re],before:!0}}function Hn(I,M){M=ta(M);var q=$e(M),J=I.display.externalMeasured=new mo(I.doc,M,q);J.lineN=q;var re=J.built=Qa(I,J);return J.text=re.pre,O(I.display.lineMeasure,re.pre),J}function Sn(I,M,q,J){return vn(I,Mn(I,M),q,J)}function bn(I,M){if(M>=I.display.viewFrom&&M<I.display.viewTo)return I.display.view[la(I,M)];var q=I.display.externalMeasured;if(q&&M>=q.lineN&&M<q.lineN+q.size)return q}function Mn(I,M){var q=$e(M),J=bn(I,q);J&&!J.text?J=null:J&&J.changes&&(Wr(I,J,q,Vi(I)),I.curOp.forceUpdate=!0),J||(J=Hn(I,M));var re=wn(J,M,q);return{line:M,view:J,rect:null,map:re.map,cache:re.cache,before:re.before,hasHeights:!1}}function vn(I,M,q,J,re){M.before&&(q=-1);var De=q+(J||""),mt;return M.cache.hasOwnProperty(De)?mt=M.cache[De]:(M.rect||(M.rect=M.view.text.getBoundingClientRect()),M.hasHeights||(fn(I,M.view,M.rect),M.hasHeights=!0),mt=Xn(I,M,q,J),mt.bogus||(M.cache[De]=mt)),{left:mt.left,right:mt.right,top:re?mt.rtop:mt.top,bottom:re?mt.rbottom:mt.bottom}}var Rn={left:0,right:0,top:0,bottom:0};function En(I,M,q){for(var J,re,De,mt,Nt,zt,Yt=0;Yt<I.length;Yt+=3)if(Nt=I[Yt],zt=I[Yt+1],M<Nt?(re=0,De=1,mt="left"):M<zt?(re=M-Nt,De=re+1):(Yt==I.length-3||M==zt&&I[Yt+3]>M)&&(De=zt-Nt,re=De-1,M>=zt&&(mt="right")),re!=null){if(J=I[Yt+2],Nt==zt&&q==(J.insertLeft?"left":"right")&&(mt=q),q=="left"&&re==0)for(;Yt&&I[Yt-2]==I[Yt-3]&&I[Yt-1].insertLeft;)J=I[(Yt-=3)+2],mt="left";if(q=="right"&&re==zt-Nt)for(;Yt<I.length-3&&I[Yt+3]==I[Yt+4]&&!I[Yt+5].insertLeft;)J=I[(Yt+=3)+2],mt="right";break}return{node:J,start:re,end:De,collapse:mt,coverStart:Nt,coverEnd:zt}}function _n(I,M){var q=Rn;if(M=="left")for(var J=0;J<I.length&&!((q=I[J]).left!=q.right);J++);else for(var re=I.length-1;re>=0&&!((q=I[re]).left!=q.right);re--);return q}function Xn(I,M,q,J){var re=En(M.map,q,J),De=re.node,mt=re.start,Nt=re.end,zt=re.collapse,Yt;if(De.nodeType==3){for(var Cr=0;Cr<4;Cr++){for(;mt&&Ce(M.line.text.charAt(re.coverStart+mt));)--mt;for(;re.coverStart+Nt<re.coverEnd&&Ce(M.line.text.charAt(re.coverStart+Nt));)++Nt;if(c&&o<9&&mt==0&&Nt==re.coverEnd-re.coverStart?Yt=De.parentNode.getBoundingClientRect():Yt=_n(F(De,mt,Nt).getClientRects(),J),Yt.left||Yt.right||mt==0)break;Nt=mt,mt=mt-1,zt="right"}c&&o<11&&(Yt=ai(I.display.measure,Yt))}else{mt>0&&(zt=J="right");var Ur;I.options.lineWrapping&&(Ur=De.getClientRects()).length>1?Yt=Ur[J=="right"?Ur.length-1:0]:Yt=De.getBoundingClientRect()}if(c&&o<9&&!mt&&(!Yt||!Yt.left&&!Yt.right)){var en=De.parentNode.getClientRects()[0];en?Yt={left:en.left,right:en.left+_i(I.display),top:en.top,bottom:en.bottom}:Yt=Rn}for(var nn=Yt.top-M.rect.top,xn=Yt.bottom-M.rect.top,Bn=(nn+xn)/2,Zn=M.view.measure.heights,Jn=0;Jn<Zn.length-1&&!(Bn<Zn[Jn]);Jn++);var oi=Jn?Zn[Jn-1]:0,li=Zn[Jn],qe={left:(zt=="right"?Yt.right:Yt.left)-M.rect.left,right:(zt=="left"?Yt.left:Yt.right)-M.rect.left,top:oi,bottom:li};return!Yt.left&&!Yt.right&&(qe.bogus=!0),I.options.singleCursorHeightPerLine||(qe.rtop=nn,qe.rbottom=xn),qe}function ai(I,M){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!fe(I))return M;var q=screen.logicalXDPI/screen.deviceXDPI,J=screen.logicalYDPI/screen.deviceYDPI;return{left:M.left*q,right:M.right*q,top:M.top*J,bottom:M.bottom*J}}function ri(I){if(I.measure&&(I.measure.cache={},I.measure.heights=null,I.rest))for(var M=0;M<I.rest.length;M++)I.measure.caches[M]={}}function Di(I){I.display.externalMeasure=null,C(I.display.lineMeasure);for(var M=0;M<I.display.view.length;M++)ri(I.display.view[M])}function yi(I){Di(I),I.display.cachedCharWidth=I.display.cachedTextHeight=I.display.cachedPaddingH=null,I.options.lineWrapping||(I.display.maxLineChanged=!0),I.display.lineNumChars=null}function xi(){return a&&d?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Li(){return a&&d?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Un(I){var M=0;if(I.widgets)for(var q=0;q<I.widgets.length;++q)I.widgets[q].above&&(M+=an(I.widgets[q]));return M}function Ri(I,M,q,J,re){if(!re){var De=Un(M);q.top+=De,q.bottom+=De}if(J=="line")return q;J||(J="local");var mt=Ln(M);if(J=="local"?mt+=Vt(I.display):mt-=I.display.viewOffset,J=="page"||J=="window"){var Nt=I.display.lineSpace.getBoundingClientRect();mt+=Nt.top+(J=="window"?0:Li());var zt=Nt.left+(J=="window"?0:xi());q.left+=zt,q.right+=zt}return q.top+=mt,q.bottom+=mt,q}function fa(I,M,q){if(q=="div")return M;var J=M.left,re=M.top;if(q=="page")J-=xi(),re-=Li();else if(q=="local"||!q){var De=I.display.sizer.getBoundingClientRect();J+=De.left,re+=De.top}var mt=I.display.lineSpace.getBoundingClientRect();return{left:J-mt.left,top:re-mt.top}}function Ui(I,M,q,J,re){return J||(J=te(I.doc,M.line)),Ri(I,J,Sn(I,J,M.ch,re),q)}function Mi(I,M,q,J,re,De){J=J||te(I.doc,M.line),re||(re=Mn(I,J));function mt(xn,Bn){var Zn=vn(I,re,xn,Bn?"right":"left",De);return Bn?Zn.left=Zn.right:Zn.right=Zn.left,Ri(I,J,Zn,q)}var Nt=vt(J,I.doc.direction),zt=M.ch,Yt=M.sticky;if(zt>=J.text.length?(zt=J.text.length,Yt="before"):zt<=0&&(zt=0,Yt="after"),!Nt)return mt(Yt=="before"?zt-1:zt,Yt=="before");function Cr(xn,Bn,Zn){var Jn=Nt[Bn],oi=Jn.level==1;return mt(Zn?xn-1:xn,oi!=Zn)}var Ur=Le(Nt,zt,Yt),en=ge,nn=Cr(zt,Ur,Yt=="before");return en!=null&&(nn.other=Cr(zt,en,Yt!="before")),nn}function mi(I,M){var q=0;M=st(I.doc,M),I.options.lineWrapping||(q=_i(I.display)*M.ch);var J=te(I.doc,M.line),re=Ln(J)+Vt(I.display);return{left:q,right:q,top:re,bottom:re+J.height}}function hi(I,M,q,J,re){var De=Dt(I,M,q);return De.xRel=re,J&&(De.outside=J),De}function qi(I,M,q){var J=I.doc;if(q+=I.display.viewOffset,q<0)return hi(J.first,0,null,-1,-1);var re=gt(J,q),De=J.first+J.size-1;if(re>De)return hi(J.first+J.size-1,te(J,De).text.length,null,1,1);M<0&&(M=0);for(var mt=te(J,re);;){var Nt=oa(I,mt,re,M,q),zt=ia(mt,Nt.ch+(Nt.xRel>0||Nt.outside>0?1:0));if(!zt)return Nt;var Yt=zt.find(1);if(Yt.line==re)return Yt;mt=te(J,re=Yt.line)}}function va(I,M,q,J){J-=Un(M);var re=M.text.length,De=Oe(function(mt){return vn(I,q,mt-1).bottom<=J},re,0);return re=Oe(function(mt){return vn(I,q,mt).top>J},De,re),{begin:De,end:re}}function Ea(I,M,q,J){q||(q=Mn(I,M));var re=Ri(I,M,vn(I,q,J),"line").top;return va(I,M,q,re)}function ya(I,M,q,J){return I.bottom<=q?!1:I.top>q?!0:(J?I.left:I.right)>M}function oa(I,M,q,J,re){re-=Ln(M);var De=Mn(I,M),mt=Un(M),Nt=0,zt=M.text.length,Yt=!0,Cr=vt(M,I.doc.direction);if(Cr){var Ur=(I.options.lineWrapping?Ni:sa)(I,M,q,De,Cr,J,re);Yt=Ur.level!=1,Nt=Yt?Ur.from:Ur.to-1,zt=Yt?Ur.to:Ur.from-1}var en=null,nn=null,xn=Oe(function(Z){var Me=vn(I,De,Z);return Me.top+=mt,Me.bottom+=mt,ya(Me,J,re,!1)?(Me.top<=re&&Me.left<=J&&(en=Z,nn=Me),!0):!1},Nt,zt),Bn,Zn,Jn=!1;if(nn){var oi=J-nn.left<nn.right-J,li=oi==Yt;xn=en+(li?0:1),Zn=li?"after":"before",Bn=oi?nn.left:nn.right}else{!Yt&&(xn==zt||xn==Nt)&&xn++,Zn=xn==0?"after":xn==M.text.length?"before":vn(I,De,xn-(Yt?1:0)).bottom+mt<=re==Yt?"after":"before";var qe=Mi(I,Dt(q,xn,Zn),"line",M,De);Bn=qe.left,Jn=re<qe.top?-1:re>=qe.bottom?1:0}return xn=ze(M.text,xn,1),hi(q,xn,Zn,Jn,J-Bn)}function sa(I,M,q,J,re,De,mt){var Nt=Oe(function(Ur){var en=re[Ur],nn=en.level!=1;return ya(Mi(I,Dt(q,nn?en.to:en.from,nn?"before":"after"),"line",M,J),De,mt,!0)},0,re.length-1),zt=re[Nt];if(Nt>0){var Yt=zt.level!=1,Cr=Mi(I,Dt(q,Yt?zt.from:zt.to,Yt?"after":"before"),"line",M,J);ya(Cr,De,mt,!0)&&Cr.top>mt&&(zt=re[Nt-1])}return zt}function Ni(I,M,q,J,re,De,mt){var Nt=va(I,M,J,mt),zt=Nt.begin,Yt=Nt.end;/\s/.test(M.text.charAt(Yt-1))&&Yt--;for(var Cr=null,Ur=null,en=0;en<re.length;en++){var nn=re[en];if(nn.from>=Yt||nn.to<=zt)continue;var xn=nn.level!=1,Bn=vn(I,J,xn?Math.min(Yt,nn.to)-1:Math.max(zt,nn.from)).right,Zn=Bn<De?De-Bn+1e9:Bn-De;(!Cr||Ur>Zn)&&(Cr=nn,Ur=Zn)}return Cr||(Cr=re[re.length-1]),Cr.from<zt&&(Cr={from:zt,to:Cr.to,level:Cr.level}),Cr.to>Yt&&(Cr={from:Cr.from,to:Yt,level:Cr.level}),Cr}var $n;function Ai(I){if(I.cachedTextHeight!=null)return I.cachedTextHeight;if($n==null){$n=N("pre",null,"CodeMirror-line-like");for(var M=0;M<49;++M)$n.appendChild(document.createTextNode("x")),$n.appendChild(N("br"));$n.appendChild(document.createTextNode("x"))}O(I.measure,$n);var q=$n.offsetHeight/50;return q>3&&(I.cachedTextHeight=q),C(I.measure),q||1}function _i(I){if(I.cachedCharWidth!=null)return I.cachedCharWidth;var M=N("span","xxxxxxxxxx"),q=N("pre",[M],"CodeMirror-line-like");O(I.measure,q);var J=M.getBoundingClientRect(),re=(J.right-J.left)/10;return re>2&&(I.cachedCharWidth=re),re||10}function Vi(I){for(var M=I.display,q={},J={},re=M.gutters.clientLeft,De=M.gutters.firstChild,mt=0;De;De=De.nextSibling,++mt){var Nt=I.display.gutterSpecs[mt].className;q[Nt]=De.offsetLeft+De.clientLeft+re,J[Nt]=De.clientWidth}return{fixedPos:Xi(M),gutterTotalWidth:M.gutters.offsetWidth,gutterLeft:q,gutterWidth:J,wrapperWidth:M.wrapper.clientWidth}}function Xi(I){return I.scroller.getBoundingClientRect().left-I.sizer.getBoundingClientRect().left}function bi(I){var M=Ai(I.display),q=I.options.lineWrapping,J=q&&Math.max(5,I.display.scroller.clientWidth/_i(I.display)-3);return function(re){if(mn(I.doc,re))return 0;var De=0;if(re.widgets)for(var mt=0;mt<re.widgets.length;mt++)re.widgets[mt].height&&(De+=re.widgets[mt].height);return q?De+(Math.ceil(re.text.length/J)||1)*M:De+M}}function Aa(I){var M=I.doc,q=bi(I);M.iter(function(J){var re=q(J);re!=J.height&&Re(J,re)})}function ca(I,M,q,J){var re=I.display;if(!q&&Qe(M).getAttribute("cm-not-content")=="true")return null;var De,mt,Nt=re.lineSpace.getBoundingClientRect();try{De=M.clientX-Nt.left,mt=M.clientY-Nt.top}catch(Ur){return null}var zt=qi(I,De,mt),Yt;if(J&&zt.xRel>0&&(Yt=te(I.doc,zt.line).text).length==zt.ch){var Cr=K(Yt,Yt.length,I.options.tabSize)-Yt.length;zt=Dt(zt.line,Math.max(0,Math.round((De-br(I.display).left)/_i(I.display))-Cr))}return zt}function la(I,M){if(M>=I.display.viewTo)return null;if(M-=I.display.viewFrom,M<0)return null;for(var q=I.display.view,J=0;J<q.length;J++)if(M-=q[J].size,M<0)return J}function gi(I,M,q,J){M==null&&(M=I.doc.first),q==null&&(q=I.doc.first+I.doc.size),J||(J=0);var re=I.display;if(J&&q<re.viewTo&&(re.updateLineNumbers==null||re.updateLineNumbers>M)&&(re.updateLineNumbers=M),I.curOp.viewChanged=!0,M>=re.viewTo)Qr&&Gn(I.doc,M)<re.viewTo&&Ma(I);else if(q<=re.viewFrom)Qr&&Oa(I.doc,q+J)>re.viewFrom?Ma(I):(re.viewFrom+=J,re.viewTo+=J);else if(M<=re.viewFrom&&q>=re.viewTo)Ma(I);else if(M<=re.viewFrom){var De=ra(I,q,q+J,1);De?(re.view=re.view.slice(De.index),re.viewFrom=De.lineN,re.viewTo+=J):Ma(I)}else if(q>=re.viewTo){var mt=ra(I,M,M,-1);mt?(re.view=re.view.slice(0,mt.index),re.viewTo=mt.lineN):Ma(I)}else{var Nt=ra(I,M,M,-1),zt=ra(I,q,q+J,1);Nt&&zt?(re.view=re.view.slice(0,Nt.index).concat(Fn(I,Nt.lineN,zt.lineN)).concat(re.view.slice(zt.index)),re.viewTo+=J):Ma(I)}var Yt=re.externalMeasured;Yt&&(q<Yt.lineN?Yt.lineN+=J:M<Yt.lineN+Yt.size&&(re.externalMeasured=null))}function Pa(I,M,q){I.curOp.viewChanged=!0;var J=I.display,re=I.display.externalMeasured;if(re&&M>=re.lineN&&M<re.lineN+re.size&&(J.externalMeasured=null),M<J.viewFrom||M>=J.viewTo)return;var De=J.view[la(I,M)];if(De.node==null)return;var mt=De.changes||(De.changes=[]);z(mt,q)==-1&&mt.push(q)}function Ma(I){I.display.viewFrom=I.display.viewTo=I.doc.first,I.display.view=[],I.display.viewOffset=0}function ra(I,M,q,J){var re=la(I,M),De,mt=I.display.view;if(!Qr||q==I.doc.first+I.doc.size)return{index:re,lineN:q};for(var Nt=I.display.viewFrom,zt=0;zt<re;zt++)Nt+=mt[zt].size;if(Nt!=M){if(J>0){if(re==mt.length-1)return null;De=Nt+mt[re].size-M,re++}else De=Nt-M;M+=De,q+=De}for(;Gn(I.doc,q)!=q;){if(re==(J<0?0:mt.length-1))return null;q+=J*mt[re-(J<0?1:0)].size,re+=J}return{index:re,lineN:q}}function Yi(I,M,q){var J=I.display,re=J.view;re.length==0||M>=J.viewTo||q<=J.viewFrom?(J.view=Fn(I,M,q),J.viewFrom=M):(J.viewFrom>M?J.view=Fn(I,M,J.viewFrom).concat(J.view):J.viewFrom<M&&(J.view=J.view.slice(la(I,M))),J.viewFrom=M,J.viewTo<q?J.view=J.view.concat(Fn(I,J.viewTo,q)):J.viewTo>q&&(J.view=J.view.slice(0,la(I,q)))),J.viewTo=q}function Xa(I){for(var M=I.display.view,q=0,J=0;J<M.length;J++){var re=M[J];!re.hidden&&(!re.node||re.changes)&&++q}return q}function Ki(I){I.display.input.showSelection(I.display.input.prepareSelection())}function zi(I,M){M===void 0&&(M=!0);for(var q=I.doc,J={},re=J.cursors=document.createDocumentFragment(),De=J.selection=document.createDocumentFragment(),mt=0;mt<q.sel.ranges.length;mt++){if(!M&&mt==q.sel.primIndex)continue;var Nt=q.sel.ranges[mt];if(Nt.from().line>=I.display.viewTo||Nt.to().line<I.display.viewFrom)continue;var zt=Nt.empty();(zt||I.options.showCursorWhenSelecting)&&ba(I,Nt.head,re),zt||wa(I,Nt,De)}return J}function ba(I,M,q){var J=Mi(I,M,"div",null,null,!I.options.singleCursorHeightPerLine),re=q.appendChild(N("div","\xA0","CodeMirror-cursor"));if(re.style.left=J.left+"px",re.style.top=J.top+"px",re.style.height=Math.max(0,J.bottom-J.top)*I.options.cursorHeight+"px",J.other){var De=q.appendChild(N("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));De.style.display="",De.style.left=J.other.left+"px",De.style.top=J.other.top+"px",De.style.height=(J.other.bottom-J.other.top)*.85+"px"}}function Ua(I,M){return I.top-M.top||I.left-M.left}function wa(I,M,q){var J=I.display,re=I.doc,De=document.createDocumentFragment(),mt=br(I.display),Nt=mt.left,zt=Math.max(J.sizerWidth,Dr(I)-J.sizer.offsetLeft)-mt.right,Yt=re.direction=="ltr";function Cr(li,qe,Z,Me){qe<0&&(qe=0),qe=Math.round(qe),Me=Math.round(Me),De.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
top: `+qe+"px; width: "+(Z==null?zt-li:Z)+`px;
height: `+(Me-qe)+"px"))}function Ur(li,qe,Z){var Me=te(re,li),Je=Me.text.length,Lt,tr;function vr(Kr,cn){return Ui(I,Dt(li,Kr),"div",Me,cn)}function _r(Kr,cn,sn){var kn=Ea(I,Me,null,Kr),si=cn=="ltr"==(sn=="after")?"left":"right",Kn=sn=="after"?kn.begin:kn.end-(/\s/.test(Me.text.charAt(kn.end-1))?2:1);return vr(Kn,si)[si]}var Hr=vt(Me,re.direction);return ae(Hr,qe||0,Z==null?Je:Z,function(Kr,cn,sn,kn){var si=sn=="ltr",Kn=vr(Kr,si?"left":"right"),fi=vr(cn-1,si?"right":"left"),da=qe==null&&Kr==0,Ti=Z==null&&cn==Je,na=kn==0,Ia=!Hr||kn==Hr.length-1;if(fi.top-Kn.top<=3){var Pi=(Yt?da:Ti)&&na,Io=(Yt?Ti:da)&&Ia,no=Pi?Nt:(si?Kn:fi).left,zo=Io?zt:(si?fi:Kn).right;Cr(no,Kn.top,zo-no,Kn.bottom)}else{var Po,Fa,Wo,fs;si?(Po=Yt&&da&&na?Nt:Kn.left,Fa=Yt?zt:_r(Kr,sn,"before"),Wo=Yt?Nt:_r(cn,sn,"after"),fs=Yt&&Ti&&Ia?zt:fi.right):(Po=Yt?_r(Kr,sn,"before"):Nt,Fa=!Yt&&da&&na?zt:Kn.right,Wo=!Yt&&Ti&&Ia?Nt:fi.left,fs=Yt?_r(cn,sn,"after"):zt),Cr(Po,Kn.top,Fa-Po,Kn.bottom),Kn.bottom<fi.top&&Cr(Nt,Kn.bottom,null,fi.top),Cr(Wo,fi.top,fs-Wo,fi.bottom)}(!Lt||Ua(Kn,Lt)<0)&&(Lt=Kn),Ua(fi,Lt)<0&&(Lt=fi),(!tr||Ua(Kn,tr)<0)&&(tr=Kn),Ua(fi,tr)<0&&(tr=fi)}),{start:Lt,end:tr}}var en=M.from(),nn=M.to();if(en.line==nn.line)Ur(en.line,en.ch,nn.ch);else{var xn=te(re,en.line),Bn=te(re,nn.line),Zn=ta(xn)==ta(Bn),Jn=Ur(en.line,en.ch,Zn?xn.text.length+1:null).end,oi=Ur(nn.line,Zn?0:null,nn.ch).start;Zn&&(Jn.top<oi.top-2?(Cr(Jn.right,Jn.top,null,Jn.bottom),Cr(Nt,oi.top,oi.left,oi.bottom)):Cr(Jn.right,Jn.top,oi.left-Jn.right,Jn.bottom)),Jn.bottom<oi.top&&Cr(Nt,Jn.bottom,null,oi.top)}q.appendChild(De)}function vi(I){if(!I.state.focused)return;var M=I.display;clearInterval(M.blinker);var q=!0;M.cursorDiv.style.visibility="",I.options.cursorBlinkRate>0?M.blinker=setInterval(function(){I.hasFocus()||Oi(I),M.cursorDiv.style.visibility=(q=!q)?"":"hidden"},I.options.cursorBlinkRate):I.options.cursorBlinkRate<0&&(M.cursorDiv.style.visibility="hidden")}function Ya(I){I.state.focused||(I.display.input.focus(),pa(I))}function Ka(I){I.state.delayingBlurEvent=!0,setTimeout(function(){I.state.delayingBlurEvent&&(I.state.delayingBlurEvent=!1,Oi(I))},100)}function pa(I,M){if(I.state.delayingBlurEvent&&(I.state.delayingBlurEvent=!1),I.options.readOnly=="nocursor")return;I.state.focused||(wt(I,"focus",I,M),I.state.focused=!0,W(I.display.wrapper,"CodeMirror-focused"),!I.curOp&&I.display.selForContextMenu!=I.doc.sel&&(I.display.input.reset(),i&&setTimeout(function(){return I.display.input.reset(!0)},20)),I.display.input.receivedFocus()),vi(I)}function Oi(I,M){if(I.state.delayingBlurEvent)return;I.state.focused&&(wt(I,"blur",I,M),I.state.focused=!1,y(I.display.wrapper,"CodeMirror-focused")),clearInterval(I.display.blinker),setTimeout(function(){I.state.focused||(I.display.shift=!1)},150)}function So(I){for(var M=I.display,q=M.lineDiv.offsetTop,J=0;J<M.view.length;J++){var re=M.view[J],De=I.options.lineWrapping,mt=void 0,Nt=0;if(re.hidden)continue;if(c&&o<8){var zt=re.node.offsetTop+re.node.offsetHeight;mt=zt-q,q=zt}else{var Yt=re.node.getBoundingClientRect();mt=Yt.bottom-Yt.top,!De&&re.text.firstChild&&(Nt=re.text.firstChild.getBoundingClientRect().right-Yt.left-1)}var Cr=re.line.height-mt;if((Cr>.005||Cr<-.005)&&(Re(re.line,mt),za(re.line),re.rest))for(var Ur=0;Ur<re.rest.length;Ur++)za(re.rest[Ur]);if(Nt>I.display.sizerWidth){var en=Math.ceil(Nt/_i(I.display));en>I.display.maxLineLength&&(I.display.maxLineLength=en,I.display.maxLine=re.line,I.display.maxLineChanged=!0)}}}function za(I){if(I.widgets)for(var M=0;M<I.widgets.length;++M){var q=I.widgets[M],J=q.node.parentNode;J&&(q.height=J.offsetHeight)}}function ja(I,M,q){var J=q&&q.top!=null?Math.max(0,q.top):I.scroller.scrollTop;J=Math.floor(J-Vt(I));var re=q&&q.bottom!=null?q.bottom:J+I.wrapper.clientHeight,De=gt(M,J),mt=gt(M,re);if(q&&q.ensure){var Nt=q.ensure.from.line,zt=q.ensure.to.line;Nt<De?(De=Nt,mt=gt(M,Ln(te(M,Nt))+I.wrapper.clientHeight)):Math.min(zt,M.lastLine())>=mt&&(De=gt(M,Ln(te(M,zt))-I.wrapper.clientHeight),mt=zt)}return{from:De,to:Math.max(mt,De+1)}}function qa(I,M){if(Ge(I,"scrollCursorIntoView"))return;var q=I.display,J=q.sizer.getBoundingClientRect(),re=null;if(M.top+J.top<0?re=!0:M.bottom+J.top>(window.innerHeight||document.documentElement.clientHeight)&&(re=!1),re!=null&&!t){var De=N("div","\u200B",null,`position: absolute;
top: `+(M.top-q.viewOffset-Vt(I.display))+`px;
height: `+(M.bottom-M.top+Mr(I)+q.barHeight)+`px;
left: `+M.left+"px; width: "+Math.max(2,M.right-M.left)+"px;");I.display.lineSpace.appendChild(De),De.scrollIntoView(re),I.display.lineSpace.removeChild(De)}}function ho(I,M,q,J){J==null&&(J=0);var re;!I.options.lineWrapping&&M==q&&(M=M.ch?Dt(M.line,M.sticky=="before"?M.ch-1:M.ch,"after"):M,q=M.sticky=="before"?Dt(M.line,M.ch+1,"before"):M);for(var De=0;De<5;De++){var mt=!1,Nt=Mi(I,M),zt=!q||q==M?Nt:Mi(I,q);re={left:Math.min(Nt.left,zt.left),top:Math.min(Nt.top,zt.top)-J,right:Math.max(Nt.left,zt.left),bottom:Math.max(Nt.bottom,zt.bottom)+J};var Yt=to(I,re),Cr=I.doc.scrollTop,Ur=I.doc.scrollLeft;if(Yt.scrollTop!=null&&(Gi(I,Yt.scrollTop),Math.abs(I.doc.scrollTop-Cr)>1&&(mt=!0)),Yt.scrollLeft!=null&&(go(I,Yt.scrollLeft),Math.abs(I.doc.scrollLeft-Ur)>1&&(mt=!0)),!mt)break}return re}function Ca(I,M){var q=to(I,M);q.scrollTop!=null&&Gi(I,q.scrollTop),q.scrollLeft!=null&&go(I,q.scrollLeft)}function to(I,M){var q=I.display,J=Ai(I.display);M.top<0&&(M.top=0);var re=I.curOp&&I.curOp.scrollTop!=null?I.curOp.scrollTop:q.scroller.scrollTop,De=rn(I),mt={};M.bottom-M.top>De&&(M.bottom=M.top+De);var Nt=I.doc.height+sr(q),zt=M.top<J,Yt=M.bottom>Nt-J;if(M.top<re)mt.scrollTop=zt?0:M.top;else if(M.bottom>re+De){var Cr=Math.min(M.top,(Yt?Nt:M.bottom)-De);Cr!=re&&(mt.scrollTop=Cr)}var Ur=I.options.fixedGutter?0:q.gutters.offsetWidth,en=I.curOp&&I.curOp.scrollLeft!=null?I.curOp.scrollLeft:q.scroller.scrollLeft-Ur,nn=Dr(I)-q.gutters.offsetWidth,xn=M.right-M.left>nn;return xn&&(M.right=M.left+nn),M.left<10?mt.scrollLeft=0:M.left<en?mt.scrollLeft=Math.max(0,M.left+Ur-(xn?0:10)):M.right>nn+en-3&&(mt.scrollLeft=M.right+(xn?0:10)-nn),mt}function Lo(I,M){if(M==null)return;Da(I),I.curOp.scrollTop=(I.curOp.scrollTop==null?I.doc.scrollTop:I.curOp.scrollTop)+M}function _a(I){Da(I);var M=I.getCursor();I.curOp.scrollToPos={from:M,to:M,margin:I.options.cursorScrollMargin}}function ki(I,M,q){(M!=null||q!=null)&&Da(I),M!=null&&(I.curOp.scrollLeft=M),q!=null&&(I.curOp.scrollTop=q)}function Ja(I,M){Da(I),I.curOp.scrollToPos=M}function Da(I){var M=I.curOp.scrollToPos;if(M){I.curOp.scrollToPos=null;var q=mi(I,M.from),J=mi(I,M.to);pi(I,q,J,M.margin)}}function pi(I,M,q,J){var re=to(I,{left:Math.min(M.left,q.left),top:Math.min(M.top,q.top)-J,right:Math.max(M.right,q.right),bottom:Math.max(M.bottom,q.bottom)+J});ki(I,re.scrollLeft,re.scrollTop)}function Gi(I,M){if(Math.abs(I.doc.scrollTop-M)<2)return;A||_o(I,{top:M}),oo(I,M,!0),A&&_o(I),ps(I,100)}function oo(I,M,q){if(M=Math.max(0,Math.min(I.display.scroller.scrollHeight-I.display.scroller.clientHeight,M)),I.display.scroller.scrollTop==M&&!q)return;I.doc.scrollTop=M,I.display.scrollbars.setScrollTop(M),I.display.scroller.scrollTop!=M&&(I.display.scroller.scrollTop=M)}function go(I,M,q,J){if(M=Math.max(0,Math.min(M,I.display.scroller.scrollWidth-I.display.scroller.clientWidth)),(q?M==I.doc.scrollLeft:Math.abs(I.doc.scrollLeft-M)<2)&&!J)return;I.doc.scrollLeft=M,ms(I),I.display.scroller.scrollLeft!=M&&(I.display.scroller.scrollLeft=M),I.display.scrollbars.setScrollLeft(M)}function fo(I){var M=I.display,q=M.gutters.offsetWidth,J=Math.round(I.doc.height+sr(I.display));return{clientHeight:M.scroller.clientHeight,viewHeight:M.wrapper.clientHeight,scrollWidth:M.scroller.scrollWidth,clientWidth:M.scroller.clientWidth,viewWidth:M.wrapper.clientWidth,barLeft:I.options.fixedGutter?q:0,docHeight:J,scrollHeight:J+Mr(I)+M.barHeight,nativeBarWidth:M.nativeBarWidth,gutterWidth:q}}var Ta=function(M,q,J){this.cm=J;var re=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),De=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");re.tabIndex=De.tabIndex=-1,M(re),M(De),Be(re,"scroll",function(){re.clientHeight&&q(re.scrollTop,"vertical")}),Be(De,"scroll",function(){De.clientWidth&&q(De.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&o<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ta.prototype.update=function(I){var M=I.scrollWidth>I.clientWidth+1,q=I.scrollHeight>I.clientHeight+1,J=I.nativeBarWidth;if(q){this.vert.style.display="block",this.vert.style.bottom=M?J+"px":"0";var re=I.viewHeight-(M?J:0);this.vert.firstChild.style.height=Math.max(0,I.scrollHeight-I.clientHeight+re)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(M){this.horiz.style.display="block",this.horiz.style.right=q?J+"px":"0",this.horiz.style.left=I.barLeft+"px";var De=I.viewWidth-I.barLeft-(q?J:0);this.horiz.firstChild.style.width=Math.max(0,I.scrollWidth-I.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&I.clientHeight>0&&(J==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:q?J:0,bottom:M?J:0}},Ta.prototype.setScrollLeft=function(I){this.horiz.scrollLeft!=I&&(this.horiz.scrollLeft=I),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ta.prototype.setScrollTop=function(I){this.vert.scrollTop!=I&&(this.vert.scrollTop=I),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ta.prototype.zeroWidthHack=function(){var I=b&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=I,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},Ta.prototype.enableZeroWidthBar=function(I,M,q){I.style.pointerEvents="auto";function J(){var re=I.getBoundingClientRect(),De=q=="vert"?document.elementFromPoint(re.right-1,(re.top+re.bottom)/2):document.elementFromPoint((re.right+re.left)/2,re.bottom-1);De!=I?I.style.pointerEvents="none":M.set(1e3,J)}M.set(1e3,J)},Ta.prototype.clear=function(){var I=this.horiz.parentNode;I.removeChild(this.horiz),I.removeChild(this.vert)};var Fi=function(){};Fi.prototype.update=function(){return{bottom:0,right:0}},Fi.prototype.setScrollLeft=function(){},Fi.prototype.setScrollTop=function(){},Fi.prototype.clear=function(){};function Ra(I,M){M||(M=fo(I));var q=I.display.barWidth,J=I.display.barHeight;Vo(I,M);for(var re=0;re<4&&q!=I.display.barWidth||J!=I.display.barHeight;re++)q!=I.display.barWidth&&I.options.lineWrapping&&So(I),Vo(I,fo(I)),q=I.display.barWidth,J=I.display.barHeight}function Vo(I,M){var q=I.display,J=q.scrollbars.update(M);q.sizer.style.paddingRight=(q.barWidth=J.right)+"px",q.sizer.style.paddingBottom=(q.barHeight=J.bottom)+"px",q.heightForcer.style.borderBottom=J.bottom+"px solid transparent",J.right&&J.bottom?(q.scrollbarFiller.style.display="block",q.scrollbarFiller.style.height=J.bottom+"px",q.scrollbarFiller.style.width=J.right+"px"):q.scrollbarFiller.style.display="",J.bottom&&I.options.coverGutterNextToScrollbar&&I.options.fixedGutter?(q.gutterFiller.style.display="block",q.gutterFiller.style.height=J.bottom+"px",q.gutterFiller.style.width=M.gutterWidth+"px"):q.gutterFiller.style.display=""}var ro={native:Ta,null:Fi};function vo(I){I.display.scrollbars&&(I.display.scrollbars.clear(),I.display.scrollbars.addClass&&y(I.display.wrapper,I.display.scrollbars.addClass)),I.display.scrollbars=new ro[I.options.scrollbarStyle](function(M){I.display.wrapper.insertBefore(M,I.display.scrollbarFiller),Be(M,"mousedown",function(){I.state.focused&&setTimeout(function(){return I.display.input.focus()},0)}),M.setAttribute("cm-not-content","true")},function(M,q){q=="horizontal"?go(I,M):Gi(I,M)},I),I.display.scrollbars.addClass&&W(I.display.wrapper,I.display.scrollbars.addClass)}var po=0;function Zi(I){I.curOp={cm:I,viewChanged:!1,startHeight:I.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++po},eo(I.curOp)}function xo(I){var M=I.curOp;M&&uo(M,function(q){for(var J=0;J<q.ops.length;J++)q.ops[J].cm.curOp=null;is(q)})}function is(I){for(var M=I.ops,q=0;q<M.length;q++)Jo(M[q]);for(var J=0;J<M.length;J++)Is(M[J]);for(var re=0;re<M.length;re++)Cs(M[re]);for(var De=0;De<M.length;De++)Ts(M[De]);for(var mt=0;mt<M.length;mt++)Go(M[mt])}function Jo(I){var M=I.cm,q=M.display;ss(M),I.updateMaxLine&&jn(M),I.mustUpdate=I.viewChanged||I.forceUpdate||I.scrollTop!=null||I.scrollToPos&&(I.scrollToPos.from.line<q.viewFrom||I.scrollToPos.to.line>=q.viewTo)||q.maxLineChanged&&M.options.lineWrapping,I.update=I.mustUpdate&&new Xo(M,I.mustUpdate&&{top:I.scrollTop,ensure:I.scrollToPos},I.forceUpdate)}function Is(I){I.updatedDisplay=I.mustUpdate&&La(I.cm,I.update)}function Cs(I){var M=I.cm,q=M.display;I.updatedDisplay&&So(M),I.barMeasure=fo(M),q.maxLineChanged&&!M.options.lineWrapping&&(I.adjustWidthTo=Sn(M,q.maxLine,q.maxLine.text.length).left+3,M.display.sizerWidth=I.adjustWidthTo,I.barMeasure.scrollWidth=Math.max(q.scroller.clientWidth,q.sizer.offsetLeft+I.adjustWidthTo+Mr(M)+M.display.barWidth),I.maxScrollLeft=Math.max(0,q.sizer.offsetLeft+I.adjustWidthTo-Dr(M))),(I.updatedDisplay||I.selectionChanged)&&(I.preparedSelection=q.input.prepareSelection())}function Ts(I){var M=I.cm;I.adjustWidthTo!=null&&(M.display.sizer.style.minWidth=I.adjustWidthTo+"px",I.maxScrollLeft<M.doc.scrollLeft&&go(M,Math.min(M.display.scroller.scrollLeft,I.maxScrollLeft),!0),M.display.maxLineChanged=!1);var q=I.focus&&I.focus==H();I.preparedSelection&&M.display.input.showSelection(I.preparedSelection,q),(I.updatedDisplay||I.startHeight!=M.doc.height)&&Ra(M,I.barMeasure),I.updatedDisplay&&rs(M,I.barMeasure),I.selectionChanged&&vi(M),M.state.focused&&I.updateInput&&M.display.input.reset(I.typing),q&&Ya(I.cm)}function Go(I){var M=I.cm,q=M.display,J=M.doc;if(I.updatedDisplay&&Oo(M,I.update),q.wheelStartX!=null&&(I.scrollTop!=null||I.scrollLeft!=null||I.scrollToPos)&&(q.wheelStartX=q.wheelStartY=null),I.scrollTop!=null&&oo(M,I.scrollTop,I.forceScroll),I.scrollLeft!=null&&go(M,I.scrollLeft,!0,!0),I.scrollToPos){var re=ho(M,st(J,I.scrollToPos.from),st(J,I.scrollToPos.to),I.scrollToPos.margin);qa(M,re)}var De=I.maybeHiddenMarkers,mt=I.maybeUnhiddenMarkers;if(De)for(var Nt=0;Nt<De.length;++Nt)De[Nt].lines.length||wt(De[Nt],"hide");if(mt)for(var zt=0;zt<mt.length;++zt)mt[zt].lines.length&&wt(mt[zt],"unhide");q.wrapper.offsetHeight&&(J.scrollTop=M.display.scroller.scrollTop),I.changeObjs&&wt(M,"changes",M,I.changeObjs),I.update&&I.update.finish()}function bo(I,M){if(I.curOp)return M();Zi(I);try{return M()}finally{xo(I)}}function Za(I,M){return function(){if(I.curOp)return M.apply(I,arguments);Zi(I);try{return M.apply(I,arguments)}finally{xo(I)}}}function Ga(I){return function(){if(this.curOp)return I.apply(this,arguments);Zi(this);try{return I.apply(this,arguments)}finally{xo(this)}}}function so(I){return function(){var M=this.cm;if(!M||M.curOp)return I.apply(this,arguments);Zi(M);try{return I.apply(this,arguments)}finally{xo(M)}}}function ps(I,M){I.doc.highlightFrontier<I.display.viewTo&&I.state.highlight.set(M,j(Sr,I))}function Sr(I){var M=I.doc;if(M.highlightFrontier>=I.display.viewTo)return;var q=+new Date+I.options.workTime,J=Ht(I,M.highlightFrontier),re=[];M.iter(J.line,Math.min(M.first+M.size,I.display.viewTo+500),function(De){if(J.line>=I.display.viewFrom){var mt=De.styles,Nt=De.text.length>I.options.maxHighlightLength?Ot(M.mode,J.state):null,zt=Tt(I,De,J,!0);Nt&&(J.state=Nt),De.styles=zt.styles;var Yt=De.styleClasses,Cr=zt.classes;Cr?De.styleClasses=Cr:Yt&&(De.styleClasses=null);for(var Ur=!mt||mt.length!=De.styles.length||Yt!=Cr&&(!Yt||!Cr||Yt.bgClass!=Cr.bgClass||Yt.textClass!=Cr.textClass),en=0;!Ur&&en<mt.length;++en)Ur=mt[en]!=De.styles[en];Ur&&re.push(J.line),De.stateAfter=J.save(),J.nextLine()}else De.text.length<=I.options.maxHighlightLength&&kt(I,De.text,J),De.stateAfter=J.line%5==0?J.save():null,J.nextLine();if(+new Date>q)return ps(I,I.options.workDelay),!0}),M.highlightFrontier=J.line,M.modeFrontier=Math.max(M.modeFrontier,J.line),re.length&&bo(I,function(){for(var De=0;De<re.length;De++)Pa(I,re[De],"text")})}var Xo=function(M,q,J){var re=M.display;this.viewport=q,this.visible=ja(re,M.doc,q),this.editorIsHidden=!re.wrapper.offsetWidth,this.wrapperHeight=re.wrapper.clientHeight,this.wrapperWidth=re.wrapper.clientWidth,this.oldDisplayWidth=Dr(M),this.force=J,this.dims=Vi(M),this.events=[]};Xo.prototype.signal=function(I,M){rt(I,M)&&this.events.push(arguments)},Xo.prototype.finish=function(){for(var I=0;I<this.events.length;I++)wt.apply(null,this.events[I])};function ss(I){var M=I.display;!M.scrollbarsClipped&&M.scroller.offsetWidth&&(M.nativeBarWidth=M.scroller.offsetWidth-M.scroller.clientWidth,M.heightForcer.style.height=Mr(I)+"px",M.sizer.style.marginBottom=-M.nativeBarWidth+"px",M.sizer.style.borderRightWidth=Mr(I)+"px",M.scrollbarsClipped=!0)}function Ls(I){if(I.hasFocus())return null;var M=H();if(!M||!B(I.display.lineDiv,M))return null;var q={activeElt:M};if(window.getSelection){var J=window.getSelection();J.anchorNode&&J.extend&&B(I.display.lineDiv,J.anchorNode)&&(q.anchorNode=J.anchorNode,q.anchorOffset=J.anchorOffset,q.focusNode=J.focusNode,q.focusOffset=J.focusOffset)}return q}function ka(I){if(!I||!I.activeElt||I.activeElt==H())return;if(I.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(I.activeElt.nodeName)&&I.anchorNode&&B(document.body,I.anchorNode)&&B(document.body,I.focusNode)){var M=window.getSelection(),q=document.createRange();q.setEnd(I.anchorNode,I.anchorOffset),q.collapse(!1),M.removeAllRanges(),M.addRange(q),M.extend(I.focusNode,I.focusOffset)}}function La(I,M){var q=I.display,J=I.doc;if(M.editorIsHidden)return Ma(I),!1;if(!M.force&&M.visible.from>=q.viewFrom&&M.visible.to<=q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo)&&q.renderedView==q.view&&Xa(I)==0)return!1;ls(I)&&(Ma(I),M.dims=Vi(I));var re=J.first+J.size,De=Math.max(M.visible.from-I.options.viewportMargin,J.first),mt=Math.min(re,M.visible.to+I.options.viewportMargin);q.viewFrom<De&&De-q.viewFrom<20&&(De=Math.max(J.first,q.viewFrom)),q.viewTo>mt&&q.viewTo-mt<20&&(mt=Math.min(re,q.viewTo)),Qr&&(De=Gn(I.doc,De),mt=Oa(I.doc,mt));var Nt=De!=q.viewFrom||mt!=q.viewTo||q.lastWrapHeight!=M.wrapperHeight||q.lastWrapWidth!=M.wrapperWidth;Yi(I,De,mt),q.viewOffset=Ln(te(I.doc,q.viewFrom)),I.display.mover.style.top=q.viewOffset+"px";var zt=Xa(I);if(!Nt&&zt==0&&!M.force&&q.renderedView==q.view&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo))return!1;var Yt=Ls(I);return zt>4&&(q.lineDiv.style.display="none"),ts(I,q.updateLineNumbers,M.dims),zt>4&&(q.lineDiv.style.display=""),q.renderedView=q.view,ka(Yt),C(q.cursorDiv),C(q.selectionDiv),q.gutters.style.height=q.sizer.style.minHeight=0,Nt&&(q.lastWrapHeight=M.wrapperHeight,q.lastWrapWidth=M.wrapperWidth,ps(I,400)),q.updateLineNumbers=null,!0}function Oo(I,M){for(var q=M.viewport,J=!0;;J=!1){if(!J||!I.options.lineWrapping||M.oldDisplayWidth==Dr(I)){if(q&&q.top!=null&&(q={top:Math.min(I.doc.height+sr(I.display)-rn(I),q.top)}),M.visible=ja(I.display,I.doc,q),M.visible.from>=I.display.viewFrom&&M.visible.to<=I.display.viewTo)break}else J&&(M.visible=ja(I.display,I.doc,q));if(!La(I,M))break;So(I);var re=fo(I);Ki(I),Ra(I,re),rs(I,re),M.force=!1}M.signal(I,"update",I),(I.display.viewFrom!=I.display.reportedViewFrom||I.display.viewTo!=I.display.reportedViewTo)&&(M.signal(I,"viewportChange",I,I.display.viewFrom,I.display.viewTo),I.display.reportedViewFrom=I.display.viewFrom,I.display.reportedViewTo=I.display.viewTo)}function _o(I,M){var q=new Xo(I,M);if(La(I,q)){So(I),Oo(I,q);var J=fo(I);Ki(I),Ra(I,J),rs(I,J),q.finish()}}function ts(I,M,q){var J=I.display,re=I.options.lineNumbers,De=J.lineDiv,mt=De.firstChild;function Nt(xn){var Bn=xn.nextSibling;return i&&b&&I.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),Bn}for(var zt=J.view,Yt=J.viewFrom,Cr=0;Cr<zt.length;Cr++){var Ur=zt[Cr];if(!Ur.hidden)if(!Ur.node||Ur.node.parentNode!=De){var en=Er(I,Ur,Yt,q);De.insertBefore(en,mt)}else{for(;mt!=Ur.node;)mt=Nt(mt);var nn=re&&M!=null&&M<=Yt&&Ur.lineNumber;Ur.changes&&(z(Ur.changes,"gutter")>-1&&(nn=!1),Wr(I,Ur,Yt,q)),nn&&(C(Ur.lineNumber),Ur.lineNumber.appendChild(document.createTextNode($t(I.options,Yt)))),mt=Ur.node.nextSibling}Yt+=Ur.size}for(;mt;)mt=Nt(mt)}function Bo(I){var M=I.gutters.offsetWidth;I.sizer.style.marginLeft=M+"px"}function rs(I,M){I.display.sizer.style.minHeight=M.docHeight+"px",I.display.heightForcer.style.top=M.docHeight+"px",I.display.gutters.style.height=M.docHeight+I.display.barHeight+Mr(I)+"px"}function ms(I){var M=I.display,q=M.view;if(!M.alignWidgets&&(!M.gutters.firstChild||!I.options.fixedGutter))return;for(var J=Xi(M)-M.scroller.scrollLeft+I.doc.scrollLeft,re=M.gutters.offsetWidth,De=J+"px",mt=0;mt<q.length;mt++)if(!q[mt].hidden){I.options.fixedGutter&&(q[mt].gutter&&(q[mt].gutter.style.left=De),q[mt].gutterBackground&&(q[mt].gutterBackground.style.left=De));var Nt=q[mt].alignable;if(Nt)for(var zt=0;zt<Nt.length;zt++)Nt[zt].style.left=De}I.options.fixedGutter&&(M.gutters.style.left=J+re+"px")}function ls(I){if(!I.options.lineNumbers)return!1;var M=I.doc,q=$t(I.options,M.first+M.size-1),J=I.display;if(q.length!=J.lineNumChars){var re=J.measure.appendChild(N("div",[N("div",q)],"CodeMirror-linenumber CodeMirror-gutter-elt")),De=re.firstChild.offsetWidth,mt=re.offsetWidth-De;return J.lineGutter.style.width="",J.lineNumInnerWidth=Math.max(De,J.lineGutter.offsetWidth-mt)+1,J.lineNumWidth=J.lineNumInnerWidth+mt,J.lineNumChars=J.lineNumInnerWidth?q.length:-1,J.lineGutter.style.width=J.lineNumWidth+"px",Bo(I.display),!0}return!1}function Ns(I,M){for(var q=[],J=!1,re=0;re<I.length;re++){var De=I[re],mt=null;if(typeof De!="string"&&(mt=De.style,De=De.className),De=="CodeMirror-linenumbers")if(M)J=!0;else continue;q.push({className:De,style:mt})}return M&&!J&&q.push({className:"CodeMirror-linenumbers",style:null}),q}function Ds(I){var M=I.gutters,q=I.gutterSpecs;C(M),I.lineGutter=null;for(var J=0;J<q.length;++J){var re=q[J],De=re.className,mt=re.style,Nt=M.appendChild(N("div",null,"CodeMirror-gutter "+De));mt&&(Nt.style.cssText=mt),De=="CodeMirror-linenumbers"&&(I.lineGutter=Nt,Nt.style.width=(I.lineNumWidth||1)+"px")}M.style.display=q.length?"":"none",Bo(I)}function as(I){Ds(I.display),gi(I),ms(I)}function $s(I,M,q,J){var re=this;this.input=q,re.scrollbarFiller=N("div",null,"CodeMirror-scrollbar-filler"),re.scrollbarFiller.setAttribute("cm-not-content","true"),re.gutterFiller=N("div",null,"CodeMirror-gutter-filler"),re.gutterFiller.setAttribute("cm-not-content","true"),re.lineDiv=k("div",null,"CodeMirror-code"),re.selectionDiv=N("div",null,null,"position: relative; z-index: 1"),re.cursorDiv=N("div",null,"CodeMirror-cursors"),re.measure=N("div",null,"CodeMirror-measure"),re.lineMeasure=N("div",null,"CodeMirror-measure"),re.lineSpace=k("div",[re.measure,re.lineMeasure,re.selectionDiv,re.cursorDiv,re.lineDiv],null,"position: relative; outline: none");var De=k("div",[re.lineSpace],"CodeMirror-lines");re.mover=N("div",[De],null,"position: relative"),re.sizer=N("div",[re.mover],"CodeMirror-sizer"),re.sizerWidth=null,re.heightForcer=N("div",null,null,"position: absolute; height: "+X+"px; width: 1px;"),re.gutters=N("div",null,"CodeMirror-gutters"),re.lineGutter=null,re.scroller=N("div",[re.sizer,re.heightForcer,re.gutters],"CodeMirror-scroll"),re.scroller.setAttribute("tabIndex","-1"),re.wrapper=N("div",[re.scrollbarFiller,re.gutterFiller,re.scroller],"CodeMirror"),c&&o<8&&(re.gutters.style.zIndex=-1,re.scroller.style.paddingRight=0),!i&&!(A&&p)&&(re.scroller.draggable=!0),I&&(I.appendChild?I.appendChild(re.wrapper):I(re.wrapper)),re.viewFrom=re.viewTo=M.first,re.reportedViewFrom=re.reportedViewTo=M.first,re.view=[],re.renderedView=null,re.externalMeasured=null,re.viewOffset=0,re.lastWrapHeight=re.lastWrapWidth=0,re.updateLineNumbers=null,re.nativeBarWidth=re.barHeight=re.barWidth=0,re.scrollbarsClipped=!1,re.lineNumWidth=re.lineNumInnerWidth=re.lineNumChars=null,re.alignWidgets=!1,re.cachedCharWidth=re.cachedTextHeight=re.cachedPaddingH=null,re.maxLine=null,re.maxLineLength=0,re.maxLineChanged=!1,re.wheelDX=re.wheelDY=re.wheelStartX=re.wheelStartY=null,re.shift=!1,re.selForContextMenu=null,re.activeTouch=null,re.gutterSpecs=Ns(J.gutters,J.lineNumbers),Ds(re),q.init(re)}var cs=0,Mo=null;c?Mo=-.53:A?Mo=15:a?Mo=-.7:r&&(Mo=-1/3);function Dn(I){var M=I.wheelDeltaX,q=I.wheelDeltaY;return M==null&&I.detail&&I.axis==I.HORIZONTAL_AXIS&&(M=I.detail),q==null&&I.detail&&I.axis==I.VERTICAL_AXIS?q=I.detail:q==null&&(q=I.wheelDelta),{x:M,y:q}}function Vs(I){var M=Dn(I);return M.x*=Mo,M.y*=Mo,M}function Os(I,M){var q=Dn(M),J=q.x,re=q.y,De=I.display,mt=De.scroller,Nt=mt.scrollWidth>mt.clientWidth,zt=mt.scrollHeight>mt.clientHeight;if(!(J&&Nt||re&&zt))return;if(re&&b&&i){e:for(var Yt=M.target,Cr=De.view;Yt!=mt;Yt=Yt.parentNode)for(var Ur=0;Ur<Cr.length;Ur++)if(Cr[Ur].node==Yt){I.display.currentWheelTarget=Yt;break e}}if(J&&!A&&!u&&Mo!=null){re&&zt&&Gi(I,Math.max(0,mt.scrollTop+re*Mo)),go(I,Math.max(0,mt.scrollLeft+J*Mo)),(!re||re&&zt)&&Ve(M),De.wheelStartX=null;return}if(re&&Mo!=null){var en=re*Mo,nn=I.doc.scrollTop,xn=nn+De.wrapper.clientHeight;en<0?nn=Math.max(0,nn+en-50):xn=Math.min(I.doc.height,xn+en+50),_o(I,{top:nn,bottom:xn})}cs<20&&(De.wheelStartX==null?(De.wheelStartX=mt.scrollLeft,De.wheelStartY=mt.scrollTop,De.wheelDX=J,De.wheelDY=re,setTimeout(function(){if(De.wheelStartX==null)return;var Bn=mt.scrollLeft-De.wheelStartX,Zn=mt.scrollTop-De.wheelStartY,Jn=Zn&&De.wheelDY&&Zn/De.wheelDY||Bn&&De.wheelDX&&Bn/De.wheelDX;if(De.wheelStartX=De.wheelStartY=null,!Jn)return;Mo=(Mo*cs+Jn)/(cs+1),++cs},200)):(De.wheelDX+=J,De.wheelDY+=re))}var Pt=function(M,q){this.ranges=M,this.primIndex=q};Pt.prototype.primary=function(){return this.ranges[this.primIndex]},Pt.prototype.equals=function(I){if(I==this)return!0;if(I.primIndex!=this.primIndex||I.ranges.length!=this.ranges.length)return!1;for(var M=0;M<this.ranges.length;M++){var q=this.ranges[M],J=I.ranges[M];if(!Gt(q.anchor,J.anchor)||!Gt(q.head,J.head))return!1}return!0},Pt.prototype.deepCopy=function(){for(var I=[],M=0;M<this.ranges.length;M++)I[M]=new oe(Qt(this.ranges[M].anchor),Qt(this.ranges[M].head));return new Pt(I,this.primIndex)},Pt.prototype.somethingSelected=function(){for(var I=0;I<this.ranges.length;I++)if(!this.ranges[I].empty())return!0;return!1},Pt.prototype.contains=function(I,M){M||(M=I);for(var q=0;q<this.ranges.length;q++){var J=this.ranges[q];if(Kt(M,J.from())>=0&&Kt(I,J.to())<=0)return q}return-1};var oe=function(M,q){this.anchor=M,this.head=q};oe.prototype.from=function(){return dr(this.anchor,this.head)},oe.prototype.to=function(){return Mt(this.anchor,this.head)},oe.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function xe(I,M,q){var J=I&&I.options.selectionsMayTouch,re=M[q];M.sort(function(en,nn){return Kt(en.from(),nn.from())}),q=z(M,re);for(var De=1;De<M.length;De++){var mt=M[De],Nt=M[De-1],zt=Kt(Nt.to(),mt.from());if(J&&!mt.empty()?zt>0:zt>=0){var Yt=dr(Nt.from(),mt.from()),Cr=Mt(Nt.to(),mt.to()),Ur=Nt.empty()?mt.from()==mt.head:Nt.from()==Nt.head;De<=q&&--q,M.splice(--De,2,new oe(Ur?Cr:Yt,Ur?Yt:Cr))}}return new Pt(M,q)}function Te(I,M){return new Pt([new oe(I,M||I)],0)}function We(I){return I.text?Dt(I.from.line+I.text.length-1,Xe(I.text).length+(I.text.length==1?I.from.ch:0)):I.to}function Et(I,M){if(Kt(I,M.from)<0)return I;if(Kt(I,M.to)<=0)return We(M);var q=I.line+M.text.length-(M.to.line-M.from.line)-1,J=I.ch;return I.line==M.to.line&&(J+=We(M).ch-M.to.ch),Dt(q,J)}function Ut(I,M){for(var q=[],J=0;J<I.sel.ranges.length;J++){var re=I.sel.ranges[J];q.push(new oe(Et(re.anchor,M),Et(re.head,M)))}return xe(I.cm,q,I.sel.primIndex)}function hr(I,M,q){return I.line==M.line?Dt(q.line,I.ch-M.ch+q.ch):Dt(q.line+(I.line-M.line),I.ch)}function gr(I,M,q){for(var J=[],re=Dt(I.first,0),De=re,mt=0;mt<M.length;mt++){var Nt=M[mt],zt=hr(Nt.from,re,De),Yt=hr(We(Nt),re,De);if(re=Nt.to,De=Yt,q=="around"){var Cr=I.sel.ranges[mt],Ur=Kt(Cr.head,Cr.anchor)<0;J[mt]=new oe(Ur?Yt:zt,Ur?zt:Yt)}else J[mt]=new oe(zt,zt)}return new Pt(J,I.sel.primIndex)}function Rr(I){I.doc.mode=Pe(I.options,I.doc.modeOption),$r(I)}function $r(I){I.doc.iter(function(M){M.stateAfter&&(M.stateAfter=null),M.styles&&(M.styles=null)}),I.doc.modeFrontier=I.doc.highlightFrontier=I.doc.first,ps(I,100),I.state.modeGen++,I.curOp&&gi(I)}function ln(I,M){return M.from.ch==0&&M.to.ch==0&&Xe(M.text)==""&&(!I.cm||I.cm.options.wholeLineUpdateBefore)}function yn(I,M,q,J){function re(oi){return q?q[oi]:null}function De(oi,li,qe){di(oi,li,qe,J),Tr(oi,"change",oi,M)}function mt(oi,li){for(var qe=[],Z=oi;Z<li;++Z)qe.push(new ni(Yt[Z],re(Z),J));return qe}var Nt=M.from,zt=M.to,Yt=M.text,Cr=te(I,Nt.line),Ur=te(I,zt.line),en=Xe(Yt),nn=re(Yt.length-1),xn=zt.line-Nt.line;if(M.full)I.insert(0,mt(0,Yt.length)),I.remove(Yt.length,I.size-Yt.length);else if(ln(I,M)){var Bn=mt(0,Yt.length-1);De(Ur,Ur.text,nn),xn&&I.remove(Nt.line,xn),Bn.length&&I.insert(Nt.line,Bn)}else if(Cr==Ur)if(Yt.length==1)De(Cr,Cr.text.slice(0,Nt.ch)+en+Cr.text.slice(zt.ch),nn);else{var Zn=mt(1,Yt.length-1);Zn.push(new ni(en+Cr.text.slice(zt.ch),nn,J)),De(Cr,Cr.text.slice(0,Nt.ch)+Yt[0],re(0)),I.insert(Nt.line+1,Zn)}else if(Yt.length==1)De(Cr,Cr.text.slice(0,Nt.ch)+Yt[0]+Ur.text.slice(zt.ch),re(0)),I.remove(Nt.line+1,xn);else{De(Cr,Cr.text.slice(0,Nt.ch)+Yt[0],re(0)),De(Ur,en+Ur.text.slice(zt.ch),nn);var Jn=mt(1,Yt.length-1);xn>1&&I.remove(Nt.line+1,xn-1),I.insert(Nt.line+1,Jn)}Tr(I,"change",I,M)}function Cn(I,M,q){function J(re,De,mt){if(re.linked)for(var Nt=0;Nt<re.linked.length;++Nt){var zt=re.linked[Nt];if(zt.doc==De)continue;var Yt=mt&&zt.sharedHist;if(q&&!Yt)continue;M(zt.doc,Yt),J(zt.doc,re,Yt)}}J(I,null,!0)}function Qn(I,M){if(M.cm)throw new Error("This document is already in use.");I.doc=M,M.cm=I,Aa(I),Rr(I),ti(I),I.options.lineWrapping||jn(I),I.options.mode=M.modeOption,gi(I)}function ti(I){(I.doc.direction=="rtl"?W:y)(I.display.lineDiv,"CodeMirror-rtl")}function wi(I){bo(I,function(){ti(I),gi(I)})}function ea(I){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=I||1}function ji(I,M){var q={from:Qt(M.from),to:We(M),text:be(I,M.from,M.to)};return ko(I,q,M.from.line,M.to.line+1),Cn(I,function(J){return ko(J,q,M.from.line,M.to.line+1)},!0),q}function Sa(I){for(;I.length;){var M=Xe(I);if(M.ranges)I.pop();else break}}function lo(I,M){if(M)return Sa(I.done),Xe(I.done);if(I.done.length&&!Xe(I.done).ranges)return Xe(I.done);if(I.done.length>1&&!I.done[I.done.length-2].ranges)return I.done.pop(),Xe(I.done)}function Wa(I,M,q,J){var re=I.history;re.undone.length=0;var De=+new Date,mt,Nt;if((re.lastOp==J||re.lastOrigin==M.origin&&M.origin&&(M.origin.charAt(0)=="+"&&re.lastModTime>De-(I.cm?I.cm.options.historyEventDelay:500)||M.origin.charAt(0)=="*"))&&(mt=lo(re,re.lastOp==J)))Nt=Xe(mt.changes),Kt(M.from,M.to)==0&&Kt(M.from,Nt.to)==0?Nt.to=We(M):mt.changes.push(ji(I,M));else{var zt=Xe(re.done);for((!zt||!zt.ranges)&&$a(I.sel,re.done),mt={changes:[ji(I,M)],generation:re.generation},re.done.push(mt);re.done.length>re.undoDepth;)re.done.shift(),re.done[0].ranges||re.done.shift()}re.done.push(q),re.generation=++re.maxGeneration,re.lastModTime=re.lastSelTime=De,re.lastOp=re.lastSelOp=J,re.lastOrigin=re.lastSelOrigin=M.origin,Nt||wt(I,"historyAdded")}function yo(I,M,q,J){var re=M.charAt(0);return re=="*"||re=="+"&&q.ranges.length==J.ranges.length&&q.somethingSelected()==J.somethingSelected()&&new Date-I.history.lastSelTime<=(I.cm?I.cm.options.historyEventDelay:500)}function Ao(I,M,q,J){var re=I.history,De=J&&J.origin;q==re.lastSelOp||De&&re.lastSelOrigin==De&&(re.lastModTime==re.lastSelTime&&re.lastOrigin==De||yo(I,De,Xe(re.done),M))?re.done[re.done.length-1]=M:$a(M,re.done),re.lastSelTime=+new Date,re.lastSelOrigin=De,re.lastSelOp=q,J&&J.clearRedo!==!1&&Sa(re.undone)}function $a(I,M){var q=Xe(M);q&&q.ranges&&q.equals(I)||M.push(I)}function ko(I,M,q,J){var re=M["spans_"+I.id],De=0;I.iter(Math.max(I.first,q),Math.min(I.first+I.size,J),function(mt){mt.markedSpans&&((re||(re=M["spans_"+I.id]={}))[De]=mt.markedSpans),++De})}function No(I){if(!I)return null;for(var M,q=0;q<I.length;++q)I[q].marker.explicitlyCleared?M||(M=I.slice(0,q)):M&&M.push(I[q]);return M?M.length?M:null:I}function Ha(I,M){var q=M["spans_"+I.id];if(!q)return null;for(var J=[],re=0;re<M.text.length;++re)J.push(No(q[re]));return J}function jo(I,M){var q=Ha(I,M),J=Nn(I,M);if(!q)return J;if(!J)return q;for(var re=0;re<q.length;++re){var De=q[re],mt=J[re];if(De&&mt){e:for(var Nt=0;Nt<mt.length;++Nt){for(var zt=mt[Nt],Yt=0;Yt<De.length;++Yt)if(De[Yt].marker==zt.marker)continue e;De.push(zt)}}else mt&&(q[re]=mt)}return q}function Fo(I,M,q){for(var J=[],re=0;re<I.length;++re){var De=I[re];if(De.ranges){J.push(q?Pt.prototype.deepCopy.call(De):De);continue}var mt=De.changes,Nt=[];J.push({changes:Nt});for(var zt=0;zt<mt.length;++zt){var Yt=mt[zt],Cr=void 0;if(Nt.push({from:Yt.from,to:Yt.to,text:Yt.text}),M)for(var Ur in Yt)(Cr=Ur.match(/^spans_(\d+)$/))&&(z(M,Number(Cr[1]))>-1&&(Xe(Nt)[Ur]=Yt[Ur],delete Yt[Ur]))}}return J}function Qo(I,M,q,J){if(J){var re=I.anchor;if(q){var De=Kt(M,re)<0;De!=Kt(q,re)<0?(re=M,M=q):De!=Kt(M,q)<0&&(M=q)}return new oe(re,M)}else return new oe(q||M,M)}function wo(I,M,q,J,re){re==null&&(re=I.cm&&(I.cm.display.shift||I.extend)),Eo(I,new Pt([Qo(I.sel.primary(),M,q,re)],0),J)}function us(I,M,q){for(var J=[],re=I.cm&&(I.cm.display.shift||I.extend),De=0;De<I.sel.ranges.length;De++)J[De]=Qo(I.sel.ranges[De],M[De],null,re);var mt=xe(I.cm,J,I.sel.primIndex);Eo(I,mt,q)}function ns(I,M,q,J){var re=I.sel.ranges.slice(0);re[M]=q,Eo(I,xe(I.cm,re,I.sel.primIndex),J)}function Xs(I,M,q,J){Eo(I,Te(M,q),J)}function Ys(I,M,q){var J={ranges:M.ranges,update:function(De){this.ranges=[];for(var mt=0;mt<De.length;mt++)this.ranges[mt]=new oe(st(I,De[mt].anchor),st(I,De[mt].head))},origin:q&&q.origin};return wt(I,"beforeSelectionChange",I,J),I.cm&&wt(I.cm,"beforeSelectionChange",I.cm,J),J.ranges!=M.ranges?xe(I.cm,J.ranges,J.ranges.length-1):M}function Yo(I,M,q){var J=I.history.done,re=Xe(J);re&&re.ranges?(J[J.length-1]=M,ds(I,M,q)):Eo(I,M,q)}function Eo(I,M,q){ds(I,M,q),Ao(I,I.sel,I.cm?I.cm.curOp.id:NaN,q)}function ds(I,M,q){(rt(I,"beforeSelectionChange")||I.cm&&rt(I.cm,"beforeSelectionChange"))&&(M=Ys(I,M,q));var J=q&&q.bias||(Kt(M.primary().head,I.sel.primary().head)<0?-1:1);hs(I,Do(I,M,J,!0)),!(q&&q.scroll===!1)&&I.cm&&_a(I.cm)}function hs(I,M){if(M.equals(I.sel))return;I.sel=M,I.cm&&(I.cm.curOp.updateInput=1,I.cm.curOp.selectionChanged=!0,et(I.cm)),Tr(I,"cursorActivity",I)}function Rs(I){hs(I,Do(I,I.sel,null,!1))}function Do(I,M,q,J){for(var re,De=0;De<M.ranges.length;De++){var mt=M.ranges[De],Nt=M.ranges.length==I.sel.ranges.length&&I.sel.ranges[De],zt=Ms(I,mt.anchor,Nt&&Nt.anchor,q,J),Yt=Ms(I,mt.head,Nt&&Nt.head,q,J);(re||zt!=mt.anchor||Yt!=mt.head)&&(re||(re=M.ranges.slice(0,De)),re[De]=new oe(zt,Yt))}return re?xe(I.cm,re,M.primIndex):M}function ys(I,M,q,J,re){var De=te(I,M.line);if(De.markedSpans)for(var mt=0;mt<De.markedSpans.length;++mt){var Nt=De.markedSpans[mt],zt=Nt.marker,Yt="selectLeft"in zt?!zt.selectLeft:zt.inclusiveLeft,Cr="selectRight"in zt?!zt.selectRight:zt.inclusiveRight;if((Nt.from==null||(Yt?Nt.from<=M.ch:Nt.from<M.ch))&&(Nt.to==null||(Cr?Nt.to>=M.ch:Nt.to>M.ch))){if(re&&(wt(zt,"beforeCursorEnter"),zt.explicitlyCleared))if(De.markedSpans){--mt;continue}else break;if(!zt.atomic)continue;if(q){var Ur=zt.find(J<0?1:-1),en=void 0;if((J<0?Cr:Yt)&&(Ur=As(I,Ur,-J,Ur&&Ur.line==M.line?De:null)),Ur&&Ur.line==M.line&&(en=Kt(Ur,q))&&(J<0?en<0:en>0))return ys(I,Ur,M,J,re)}var nn=zt.find(J<0?-1:1);return(J<0?Yt:Cr)&&(nn=As(I,nn,J,nn.line==M.line?De:null)),nn?ys(I,nn,M,J,re):null}}return M}function Ms(I,M,q,J,re){var De=J||1,mt=ys(I,M,q,De,re)||!re&&ys(I,M,q,De,!0)||ys(I,M,q,-De,re)||!re&&ys(I,M,q,-De,!0);return mt||(I.cantEdit=!0,Dt(I.first,0))}function As(I,M,q,J){return q<0&&M.ch==0?M.line>I.first?st(I,Dt(M.line-1)):null:q>0&&M.ch==(J||te(I,M.line)).text.length?M.line<I.first+I.size-1?Dt(M.line+1,0):null:new Dt(M.line,M.ch+q)}function ks(I){I.setSelection(Dt(I.firstLine(),0),Dt(I.lastLine()),le)}function Hs(I,M,q){var J={canceled:!1,from:M.from,to:M.to,text:M.text,origin:M.origin,cancel:function(){return J.canceled=!0}};return q&&(J.update=function(re,De,mt,Nt){re&&(J.from=st(I,re)),De&&(J.to=st(I,De)),mt&&(J.text=mt),Nt!==void 0&&(J.origin=Nt)}),wt(I,"beforeChange",I,J),I.cm&&wt(I.cm,"beforeChange",I.cm,J),J.canceled?(I.cm&&(I.cm.curOp.updateInput=2),null):{from:J.from,to:J.to,text:J.text,origin:J.origin}}function bs(I,M,q){if(I.cm){if(!I.cm.curOp)return Za(I.cm,bs)(I,M,q);if(I.cm.state.suppressEdits)return}if((rt(I,"beforeChange")||I.cm&&rt(I.cm,"beforeChange"))&&(M=Hs(I,M,!0),!M))return;var J=Lr&&!q&&Tn(I,M.from,M.to);if(J)for(var re=J.length-1;re>=0;--re)ua(I,{from:J[re].from,to:J[re].to,text:re?[""]:M.text,origin:M.origin});else ua(I,M)}function ua(I,M){if(M.text.length==1&&M.text[0]==""&&Kt(M.from,M.to)==0)return;var q=Ut(I,M);Wa(I,M,q,I.cm?I.cm.curOp.id:NaN),Wn(I,M,q,Nn(I,M));var J=[];Cn(I,function(re,De){!De&&z(J,re.history)==-1&&(Zo(re.history,M),J.push(re.history)),Wn(re,M,null,Nn(re,M))})}function ui(I,M,q){var J=I.cm&&I.cm.state.suppressEdits;if(J&&!q)return;for(var re=I.history,De,mt=I.sel,Nt=M=="undo"?re.done:re.undone,zt=M=="undo"?re.undone:re.done,Yt=0;Yt<Nt.length&&!(De=Nt[Yt],q?De.ranges&&!De.equals(I.sel):!De.ranges);Yt++);if(Yt==Nt.length)return;for(re.lastOrigin=re.lastSelOrigin=null;;)if(De=Nt.pop(),De.ranges){if($a(De,zt),q&&!De.equals(I.sel)){Eo(I,De,{clearRedo:!1});return}mt=De}else if(J){Nt.push(De);return}else break;var Cr=[];$a(mt,zt),zt.push({changes:Cr,generation:re.generation}),re.generation=De.generation||++re.maxGeneration;for(var Ur=rt(I,"beforeChange")||I.cm&&rt(I.cm,"beforeChange"),en=function(Zn){var Jn=De.changes[Zn];if(Jn.origin=M,Ur&&!Hs(I,Jn,!1))return Nt.length=0,{};Cr.push(ji(I,Jn));var oi=Zn?Ut(I,Jn):Xe(Nt);Wn(I,Jn,oi,jo(I,Jn)),!Zn&&I.cm&&I.cm.scrollIntoView({from:Jn.from,to:We(Jn)});var li=[];Cn(I,function(qe,Z){!Z&&z(li,qe.history)==-1&&(Zo(qe.history,Jn),li.push(qe.history)),Wn(qe,Jn,null,jo(qe,Jn))})},nn=De.changes.length-1;nn>=0;--nn){var xn=en(nn);if(xn)return xn.v}}function Bi(I,M){if(M==0)return;if(I.first+=M,I.sel=new Pt(dt(I.sel.ranges,function(re){return new oe(Dt(re.anchor.line+M,re.anchor.ch),Dt(re.head.line+M,re.head.ch))}),I.sel.primIndex),I.cm){gi(I.cm,I.first,I.first-M,M);for(var q=I.cm.display,J=q.viewFrom;J<q.viewTo;J++)Pa(I.cm,J,"gutter")}}function Wn(I,M,q,J){if(I.cm&&!I.cm.curOp)return Za(I.cm,Wn)(I,M,q,J);if(M.to.line<I.first){Bi(I,M.text.length-1-(M.to.line-M.from.line));return}if(M.from.line>I.lastLine())return;if(M.from.line<I.first){var re=M.text.length-1-(I.first-M.from.line);Bi(I,re),M={from:Dt(I.first,0),to:Dt(M.to.line+re,M.to.ch),text:[Xe(M.text)],origin:M.origin}}var De=I.lastLine();M.to.line>De&&(M={from:M.from,to:Dt(De,te(I,De).text.length),text:[M.text[0]],origin:M.origin}),M.removed=be(I,M.from,M.to),q||(q=Ut(I,M)),I.cm?io(I.cm,M,J):yn(I,M,J),ds(I,q,le),I.cantEdit&&Ms(I,Dt(I.firstLine(),0))&&(I.cantEdit=!1)}function io(I,M,q){var J=I.doc,re=I.display,De=M.from,mt=M.to,Nt=!1,zt=De.line;I.options.lineWrapping||(zt=$e(ta(te(J,De.line))),J.iter(zt,mt.line+1,function(nn){if(nn==re.maxLine)return Nt=!0,!0})),J.sel.contains(M.from,M.to)>-1&&et(I),yn(J,M,q,bi(I)),I.options.lineWrapping||(J.iter(zt,De.line+M.text.length,function(nn){var xn=In(nn);xn>re.maxLineLength&&(re.maxLine=nn,re.maxLineLength=xn,re.maxLineChanged=!0,Nt=!1)}),Nt&&(I.curOp.updateMaxLine=!0)),qr(J,De.line),ps(I,400);var Yt=M.text.length-(mt.line-De.line)-1;M.full?gi(I):De.line==mt.line&&M.text.length==1&&!ln(I.doc,M)?Pa(I,De.line,"text"):gi(I,De.line,mt.line+1,Yt);var Cr=rt(I,"changes"),Ur=rt(I,"change");if(Ur||Cr){var en={from:De,to:mt,text:M.text,removed:M.removed,origin:M.origin};Ur&&Tr(I,"change",I,en),Cr&&(I.curOp.changeObjs||(I.curOp.changeObjs=[])).push(en)}I.display.selForContextMenu=null}function qo(I,M,q,J,re){var De;J||(J=q),Kt(J,q)<0&&(De=[J,q],q=De[0],J=De[1]),typeof M=="string"&&(M=I.splitLines(M)),bs(I,{from:q,to:J,text:M,origin:re})}function gs(I,M,q,J){q<I.line?I.line+=J:M<I.line&&(I.line=M,I.ch=0)}function os(I,M,q,J){for(var re=0;re<I.length;++re){var De=I[re],mt=!0;if(De.ranges){De.copied||(De=I[re]=De.deepCopy(),De.copied=!0);for(var Nt=0;Nt<De.ranges.length;Nt++)gs(De.ranges[Nt].anchor,M,q,J),gs(De.ranges[Nt].head,M,q,J);continue}for(var zt=0;zt<De.changes.length;++zt){var Yt=De.changes[zt];if(q<Yt.from.line)Yt.from=Dt(Yt.from.line+J,Yt.from.ch),Yt.to=Dt(Yt.to.line+J,Yt.to.ch);else if(M<=Yt.to.line){mt=!1;break}}mt||(I.splice(0,re+1),re=0)}}function Zo(I,M){var q=M.from.line,J=M.to.line,re=M.text.length-(J-q)-1;os(I.done,q,J,re),os(I.undone,q,J,re)}function $o(I,M,q,J){var re=M,De=M;return typeof M=="number"?De=te(I,er(I,M)):re=$e(M),re==null?null:(J(De,re)&&I.cm&&Pa(I.cm,re,q),De)}function ws(I){this.lines=I,this.parent=null;for(var M=0,q=0;q<I.length;++q)I[q].parent=this,M+=I[q].height;this.height=M}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(M,q){for(var J=M,re=M+q;J<re;++J){var De=this.lines[J];this.height-=De.height,Na(De),Tr(De,"delete")}this.lines.splice(M,q)},collapse:function(M){M.push.apply(M,this.lines)},insertInner:function(M,q,J){this.height+=J,this.lines=this.lines.slice(0,M).concat(q).concat(this.lines.slice(M));for(var re=0;re<q.length;++re)q[re].parent=this},iterN:function(M,q,J){for(var re=M+q;M<re;++M)if(J(this.lines[M]))return!0}};function Ho(I){this.children=I;for(var M=0,q=0,J=0;J<I.length;++J){var re=I[J];M+=re.chunkSize(),q+=re.height,re.parent=this}this.size=M,this.height=q,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(M,q){this.size-=q;for(var J=0;J<this.children.length;++J){var re=this.children[J],De=re.chunkSize();if(M<De){var mt=Math.min(q,De-M),Nt=re.height;if(re.removeInner(M,mt),this.height-=Nt-re.height,De==mt&&(this.children.splice(J--,1),re.parent=null),(q-=mt)==0)break;M=0}else M-=De}if(this.size-q<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var zt=[];this.collapse(zt),this.children=[new ws(zt)],this.children[0].parent=this}},collapse:function(M){for(var q=0;q<this.children.length;++q)this.children[q].collapse(M)},insertInner:function(M,q,J){this.size+=q.length,this.height+=J;for(var re=0;re<this.children.length;++re){var De=this.children[re],mt=De.chunkSize();if(M<=mt){if(De.insertInner(M,q,J),De.lines&&De.lines.length>50){for(var Nt=De.lines.length%25+25,zt=Nt;zt<De.lines.length;){var Yt=new ws(De.lines.slice(zt,zt+=25));De.height-=Yt.height,this.children.splice(++re,0,Yt),Yt.parent=this}De.lines=De.lines.slice(0,Nt),this.maybeSpill()}break}M-=mt}},maybeSpill:function(){if(this.children.length<=10)return;var M=this;do{var q=M.children.splice(M.children.length-5,5),J=new Ho(q);if(M.parent){M.size-=J.size,M.height-=J.height;var De=z(M.parent.children,M);M.parent.children.splice(De+1,0,J)}else{var re=new Ho(M.children);re.parent=M,M.children=[re,J],M=re}J.parent=M.parent}while(M.children.length>10);M.parent.maybeSpill()},iterN:function(M,q,J){for(var re=0;re<this.children.length;++re){var De=this.children[re],mt=De.chunkSize();if(M<mt){var Nt=Math.min(q,mt-M);if(De.iterN(M,Nt,J))return!0;if((q-=Nt)==0)break;M=0}else M-=mt}}};var ll=function(M,q,J){if(J)for(var re in J)J.hasOwnProperty(re)&&(this[re]=J[re]);this.doc=M,this.node=q};ll.prototype.clear=function(){var I=this.doc.cm,M=this.line.widgets,q=this.line,J=$e(q);if(J==null||!M)return;for(var re=0;re<M.length;++re)M[re]==this&&M.splice(re--,1);M.length||(q.widgets=null);var De=an(this);Re(q,Math.max(0,q.height-De)),I&&(bo(I,function(){jl(I,q,-De),Pa(I,J,"widget")}),Tr(I,"lineWidgetCleared",I,this,J))},ll.prototype.changed=function(){var I=this,M=this.height,q=this.doc.cm,J=this.line;this.height=null;var re=an(this)-M;if(!re)return;mn(this.doc,J)||Re(J,J.height+re),q&&bo(q,function(){q.curOp.forceUpdate=!0,jl(q,J,re),Tr(q,"lineWidgetChanged",q,I,$e(J))})},lt(ll);function jl(I,M,q){Ln(M)<(I.curOp&&I.curOp.scrollTop||I.doc.scrollTop)&&Lo(I,q)}function cl(I,M,q,J){var re=new ll(I,q,J),De=I.cm;return De&&re.noHScroll&&(De.display.alignWidgets=!0),$o(I,M,"widget",function(mt){var Nt=mt.widgets||(mt.widgets=[]);if(re.insertAt==null?Nt.push(re):Nt.splice(Math.min(Nt.length-1,Math.max(0,re.insertAt)),0,re),re.line=mt,De&&!mn(I,mt)){var zt=Ln(mt)<I.scrollTop;Re(mt,mt.height+an(re)),zt&&Lo(De,re.height),De.curOp.forceUpdate=!0}return!0}),De&&Tr(De,"lineWidgetAdded",De,re,typeof M=="number"?M:$e(M)),re}var Nl=0,_s=function(M,q){this.lines=[],this.type=q,this.doc=M,this.id=++Nl};_s.prototype.clear=function(){if(this.explicitlyCleared)return;var I=this.doc.cm,M=I&&!I.curOp;if(M&&Zi(I),rt(this,"clear")){var q=this.find();q&&Tr(this,"clear",q.from,q.to)}for(var J=null,re=null,De=0;De<this.lines.length;++De){var mt=this.lines[De],Nt=cr(mt.markedSpans,this);I&&!this.collapsed?Pa(I,$e(mt),"text"):I&&(Nt.to!=null&&(re=$e(mt)),Nt.from!=null&&(J=$e(mt))),mt.markedSpans=fr(mt.markedSpans,Nt),Nt.from==null&&this.collapsed&&!mn(this.doc,mt)&&I&&Re(mt,Ai(I.display))}if(I&&this.collapsed&&!I.options.lineWrapping)for(var zt=0;zt<this.lines.length;++zt){var Yt=ta(this.lines[zt]),Cr=In(Yt);Cr>I.display.maxLineLength&&(I.display.maxLine=Yt,I.display.maxLineLength=Cr,I.display.maxLineChanged=!0)}J!=null&&I&&this.collapsed&&gi(I,J,re+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,I&&Rs(I.doc)),I&&Tr(I,"markerCleared",I,this,J,re),M&&xo(I),this.parent&&this.parent.clear()},_s.prototype.find=function(I,M){I==null&&this.type=="bookmark"&&(I=1);for(var q,J,re=0;re<this.lines.length;++re){var De=this.lines[re],mt=cr(De.markedSpans,this);if(mt.from!=null&&(q=Dt(M?De:$e(De),mt.from),I==-1))return q;if(mt.to!=null&&(J=Dt(M?De:$e(De),mt.to),I==1))return J}return q&&{from:q,to:J}},_s.prototype.changed=function(){var I=this,M=this.find(-1,!0),q=this,J=this.doc.cm;if(!M||!J)return;bo(J,function(){var re=M.line,De=$e(M.line),mt=bn(J,De);if(mt&&(ri(mt),J.curOp.selectionChanged=J.curOp.forceUpdate=!0),J.curOp.updateMaxLine=!0,!mn(q.doc,re)&&q.height!=null){var Nt=q.height;q.height=null;var zt=an(q)-Nt;zt&&Re(re,re.height+zt)}Tr(J,"markerChanged",J,I)})},_s.prototype.attachLine=function(I){if(!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(!M.maybeHiddenMarkers||z(M.maybeHiddenMarkers,this)==-1)&&(M.maybeUnhiddenMarkers||(M.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(I)},_s.prototype.detachLine=function(I){if(this.lines.splice(z(this.lines,I),1),!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(M.maybeHiddenMarkers||(M.maybeHiddenMarkers=[])).push(this)}},lt(_s);function Gs(I,M,q,J,re){if(J&&J.shared)return Hl(I,M,q,J,re);if(I.cm&&!I.cm.curOp)return Za(I.cm,Gs)(I,M,q,J,re);var De=new _s(I,re),mt=Kt(M,q);if(J&&P(J,De,!1),mt>0||mt==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=k("span",[De.replacedWith],"CodeMirror-widget"),J.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),J.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(xa(I,M.line,M,q,De)||M.line!=q.line&&xa(I,q.line,M,q,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");ur()}De.addToHistory&&Wa(I,{from:M,to:q,origin:"markText"},I.sel,NaN);var Nt=M.line,zt=I.cm,Yt;if(I.iter(Nt,q.line+1,function(Ur){zt&&De.collapsed&&!zt.options.lineWrapping&&ta(Ur)==zt.display.maxLine&&(Yt=!0),De.collapsed&&Nt!=M.line&&Re(Ur,0),xr(Ur,new pr(De,Nt==M.line?M.ch:null,Nt==q.line?q.ch:null)),++Nt}),De.collapsed&&I.iter(M.line,q.line+1,function(Ur){mn(I,Ur)&&Re(Ur,0)}),De.clearOnEnter&&Be(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(Ir(),(I.history.done.length||I.history.undone.length)&&I.clearHistory()),De.collapsed&&(De.id=++Nl,De.atomic=!0),zt){if(Yt&&(zt.curOp.updateMaxLine=!0),De.collapsed)gi(zt,M.line,q.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var Cr=M.line;Cr<=q.line;Cr++)Pa(zt,Cr,"text");De.atomic&&Rs(zt.doc),Tr(zt,"markerAdded",zt,De)}return De}var el=function(M,q){this.markers=M,this.primary=q;for(var J=0;J<M.length;++J)M[J].parent=this};el.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var I=0;I<this.markers.length;++I)this.markers[I].clear();Tr(this,"clear")},el.prototype.find=function(I,M){return this.primary.find(I,M)},lt(el);function Hl(I,M,q,J,re){J=P(J),J.shared=!1;var De=[Gs(I,M,q,J,re)],mt=De[0],Nt=J.widgetNode;return Cn(I,function(zt){Nt&&(J.widgetNode=Nt.cloneNode(!0)),De.push(Gs(zt,st(zt,M),st(zt,q),J,re));for(var Yt=0;Yt<zt.linked.length;++Yt)if(zt.linked[Yt].isParent)return;mt=Xe(De)}),new el(De,mt)}function Kl(I){return I.findMarks(Dt(I.first,0),I.clipPos(Dt(I.lastLine())),function(M){return M.parent})}function Dl(I,M){for(var q=0;q<M.length;q++){var J=M[q],re=J.find(),De=I.clipPos(re.from),mt=I.clipPos(re.to);if(Kt(De,mt)){var Nt=Gs(I,De,mt,J.primary,J.primary.type);J.markers.push(Nt),Nt.parent=J}}}function nc(I){for(var M=function(re){var De=I[re],mt=[De.primary.doc];Cn(De.primary.doc,function(Yt){return mt.push(Yt)});for(var Nt=0;Nt<De.markers.length;Nt++){var zt=De.markers[Nt];z(mt,zt.doc)==-1&&(zt.parent=null,De.markers.splice(Nt--,1))}},q=0;q<I.length;q++)M(q)}var ic=0,es=function I(M,q,J,re,De){if(!(this instanceof I))return new I(M,q,J,re,De);J==null&&(J=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=J,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=J;var mt=Dt(J,0);this.sel=Te(mt),this.history=new ea(null),this.id=++ic,this.modeOption=q,this.lineSep=re,this.direction=De=="rtl"?"rtl":"ltr",this.extend=!1,typeof M=="string"&&(M=this.splitLines(M)),yn(this,{from:mt,to:mt,text:M}),Eo(this,Te(mt),le)};es.prototype=at(Ho.prototype,{constructor:es,iter:function(M,q,J){J?this.iterN(M-this.first,q-M,J):this.iterN(this.first,this.first+this.size,M)},insert:function(M,q){for(var J=0,re=0;re<q.length;++re)J+=q[re].height;this.insertInner(M-this.first,q,J)},remove:function(M,q){this.removeInner(M-this.first,q)},getValue:function(M){var q=Ie(this,this.first,this.first+this.size);return M===!1?q:q.join(M||this.lineSeparator())},setValue:so(function(I){var M=Dt(this.first,0),q=this.first+this.size-1;bs(this,{from:M,to:Dt(q,te(this,q).text.length),text:this.splitLines(I),origin:"setValue",full:!0},!0),this.cm&&ki(this.cm,0,0),Eo(this,Te(M),le)}),replaceRange:function(M,q,J,re){q=st(this,q),J=J?st(this,J):q,qo(this,M,q,J,re)},getRange:function(M,q,J){var re=be(this,st(this,M),st(this,q));return J===!1?re:re.join(J||this.lineSeparator())},getLine:function(M){var q=this.getLineHandle(M);return q&&q.text},getLineHandle:function(M){if(Wt(this,M))return te(this,M)},getLineNumber:function(M){return $e(M)},getLineHandleVisualStart:function(M){return typeof M=="number"&&(M=te(this,M)),ta(M)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(M){return st(this,M)},getCursor:function(M){var q=this.sel.primary(),J;return M==null||M=="head"?J=q.head:M=="anchor"?J=q.anchor:M=="end"||M=="to"||M===!1?J=q.to():J=q.from(),J},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(I,M,q){Xs(this,st(this,typeof I=="number"?Dt(I,M||0):I),null,q)}),setSelection:so(function(I,M,q){Xs(this,st(this,I),st(this,M||I),q)}),extendSelection:so(function(I,M,q){wo(this,st(this,I),M&&st(this,M),q)}),extendSelections:so(function(I,M){us(this,ut(this,I),M)}),extendSelectionsBy:so(function(I,M){var q=dt(this.sel.ranges,I);us(this,ut(this,q),M)}),setSelections:so(function(I,M,q){if(!I.length)return;for(var J=[],re=0;re<I.length;re++)J[re]=new oe(st(this,I[re].anchor),st(this,I[re].head));M==null&&(M=Math.min(I.length-1,this.sel.primIndex)),Eo(this,xe(this.cm,J,M),q)}),addSelection:so(function(I,M,q){var J=this.sel.ranges.slice(0);J.push(new oe(st(this,I),st(this,M||I))),Eo(this,xe(this.cm,J,J.length-1),q)}),getSelection:function(M){for(var q=this.sel.ranges,J,re=0;re<q.length;re++){var De=be(this,q[re].from(),q[re].to());J=J?J.concat(De):De}return M===!1?J:J.join(M||this.lineSeparator())},getSelections:function(M){for(var q=[],J=this.sel.ranges,re=0;re<J.length;re++){var De=be(this,J[re].from(),J[re].to());M!==!1&&(De=De.join(M||this.lineSeparator())),q[re]=De}return q},replaceSelection:function(M,q,J){for(var re=[],De=0;De<this.sel.ranges.length;De++)re[De]=M;this.replaceSelections(re,q,J||"+input")},replaceSelections:so(function(I,M,q){for(var J=[],re=this.sel,De=0;De<re.ranges.length;De++){var mt=re.ranges[De];J[De]={from:mt.from(),to:mt.to(),text:this.splitLines(I[De]),origin:q}}for(var Nt=M&&M!="end"&&gr(this,J,M),zt=J.length-1;zt>=0;zt--)bs(this,J[zt]);Nt?Yo(this,Nt):this.cm&&_a(this.cm)}),undo:so(function(){ui(this,"undo")}),redo:so(function(){ui(this,"redo")}),undoSelection:so(function(){ui(this,"undo",!0)}),redoSelection:so(function(){ui(this,"redo",!0)}),setExtending:function(M){this.extend=M},getExtending:function(){return this.extend},historySize:function(){for(var M=this.history,q=0,J=0,re=0;re<M.done.length;re++)M.done[re].ranges||++q;for(var De=0;De<M.undone.length;De++)M.undone[De].ranges||++J;return{undo:q,redo:J}},clearHistory:function(){var M=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(q){return q.history=M.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(M){return M&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(M){return this.history.generation==(M||this.cleanGeneration)},getHistory:function(){return{done:Fo(this.history.done),undone:Fo(this.history.undone)}},setHistory:function(M){var q=this.history=new ea(this.history.maxGeneration);q.done=Fo(M.done.slice(0),null,!0),q.undone=Fo(M.undone.slice(0),null,!0)},setGutterMarker:so(function(I,M,q){return $o(this,I,"gutter",function(J){var re=J.gutterMarkers||(J.gutterMarkers={});return re[M]=q,!q&&se(re)&&(J.gutterMarkers=null),!0})}),clearGutter:so(function(I){var M=this;this.iter(function(q){q.gutterMarkers&&q.gutterMarkers[I]&&$o(M,q,"gutter",function(){return q.gutterMarkers[I]=null,se(q.gutterMarkers)&&(q.gutterMarkers=null),!0})})}),lineInfo:function(M){var q;if(typeof M=="number"){if(!Wt(this,M))return null;if(q=M,M=te(this,M),!M)return null}else if(q=$e(M),q==null)return null;return{line:q,handle:M,text:M.text,gutterMarkers:M.gutterMarkers,textClass:M.textClass,bgClass:M.bgClass,wrapClass:M.wrapClass,widgets:M.widgets}},addLineClass:so(function(I,M,q){return $o(this,I,M=="gutter"?"gutter":"class",function(J){var re=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass";if(!J[re])J[re]=q;else{if(L(q).test(J[re]))return!1;J[re]+=" "+q}return!0})}),removeLineClass:so(function(I,M,q){return $o(this,I,M=="gutter"?"gutter":"class",function(J){var re=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass",De=J[re];if(De)if(q==null)J[re]=null;else{var mt=De.match(L(q));if(!mt)return!1;var Nt=mt.index+mt[0].length;J[re]=De.slice(0,mt.index)+(!mt.index||Nt==De.length?"":" ")+De.slice(Nt)||null}else return!1;return!0})}),addLineWidget:so(function(I,M,q){return cl(this,I,M,q)}),removeLineWidget:function(M){M.clear()},markText:function(M,q,J){return Gs(this,st(this,M),st(this,q),J,J&&J.type||"range")},setBookmark:function(M,q){var J={replacedWith:q&&(q.nodeType==null?q.widget:q),insertLeft:q&&q.insertLeft,clearWhenEmpty:!1,shared:q&&q.shared,handleMouseEvents:q&&q.handleMouseEvents};return M=st(this,M),Gs(this,M,M,J,"bookmark")},findMarksAt:function(M){M=st(this,M);var q=[],J=te(this,M.line).markedSpans;if(J)for(var re=0;re<J.length;++re){var De=J[re];(De.from==null||De.from<=M.ch)&&(De.to==null||De.to>=M.ch)&&q.push(De.marker.parent||De.marker)}return q},findMarks:function(M,q,J){M=st(this,M),q=st(this,q);var re=[],De=M.line;return this.iter(M.line,q.line+1,function(mt){var Nt=mt.markedSpans;if(Nt)for(var zt=0;zt<Nt.length;zt++){var Yt=Nt[zt];!(Yt.to!=null&&De==M.line&&M.ch>=Yt.to||Yt.from==null&&De!=M.line||Yt.from!=null&&De==q.line&&Yt.from>=q.ch)&&(!J||J(Yt.marker))&&re.push(Yt.marker.parent||Yt.marker)}++De}),re},getAllMarks:function(){var M=[];return this.iter(function(q){var J=q.markedSpans;if(J)for(var re=0;re<J.length;++re)J[re].from!=null&&M.push(J[re].marker)}),M},posFromIndex:function(M){var q,J=this.first,re=this.lineSeparator().length;return this.iter(function(De){var mt=De.text.length+re;if(mt>M)return q=M,!0;M-=mt,++J}),st(this,Dt(J,q))},indexFromPos:function(M){M=st(this,M);var q=M.ch;if(M.line<this.first||M.ch<0)return 0;var J=this.lineSeparator().length;return this.iter(this.first,M.line,function(re){q+=re.text.length+J}),q},copy:function(M){var q=new es(Ie(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,M&&(q.history.undoDepth=this.history.undoDepth,q.setHistory(this.getHistory())),q},linkedDoc:function(M){M||(M={});var q=this.first,J=this.first+this.size;M.from!=null&&M.from>q&&(q=M.from),M.to!=null&&M.to<J&&(J=M.to);var re=new es(Ie(this,q,J),M.mode||this.modeOption,q,this.lineSep,this.direction);return M.sharedHist&&(re.history=this.history),(this.linked||(this.linked=[])).push({doc:re,sharedHist:M.sharedHist}),re.linked=[{doc:this,isParent:!0,sharedHist:M.sharedHist}],Dl(re,Kl(this)),re},unlinkDoc:function(M){if(M instanceof ot&&(M=M.doc),this.linked)for(var q=0;q<this.linked.length;++q){var J=this.linked[q];if(J.doc!=M)continue;this.linked.splice(q,1),M.unlinkDoc(this),nc(Kl(this));break}if(M.history==this.history){var re=[M.id];Cn(M,function(De){return re.push(De.id)},!0),M.history=new ea(null),M.history.done=Fo(this.history.done,re),M.history.undone=Fo(this.history.undone,re)}},iterLinkedDocs:function(M){Cn(this,M)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(M){return this.lineSep?M.split(this.lineSep):or(M)},lineSeparator:function(){return this.lineSep||`
`},setDirection:so(function(I){if(I!="rtl"&&(I="ltr"),I==this.direction)return;this.direction=I,this.iter(function(M){return M.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var tl=0;function ac(I){var M=this;if(bl(M),Ge(M,I)||St(M.display,I))return;Ve(I),c&&(tl=+new Date);var q=ca(M,I,!0),J=I.dataTransfer.files;if(!q||M.isReadOnly())return;if(J&&J.length&&window.FileReader&&window.File)for(var re=J.length,De=Array(re),mt=0,Nt=function(){++mt==re&&Za(M,function(){q=st(M.doc,q);var xn={from:q,to:q,text:M.doc.splitLines(De.filter(function(Bn){return Bn!=null}).join(M.doc.lineSeparator())),origin:"paste"};bs(M.doc,xn),Yo(M.doc,Te(st(M.doc,q),st(M.doc,We(xn))))})()},zt=function(xn,Bn){if(M.options.allowDropFileTypes&&z(M.options.allowDropFileTypes,xn.type)==-1){Nt();return}var Zn=new FileReader;Zn.onerror=function(){return Nt()},Zn.onload=function(){var Jn=Zn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Jn)){Nt();return}De[Bn]=Jn,Nt()},Zn.readAsText(xn)},Yt=0;Yt<J.length;Yt++)zt(J[Yt],Yt);else{if(M.state.draggingText&&M.doc.sel.contains(q)>-1){M.state.draggingText(I),setTimeout(function(){return M.display.input.focus()},20);return}try{var Cr=I.dataTransfer.getData("Text");if(Cr){var Ur;if(M.state.draggingText&&!M.state.draggingText.copy&&(Ur=M.listSelections()),ds(M.doc,Te(q,q)),Ur)for(var en=0;en<Ur.length;++en)qo(M.doc,"",Ur[en].anchor,Ur[en].head,"drag");M.replaceSelection(Cr,"around","paste"),M.display.input.focus()}}catch(nn){}}}function Rl(I,M){if(c&&(!I.state.draggingText||+new Date-tl<100)){it(M);return}if(Ge(I,M)||St(I.display,M))return;if(M.dataTransfer.setData("Text",I.getSelection()),M.dataTransfer.effectAllowed="copyMove",M.dataTransfer.setDragImage&&!r){var q=N("img",null,null,"position: fixed; left: 0; top: 0;");q.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",u&&(q.width=q.height=1,I.display.wrapper.appendChild(q),q._top=q.offsetTop),M.dataTransfer.setDragImage(q,0,0),u&&q.parentNode.removeChild(q)}}function Ml(I,M){var q=ca(I,M);if(!q)return;var J=document.createDocumentFragment();ba(I,q,J),I.display.dragCursor||(I.display.dragCursor=N("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),I.display.lineSpace.insertBefore(I.display.dragCursor,I.display.cursorDiv)),O(I.display.dragCursor,J)}function bl(I){I.display.dragCursor&&(I.display.lineSpace.removeChild(I.display.dragCursor),I.display.dragCursor=null)}function zl(I){if(!document.getElementsByClassName)return;for(var M=document.getElementsByClassName("CodeMirror"),q=[],J=0;J<M.length;J++){var re=M[J].CodeMirror;re&&q.push(re)}q.length&&q[0].operation(function(){for(var De=0;De<q.length;De++)I(q[De])})}var ul=!1;function Wl(){if(ul)return;oc(),ul=!0}function oc(){var I;Be(window,"resize",function(){I==null&&(I=setTimeout(function(){I=null,zl(sc)},100))}),Be(window,"blur",function(){return zl(Oi)})}function sc(I){var M=I.display;M.cachedCharWidth=M.cachedTextHeight=M.cachedPaddingH=null,M.scrollbarsClipped=!1,I.setSize()}for(var Fs={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},rl=0;rl<10;rl++)Fs[rl+48]=Fs[rl+96]=String(rl);for(var wl=65;wl<=90;wl++)Fs[wl]=String.fromCharCode(wl);for(var dl=1;dl<=12;dl++)Fs[dl+111]=Fs[dl+63235]="F"+dl;var Ss={};Ss.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ss.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ss.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ss.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ss.default=b?Ss.macDefault:Ss.pcDefault;function Ks(I){var M=I.split(/-(?!$)/);I=M[M.length-1];for(var q,J,re,De,mt=0;mt<M.length-1;mt++){var Nt=M[mt];if(/^(cmd|meta|m)$/i.test(Nt))De=!0;else if(/^a(lt)?$/i.test(Nt))q=!0;else if(/^(c|ctrl|control)$/i.test(Nt))J=!0;else if(/^s(hift)?$/i.test(Nt))re=!0;else throw new Error("Unrecognized modifier name: "+Nt)}return q&&(I="Alt-"+I),J&&(I="Ctrl-"+I),De&&(I="Cmd-"+I),re&&(I="Shift-"+I),I}function nl(I){var M={};for(var q in I)if(I.hasOwnProperty(q)){var J=I[q];if(/^(name|fallthrough|(de|at)tach)$/.test(q))continue;if(J=="..."){delete I[q];continue}for(var re=dt(q.split(" "),Ks),De=0;De<re.length;De++){var mt=void 0,Nt=void 0;De==re.length-1?(Nt=re.join(" "),mt=J):(Nt=re.slice(0,De+1).join(" "),mt="...");var zt=M[Nt];if(!zt)M[Nt]=mt;else if(zt!=mt)throw new Error("Inconsistent bindings for "+Nt)}delete I[q]}for(var Yt in M)I[Yt]=M[Yt];return I}function Ps(I,M,q,J){M=xl(M);var re=M.call?M.call(I,J):M[I];if(re===!1)return"nothing";if(re==="...")return"multi";if(re!=null&&q(re))return"handled";if(M.fallthrough){if(Object.prototype.toString.call(M.fallthrough)!="[object Array]")return Ps(I,M.fallthrough,q,J);for(var De=0;De<M.fallthrough.length;De++){var mt=Ps(I,M.fallthrough[De],q,J);if(mt)return mt}}}function Sl(I){var M=typeof I=="string"?I:Fs[I.keyCode];return M=="Ctrl"||M=="Alt"||M=="Shift"||M=="Mod"}function kl(I,M,q){var J=I;return M.altKey&&J!="Alt"&&(I="Alt-"+I),(x?M.metaKey:M.ctrlKey)&&J!="Ctrl"&&(I="Ctrl-"+I),(x?M.ctrlKey:M.metaKey)&&J!="Mod"&&(I="Cmd-"+I),!q&&M.shiftKey&&J!="Shift"&&(I="Shift-"+I),I}function Vl(I,M){if(u&&I.keyCode==34&&I.char)return!1;var q=Fs[I.keyCode];return q==null||I.altGraphKey?!1:(I.keyCode==3&&I.code&&(q=I.code),kl(q,I,M))}function xl(I){return typeof I=="string"?Ss[I]:I}function Qs(I,M){for(var q=I.doc.sel.ranges,J=[],re=0;re<q.length;re++){for(var De=M(q[re]);J.length&&Kt(De.from,Xe(J).to)<=0;){var mt=J.pop();if(Kt(mt.from,De.from)<0){De.from=mt.from;break}}J.push(De)}bo(I,function(){for(var Nt=J.length-1;Nt>=0;Nt--)qo(I.doc,"",J[Nt].from,J[Nt].to,"+delete");_a(I)})}function hl(I,M,q){var J=ze(I.text,M+q,q);return J<0||J>I.text.length?null:J}function il(I,M,q){var J=hl(I,M.ch,q);return J==null?null:new Dt(M.line,J,q<0?"after":"before")}function fl(I,M,q,J,re){if(I){M.doc.direction=="rtl"&&(re=-re);var De=vt(q,M.doc.direction);if(De){var mt=re<0?Xe(De):De[0],Nt=re<0==(mt.level==1),zt=Nt?"after":"before",Yt;if(mt.level>0||M.doc.direction=="rtl"){var Cr=Mn(M,q);Yt=re<0?q.text.length-1:0;var Ur=vn(M,Cr,Yt).top;Yt=Oe(function(en){return vn(M,Cr,en).top==Ur},re<0==(mt.level==1)?mt.from:mt.to-1,Yt),zt=="before"&&(Yt=hl(q,Yt,1))}else Yt=re<0?mt.to:mt.from;return new Dt(J,Yt,zt)}}return new Dt(J,re<0?q.text.length:0,re<0?"before":"after")}function El(I,M,q,J){var re=vt(M,I.doc.direction);if(!re)return il(M,q,J);q.ch>=M.text.length?(q.ch=M.text.length,q.sticky="before"):q.ch<=0&&(q.ch=0,q.sticky="after");var De=Le(re,q.ch,q.sticky),mt=re[De];if(I.doc.direction=="ltr"&&mt.level%2==0&&(J>0?mt.to>q.ch:mt.from<q.ch))return il(M,q,J);var Nt=function(oi,li){return hl(M,oi instanceof Dt?oi.ch:oi,li)},zt,Yt=function(oi){return I.options.lineWrapping?(zt=zt||Mn(I,M),Ea(I,M,zt,oi)):{begin:0,end:M.text.length}},Cr=Yt(q.sticky=="before"?Nt(q,-1):q.ch);if(I.doc.direction=="rtl"||mt.level==1){var Ur=mt.level==1==J<0,en=Nt(q,Ur?1:-1);if(en!=null&&(Ur?en<=mt.to&&en<=Cr.end:en>=mt.from&&en>=Cr.begin)){var nn=Ur?"before":"after";return new Dt(q.line,en,nn)}}var xn=function(oi,li,qe){for(var Z=function(vr,_r){return _r?new Dt(q.line,Nt(vr,1),"before"):new Dt(q.line,vr,"after")};oi>=0&&oi<re.length;oi+=li){var Me=re[oi],Je=li>0==(Me.level!=1),Lt=Je?qe.begin:Nt(qe.end,-1);if(Me.from<=Lt&&Lt<Me.to)return Z(Lt,Je);if(Lt=Je?Me.from:Nt(Me.to,-1),qe.begin<=Lt&&Lt<qe.end)return Z(Lt,Je)}},Bn=xn(De+J,J,Cr);if(Bn)return Bn;var Zn=J>0?Cr.end:Nt(Cr.begin,-1);return Zn!=null&&!(J>0&&Zn==M.text.length)&&(Bn=xn(J>0?0:re.length-1,J,Yt(Zn)),Bn)?Bn:null}var zs={selectAll:ks,singleSelection:function(M){return M.setSelection(M.getCursor("anchor"),M.getCursor("head"),le)},killLine:function(M){return Qs(M,function(q){if(q.empty()){var J=te(M.doc,q.head.line).text.length;return q.head.ch==J&&q.head.line<M.lastLine()?{from:q.head,to:Dt(q.head.line+1,0)}:{from:q.head,to:Dt(q.head.line,J)}}else return{from:q.from(),to:q.to()}})},deleteLine:function(M){return Qs(M,function(q){return{from:Dt(q.from().line,0),to:st(M.doc,Dt(q.to().line+1,0))}})},delLineLeft:function(M){return Qs(M,function(q){return{from:Dt(q.from().line,0),to:q.from()}})},delWrappedLineLeft:function(M){return Qs(M,function(q){var J=M.charCoords(q.head,"div").top+5,re=M.coordsChar({left:0,top:J},"div");return{from:re,to:q.from()}})},delWrappedLineRight:function(M){return Qs(M,function(q){var J=M.charCoords(q.head,"div").top+5,re=M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:J},"div");return{from:q.from(),to:re}})},undo:function(M){return M.undo()},redo:function(M){return M.redo()},undoSelection:function(M){return M.undoSelection()},redoSelection:function(M){return M.redoSelection()},goDocStart:function(M){return M.extendSelection(Dt(M.firstLine(),0))},goDocEnd:function(M){return M.extendSelection(Dt(M.lastLine()))},goLineStart:function(M){return M.extendSelectionsBy(function(q){return Xl(M,q.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(M){return M.extendSelectionsBy(function(q){return pl(M,q.head)},{origin:"+move",bias:1})},goLineEnd:function(M){return M.extendSelectionsBy(function(q){return Cl(M,q.head.line)},{origin:"+move",bias:-1})},goLineRight:function(M){return M.extendSelectionsBy(function(q){var J=M.cursorCoords(q.head,"div").top+5;return M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:J},"div")},me)},goLineLeft:function(M){return M.extendSelectionsBy(function(q){var J=M.cursorCoords(q.head,"div").top+5;return M.coordsChar({left:0,top:J},"div")},me)},goLineLeftSmart:function(M){return M.extendSelectionsBy(function(q){var J=M.cursorCoords(q.head,"div").top+5,re=M.coordsChar({left:0,top:J},"div");return re.ch<M.getLine(re.line).search(/\S/)?pl(M,q.head):re},me)},goLineUp:function(M){return M.moveV(-1,"line")},goLineDown:function(M){return M.moveV(1,"line")},goPageUp:function(M){return M.moveV(-1,"page")},goPageDown:function(M){return M.moveV(1,"page")},goCharLeft:function(M){return M.moveH(-1,"char")},goCharRight:function(M){return M.moveH(1,"char")},goColumnLeft:function(M){return M.moveH(-1,"column")},goColumnRight:function(M){return M.moveH(1,"column")},goWordLeft:function(M){return M.moveH(-1,"word")},goGroupRight:function(M){return M.moveH(1,"group")},goGroupLeft:function(M){return M.moveH(-1,"group")},goWordRight:function(M){return M.moveH(1,"word")},delCharBefore:function(M){return M.deleteH(-1,"codepoint")},delCharAfter:function(M){return M.deleteH(1,"char")},delWordBefore:function(M){return M.deleteH(-1,"word")},delWordAfter:function(M){return M.deleteH(1,"word")},delGroupBefore:function(M){return M.deleteH(-1,"group")},delGroupAfter:function(M){return M.deleteH(1,"group")},indentAuto:function(M){return M.indentSelection("smart")},indentMore:function(M){return M.indentSelection("add")},indentLess:function(M){return M.indentSelection("subtract")},insertTab:function(M){return M.replaceSelection(" ")},insertSoftTab:function(M){for(var q=[],J=M.listSelections(),re=M.options.tabSize,De=0;De<J.length;De++){var mt=J[De].from(),Nt=K(M.getLine(mt.line),mt.ch,re);q.push(Fe(re-Nt%re))}M.replaceSelections(q)},defaultTab:function(M){M.somethingSelected()?M.indentSelection("add"):M.execCommand("insertTab")},transposeChars:function(M){return bo(M,function(){for(var q=M.listSelections(),J=[],re=0;re<q.length;re++){if(!q[re].empty())continue;var De=q[re].head,mt=te(M.doc,De.line).text;if(mt){if(De.ch==mt.length&&(De=new Dt(De.line,De.ch-1)),De.ch>0)De=new Dt(De.line,De.ch+1),M.replaceRange(mt.charAt(De.ch-1)+mt.charAt(De.ch-2),Dt(De.line,De.ch-2),De,"+transpose");else if(De.line>M.doc.first){var Nt=te(M.doc,De.line-1).text;Nt&&(De=new Dt(De.line,1),M.replaceRange(mt.charAt(0)+M.doc.lineSeparator()+Nt.charAt(Nt.length-1),Dt(De.line-1,Nt.length-1),De,"+transpose"))}}J.push(new oe(De,De))}M.setSelections(J)})},newlineAndIndent:function(M){return bo(M,function(){for(var q=M.listSelections(),J=q.length-1;J>=0;J--)M.replaceRange(M.doc.lineSeparator(),q[J].anchor,q[J].head,"+input");q=M.listSelections();for(var re=0;re<q.length;re++)M.indentLine(q[re].from().line,null,!0);_a(M)})},openLine:function(M){return M.replaceSelection(`
`,"start")},toggleOverwrite:function(M){return M.toggleOverwrite()}};function Xl(I,M){var q=te(I.doc,M),J=ta(q);return J!=q&&(M=$e(J)),fl(!0,I,J,M,1)}function Cl(I,M){var q=te(I.doc,M),J=Ii(q);return J!=q&&(M=$e(J)),fl(!0,I,q,M,-1)}function pl(I,M){var q=Xl(I,M.line),J=te(I.doc,q.line),re=vt(J,I.doc.direction);if(!re||re[0].level==0){var De=Math.max(q.ch,J.text.search(/\S/)),mt=M.line==q.line&&M.ch<=De&&M.ch;return Dt(q.line,mt?0:De,q.sticky)}return q}function Tl(I,M,q){if(typeof M=="string"&&(M=zs[M],!M))return!1;I.display.input.ensurePolled();var J=I.display.shift,re=!1;try{I.isReadOnly()&&(I.state.suppressEdits=!0),q&&(I.display.shift=!1),re=M(I)!=G}finally{I.display.shift=J,I.state.suppressEdits=!1}return re}function Yl(I,M,q){for(var J=0;J<I.state.keyMaps.length;J++){var re=Ps(M,I.state.keyMaps[J],q,I);if(re)return re}return I.options.extraKeys&&Ps(M,I.options.extraKeys,q,I)||Ps(M,I.options.keyMap,q,I)}var Fl=new V;function ml(I,M,q,J){var re=I.state.keySeq;if(re){if(Sl(M))return"handled";if(/\'$/.test(M)?I.state.keySeq=null:Fl.set(50,function(){I.state.keySeq==re&&(I.state.keySeq=null,I.display.input.reset())}),Gl(I,re+" "+M,q,J))return!0}return Gl(I,M,q,J)}function Gl(I,M,q,J){var re=Yl(I,M,J);return re=="multi"&&(I.state.keySeq=M),re=="handled"&&Tr(I,"keyHandled",I,M,q),(re=="handled"||re=="multi")&&(Ve(q),vi(I)),!!re}function Js(I,M){var q=Vl(M,!0);return q?M.shiftKey&&!I.state.keySeq?ml(I,"Shift-"+q,M,function(J){return Tl(I,J,!0)})||ml(I,q,M,function(J){if(typeof J=="string"?/^go[A-Z]/.test(J):J.motion)return Tl(I,J)}):ml(I,q,M,function(J){return Tl(I,J)}):!1}function Ql(I,M,q){return ml(I,"'"+q+"'",M,function(J){return Tl(I,J,!0)})}var Ro=null;function Ws(I){var M=this;if(I.target&&I.target!=M.display.input.getField())return;if(M.curOp.focus=H(),Ge(M,I))return;c&&o<11&&I.keyCode==27&&(I.returnValue=!1);var q=I.keyCode;M.display.shift=q==16||I.shiftKey;var J=Js(M,I);u&&(Ro=J?q:null,!J&&q==88&&!Ae&&(b?I.metaKey:I.ctrlKey)&&M.replaceSelection("",null,"cut")),A&&!b&&!J&&q==46&&I.shiftKey&&!I.ctrlKey&&document.execCommand&&document.execCommand("cut"),q==18&&!/\bCodeMirror-crosshair\b/.test(M.display.lineDiv.className)&&al(M)}function al(I){var M=I.display.lineDiv;W(M,"CodeMirror-crosshair");function q(J){(J.keyCode==18||!J.altKey)&&(y(M,"CodeMirror-crosshair"),He(document,"keyup",q),He(document,"mouseover",q))}Be(document,"keyup",q),Be(document,"mouseover",q)}function Bs(I){I.keyCode==16&&(this.doc.sel.shift=!1),Ge(this,I)}function Us(I){var M=this;if(I.target&&I.target!=M.display.input.getField())return;if(St(M.display,I)||Ge(M,I)||I.ctrlKey&&!I.altKey||b&&I.metaKey)return;var q=I.keyCode,J=I.charCode;if(u&&q==Ro){Ro=null,Ve(I);return}if(u&&(!I.which||I.which<10)&&Js(M,I))return;var re=String.fromCharCode(J==null?q:J);if(re=="\b")return;if(Ql(M,I,re))return;M.display.input.onKeyPress(I)}var gl=400,xs=function(M,q,J){this.time=M,this.pos=q,this.button=J};xs.prototype.compare=function(I,M,q){return this.time+gl>I&&Kt(M,this.pos)==0&&q==this.button};var ol,Zs;function Pl(I,M){var q=+new Date;return Zs&&Zs.compare(q,I,M)?(ol=Zs=null,"triple"):ol&&ol.compare(q,I,M)?(Zs=new xs(q,I,M),ol=null,"double"):(ol=new xs(q,I,M),Zs=null,"single")}function Ll(I){var M=this,q=M.display;if(Ge(M,I)||q.activeTouch&&q.input.supportsTouch())return;if(q.input.ensurePolled(),q.shift=I.shiftKey,St(q,I)){i||(q.scroller.draggable=!1,setTimeout(function(){return q.scroller.draggable=!0},100));return}if(Ol(M,I))return;var J=ca(M,I),re=ye(I),De=J?Pl(J,re):"single";if(window.focus(),re==1&&M.state.selectingText&&M.state.selectingText(I),J&&vl(M,re,J,De,I))return;re==1?J?Bl(M,J,De,I):Qe(I)==q.scroller&&Ve(I):re==2?(J&&wo(M.doc,J),setTimeout(function(){return q.input.focus()},20)):re==3&&(T?M.display.input.onContextMenu(I):Ka(M))}function vl(I,M,q,J,re){var De="Click";return J=="double"?De="Double"+De:J=="triple"&&(De="Triple"+De),De=(M==1?"Left":M==2?"Middle":"Right")+De,ml(I,kl(De,re),re,function(mt){if(typeof mt=="string"&&(mt=zs[mt]),!mt)return!1;var Nt=!1;try{I.isReadOnly()&&(I.state.suppressEdits=!0),Nt=mt(I,q)!=G}finally{I.state.suppressEdits=!1}return Nt})}function ql(I,M,q){var J=I.getOption("configureMouse"),re=J?J(I,M,q):{};if(re.unit==null){var De=w?q.shiftKey&&q.metaKey:q.altKey;re.unit=De?"rectangle":M=="single"?"char":M=="double"?"word":"line"}return(re.extend==null||I.doc.extend)&&(re.extend=I.doc.extend||q.shiftKey),re.addNew==null&&(re.addNew=b?q.metaKey:q.ctrlKey),re.moveOnDrag==null&&(re.moveOnDrag=!(b?q.altKey:q.ctrlKey)),re}function Bl(I,M,q,J){c?setTimeout(j(Ya,I),0):I.curOp.focus=H();var re=ql(I,q,J),De=I.doc.sel,mt;I.options.dragDrop&&Zt&&!I.isReadOnly()&&q=="single"&&(mt=De.contains(M))>-1&&(Kt((mt=De.ranges[mt]).from(),M)<0||M.xRel>0)&&(Kt(mt.to(),M)>0||M.xRel<0)?yl(I,J,M,re):lc(I,J,M,re)}function yl(I,M,q,J){var re=I.display,De=!1,mt=Za(I,function(Yt){i&&(re.scroller.draggable=!1),I.state.draggingText=!1,He(re.wrapper.ownerDocument,"mouseup",mt),He(re.wrapper.ownerDocument,"mousemove",Nt),He(re.scroller,"dragstart",zt),He(re.scroller,"drop",mt),De||(Ve(Yt),J.addNew||wo(I.doc,q,null,null,J.extend),i&&!r||c&&o==9?setTimeout(function(){re.wrapper.ownerDocument.body.focus({preventScroll:!0}),re.input.focus()},20):re.input.focus())}),Nt=function(Cr){De=De||Math.abs(M.clientX-Cr.clientX)+Math.abs(M.clientY-Cr.clientY)>=10},zt=function(){return De=!0};i&&(re.scroller.draggable=!0),I.state.draggingText=mt,mt.copy=!J.moveOnDrag,re.scroller.dragDrop&&re.scroller.dragDrop(),Be(re.wrapper.ownerDocument,"mouseup",mt),Be(re.wrapper.ownerDocument,"mousemove",Nt),Be(re.scroller,"dragstart",zt),Be(re.scroller,"drop",mt),Ka(I),setTimeout(function(){return re.input.focus()},20)}function Jl(I,M,q){if(q=="char")return new oe(M,M);if(q=="word")return I.findWordAt(M);if(q=="line")return new oe(Dt(M.line,0),st(I.doc,Dt(M.line+1,0)));var J=q(I,M);return new oe(J.from,J.to)}function lc(I,M,q,J){var re=I.display,De=I.doc;Ve(M);var mt,Nt,zt=De.sel,Yt=zt.ranges;if(J.addNew&&!J.extend?(Nt=De.sel.contains(q),Nt>-1?mt=Yt[Nt]:mt=new oe(q,q)):(mt=De.sel.primary(),Nt=De.sel.primIndex),J.unit=="rectangle")J.addNew||(mt=new oe(q,q)),q=ca(I,M,!0,!0),Nt=-1;else{var Cr=Jl(I,q,J.unit);J.extend?mt=Qo(mt,Cr.anchor,Cr.head,J.extend):mt=Cr}J.addNew?Nt==-1?(Nt=Yt.length,Eo(De,xe(I,Yt.concat([mt]),Nt),{scroll:!1,origin:"*mouse"})):Yt.length>1&&Yt[Nt].empty()&&J.unit=="char"&&!J.extend?(Eo(De,xe(I,Yt.slice(0,Nt).concat(Yt.slice(Nt+1)),0),{scroll:!1,origin:"*mouse"}),zt=De.sel):ns(De,Nt,mt,Y):(Nt=0,Eo(De,new Pt([mt],0),Y),zt=De.sel);var Ur=q;function en(li){if(Kt(Ur,li)==0)return;if(Ur=li,J.unit=="rectangle"){for(var qe=[],Z=I.options.tabSize,Me=K(te(De,q.line).text,q.ch,Z),Je=K(te(De,li.line).text,li.ch,Z),Lt=Math.min(Me,Je),tr=Math.max(Me,Je),vr=Math.min(q.line,li.line),_r=Math.min(I.lastLine(),Math.max(q.line,li.line));vr<=_r;vr++){var Hr=te(De,vr).text,Kr=we(Hr,Lt,Z);Lt==tr?qe.push(new oe(Dt(vr,Kr),Dt(vr,Kr))):Hr.length>Kr&&qe.push(new oe(Dt(vr,Kr),Dt(vr,we(Hr,tr,Z))))}qe.length||qe.push(new oe(q,q)),Eo(De,xe(I,zt.ranges.slice(0,Nt).concat(qe),Nt),{origin:"*mouse",scroll:!1}),I.scrollIntoView(li)}else{var cn=mt,sn=Jl(I,li,J.unit),kn=cn.anchor,si;Kt(sn.anchor,kn)>0?(si=sn.head,kn=dr(cn.from(),sn.anchor)):(si=sn.anchor,kn=Mt(cn.to(),sn.head));var Kn=zt.ranges.slice(0);Kn[Nt]=Zl(I,new oe(st(De,kn),si)),Eo(De,xe(I,Kn,Nt),Y)}}var nn=re.wrapper.getBoundingClientRect(),xn=0;function Bn(li){var qe=++xn,Z=ca(I,li,!0,J.unit=="rectangle");if(!Z)return;if(Kt(Z,Ur)!=0){I.curOp.focus=H(),en(Z);var Me=ja(re,De);(Z.line>=Me.to||Z.line<Me.from)&&setTimeout(Za(I,function(){xn==qe&&Bn(li)}),150)}else{var Je=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;Je&&setTimeout(Za(I,function(){if(xn!=qe)return;re.scroller.scrollTop+=Je,Bn(li)}),50)}}function Zn(li){I.state.selectingText=!1,xn=Infinity,li&&(Ve(li),re.input.focus()),He(re.wrapper.ownerDocument,"mousemove",Jn),He(re.wrapper.ownerDocument,"mouseup",oi),De.history.lastSelOrigin=null}var Jn=Za(I,function(li){li.buttons===0||!ye(li)?Zn(li):Bn(li)}),oi=Za(I,Zn);I.state.selectingText=oi,Be(re.wrapper.ownerDocument,"mousemove",Jn),Be(re.wrapper.ownerDocument,"mouseup",oi)}function Zl(I,M){var q=M.anchor,J=M.head,re=te(I.doc,q.line);if(Kt(q,J)==0&&q.sticky==J.sticky)return M;var De=vt(re);if(!De)return M;var mt=Le(De,q.ch,q.sticky),Nt=De[mt];if(Nt.from!=q.ch&&Nt.to!=q.ch)return M;var zt=mt+(Nt.from==q.ch==(Nt.level!=1)?0:1);if(zt==0||zt==De.length)return M;var Yt;if(J.line!=q.line)Yt=(J.line-q.line)*(I.doc.direction=="ltr"?1:-1)>0;else{var Cr=Le(De,J.ch,J.sticky),Ur=Cr-mt||(J.ch-q.ch)*(Nt.level==1?-1:1);Cr==zt-1||Cr==zt?Yt=Ur<0:Yt=Ur>0}var en=De[zt+(Yt?-1:0)],nn=Yt==(en.level==1),xn=nn?en.from:en.to,Bn=nn?"after":"before";return q.ch==xn&&q.sticky==Bn?M:new oe(new Dt(q.line,xn,Bn),J)}function $l(I,M,q,J){var re,De;if(M.touches)re=M.touches[0].clientX,De=M.touches[0].clientY;else try{re=M.clientX,De=M.clientY}catch(en){return!1}if(re>=Math.floor(I.display.gutters.getBoundingClientRect().right))return!1;J&&Ve(M);var mt=I.display,Nt=mt.lineDiv.getBoundingClientRect();if(De>Nt.bottom||!rt(I,q))return $(M);De-=Nt.top-mt.viewOffset;for(var zt=0;zt<I.display.gutterSpecs.length;++zt){var Yt=mt.gutters.childNodes[zt];if(Yt&&Yt.getBoundingClientRect().right>=re){var Cr=gt(I.doc,De),Ur=I.display.gutterSpecs[zt];return wt(I,q,I,Cr,Ur.className,M),$(M)}}}function Ol(I,M){return $l(I,M,"gutterClick",!0)}function ec(I,M){if(St(I.display,M)||cc(I,M))return;if(Ge(I,M,"contextmenu"))return;T||I.display.input.onContextMenu(M)}function cc(I,M){return rt(I,"gutterContextMenu")?$l(I,M,"gutterContextMenu",!1):!1}function _l(I){I.display.wrapper.className=I.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+I.options.theme.replace(/(^|\s)\s*/g," cm-s-"),yi(I)}var js={toString:function(){return"CodeMirror.Init"}},Il={},Al={};function uc(I){var M=I.optionHandlers;function q(J,re,De,mt){I.defaults[J]=re,De&&(M[J]=mt?function(Nt,zt,Yt){Yt!=js&&De(Nt,zt,Yt)}:De)}I.defineOption=q,I.Init=js,q("value","",function(J,re){return J.setValue(re)},!0),q("mode",null,function(J,re){J.doc.modeOption=re,Rr(J)},!0),q("indentUnit",2,Rr,!0),q("indentWithTabs",!1),q("smartIndent",!0),q("tabSize",4,function(J){$r(J),yi(J),gi(J)},!0),q("lineSeparator",null,function(J,re){if(J.doc.lineSep=re,!re)return;var De=[],mt=J.doc.first;J.doc.iter(function(zt){for(var Yt=0;;){var Cr=zt.text.indexOf(re,Yt);if(Cr==-1)break;Yt=Cr+re.length,De.push(Dt(mt,Cr))}mt++});for(var Nt=De.length-1;Nt>=0;Nt--)qo(J.doc,re,De[Nt],Dt(De[Nt].line,De[Nt].ch+re.length))}),q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(J,re,De){J.state.specialChars=new RegExp(re.source+(re.test(" ")?"":"| "),"g"),De!=js&&J.refresh()}),q("specialCharPlaceholder",Wi,function(J){return J.refresh()},!0),q("electricChars",!0),q("inputStyle",p?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),q("spellcheck",!1,function(J,re){return J.getInputField().spellcheck=re},!0),q("autocorrect",!1,function(J,re){return J.getInputField().autocorrect=re},!0),q("autocapitalize",!1,function(J,re){return J.getInputField().autocapitalize=re},!0),q("rtlMoveVisually",!E),q("wholeLineUpdateBefore",!0),q("theme","default",function(J){_l(J),as(J)},!0),q("keyMap","default",function(J,re,De){var mt=xl(re),Nt=De!=js&&xl(De);Nt&&Nt.detach&&Nt.detach(J,mt),mt.attach&&mt.attach(J,Nt||null)}),q("extraKeys",null),q("configureMouse",null),q("lineWrapping",!1,sl,!0),q("gutters",[],function(J,re){J.display.gutterSpecs=Ns(re,J.options.lineNumbers),as(J)},!0),q("fixedGutter",!0,function(J,re){J.display.gutters.style.left=re?Xi(J.display)+"px":"0",J.refresh()},!0),q("coverGutterNextToScrollbar",!1,function(J){return Ra(J)},!0),q("scrollbarStyle","native",function(J){vo(J),Ra(J),J.display.scrollbars.setScrollTop(J.doc.scrollTop),J.display.scrollbars.setScrollLeft(J.doc.scrollLeft)},!0),q("lineNumbers",!1,function(J,re){J.display.gutterSpecs=Ns(J.options.gutters,re),as(J)},!0),q("firstLineNumber",1,as,!0),q("lineNumberFormatter",function(J){return J},as,!0),q("showCursorWhenSelecting",!1,Ki,!0),q("resetSelectionOnContextMenu",!0),q("lineWiseCopyCut",!0),q("pasteLinesPerSelection",!0),q("selectionsMayTouch",!1),q("readOnly",!1,function(J,re){re=="nocursor"&&(Oi(J),J.display.input.blur()),J.display.input.readOnlyChanged(re)}),q("screenReaderLabel",null,function(J,re){re=re===""?null:re,J.display.input.screenReaderLabelChanged(re)}),q("disableInput",!1,function(J,re){re||J.display.input.reset()},!0),q("dragDrop",!0,dc),q("allowDropFileTypes",null),q("cursorBlinkRate",530),q("cursorScrollMargin",0),q("cursorHeight",1,Ki,!0),q("singleCursorHeightPerLine",!0,Ki,!0),q("workTime",100),q("workDelay",100),q("flattenSpans",!0,$r,!0),q("addModeClass",!1,$r,!0),q("pollInterval",100),q("undoDepth",200,function(J,re){return J.doc.history.undoDepth=re}),q("historyEventDelay",1250),q("viewportMargin",10,function(J){return J.refresh()},!0),q("maxHighlightLength",1e4,$r,!0),q("moveInputWithCursor",!0,function(J,re){re||J.display.input.resetPosition()}),q("tabindex",null,function(J,re){return J.display.input.getField().tabIndex=re||""}),q("autofocus",null),q("direction","ltr",function(J,re){return J.doc.setDirection(re)},!0),q("phrases",null)}function dc(I,M,q){var J=q&&q!=js;if(!M!=!J){var re=I.display.dragFunctions,De=M?Be:He;De(I.display.scroller,"dragstart",re.start),De(I.display.scroller,"dragenter",re.enter),De(I.display.scroller,"dragover",re.over),De(I.display.scroller,"dragleave",re.leave),De(I.display.scroller,"drop",re.drop)}}function sl(I){I.options.lineWrapping?(W(I.display.wrapper,"CodeMirror-wrap"),I.display.sizer.style.minWidth="",I.display.sizerWidth=null):(y(I.display.wrapper,"CodeMirror-wrap"),jn(I)),Aa(I),gi(I),yi(I),setTimeout(function(){return Ra(I)},100)}function ot(I,M){var q=this;if(!(this instanceof ot))return new ot(I,M);this.options=M=M?P(M):{},P(Il,M,!1);var J=M.value;typeof J=="string"?J=new es(J,M.mode,null,M.lineSeparator,M.direction):M.mode&&(J.modeOption=M.mode),this.doc=J;var re=new ot.inputStyles[M.inputStyle](this),De=this.display=new $s(I,J,re,M);De.wrapper.CodeMirror=this,_l(this),M.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},M.autofocus&&!p&&De.input.focus(),c&&o<11&&setTimeout(function(){return q.display.input.reset(!0)},20),de(this),Wl(),Zi(this),this.curOp.forceUpdate=!0,Qn(this,J),M.autofocus&&!p||this.hasFocus()?setTimeout(function(){q.hasFocus()&&!q.state.focused&&pa(q)},20):Oi(this);for(var mt in Al)Al.hasOwnProperty(mt)&&Al[mt](this,M[mt],js);ls(this),M.finishInit&&M.finishInit(this);for(var Nt=0;Nt<Ue.length;++Nt)Ue[Nt](this);xo(this),i&&M.lineWrapping&&getComputedStyle(De.lineDiv).textRendering=="optimizelegibility"&&(De.lineDiv.style.textRendering="auto")}ot.defaults=Il,ot.optionHandlers=Al;function de(I){var M=I.display;Be(M.scroller,"mousedown",Za(I,Ll)),c&&o<11?Be(M.scroller,"dblclick",Za(I,function(zt){if(Ge(I,zt))return;var Yt=ca(I,zt);if(!Yt||Ol(I,zt)||St(I.display,zt))return;Ve(zt);var Cr=I.findWordAt(Yt);wo(I.doc,Cr.anchor,Cr.head)})):Be(M.scroller,"dblclick",function(zt){return Ge(I,zt)||Ve(zt)}),Be(M.scroller,"contextmenu",function(zt){return ec(I,zt)}),Be(M.input.getField(),"contextmenu",function(zt){M.scroller.contains(zt.target)||ec(I,zt)});var q,J={end:0};function re(){M.activeTouch&&(q=setTimeout(function(){return M.activeTouch=null},1e3),J=M.activeTouch,J.end=+new Date)}function De(zt){if(zt.touches.length!=1)return!1;var Yt=zt.touches[0];return Yt.radiusX<=1&&Yt.radiusY<=1}function mt(zt,Yt){if(Yt.left==null)return!0;var Cr=Yt.left-zt.left,Ur=Yt.top-zt.top;return Cr*Cr+Ur*Ur>20*20}Be(M.scroller,"touchstart",function(zt){if(!Ge(I,zt)&&!De(zt)&&!Ol(I,zt)){M.input.ensurePolled(),clearTimeout(q);var Yt=+new Date;M.activeTouch={start:Yt,moved:!1,prev:Yt-J.end<=300?J:null},zt.touches.length==1&&(M.activeTouch.left=zt.touches[0].pageX,M.activeTouch.top=zt.touches[0].pageY)}}),Be(M.scroller,"touchmove",function(){M.activeTouch&&(M.activeTouch.moved=!0)}),Be(M.scroller,"touchend",function(zt){var Yt=M.activeTouch;if(Yt&&!St(M,zt)&&Yt.left!=null&&!Yt.moved&&new Date-Yt.start<300){var Cr=I.coordsChar(M.activeTouch,"page"),Ur;!Yt.prev||mt(Yt,Yt.prev)?Ur=new oe(Cr,Cr):!Yt.prev.prev||mt(Yt,Yt.prev.prev)?Ur=I.findWordAt(Cr):Ur=new oe(Dt(Cr.line,0),st(I.doc,Dt(Cr.line+1,0))),I.setSelection(Ur.anchor,Ur.head),I.focus(),Ve(zt)}re()}),Be(M.scroller,"touchcancel",re),Be(M.scroller,"scroll",function(){M.scroller.clientHeight&&(Gi(I,M.scroller.scrollTop),go(I,M.scroller.scrollLeft,!0),wt(I,"scroll",I))}),Be(M.scroller,"mousewheel",function(zt){return Os(I,zt)}),Be(M.scroller,"DOMMouseScroll",function(zt){return Os(I,zt)}),Be(M.wrapper,"scroll",function(){return M.wrapper.scrollTop=M.wrapper.scrollLeft=0}),M.dragFunctions={enter:function(Yt){Ge(I,Yt)||it(Yt)},over:function(Yt){Ge(I,Yt)||(Ml(I,Yt),it(Yt))},start:function(Yt){return Rl(I,Yt)},drop:Za(I,ac),leave:function(Yt){Ge(I,Yt)||bl(I)}};var Nt=M.input.getField();Be(Nt,"keyup",function(zt){return Bs.call(I,zt)}),Be(Nt,"keydown",Za(I,Ws)),Be(Nt,"keypress",Za(I,Us)),Be(Nt,"focus",function(zt){return pa(I,zt)}),Be(Nt,"blur",function(zt){return Oi(I,zt)})}var Ue=[];ot.defineInitHook=function(I){return Ue.push(I)};function bt(I,M,q,J){var re=I.doc,De;q==null&&(q="add"),q=="smart"&&(re.mode.indent?De=Ht(I,M).state:q="prev");var mt=I.options.tabSize,Nt=te(re,M),zt=K(Nt.text,null,mt);Nt.stateAfter&&(Nt.stateAfter=null);var Yt=Nt.text.match(/^\s*/)[0],Cr;if(!J&&!/\S/.test(Nt.text))Cr=0,q="not";else if(q=="smart"&&(Cr=re.mode.indent(De,Nt.text.slice(Yt.length),Nt.text),Cr==G||Cr>150)){if(!J)return;q="prev"}q=="prev"?M>re.first?Cr=K(te(re,M-1).text,null,mt):Cr=0:q=="add"?Cr=zt+I.options.indentUnit:q=="subtract"?Cr=zt-I.options.indentUnit:typeof q=="number"&&(Cr=zt+q),Cr=Math.max(0,Cr);var Ur="",en=0;if(I.options.indentWithTabs)for(var nn=Math.floor(Cr/mt);nn;--nn)en+=mt,Ur+=" ";if(en<Cr&&(Ur+=Fe(Cr-en)),Ur!=Yt)return qo(re,Ur,Dt(M,0),Dt(M,Yt.length),"+input"),Nt.stateAfter=null,!0;for(var xn=0;xn<re.sel.ranges.length;xn++){var Bn=re.sel.ranges[xn];if(Bn.head.line==M&&Bn.head.ch<Yt.length){var Zn=Dt(M,Yt.length);ns(re,xn,new oe(Zn,Zn));break}}}var Ft=null;function qt(I){Ft=I}function ar(I,M,q,J,re){var De=I.doc;I.display.shift=!1,J||(J=De.sel);var mt=+new Date-200,Nt=re=="paste"||I.state.pasteIncoming>mt,zt=or(M),Yt=null;if(Nt&&J.ranges.length>1)if(Ft&&Ft.text.join(`
`)==M){if(J.ranges.length%Ft.text.length==0){Yt=[];for(var Cr=0;Cr<Ft.text.length;Cr++)Yt.push(De.splitLines(Ft.text[Cr]))}}else zt.length==J.ranges.length&&I.options.pasteLinesPerSelection&&(Yt=dt(zt,function(Jn){return[Jn]}));for(var Ur=I.curOp.updateInput,en=J.ranges.length-1;en>=0;en--){var nn=J.ranges[en],xn=nn.from(),Bn=nn.to();nn.empty()&&(q&&q>0?xn=Dt(xn.line,xn.ch-q):I.state.overwrite&&!Nt?Bn=Dt(Bn.line,Math.min(te(De,Bn.line).text.length,Bn.ch+Xe(zt).length)):Nt&&Ft&&Ft.lineWise&&Ft.text.join(`
`)==zt.join(`
`)&&(xn=Bn=Dt(xn.line,0)));var Zn={from:xn,to:Bn,text:Yt?Yt[en%Yt.length]:zt,origin:re||(Nt?"paste":I.state.cutIncoming>mt?"cut":"+input")};bs(I.doc,Zn),Tr(I,"inputRead",I,Zn)}M&&!Nt&&yr(I,M),_a(I),I.curOp.updateInput<2&&(I.curOp.updateInput=Ur),I.curOp.typing=!0,I.state.pasteIncoming=I.state.cutIncoming=-1}function lr(I,M){var q=I.clipboardData&&I.clipboardData.getData("Text");if(q)return I.preventDefault(),!M.isReadOnly()&&!M.options.disableInput&&bo(M,function(){return ar(M,q,0,null,"paste")}),!0}function yr(I,M){if(!I.options.electricChars||!I.options.smartIndent)return;for(var q=I.doc.sel,J=q.ranges.length-1;J>=0;J--){var re=q.ranges[J];if(re.head.ch>100||J&&q.ranges[J-1].head.line==re.head.line)continue;var De=I.getModeAt(re.head),mt=!1;if(De.electricChars){for(var Nt=0;Nt<De.electricChars.length;Nt++)if(M.indexOf(De.electricChars.charAt(Nt))>-1){mt=bt(I,re.head.line,"smart");break}}else De.electricInput&&(De.electricInput.test(te(I.doc,re.head.line).text.slice(0,re.head.ch))&&(mt=bt(I,re.head.line,"smart")));mt&&Tr(I,"electricInput",I,re.head.line)}}function Vr(I){for(var M=[],q=[],J=0;J<I.doc.sel.ranges.length;J++){var re=I.doc.sel.ranges[J].head.line,De={anchor:Dt(re,0),head:Dt(re+1,0)};q.push(De),M.push(I.getRange(De.anchor,De.head))}return{text:M,ranges:q}}function Xr(I,M,q,J){I.setAttribute("autocorrect",q?"":"off"),I.setAttribute("autocapitalize",J?"":"off"),I.setAttribute("spellcheck",!!M)}function Br(){var I=N("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),M=N("div",[I],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return i?I.style.width="1000px":I.setAttribute("wrap","off"),s&&(I.style.border="1px solid black"),Xr(I),M}function Fr(I){var M=I.optionHandlers,q=I.helpers={};I.prototype={constructor:I,focus:function(){window.focus(),this.display.input.focus()},setOption:function(re,De){var mt=this.options,Nt=mt[re];if(mt[re]==De&&re!="mode")return;mt[re]=De,M.hasOwnProperty(re)&&Za(this,M[re])(this,De,Nt),wt(this,"optionChange",this,re)},getOption:function(re){return this.options[re]},getDoc:function(){return this.doc},addKeyMap:function(re,De){this.state.keyMaps[De?"push":"unshift"](xl(re))},removeKeyMap:function(re){for(var De=this.state.keyMaps,mt=0;mt<De.length;++mt)if(De[mt]==re||De[mt].name==re)return De.splice(mt,1),!0},addOverlay:Ga(function(J,re){var De=J.token?J:I.getMode(this.options,J);if(De.startState)throw new Error("Overlays may not be stateful.");Ee(this.state.overlays,{mode:De,modeSpec:J,opaque:re&&re.opaque,priority:re&&re.priority||0},function(mt){return mt.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ga(function(J){for(var re=this.state.overlays,De=0;De<re.length;++De){var mt=re[De].modeSpec;if(mt==J||typeof J=="string"&&mt.name==J){re.splice(De,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ga(function(J,re,De){typeof re!="string"&&typeof re!="number"&&(re==null?re=this.options.smartIndent?"smart":"prev":re=re?"add":"subtract"),Wt(this.doc,J)&&bt(this,J,re,De)}),indentSelection:Ga(function(J){for(var re=this.doc.sel.ranges,De=-1,mt=0;mt<re.length;mt++){var Nt=re[mt];if(Nt.empty())Nt.head.line>De&&(bt(this,Nt.head.line,J,!0),De=Nt.head.line,mt==this.doc.sel.primIndex&&_a(this));else{var zt=Nt.from(),Yt=Nt.to(),Cr=Math.max(De,zt.line);De=Math.min(this.lastLine(),Yt.line-(Yt.ch?0:1))+1;for(var Ur=Cr;Ur<De;++Ur)bt(this,Ur,J);var en=this.doc.sel.ranges;zt.ch==0&&re.length==en.length&&en[mt].from().ch>0&&ns(this.doc,mt,new oe(zt,en[mt].to()),le)}}}),getTokenAt:function(re,De){return Ar(this,re,De)},getLineTokens:function(re,De){return Ar(this,Dt(re),De,!0)},getTokenTypeAt:function(re){re=st(this.doc,re);var De=ft(this,te(this.doc,re.line)),mt=0,Nt=(De.length-1)/2,zt=re.ch,Yt;if(zt==0)Yt=De[2];else for(;;){var Cr=mt+Nt>>1;if((Cr?De[Cr*2-1]:0)>=zt)Nt=Cr;else if(De[Cr*2+1]<zt)mt=Cr+1;else{Yt=De[Cr*2+2];break}}var Ur=Yt?Yt.indexOf("overlay "):-1;return Ur<0?Yt:Ur==0?null:Yt.slice(0,Ur-1)},getModeAt:function(re){var De=this.doc.mode;return De.innerMode?I.innerMode(De,this.getTokenAt(re).state).mode:De},getHelper:function(re,De){return this.getHelpers(re,De)[0]},getHelpers:function(re,De){var mt=[];if(!q.hasOwnProperty(De))return mt;var Nt=q[De],zt=this.getModeAt(re);if(typeof zt[De]=="string")Nt[zt[De]]&&mt.push(Nt[zt[De]]);else if(zt[De])for(var Yt=0;Yt<zt[De].length;Yt++){var Cr=Nt[zt[De][Yt]];Cr&&mt.push(Cr)}else zt.helperType&&Nt[zt.helperType]?mt.push(Nt[zt.helperType]):Nt[zt.name]&&mt.push(Nt[zt.name]);for(var Ur=0;Ur<Nt._global.length;Ur++){var en=Nt._global[Ur];en.pred(zt,this)&&z(mt,en.val)==-1&&mt.push(en.val)}return mt},getStateAfter:function(re,De){var mt=this.doc;return re=er(mt,re==null?mt.first+mt.size-1:re),Ht(this,re+1,De).state},cursorCoords:function(re,De){var mt,Nt=this.doc.sel.primary();return re==null?mt=Nt.head:typeof re=="object"?mt=st(this.doc,re):mt=re?Nt.from():Nt.to(),Mi(this,mt,De||"page")},charCoords:function(re,De){return Ui(this,st(this.doc,re),De||"page")},coordsChar:function(re,De){return re=fa(this,re,De||"page"),qi(this,re.left,re.top)},lineAtHeight:function(re,De){return re=fa(this,{top:re,left:0},De||"page").top,gt(this.doc,re+this.display.viewOffset)},heightAtLine:function(re,De,mt){var Nt=!1,zt;if(typeof re=="number"){var Yt=this.doc.first+this.doc.size-1;re<this.doc.first?re=this.doc.first:re>Yt&&(re=Yt,Nt=!0),zt=te(this.doc,re)}else zt=re;return Ri(this,zt,{top:0,left:0},De||"page",mt||Nt).top+(Nt?this.doc.height-Ln(zt):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return _i(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(re,De,mt,Nt,zt){var Yt=this.display;re=Mi(this,st(this.doc,re));var Cr=re.bottom,Ur=re.left;if(De.style.position="absolute",De.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(De),Yt.sizer.appendChild(De),Nt=="over")Cr=re.top;else if(Nt=="above"||Nt=="near"){var en=Math.max(Yt.wrapper.clientHeight,this.doc.height),nn=Math.max(Yt.sizer.clientWidth,Yt.lineSpace.clientWidth);(Nt=="above"||re.bottom+De.offsetHeight>en)&&re.top>De.offsetHeight?Cr=re.top-De.offsetHeight:re.bottom+De.offsetHeight<=en&&(Cr=re.bottom),Ur+De.offsetWidth>nn&&(Ur=nn-De.offsetWidth)}De.style.top=Cr+"px",De.style.left=De.style.right="",zt=="right"?(Ur=Yt.sizer.clientWidth-De.offsetWidth,De.style.right="0px"):(zt=="left"?Ur=0:zt=="middle"&&(Ur=(Yt.sizer.clientWidth-De.offsetWidth)/2),De.style.left=Ur+"px"),mt&&Ca(this,{left:Ur,top:Cr,right:Ur+De.offsetWidth,bottom:Cr+De.offsetHeight})},triggerOnKeyDown:Ga(Ws),triggerOnKeyPress:Ga(Us),triggerOnKeyUp:Bs,triggerOnMouseDown:Ga(Ll),execCommand:function(re){if(zs.hasOwnProperty(re))return zs[re].call(null,this)},triggerElectric:Ga(function(J){yr(this,J)}),findPosH:function(re,De,mt,Nt){var zt=1;De<0&&(zt=-1,De=-De);for(var Yt=st(this.doc,re),Cr=0;Cr<De&&!(Yt=Gr(this.doc,Yt,zt,mt,Nt),Yt.hitSide);++Cr);return Yt},moveH:Ga(function(J,re){var De=this;this.extendSelectionsBy(function(mt){return De.display.shift||De.doc.extend||mt.empty()?Gr(De.doc,mt.head,J,re,De.options.rtlMoveVisually):J<0?mt.from():mt.to()},me)}),deleteH:Ga(function(J,re){var De=this.doc.sel,mt=this.doc;De.somethingSelected()?mt.replaceSelection("",null,"+delete"):Qs(this,function(Nt){var zt=Gr(mt,Nt.head,J,re,!1);return J<0?{from:zt,to:Nt.head}:{from:Nt.head,to:zt}})}),findPosV:function(re,De,mt,Nt){var zt=1,Yt=Nt;De<0&&(zt=-1,De=-De);for(var Cr=st(this.doc,re),Ur=0;Ur<De;++Ur){var en=Mi(this,Cr,"div");if(Yt==null?Yt=en.left:en.left=Yt,Cr=dn(this,en,zt,mt),Cr.hitSide)break}return Cr},moveV:Ga(function(J,re){var De=this,mt=this.doc,Nt=[],zt=!this.display.shift&&!mt.extend&&mt.sel.somethingSelected();if(mt.extendSelectionsBy(function(Cr){if(zt)return J<0?Cr.from():Cr.to();var Ur=Mi(De,Cr.head,"div");Cr.goalColumn!=null&&(Ur.left=Cr.goalColumn),Nt.push(Ur.left);var en=dn(De,Ur,J,re);return re=="page"&&Cr==mt.sel.primary()&&Lo(De,Ui(De,en,"div").top-Ur.top),en},me),Nt.length)for(var Yt=0;Yt<mt.sel.ranges.length;Yt++)mt.sel.ranges[Yt].goalColumn=Nt[Yt]}),findWordAt:function(re){var De=this.doc,mt=te(De,re.line).text,Nt=re.ch,zt=re.ch;if(mt){var Yt=this.getHelper(re,"wordChars");(re.sticky=="before"||zt==mt.length)&&Nt?--Nt:++zt;for(var Cr=mt.charAt(Nt),Ur=ee(Cr,Yt)?function(en){return ee(en,Yt)}:/\s/.test(Cr)?function(en){return/\s/.test(en)}:function(en){return!/\s/.test(en)&&!ee(en)};Nt>0&&Ur(mt.charAt(Nt-1));)--Nt;for(;zt<mt.length&&Ur(mt.charAt(zt));)++zt}return new oe(Dt(re.line,Nt),Dt(re.line,zt))},toggleOverwrite:function(re){if(re!=null&&re==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?W(this.display.cursorDiv,"CodeMirror-overwrite"):y(this.display.cursorDiv,"CodeMirror-overwrite"),wt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==H()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ga(function(J,re){ki(this,J,re)}),getScrollInfo:function(){var re=this.display.scroller;return{left:re.scrollLeft,top:re.scrollTop,height:re.scrollHeight-Mr(this)-this.display.barHeight,width:re.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Dr(this)}},scrollIntoView:Ga(function(J,re){J==null?(J={from:this.doc.sel.primary().head,to:null},re==null&&(re=this.options.cursorScrollMargin)):typeof J=="number"?J={from:Dt(J,0),to:null}:J.from==null&&(J={from:J,to:null}),J.to||(J.to=J.from),J.margin=re||0,J.from.line!=null?Ja(this,J):pi(this,J.from,J.to,J.margin)}),setSize:Ga(function(J,re){var De=this,mt=function(Yt){return typeof Yt=="number"||/^\d+$/.test(String(Yt))?Yt+"px":Yt};J!=null&&(this.display.wrapper.style.width=mt(J)),re!=null&&(this.display.wrapper.style.height=mt(re)),this.options.lineWrapping&&Di(this);var Nt=this.display.viewFrom;this.doc.iter(Nt,this.display.viewTo,function(zt){if(zt.widgets){for(var Yt=0;Yt<zt.widgets.length;Yt++)if(zt.widgets[Yt].noHScroll){Pa(De,Nt,"widget");break}}++Nt}),this.curOp.forceUpdate=!0,wt(this,"refresh",this)}),operation:function(re){return bo(this,re)},startOperation:function(){return Zi(this)},endOperation:function(){return xo(this)},refresh:Ga(function(){var J=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,yi(this),ki(this,this.doc.scrollLeft,this.doc.scrollTop),Bo(this.display),(J==null||Math.abs(J-Ai(this.display))>.5||this.options.lineWrapping)&&Aa(this),wt(this,"refresh",this)}),swapDoc:Ga(function(J){var re=this.doc;return re.cm=null,this.state.selectingText&&this.state.selectingText(),Qn(this,J),yi(this),this.display.input.reset(),ki(this,J.scrollLeft,J.scrollTop),this.curOp.forceScroll=!0,Tr(this,"swapDoc",this,re),re}),phrase:function(re){var De=this.options.phrases;return De&&Object.prototype.hasOwnProperty.call(De,re)?De[re]:re},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}},lt(I),I.registerHelper=function(J,re,De){q.hasOwnProperty(J)||(q[J]=I[J]={_global:[]}),q[J][re]=De},I.registerGlobalHelper=function(J,re,De,mt){I.registerHelper(J,re,mt),q[J]._global.push({pred:De,val:mt})}}function Gr(I,M,q,J,re){var De=M,mt=q,Nt=te(I,M.line),zt=re&&I.direction=="rtl"?-q:q;function Yt(){var oi=M.line+zt;return oi<I.first||oi>=I.first+I.size?!1:(M=new Dt(oi,M.ch,M.sticky),Nt=te(I,oi))}function Cr(oi){var li;if(J=="codepoint"){var qe=Nt.text.charCodeAt(M.ch+(J>0?0:-1));isNaN(qe)?li=null:li=new Dt(M.line,Math.max(0,Math.min(Nt.text.length,M.ch+q*(qe>=55296&&qe<56320?2:1))),-q)}else re?li=El(I.cm,Nt,M,q):li=il(Nt,M,q);if(li==null)if(!oi&&Yt())M=fl(re,I.cm,Nt,M.line,zt);else return!1;else M=li;return!0}if(J=="char"||J=="codepoint")Cr();else if(J=="column")Cr(!0);else if(J=="word"||J=="group")for(var Ur=null,en=J=="group",nn=I.cm&&I.cm.getHelper(M,"wordChars"),xn=!0;!(q<0&&!Cr(!xn));xn=!1){var Bn=Nt.text.charAt(M.ch)||`
`,Zn=ee(Bn,nn)?"w":en&&Bn==`
`?"n":!en||/\s/.test(Bn)?null:"p";if(en&&!xn&&!Zn&&(Zn="s"),Ur&&Ur!=Zn){q<0&&(q=1,Cr(),M.sticky="after");break}if(Zn&&(Ur=Zn),q>0&&!Cr(!xn))break}var Jn=Ms(I,M,De,mt,!0);return Gt(De,Jn)&&(Jn.hitSide=!0),Jn}function dn(I,M,q,J){var re=I.doc,De=M.left,mt;if(J=="page"){var Nt=Math.min(I.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),zt=Math.max(Nt-.5*Ai(I.display),3);mt=(q>0?M.bottom:M.top)+q*zt}else J=="line"&&(mt=q>0?M.bottom+3:M.top-3);for(var Yt;!(Yt=qi(I,De,mt),!Yt.outside);){if(q<0?mt<=0:mt>=re.height){Yt.hitSide=!0;break}mt+=q*5}return Yt}var pn=function(M){this.cm=M,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(I){var M=this,q=this,J=q.cm,re=q.div=I.lineDiv;Xr(re,J.options.spellcheck,J.options.autocorrect,J.options.autocapitalize);function De(Nt){for(var zt=Nt.target;zt;zt=zt.parentNode){if(zt==re)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(zt.className))break}return!1}Be(re,"paste",function(Nt){if(!De(Nt)||Ge(J,Nt)||lr(Nt,J))return;o<=11&&setTimeout(Za(J,function(){return M.updateFromDOM()}),20)}),Be(re,"compositionstart",function(Nt){M.composing={data:Nt.data,done:!1}}),Be(re,"compositionupdate",function(Nt){M.composing||(M.composing={data:Nt.data,done:!1})}),Be(re,"compositionend",function(Nt){M.composing&&(Nt.data!=M.composing.data&&M.readFromDOMSoon(),M.composing.done=!0)}),Be(re,"touchstart",function(){return q.forceCompositionEnd()}),Be(re,"input",function(){M.composing||M.readFromDOMSoon()});function mt(Nt){if(!De(Nt)||Ge(J,Nt))return;if(J.somethingSelected())qt({lineWise:!1,text:J.getSelections()}),Nt.type=="cut"&&J.replaceSelection("",null,"cut");else if(J.options.lineWiseCopyCut){var zt=Vr(J);qt({lineWise:!0,text:zt.text}),Nt.type=="cut"&&J.operation(function(){J.setSelections(zt.ranges,0,le),J.replaceSelection("",null,"cut")})}else return;if(Nt.clipboardData){Nt.clipboardData.clearData();var Yt=Ft.text.join(`
`);if(Nt.clipboardData.setData("Text",Yt),Nt.clipboardData.getData("Text")==Yt){Nt.preventDefault();return}}var Cr=Br(),Ur=Cr.firstChild;J.display.lineSpace.insertBefore(Cr,J.display.lineSpace.firstChild),Ur.value=Ft.text.join(`
`);var en=document.activeElement;U(Ur),setTimeout(function(){J.display.lineSpace.removeChild(Cr),en.focus(),en==re&&q.showPrimarySelection()},50)}Be(re,"copy",mt),Be(re,"cut",mt)},pn.prototype.screenReaderLabelChanged=function(I){I?this.div.setAttribute("aria-label",I):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var I=zi(this.cm,!1);return I.focus=document.activeElement==this.div,I},pn.prototype.showSelection=function(I,M){if(!I||!this.cm.display.view.length)return;(I.focus||M)&&this.showPrimarySelection(),this.showMultipleSelections(I)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var I=this.getSelection(),M=this.cm,q=M.doc.sel.primary(),J=q.from(),re=q.to();if(M.display.viewTo==M.display.viewFrom||J.line>=M.display.viewTo||re.line<M.display.viewFrom){I.removeAllRanges();return}var De=Si(M,I.anchorNode,I.anchorOffset),mt=Si(M,I.focusNode,I.focusOffset);if(De&&!De.bad&&mt&&!mt.bad&&Kt(dr(De,mt),J)==0&&Kt(Mt(De,mt),re)==0)return;var Nt=M.display.view,zt=J.line>=M.display.viewFrom&&ei(M,J)||{node:Nt[0].measure.map[2],offset:0},Yt=re.line<M.display.viewTo&&ei(M,re);if(!Yt){var Cr=Nt[Nt.length-1].measure,Ur=Cr.maps?Cr.maps[Cr.maps.length-1]:Cr.map;Yt={node:Ur[Ur.length-1],offset:Ur[Ur.length-2]-Ur[Ur.length-3]}}if(!zt||!Yt){I.removeAllRanges();return}var en=I.rangeCount&&I.getRangeAt(0),nn;try{nn=F(zt.node,zt.offset,Yt.offset,Yt.node)}catch(xn){}nn&&(!A&&M.state.focused?(I.collapse(zt.node,zt.offset),nn.collapsed||(I.removeAllRanges(),I.addRange(nn))):(I.removeAllRanges(),I.addRange(nn)),en&&I.anchorNode==null?I.addRange(en):A&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var I=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){I.gracePeriod=!1,I.selectionChanged()&&I.cm.operation(function(){return I.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(I){O(this.cm.display.cursorDiv,I.cursors),O(this.cm.display.selectionDiv,I.selection)},pn.prototype.rememberSelection=function(){var I=this.getSelection();this.lastAnchorNode=I.anchorNode,this.lastAnchorOffset=I.anchorOffset,this.lastFocusNode=I.focusNode,this.lastFocusOffset=I.focusOffset},pn.prototype.selectionInEditor=function(){var I=this.getSelection();if(!I.rangeCount)return!1;var M=I.getRangeAt(0).commonAncestorContainer;return B(this.div,M)},pn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},pn.prototype.blur=function(){this.div.blur()},pn.prototype.getField=function(){return this.div},pn.prototype.supportsTouch=function(){return!0},pn.prototype.receivedFocus=function(){var I=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return I.cm.curOp.selectionChanged=!0});function M(){I.cm.state.focused&&(I.pollSelection(),I.polling.set(I.cm.options.pollInterval,M))}this.polling.set(this.cm.options.pollInterval,M)},pn.prototype.selectionChanged=function(){var I=this.getSelection();return I.anchorNode!=this.lastAnchorNode||I.anchorOffset!=this.lastAnchorOffset||I.focusNode!=this.lastFocusNode||I.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var I=this.getSelection(),M=this.cm;if(d&&a&&this.cm.display.gutterSpecs.length&&ci(I.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var q=Si(M,I.anchorNode,I.anchorOffset),J=Si(M,I.focusNode,I.focusOffset);q&&J&&bo(M,function(){Eo(M.doc,Te(q,J),le),(q.bad||J.bad)&&(M.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var I=this.cm,M=I.display,q=I.doc.sel.primary(),J=q.from(),re=q.to();if(J.ch==0&&J.line>I.firstLine()&&(J=Dt(J.line-1,te(I.doc,J.line-1).length)),re.ch==te(I.doc,re.line).text.length&&re.line<I.lastLine()&&(re=Dt(re.line+1,0)),J.line<M.viewFrom||re.line>M.viewTo-1)return!1;var De,mt,Nt;J.line==M.viewFrom||(De=la(I,J.line))==0?(mt=$e(M.view[0].line),Nt=M.view[0].node):(mt=$e(M.view[De].line),Nt=M.view[De-1].node.nextSibling);var zt=la(I,re.line),Yt,Cr;if(zt==M.view.length-1?(Yt=M.viewTo-1,Cr=M.lineDiv.lastChild):(Yt=$e(M.view[zt+1].line)-1,Cr=M.view[zt+1].node.previousSibling),!Nt)return!1;for(var Ur=I.doc.splitLines(Ji(I,Nt,Cr,mt,Yt)),en=be(I.doc,Dt(mt,0),Dt(Yt,te(I.doc,Yt).text.length));Ur.length>1&&en.length>1;)if(Xe(Ur)==Xe(en))Ur.pop(),en.pop(),Yt--;else if(Ur[0]==en[0])Ur.shift(),en.shift(),mt++;else break;for(var nn=0,xn=0,Bn=Ur[0],Zn=en[0],Jn=Math.min(Bn.length,Zn.length);nn<Jn&&Bn.charCodeAt(nn)==Zn.charCodeAt(nn);)++nn;for(var oi=Xe(Ur),li=Xe(en),qe=Math.min(oi.length-(Ur.length==1?nn:0),li.length-(en.length==1?nn:0));xn<qe&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(Ur.length==1&&en.length==1&&mt==J.line)for(;nn&&nn>J.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;Ur[Ur.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),Ur[0]=Ur[0].slice(nn).replace(/\u200b+$/,"");var Z=Dt(mt,nn),Me=Dt(Yt,en.length?Xe(en).length-xn:0);if(Ur.length>1||Ur[0]||Kt(Z,Me))return qo(I.doc,Ur,Z,Me,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var I=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(I.readDOMTimeout=null,I.composing)if(I.composing.done)I.composing=null;else return;I.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var I=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(I.cm)})},pn.prototype.setUneditable=function(I){I.contentEditable="false"},pn.prototype.onKeyPress=function(I){if(I.charCode==0||this.composing)return;I.preventDefault(),this.cm.isReadOnly()||Za(this.cm,ar)(this.cm,String.fromCharCode(I.charCode==null?I.keyCode:I.charCode),0)},pn.prototype.readOnlyChanged=function(I){this.div.contentEditable=String(I!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(I,M){var q=bn(I,M.line);if(!q||q.hidden)return null;var J=te(I.doc,M.line),re=wn(q,J,M.line),De=vt(J,I.doc.direction),mt="left";if(De){var Nt=Le(De,M.ch);mt=Nt%2?"right":"left"}var zt=En(re.map,M.ch,mt);return zt.offset=zt.collapse=="right"?zt.end:zt.start,zt}function ci(I){for(var M=I;M;M=M.parentNode)if(/CodeMirror-gutter-wrapper/.test(M.className))return!0;return!1}function ii(I,M){return M&&(I.bad=!0),I}function Ji(I,M,q,J,re){var De="",mt=!1,Nt=I.doc.lineSeparator(),zt=!1;function Yt(nn){return function(xn){return xn.id==nn}}function Cr(){mt&&(De+=Nt,zt&&(De+=Nt),mt=zt=!1)}function Ur(nn){nn&&(Cr(),De+=nn)}function en(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){Ur(xn);return}var Bn=nn.getAttribute("cm-marker"),Zn;if(Bn){var Jn=I.findMarks(Dt(J,0),Dt(re+1,0),Yt(+Bn));Jn.length&&(Zn=Jn[0].find(0))&&Ur(be(I.doc,Zn.from,Zn.to).join(Nt));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Cr();for(var li=0;li<nn.childNodes.length;li++)en(nn.childNodes[li]);/^(pre|p)$/i.test(nn.nodeName)&&(zt=!0),oi&&(mt=!0)}else nn.nodeType==3&&Ur(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(en(M),M==q);)M=M.nextSibling,zt=!1;return De}function Si(I,M,q){var J;if(M==I.display.lineDiv){if(J=I.display.lineDiv.childNodes[q],!J)return ii(I.clipPos(Dt(I.display.viewTo-1)),!0);M=null,q=0}else for(J=M;;J=J.parentNode){if(!J||J==I.display.lineDiv)return null;if(J.parentNode&&J.parentNode==I.display.lineDiv)break}for(var re=0;re<I.display.view.length;re++){var De=I.display.view[re];if(De.node==J)return Va(De,M,q)}}function Va(I,M,q){var J=I.text.firstChild,re=!1;if(!M||!B(J,M))return ii(Dt($e(I.line),0),!0);if(M==J&&(re=!0,M=J.childNodes[q],q=0,!M)){var De=I.rest?Xe(I.rest):I.line;return ii(Dt($e(De),De.text.length),re)}var mt=M.nodeType==3?M:null,Nt=M;for(!mt&&M.childNodes.length==1&&M.firstChild.nodeType==3&&(mt=M.firstChild,q&&(q=mt.nodeValue.length));Nt.parentNode!=J;)Nt=Nt.parentNode;var zt=I.measure,Yt=zt.maps;function Cr(Zn,Jn,oi){for(var li=-1;li<(Yt?Yt.length:0);li++)for(var qe=li<0?zt.map:Yt[li],Z=0;Z<qe.length;Z+=3){var Me=qe[Z+2];if(Me==Zn||Me==Jn){var Je=$e(li<0?I.line:I.rest[li]),Lt=qe[Z]+oi;return(oi<0||Me!=Zn)&&(Lt=qe[Z+(oi?1:0)]),Dt(Je,Lt)}}}var Ur=Cr(mt,Nt,q);if(Ur)return ii(Ur,re);for(var en=Nt.nextSibling,nn=mt?mt.nodeValue.length-q:0;en;en=en.nextSibling){if(Ur=Cr(en,en.firstChild,0),Ur)return ii(Dt(Ur.line,Ur.ch-nn),re);nn+=en.textContent.length}for(var xn=Nt.previousSibling,Bn=q;xn;xn=xn.previousSibling){if(Ur=Cr(xn,xn.firstChild,-1),Ur)return ii(Dt(Ur.line,Ur.ch+Bn),re);Bn+=xn.textContent.length}}var Ei=function(M){this.cm=M,this.prevInput="",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(I){var M=this,q=this,J=this.cm;this.createField(I);var re=this.textarea;I.wrapper.insertBefore(this.wrapper,I.wrapper.firstChild),s&&(re.style.width="0px"),Be(re,"input",function(){c&&o>=9&&M.hasSelection&&(M.hasSelection=null),q.poll()}),Be(re,"paste",function(mt){if(Ge(J,mt)||lr(mt,J))return;J.state.pasteIncoming=+new Date,q.fastPoll()});function De(mt){if(Ge(J,mt))return;if(J.somethingSelected())qt({lineWise:!1,text:J.getSelections()});else if(J.options.lineWiseCopyCut){var Nt=Vr(J);qt({lineWise:!0,text:Nt.text}),mt.type=="cut"?J.setSelections(Nt.ranges,null,le):(q.prevInput="",re.value=Nt.text.join(`
`),U(re))}else return;mt.type=="cut"&&(J.state.cutIncoming=+new Date)}Be(re,"cut",De),Be(re,"copy",De),Be(I.scroller,"paste",function(mt){if(St(I,mt)||Ge(J,mt))return;if(!re.dispatchEvent){J.state.pasteIncoming=+new Date,q.focus();return}var Nt=new Event("paste");Nt.clipboardData=mt.clipboardData,re.dispatchEvent(Nt)}),Be(I.lineSpace,"selectstart",function(mt){St(I,mt)||Ve(mt)}),Be(re,"compositionstart",function(){var mt=J.getCursor("from");q.composing&&q.composing.range.clear(),q.composing={start:mt,range:J.markText(mt,J.getCursor("to"),{className:"CodeMirror-composing"})}}),Be(re,"compositionend",function(){q.composing&&(q.poll(),q.composing.range.clear(),q.composing=null)})},Ei.prototype.createField=function(I){this.wrapper=Br(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(I){I?this.textarea.setAttribute("aria-label",I):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var I=this.cm,M=I.display,q=I.doc,J=zi(I);if(I.options.moveInputWithCursor){var re=Mi(I,q.sel.primary().head,"div"),De=M.wrapper.getBoundingClientRect(),mt=M.lineDiv.getBoundingClientRect();J.teTop=Math.max(0,Math.min(M.wrapper.clientHeight-10,re.top+mt.top-De.top)),J.teLeft=Math.max(0,Math.min(M.wrapper.clientWidth-10,re.left+mt.left-De.left))}return J},Ei.prototype.showSelection=function(I){var M=this.cm,q=M.display;O(q.cursorDiv,I.cursors),O(q.selectionDiv,I.selection),I.teTop!=null&&(this.wrapper.style.top=I.teTop+"px",this.wrapper.style.left=I.teLeft+"px")},Ei.prototype.reset=function(I){if(this.contextMenuPending||this.composing)return;var M=this.cm;if(M.somethingSelected()){this.prevInput="";var q=M.getSelection();this.textarea.value=q,M.state.focused&&U(this.textarea),c&&o>=9&&(this.hasSelection=q)}else I||(this.prevInput=this.textarea.value="",c&&o>=9&&(this.hasSelection=null))},Ei.prototype.getField=function(){return this.textarea},Ei.prototype.supportsTouch=function(){return!1},Ei.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!p||H()!=this.textarea))try{this.textarea.focus()}catch(I){}},Ei.prototype.blur=function(){this.textarea.blur()},Ei.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ei.prototype.receivedFocus=function(){this.slowPoll()},Ei.prototype.slowPoll=function(){var I=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){I.poll(),I.cm.state.focused&&I.slowPoll()})},Ei.prototype.fastPoll=function(){var I=!1,M=this;M.pollingFast=!0;function q(){var J=M.poll();!J&&!I?(I=!0,M.polling.set(60,q)):(M.pollingFast=!1,M.slowPoll())}M.polling.set(20,q)},Ei.prototype.poll=function(){var I=this,M=this.cm,q=this.textarea,J=this.prevInput;if(this.contextMenuPending||!M.state.focused||Bt(q)&&!J&&!this.composing||M.isReadOnly()||M.options.disableInput||M.state.keySeq)return!1;var re=q.value;if(re==J&&!M.somethingSelected())return!1;if(c&&o>=9&&this.hasSelection===re||b&&/[\uf700-\uf7ff]/.test(re))return M.display.input.reset(),!1;if(M.doc.sel==M.display.selForContextMenu){var De=re.charCodeAt(0);if(De==8203&&!J&&(J="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,Nt=Math.min(J.length,re.length);mt<Nt&&J.charCodeAt(mt)==re.charCodeAt(mt);)++mt;return bo(M,function(){ar(M,re.slice(mt),J.length-mt,null,I.composing?"*compose":null),re.length>1e3||re.indexOf(`
`)>-1?q.value=I.prevInput="":I.prevInput=re,I.composing&&(I.composing.range.clear(),I.composing.range=M.markText(I.composing.start,M.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){c&&o>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(I){var M=this,q=M.cm,J=q.display,re=M.textarea;M.contextMenuPending&&M.contextMenuPending();var De=ca(q,I),mt=J.scroller.scrollTop;if(!De||u)return;var Nt=q.options.resetSelectionOnContextMenu;Nt&&q.doc.sel.contains(De)==-1&&Za(q,Eo)(q.doc,Te(De),le);var zt=re.style.cssText,Yt=M.wrapper.style.cssText,Cr=M.wrapper.offsetParent.getBoundingClientRect();M.wrapper.style.cssText="position: static",re.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(I.clientY-Cr.top-5)+"px; left: "+(I.clientX-Cr.left-5)+`px;
z-index: 1000; background: `+(c?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ur;i&&(Ur=window.scrollY),J.input.focus(),i&&window.scrollTo(null,Ur),J.input.reset(),q.somethingSelected()||(re.value=M.prevInput=" "),M.contextMenuPending=nn,J.selForContextMenu=q.doc.sel,clearTimeout(J.detectingSelectAll);function en(){if(re.selectionStart!=null){var Bn=q.somethingSelected(),Zn="\u200B"+(Bn?re.value:"");re.value="\u21DA",re.value=Zn,M.prevInput=Bn?"":"\u200B",re.selectionStart=1,re.selectionEnd=Zn.length,J.selForContextMenu=q.doc.sel}}function nn(){if(M.contextMenuPending!=nn)return;if(M.contextMenuPending=!1,M.wrapper.style.cssText=Yt,re.style.cssText=zt,c&&o<9&&J.scrollbars.setScrollTop(J.scroller.scrollTop=mt),re.selectionStart!=null){(!c||c&&o<9)&&en();var Bn=0,Zn=function Jn(){J.selForContextMenu==q.doc.sel&&re.selectionStart==0&&re.selectionEnd>0&&M.prevInput=="\u200B"?Za(q,ks)(q):Bn++<10?J.detectingSelectAll=setTimeout(Jn,500):(J.selForContextMenu=null,J.input.reset())};J.detectingSelectAll=setTimeout(Zn,200)}}if(c&&o>=9&&en(),T){it(I);var xn=function Bn(){He(window,"mouseup",Bn),setTimeout(nn,20)};Be(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(I){I||this.reset(),this.textarea.disabled=I=="nocursor",this.textarea.readOnly=!!I},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function co(I,M){if(M=M?P(M):{},M.value=I.value,!M.tabindex&&I.tabIndex&&(M.tabindex=I.tabIndex),!M.placeholder&&I.placeholder&&(M.placeholder=I.placeholder),M.autofocus==null){var q=H();M.autofocus=q==I||I.getAttribute("autofocus")!=null&&q==document.body}function J(){I.value=Nt.getValue()}var re;if(I.form&&(Be(I.form,"submit",J),!M.leaveSubmitMethodAlone)){var De=I.form;re=De.submit;try{var mt=De.submit=function(){J(),De.submit=re,De.submit(),De.submit=mt}}catch(zt){}}M.finishInit=function(zt){zt.save=J,zt.getTextArea=function(){return I},zt.toTextArea=function(){zt.toTextArea=isNaN,J(),I.parentNode.removeChild(zt.getWrapperElement()),I.style.display="",I.form&&(He(I.form,"submit",J),!M.leaveSubmitMethodAlone&&typeof I.form.submit=="function"&&(I.form.submit=re))}},I.style.display="none";var Nt=ot(function(zt){return I.parentNode.insertBefore(zt,I.nextSibling)},M);return Nt}function Ko(I){I.off=He,I.on=Be,I.wheelEventPixels=Vs,I.Doc=es,I.splitLines=or,I.countColumn=K,I.findColumn=we,I.isWordChar=ce,I.Pass=G,I.signal=wt,I.Line=ni,I.changeEnd=We,I.scrollbarModel=ro,I.Pos=Dt,I.cmpPos=Kt,I.modes=ue,I.mimeModes=Ne,I.resolveMode=Ye,I.getMode=Pe,I.modeExtensions=nt,I.extendMode=At,I.copyState=Ot,I.startState=he,I.innerMode=ne,I.commands=zs,I.keyMap=Ss,I.keyName=Vl,I.isModifierKey=Sl,I.lookupKey=Ps,I.normalizeKeyMap=nl,I.StringStream=Q,I.SharedTextMarker=el,I.TextMarker=_s,I.LineWidget=ll,I.e_preventDefault=Ve,I.e_stopPropagation=ie,I.e_stop=it,I.addClass=W,I.contains=B,I.rmClass=y,I.keyNames=Fs}uc(ot),Fr(ot);var ao="iter insert remove copy getEditor constructor".split(" ");for(var Uo in es.prototype)es.prototype.hasOwnProperty(Uo)&&z(ao,Uo)<0&&(ot.prototype[Uo]=function(I){return function(){return I.apply(this.doc,arguments)}}(es.prototype[Uo]));return lt(es),ot.inputStyles={textarea:Ei,contenteditable:pn},ot.defineMode=function(I){!ot.defaults.mode&&I!="null"&&(ot.defaults.mode=I),je.apply(this,arguments)},ot.defineMIME=Ke,ot.defineMode("null",function(){return{token:function(M){return M.skipToEnd()}}}),ot.defineMIME("text/plain","null"),ot.defineExtension=function(I,M){ot.prototype[I]=M},ot.defineDocExtension=function(I,M){es.prototype[I]=M},ot.fromTextArea=co,Ko(ot),ot.version="5.58.2",ot})},Vy0f:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("iYpf"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},W2nI:function(D,_,e){var g=e("IwbS"),f=e("ProS"),A=e("bYtY"),m=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],h=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function o(l,t){return l.getVisual("opacity")||l.getModel().get(t)}function i(l,t,s){var d=l.getGraphicEl(),p=o(l,t);s!=null&&(p==null&&(p=1),p*=s),d.downplay&&d.downplay(),d.traverse(function(b){b.type!=="group"&&b.setStyle("opacity",p)})}function n(l,t){var s=o(l,t),d=l.getGraphicEl();d.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",s)}),d.highlight&&d.highlight()}var a=g.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,t){var s=t.extent;l.moveTo(t.x1,t.y1),l.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(l.lineTo(t.x2+s,t.y2),l.bezierCurveTo(t.cpx2+s,t.cpy2,t.cpx1+s,t.cpy1,t.x1+s,t.y1)):(l.lineTo(t.x2,t.y2+s),l.bezierCurveTo(t.cpx2,t.cpy2+s,t.cpx1,t.cpy1+s,t.x1,t.y1+s)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),u=f.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,t,s){var d=this,p=l.getGraph(),b=this.group,w=l.layoutInfo,E=w.width,S=w.height,x=l.getData(),T=l.getData("edge"),L=l.get("orient");this._model=l,b.removeAll(),b.attr("position",[w.x,w.y]),p.eachEdge(function(y){var C=new a;C.dataIndex=y.dataIndex,C.seriesIndex=l.seriesIndex,C.dataType="edge";var O=y.getModel("lineStyle"),N=O.get("curveness"),k=y.node1.getLayout(),F=y.node1.getModel(),B=F.get("localX"),H=F.get("localY"),W=y.node2.getLayout(),R=y.node2.getModel(),U=R.get("localX"),j=R.get("localY"),P=y.getLayout(),K,V,z,X,G,le,Y,me;C.shape.extent=Math.max(1,P.dy),C.shape.orient=L,L==="vertical"?(K=(B!=null?B*E:k.x)+P.sy,V=(H!=null?H*S:k.y)+k.dy,z=(U!=null?U*E:W.x)+P.ty,X=j!=null?j*S:W.y,G=K,le=V*(1-N)+X*N,Y=z,me=V*N+X*(1-N)):(K=(B!=null?B*E:k.x)+k.dx,V=(H!=null?H*S:k.y)+P.sy,z=U!=null?U*E:W.x,X=(j!=null?j*S:W.y)+P.ty,G=K*(1-N)+z*N,le=V,Y=K*N+z*(1-N),me=X),C.setShape({x1:K,y1:V,x2:z,y2:X,cpx1:G,cpy1:le,cpx2:Y,cpy2:me}),C.setStyle(O.getItemStyle());switch(C.style.fill){case"source":C.style.fill=y.node1.getVisual("color");break;case"target":C.style.fill=y.node2.getVisual("color");break}g.setHoverStyle(C,y.getModel("emphasis.lineStyle").getItemStyle()),b.add(C),T.setItemGraphicEl(y.dataIndex,C)}),p.eachNode(function(y){var C=y.getLayout(),O=y.getModel(),N=O.get("localX"),k=O.get("localY"),F=O.getModel("label"),B=O.getModel("emphasis.label"),H=new g.Rect({shape:{x:N!=null?N*E:C.x,y:k!=null?k*S:C.y,width:C.dx,height:C.dy},style:O.getModel("itemStyle").getItemStyle()}),W=y.getModel("emphasis.itemStyle").getItemStyle();g.setLabelStyle(H.style,W,F,B,{labelFetcher:l,labelDataIndex:y.dataIndex,defaultText:y.id,isRectText:!0}),H.setStyle("fill",y.getVisual("color")),g.setHoverStyle(H,W),b.add(H),x.setItemGraphicEl(y.dataIndex,H),H.dataType="node"}),x.eachItemGraphicEl(function(y,C){var O=x.getItemModel(C);O.get("draggable")&&(y.drift=function(N,k){d._focusAdjacencyDisabled=!0,this.shape.x+=N,this.shape.y+=k,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:x.getRawIndex(C),localX:this.shape.x/E,localY:this.shape.y/S})},y.ondragend=function(){d._focusAdjacencyDisabled=!1},y.draggable=!0,y.cursor="move"),y.highlight=function(){this.trigger("emphasis")},y.downplay=function(){this.trigger("normal")},y.focusNodeAdjHandler&&y.off("mouseover",y.focusNodeAdjHandler),y.unfocusNodeAdjHandler&&y.off("mouseout",y.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(y.on("mouseover",y.focusNodeAdjHandler=function(){d._focusAdjacencyDisabled||(d._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:y.dataIndex}))}),y.on("mouseout",y.unfocusNodeAdjHandler=function(){d._focusAdjacencyDisabled||d._dispatchUnfocus(s)}))}),T.eachItemGraphicEl(function(y,C){var O=T.getItemModel(C);y.focusNodeAdjHandler&&y.off("mouseover",y.focusNodeAdjHandler),y.unfocusNodeAdjHandler&&y.off("mouseout",y.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(y.on("mouseover",y.focusNodeAdjHandler=function(){d._focusAdjacencyDisabled||(d._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:y.dataIndex}))}),y.on("mouseout",y.unfocusNodeAdjHandler=function(){d._focusAdjacencyDisabled||d._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&b.setClipPath(r(b.getBoundingRect(),l,function(){b.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,t,s,d){var p=l.getData(),b=p.graph,w=d.dataIndex,E=p.getItemModel(w),S=d.edgeDataIndex;if(w==null&&S==null)return;var x=b.getNodeByIndex(w),T=b.getEdgeByIndex(S);if(b.eachNode(function(y){i(y,m,.1)}),b.eachEdge(function(y){i(y,h,.1)}),x){n(x,v);var L=E.get("focusNodeAdjacency");L==="outEdges"?A.each(x.outEdges,function(y){if(y.dataIndex<0)return;n(y,c),n(y.node2,v)}):L==="inEdges"?A.each(x.inEdges,function(y){if(y.dataIndex<0)return;n(y,c),n(y.node1,v)}):L==="allEdges"&&A.each(x.edges,function(y){if(y.dataIndex<0)return;n(y,c),y.node1!==x&&n(y.node1,v),y.node2!==x&&n(y.node2,v)})}T&&(n(T,c),n(T.node1,v),n(T.node2,v))},unfocusNodeAdjacency:function(l,t,s,d){var p=l.getGraph();p.eachNode(function(b){i(b,m)}),p.eachEdge(function(b){i(b,h)})}});function r(l,t,s){var d=new g.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return g.initProps(d,{shape:{width:l.width+20}},t,s),d}D.exports=u},W4dC:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.each,v=A.createHashMap,h=e("7DRL"),c=e("TIY9"),o=e("yS9w"),i=e("mFDi"),n={geoJSON:c,svg:o},a={load:function(t,s,d){var p=[],b=v(),w=v(),E,S=l(t);return m(S,function(x){var T=n[x.type].load(t,x,d);m(T.regions,function(y){var C=y.name;s&&s.hasOwnProperty(C)&&(y=y.cloneShallow(C=s[C])),p.push(y),b.set(C,y),w.set(C,y.center)});var L=T.boundingRect;L&&(E?E.union(L):E=L.clone())}),{regions:p,regionsMap:b,nameCoordMap:w,boundingRect:E||new i(0,0,0,0)}},makeGraphic:u("makeGraphic"),removeGraphic:u("removeGraphic")};function u(t){return function(s,d){var p=l(s),b=[];return m(p,function(w){var E=n[w.type][t];E&&b.push(E(s,w,d))}),b}}function r(t){}function l(t){var s=h.retrieveMap(t)||[];return s}D.exports=a},WGYa:function(D,_,e){var g=e("7yuC"),f=g.forceLayout,A=e("HF/U"),m=A.simpleLayout,v=e("lOQZ"),h=v.circularLayout,c=e("OELB"),o=c.linearMap,i=e("QBsz"),n=e("bYtY");function a(u){u.eachSeriesByType("graph",function(r){var l=r.coordinateSystem;if(l&&l.type!=="view")return;if(r.get("layout")==="force"){var t=r.preservedPoints||{},s=r.getGraph(),d=s.data,p=s.edgeData,b=r.getModel("force"),w=b.get("initLayout");r.preservedPoints?d.each(function(F){var B=d.getId(F);d.setItemLayout(F,t[B]||[NaN,NaN])}):!w||w==="none"?m(r):w==="circular"&&h(r,"value");var E=d.getDataExtent("value"),S=p.getDataExtent("value"),x=b.get("repulsion"),T=b.get("edgeLength");n.isArray(x)||(x=[x,x]),n.isArray(T)||(T=[T,T]),T=[T[1],T[0]];var L=d.mapArray("value",function(F,B){var H=d.getItemLayout(B),W=o(F,E,x);return isNaN(W)&&(W=(x[0]+x[1])/2),{w:W,rep:W,fixed:d.getItemModel(B).get("fixed"),p:!H||isNaN(H[0])||isNaN(H[1])?null:H}}),y=p.mapArray("value",function(F,B){var H=s.getEdgeByIndex(B),W=o(F,S,T);isNaN(W)&&(W=(T[0]+T[1])/2);var R=H.getModel();return{n1:L[H.node1.dataIndex],n2:L[H.node2.dataIndex],d:W,curveness:R.get("lineStyle.curveness")||0,ignoreForceLayout:R.get("ignoreForceLayout")}}),l=r.coordinateSystem,C=l.getBoundingRect(),O=f(L,y,{rect:C,gravity:b.get("gravity"),friction:b.get("friction")}),N=O.step;O.step=function(F){for(var B=0,H=L.length;B<H;B++)L[B].fixed&&i.copy(L[B].p,s.getNodeByIndex(B).getLayout());N(function(W,R,U){for(var j=0,P=W.length;j<P;j++)W[j].fixed||s.getNodeByIndex(j).setLayout(W[j].p),t[d.getId(j)]=W[j].p;for(var j=0,P=R.length;j<P;j++){var K=R[j],V=s.getEdgeByIndex(j),z=K.n1.p,X=K.n2.p,G=V.getLayout();G=G?G.slice():[],G[0]=G[0]||[],G[1]=G[1]||[],i.copy(G[0],z),i.copy(G[1],X),+K.curveness&&(G[2]=[(z[0]+X[0])/2-(z[1]-X[1])*K.curveness,(z[1]+X[1])/2-(X[0]-z[0])*K.curveness]),V.setLayout(G)}F&&F(U)})},r.forceLayout=O,r.preservedPoints=t,O.step()}else r.forceLayout=null})}D.exports=a},WKfj:function(D,_,e){"use strict";e.d(_,"d",function(){return f}),e.d(_,"e",function(){return A}),e.d(_,"f",function(){return m}),e.d(_,"c",function(){return v}),e.d(_,"b",function(){return c}),e.d(_,"a",function(){return i});var g=e("KQm4");function f(n){return Array.isArray(n)?n:n!==void 0?[n]:[]}function A(n,a){var u=a.labelInValue,r=a.combobox;if(n===void 0||n===""&&r)return[];var l=Array.isArray(n)?n:[n];return u?l.map(function(t){var s=t.key,d=t.value;return d!==void 0?d:s}):l}function m(n,a){var u=a.optionLabelProp,r=a.labelInValue,l=a.prevValue,t=a.options,s=a.getLabeledValue,d=n;return r&&(d=d.map(function(p){return s(p,{options:t,prevValue:l,labelInValue:r,optionLabelProp:u})})),d}function v(n,a){var u=Object(g.a)(a),r;for(r=n.length-1;r>=0&&n[r].disabled;r-=1);var l=null;return r!==-1&&(l=u[r],u.splice(r,1)),{values:u,removedValue:l}}var h=typeof window!="undefined"&&window.document&&window.document.documentElement,c=h,o=0;function i(){var n;return c?(n=o,o+=1):n="TEST_OR_SSR",n}},"WN+l":function(D,_,e){var g=e("bYtY"),f=e("IwbS");function A(v,h,c,o){var i=c.axis;if(i.scale.isBlank())return;var n=c.getModel("splitArea"),a=n.getModel("areaStyle"),u=a.get("color"),r=o.coordinateSystem.getRect(),l=i.getTicksCoords({tickModel:n,clamp:!0});if(!l.length)return;var t=u.length,s=v.__splitAreaColors,d=g.createHashMap(),p=0;if(s)for(var b=0;b<l.length;b++){var w=s.get(l[b].tickValue);if(w!=null){p=(w+(t-1)*b)%t;break}}var E=i.toGlobalCoord(l[0].coord),S=a.getAreaStyle();u=g.isArray(u)?u:[u];for(var b=1;b<l.length;b++){var x=i.toGlobalCoord(l[b].coord),T,L,y,C;i.isHorizontal()?(T=E,L=r.y,y=x-T,C=r.height,E=T+y):(T=r.x,L=E,y=r.width,C=x-L,E=L+C);var O=l[b-1].tickValue;O!=null&&d.set(O,p),h.add(new f.Rect({anid:O!=null?"area_"+O:null,shape:{x:T,y:L,width:y,height:C},style:g.defaults({fill:u[p]},S),silent:!0})),p=(p+1)%t}v.__splitAreaColors=d}function m(v){v.__splitAreaColors=null}_.rectCoordAxisBuildSplitArea=A,_.rectCoordAxisHandleRemove=m},WXVj:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("Bqw1")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="MinusSquareOutlined";var c=A.forwardRef(h);_.default=c},WaYH:function(D,_,e){"use strict";var g=e("rePB"),f=e("Ff2n"),A=e("VTBJ"),m=e("1OyB"),v=e("vuIU"),h=e("JX7q"),c=e("Ji7U"),o=e("LK+K"),i=e("q1tI"),n=e("TSYQ"),a=e.n(n),u=e("sboe"),r=e("OZM5"),l=function(T){var L=T.prefixCls,y=T.level,C=T.isStart,O=T.isEnd;if(!y)return null;for(var N="".concat(L,"-indent-unit"),k=[],F=0;F<y;F+=1){var B;k.push(i.createElement("span",{key:F,className:a()(N,(B={},Object(g.a)(B,"".concat(N,"-start"),C[F+1]),Object(g.a)(B,"".concat(N,"-end"),O[F+1]),Object(g.a)(B,"".concat(N,"-end-first-level"),!F&&O[0]),B))}))}return i.createElement("span",{"aria-hidden":"true",className:"".concat(L,"-indent")},k)},t=l,s=e("815F"),d="open",p="close",b="---",w=function(x){Object(c.a)(L,x);var T=Object(o.a)(L);function L(){var y;return Object(m.a)(this,L),y=T.apply(this,arguments),y.state={dragNodeHighlight:!1},y.onSelectorClick=function(C){var O=y.props.context.onNodeClick;O(C,Object(s.b)(y.props)),y.isSelectable()?y.onSelect(C):y.onCheck(C)},y.onSelectorDoubleClick=function(C){var O=y.props.context.onNodeDoubleClick;O(C,Object(s.b)(y.props))},y.onSelect=function(C){if(y.isDisabled())return;var O=y.props.context.onNodeSelect;C.preventDefault(),O(C,Object(s.b)(y.props))},y.onCheck=function(C){if(y.isDisabled())return;var O=y.props,N=O.disableCheckbox,k=O.checked,F=y.props.context.onNodeCheck;if(!y.isCheckable()||N)return;C.preventDefault();var B=!k;F(C,Object(s.b)(y.props),B)},y.onMouseEnter=function(C){var O=y.props.context.onNodeMouseEnter;O(C,Object(s.b)(y.props))},y.onMouseLeave=function(C){var O=y.props.context.onNodeMouseLeave;O(C,Object(s.b)(y.props))},y.onContextMenu=function(C){var O=y.props.context.onNodeContextMenu;O(C,Object(s.b)(y.props))},y.onDragStart=function(C){var O=y.props.context.onNodeDragStart;C.stopPropagation(),y.setState({dragNodeHighlight:!0}),O(C,Object(h.a)(y));try{C.dataTransfer.setData("text/plain","")}catch(N){}},y.onDragEnter=function(C){var O=y.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),O(C,Object(h.a)(y))},y.onDragOver=function(C){var O=y.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),O(C,Object(h.a)(y))},y.onDragLeave=function(C){var O=y.props.context.onNodeDragLeave;C.stopPropagation(),O(C,Object(h.a)(y))},y.onDragEnd=function(C){var O=y.props.context.onNodeDragEnd;C.stopPropagation(),y.setState({dragNodeHighlight:!1}),O(C,Object(h.a)(y))},y.onDrop=function(C){var O=y.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),y.setState({dragNodeHighlight:!1}),O(C,Object(h.a)(y))},y.onExpand=function(C){var O=y.props.context.onNodeExpand;O(C,Object(s.b)(y.props))},y.setSelectHandle=function(C){y.selectHandle=C},y.getNodeState=function(){var C=y.props.expanded;return y.isLeaf()?null:C?d:p},y.hasChildren=function(){var C=y.props.eventKey,O=y.props.context.keyEntities,N=O[C]||{},k=N.children;return!!(k||[]).length},y.isLeaf=function(){var C=y.props,O=C.isLeaf,N=C.loaded,k=y.props.context.loadData,F=y.hasChildren();return O===!1?!1:O||!k&&!F||k&&N&&!F},y.isDisabled=function(){var C=y.props.disabled,O=y.props.context.disabled;return!!(O||C)},y.isCheckable=function(){var C=y.props.checkable,O=y.props.context.checkable;return!O||C===!1?!1:O},y.syncLoadData=function(C){var O=C.expanded,N=C.loading,k=C.loaded,F=y.props.context,B=F.loadData,H=F.onNodeLoad;if(N)return;B&&O&&!y.isLeaf()&&(!y.hasChildren()&&!k&&H(Object(s.b)(y.props)))},y.renderSwitcher=function(){var C=y.props,O=C.expanded,N=C.switcherIcon,k=y.props.context,F=k.prefixCls,B=k.switcherIcon,H=N||B;if(y.isLeaf())return i.createElement("span",{className:a()("".concat(F,"-switcher"),"".concat(F,"-switcher-noop"))},typeof H=="function"?H(Object(A.a)(Object(A.a)({},y.props),{},{isLeaf:!0})):H);var W=a()("".concat(F,"-switcher"),"".concat(F,"-switcher_").concat(O?d:p));return i.createElement("span",{onClick:y.onExpand,className:W},typeof H=="function"?H(Object(A.a)(Object(A.a)({},y.props),{},{isLeaf:!1})):H)},y.renderCheckbox=function(){var C=y.props,O=C.checked,N=C.halfChecked,k=C.disableCheckbox,F=y.props.context.prefixCls,B=y.isDisabled(),H=y.isCheckable();if(!H)return null;var W=typeof H!="boolean"?H:null;return i.createElement("span",{className:a()("".concat(F,"-checkbox"),O&&"".concat(F,"-checkbox-checked"),!O&&N&&"".concat(F,"-checkbox-indeterminate"),(B||k)&&"".concat(F,"-checkbox-disabled")),onClick:y.onCheck},W)},y.renderIcon=function(){var C=y.props.loading,O=y.props.context.prefixCls;return i.createElement("span",{className:a()("".concat(O,"-iconEle"),"".concat(O,"-icon__").concat(y.getNodeState()||"docu"),C&&"".concat(O,"-icon_loading"))})},y.renderSelector=function(){var C=y.state.dragNodeHighlight,O=y.props,N=O.title,k=O.selected,F=O.icon,B=O.loading,H=O.data,W=y.props.context,R=W.prefixCls,U=W.showIcon,j=W.icon,P=W.draggable,K=W.loadData,V=W.titleRender,z=y.isDisabled(),X="".concat(R,"-node-content-wrapper"),G;if(U){var le=F||j;G=le?i.createElement("span",{className:a()("".concat(R,"-iconEle"),"".concat(R,"-icon__customize"))},typeof le=="function"?le(y.props):le):y.renderIcon()}else K&&B&&(G=y.renderIcon());var Y;typeof N=="function"?Y=N(H):V?Y=V(H):Y=N;var me=i.createElement("span",{className:"".concat(R,"-title")},Y);return i.createElement("span",{ref:y.setSelectHandle,title:typeof N=="string"?N:"",className:a()("".concat(X),"".concat(X,"-").concat(y.getNodeState()||"normal"),!z&&(k||C)&&"".concat(R,"-node-selected"),!z&&P&&"draggable"),draggable:!z&&P||void 0,"aria-grabbed":!z&&P||void 0,onMouseEnter:y.onMouseEnter,onMouseLeave:y.onMouseLeave,onContextMenu:y.onContextMenu,onClick:y.onSelectorClick,onDoubleClick:y.onSelectorDoubleClick,onDragStart:P?y.onDragStart:void 0},G,me)},y}return Object(v.a)(L,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var C=this.props.selectable,O=this.props.context.selectable;return typeof C=="boolean"?C:O}},{key:"render",value:function(){var C,O=this.props,N=O.eventKey,k=O.className,F=O.style,B=O.dragOver,H=O.dragOverGapTop,W=O.dragOverGapBottom,R=O.isLeaf,U=O.isStart,j=O.isEnd,P=O.expanded,K=O.selected,V=O.checked,z=O.halfChecked,X=O.loading,G=O.domRef,le=O.active,Y=O.onMouseMove,me=Object(f.a)(O,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),we=this.props.context,pe=we.prefixCls,Fe=we.filterTreeNode,Xe=we.draggable,dt=we.keyEntities,Ee=this.isDisabled(),Se=Object(r.f)(me),at=dt[N]||{},_e=at.level,ce=j[j.length-1];return i.createElement("div",Object.assign({ref:G,className:a()(k,"".concat(pe,"-treenode"),(C={},Object(g.a)(C,"".concat(pe,"-treenode-disabled"),Ee),Object(g.a)(C,"".concat(pe,"-treenode-switcher-").concat(P?"open":"close"),!R),Object(g.a)(C,"".concat(pe,"-treenode-checkbox-checked"),V),Object(g.a)(C,"".concat(pe,"-treenode-checkbox-indeterminate"),z),Object(g.a)(C,"".concat(pe,"-treenode-selected"),K),Object(g.a)(C,"".concat(pe,"-treenode-loading"),X),Object(g.a)(C,"".concat(pe,"-treenode-active"),le),Object(g.a)(C,"".concat(pe,"-treenode-leaf-last"),ce),Object(g.a)(C,"drag-over",!Ee&&B),Object(g.a)(C,"drag-over-gap-top",!Ee&&H),Object(g.a)(C,"drag-over-gap-bottom",!Ee&&W),Object(g.a)(C,"filter-node",Fe&&Fe(Object(s.b)(this.props))),C)),style:F,onDragEnter:Xe?this.onDragEnter:void 0,onDragOver:Xe?this.onDragOver:void 0,onDragLeave:Xe?this.onDragLeave:void 0,onDrop:Xe?this.onDrop:void 0,onDragEnd:Xe?this.onDragEnd:void 0,onMouseMove:Y},Se),i.createElement(t,{prefixCls:pe,level:_e,isStart:U,isEnd:j}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),L}(i.Component),E=function(T){return i.createElement(u.a.Consumer,null,function(L){return i.createElement(w,Object.assign({},T,{context:L}))})};E.displayName="TreeNode",E.defaultProps={title:b},E.isTreeNode=1;var S=_.a=E},Wqna:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.isObject,v=A.each,h=A.map,c=A.indexOf,o=A.retrieve,i=e("+TT/"),n=i.getLayoutRect,a=e("aX7z"),u=a.createScaleByModel,r=a.ifAxisCrossZero,l=a.niceScaleExtent,t=a.estimateLabelUnionRect,s=e("y+lR"),d=e("7AJT"),p=e("IDmD"),b=e("7hqr"),w=b.getStackedDimension;e("jtI2");function E(F,B,H){return F.getCoordSysModel()===B}function S(F,B,H){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(F,B,H),this.model=F}var x=S.prototype;x.type="grid",x.axisPointerEnabled=!0,x.getRect=function(){return this._rect},x.update=function(F,B){var H=this._axesMap;this._updateScale(F,this.model),v(H.x,function(R){l(R.scale,R.model)}),v(H.y,function(R){l(R.scale,R.model)});var W={};v(H.x,function(R){T(H,"y",R,W)}),v(H.y,function(R){T(H,"x",R,W)}),this.resize(this.model,B)};function T(F,B,H,W){H.getAxesOnZeroOf=function(){return U?[U]:[]};var R=F[B],U,j=H.model,P=j.get("axisLine.onZero"),K=j.get("axisLine.onZeroAxisIndex");if(!P)return;if(K!=null)L(R[K])&&(U=R[K]);else for(var V in R)if(R.hasOwnProperty(V)&&L(R[V])&&!W[z(R[V])]){U=R[V];break}U&&(W[z(U)]=!0);function z(X){return X.dim+"_"+X.index}}function L(F){return F&&F.type!=="category"&&F.type!=="time"&&r(F)}x.resize=function(F,B,H){var W=n(F.getBoxLayoutParams(),{width:B.getWidth(),height:B.getHeight()});this._rect=W;var R=this._axesList;U(),!H&&F.get("containLabel")&&(v(R,function(j){if(!j.model.get("axisLabel.inside")){var P=t(j);if(P){var K=j.isHorizontal()?"height":"width",V=j.model.get("axisLabel.margin");W[K]-=P[K]+V,j.position==="top"?W.y+=P.height+V:j.position==="left"&&(W.x+=P.width+V)}}}),U());function U(){v(R,function(j){var P=j.isHorizontal(),K=P?[0,W.width]:[0,W.height],V=j.inverse?1:0;j.setExtent(K[V],K[1-V]),y(j,P?W.x:W.y)})}},x.getAxis=function(F,B){var H=this._axesMap[F];if(H!=null){if(B==null){for(var W in H)if(H.hasOwnProperty(W))return H[W]}return H[B]}},x.getAxes=function(){return this._axesList.slice()},x.getCartesian=function(F,B){if(F!=null&&B!=null){var H="x"+F+"y"+B;return this._coordsMap[H]}m(F)&&(B=F.yAxisIndex,F=F.xAxisIndex);for(var W=0,R=this._coordsList;W<R.length;W++)if(R[W].getAxis("x").index===F||R[W].getAxis("y").index===B)return R[W]},x.getCartesians=function(){return this._coordsList.slice()},x.convertToPixel=function(F,B,H){var W=this._findConvertTarget(F,B);return W.cartesian?W.cartesian.dataToPoint(H):W.axis?W.axis.toGlobalCoord(W.axis.dataToCoord(H)):null},x.convertFromPixel=function(F,B,H){var W=this._findConvertTarget(F,B);return W.cartesian?W.cartesian.pointToData(H):W.axis?W.axis.coordToData(W.axis.toLocalCoord(H)):null},x._findConvertTarget=function(F,B){var H=B.seriesModel,W=B.xAxisModel||H&&H.getReferringComponents("xAxis")[0],R=B.yAxisModel||H&&H.getReferringComponents("yAxis")[0],U=B.gridModel,j=this._coordsList,P,K;if(H)P=H.coordinateSystem,c(j,P)<0&&(P=null);else if(W&&R)P=this.getCartesian(W.componentIndex,R.componentIndex);else if(W)K=this.getAxis("x",W.componentIndex);else if(R)K=this.getAxis("y",R.componentIndex);else if(U){var V=U.coordinateSystem;V===this&&(P=this._coordsList[0])}return{cartesian:P,axis:K}},x.containPoint=function(F){var B=this._coordsList[0];if(B)return B.containPoint(F)},x._initCartesian=function(F,B,H){var W={left:!1,right:!1,top:!1,bottom:!1},R={x:{},y:{}},U={x:0,y:0};if(B.eachComponent("xAxis",j("x"),this),B.eachComponent("yAxis",j("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=R,v(R.x,function(P,K){v(R.y,function(V,z){var X="x"+K+"y"+z,G=new s(X);G.grid=this,G.model=F,this._coordsMap[X]=G,this._coordsList.push(G),G.addAxis(P),G.addAxis(V)},this)},this);function j(P){return function(K,V){if(!E(K,F,B))return;var z=K.get("position");P==="x"?z!=="top"&&z!=="bottom"&&(z=W.bottom?"top":"bottom"):z!=="left"&&z!=="right"&&(z=W.left?"right":"left"),W[z]=!0;var X=new d(P,u(K),[0,0],K.get("type"),z),G=X.type==="category";X.onBand=G&&K.get("boundaryGap"),X.inverse=K.get("inverse"),K.axis=X,X.model=K,X.grid=this,X.index=V,this._axesList.push(X),R[P][V]=X,U[P]++}}},x._updateScale=function(F,B){v(this._axesList,function(W){W.scale.setExtent(Infinity,-Infinity)}),F.eachSeries(function(W){if(N(W)){var R=O(W,F),U=R[0],j=R[1];if(!E(U,B,F)||!E(j,B,F))return;var P=this.getCartesian(U.componentIndex,j.componentIndex),K=W.getData(),V=P.getAxis("x"),z=P.getAxis("y");K.type==="list"&&(H(K,V,W),H(K,z,W))}},this);function H(W,R,U){v(W.mapDimension(R.dim,!0),function(j){R.scale.unionExtentFromData(W,w(W,j))})}},x.getTooltipAxes=function(F){var B=[],H=[];return v(this.getCartesians(),function(W){var R=F!=null&&F!=="auto"?W.getAxis(F):W.getBaseAxis(),U=W.getOtherAxis(R);c(B,R)<0&&B.push(R),c(H,U)<0&&H.push(U)}),{baseAxes:B,otherAxes:H}};function y(F,B){var H=F.getExtent(),W=H[0]+H[1];F.toGlobalCoord=F.dim==="x"?function(R){return R+B}:function(R){return W-R+B},F.toLocalCoord=F.dim==="x"?function(R){return R-B}:function(R){return W-R+B}}var C=["xAxis","yAxis"];function O(F,B){return h(C,function(H){var W=F.getReferringComponents(H)[0];return W})}function N(F){return F.get("coordinateSystem")==="cartesian2d"}S.create=function(F,B){var H=[];return F.eachComponent("grid",function(W,R){var U=new S(W,F,B);U.name="grid_"+R,U.resize(W,B,!0),W.coordinateSystem=U,H.push(U)}),F.eachSeries(function(W){if(!N(W))return;var R=O(W,F),U=R[0],j=R[1],P=U.getCoordSysModel(),K=P.coordinateSystem;W.coordinateSystem=K.getCartesian(U.componentIndex,j.componentIndex)}),H},S.dimensions=S.prototype.dimensions=s.prototype.dimensions,p.register("cartesian2d",S);var k=S;D.exports=k},"X+im":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("KQeH")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="DownloadOutlined";var c=A.forwardRef(h);_.default=c},"X2/X":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};_.default=g},XAae:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("hwYd"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},XOKv:function(D,_,e){e("OXB0"),e("SA4+")},Xi7e:function(D,_,e){var g=e("KMkd"),f=e("adU4"),A=e("tMB7"),m=e("+6XX"),v=e("Z8oC");function h(c){var o=-1,i=c==null?0:c.length;for(this.clear();++o<i;){var n=c[o];this.set(n[0],n[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=A,h.prototype.has=m,h.prototype.set=v,D.exports=h},Xmg4:function(D,_,e){var g=e("bYtY"),f=e("LPTA"),A=f.devicePixelRatio,m=e("K2GJ"),v=e("3C/r");function h(){return!1}function c(n,a,u){var r=g.createCanvas(),l=a.getWidth(),t=a.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=l+"px",s.height=t+"px",r.setAttribute("data-zr-dom-id",n)),r.width=l*u,r.height=t*u,r}var o=function(a,u,r){var l;r=r||A,typeof a=="string"?l=c(a,u,r):g.isObject(a)&&(l=a,a=l.id),this.id=a,this.dom=l;var t=l.style;t&&(l.onselectstart=h,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=u,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=r};o.prototype={constructor:o,__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 a=this.dpr;this.domBack=c("back-"+this.id,this.painter,a),this.ctxBack=this.domBack.getContext("2d"),a!==1&&this.ctxBack.scale(a,a)},resize:function(a,u){var r=this.dpr,l=this.dom,t=l.style,s=this.domBack;t&&(t.width=a+"px",t.height=u+"px"),l.width=a*r,l.height=u*r,s&&(s.width=a*r,s.height=u*r,r!==1&&this.ctxBack.scale(r,r))},clear:function(a,u){var r=this.dom,l=this.ctx,t=r.width,s=r.height,u=u||this.clearColor,d=this.motionBlur&&!a,p=this.lastFrameAlpha,b=this.dpr;if(d&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,t/b,s/b)),l.clearRect(0,0,t,s),u&&u!=="transparent"){var w;u.colorStops?(w=u.__canvasGradient||m.getGradient(l,u,{x:0,y:0,width:t,height:s}),u.__canvasGradient=w):u.image&&(w=v.prototype.getCanvasPattern.call(u,l)),l.save(),l.fillStyle=w||u,l.fillRect(0,0,t,s),l.restore()}if(d){var E=this.domBack;l.save(),l.globalAlpha=p,l.drawImage(E,0,0,t,s),l.restore()}}};var i=o;D.exports=i},Xnb7:function(D,_,e){var g=e("1RvN"),f=new g(50);function A(c){if(typeof c=="string"){var o=f.get(c);return o&&o.image}else return c}function m(c,o,i,n,a){if(c)if(typeof c=="string"){if(o&&o.__zrImageSrc===c||!i)return o;var u=f.get(c),r={hostEl:i,cb:n,cbPayload:a};return u?(o=u.image,!h(o)&&u.pending.push(r)):(o=new Image,o.onload=o.onerror=v,f.put(c,o.__cachedImgObj={image:o,pending:[r]}),o.src=o.__zrImageSrc=c),o}else return c;else return o}function v(){var c=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var o=0;o<c.pending.length;o++){var i=c.pending[o],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}c.pending.length=0}function h(c){return c&&c.width&&c.height}_.findExistImage=A,_.createOrUpdateImage=m,_.isImageReady=h},XpcN:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("oVpE"),h=v.createSymbol,c=e("IwbS"),o=e("eRkO"),i=o.makeBackground,n=e("+TT/"),a=m.curry,u=m.each,r=c.Group,l=A.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new r),this._backgroundEl,this.group.add(this._selectorGroup=new r),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(b,w,E){var S=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!b.get("show",!0))return;var x=b.get("align"),T=b.get("orient");(!x||x==="auto")&&(x=b.get("left")==="right"&&T==="vertical"?"right":"left");var L=b.get("selector",!0),y=b.get("selectorPosition",!0);L&&(!y||y==="auto")&&(y=T==="horizontal"?"end":"start"),this.renderInner(x,b,w,E,L,T,y);var C=b.getBoxLayoutParams(),O={width:E.getWidth(),height:E.getHeight()},N=b.get("padding"),k=n.getLayoutRect(C,O,N),F=this.layoutInner(b,x,k,S,L,y),B=n.getLayoutRect(m.defaults({width:F.width,height:F.height},C),O,N);this.group.attr("position",[B.x-F.x,B.y-F.y]),this.group.add(this._backgroundEl=i(F,b))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(b,w,E,S,x,T,L){var y=this.getContentGroup(),C=m.createHashMap(),O=w.get("selectedMode"),N=[];E.eachRawSeries(function(k){!k.get("legendHoverLink")&&N.push(k.id)}),u(w.getData(),function(k,F){var B=k.get("name");if(!this.newlineDisabled&&(B===""||B===`
`)){y.add(new r({newline:!0}));return}var H=E.getSeriesByName(B)[0];if(C.get(B))return;if(H){var W=H.getData(),R=W.getVisual("color"),U=W.getVisual("borderColor");typeof R=="function"&&(R=R(H.getDataParams(0))),typeof U=="function"&&(U=U(H.getDataParams(0)));var j=W.getVisual("legendSymbol")||"roundRect",P=W.getVisual("symbol"),K=this._createItem(B,F,k,w,j,P,b,R,U,O);K.on("click",a(s,B,null,S,N)).on("mouseover",a(d,H.name,null,S,N)).on("mouseout",a(p,H.name,null,S,N)),C.set(B,!0)}else E.eachRawSeries(function(V){if(C.get(B))return;if(V.legendVisualProvider){var z=V.legendVisualProvider;if(!z.containName(B))return;var X=z.indexOfName(B),G=z.getItemVisual(X,"color"),le=z.getItemVisual(X,"borderColor"),Y="roundRect",me=this._createItem(B,F,k,w,Y,null,b,G,le,O);me.on("click",a(s,null,B,S,N)).on("mouseover",a(d,null,B,S,N)).on("mouseout",a(p,null,B,S,N)),C.set(B,!0)}},this)},this),x&&this._createSelector(x,w,S,T,L)},_createSelector:function(b,w,E,S,x){var T=this.getSelectorGroup();u(b,function(y){L(y)});function L(y){var C=y.type,O=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){E.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});T.add(O);var N=w.getModel("selectorLabel"),k=w.getModel("emphasis.selectorLabel");c.setLabelStyle(O.style,O.hoverStyle={},N,k,{defaultText:y.title,isRectText:!1}),c.setHoverStyle(O)}},_createItem:function(b,w,E,S,x,T,L,y,C,O){var N=S.get("itemWidth"),k=S.get("itemHeight"),F=S.get("inactiveColor"),B=S.get("inactiveBorderColor"),H=S.get("symbolKeepAspect"),W=S.getModel("itemStyle"),R=S.isSelected(b),U=new r,j=E.getModel("textStyle"),P=E.get("icon"),K=E.getModel("tooltip"),V=K.parentModel;x=P||x;var z=h(x,0,0,N,k,R?y:F,H==null?!0:H);if(U.add(t(z,x,W,C,B,R)),!P&&T&&(T!==x||T==="none")){var X=k*.8;T==="none"&&(T="circle");var G=h(T,(N-X)/2,(k-X)/2,X,X,R?y:F,H==null?!0:H);U.add(t(G,T,W,C,B,R))}var le=L==="left"?N+5:-5,Y=L,me=S.get("formatter"),we=b;typeof me=="string"&&me?we=me.replace("{name}",b!=null?b:""):typeof me=="function"&&(we=me(b)),U.add(new c.Text({style:c.setTextStyle({},j,{text:we,x:le,y:k/2,textFill:R?j.getTextColor():F,textAlign:Y,textVerticalAlign:"middle"})}));var pe=new c.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:K.get("show")?m.extend({content:b,formatter:V.get("formatter",!0)||function(){return b},formatterParams:{componentType:"legend",legendIndex:S.componentIndex,name:b,$vars:["name"]}},K.option):null});return U.add(pe),U.eachChild(function(Fe){Fe.silent=!0}),pe.silent=!O,this.getContentGroup().add(U),c.setHoverStyle(U),U.__legendDataIndex=w,U},layoutInner:function(b,w,E,S,x,T){var L=this.getContentGroup(),y=this.getSelectorGroup();n.box(b.get("orient"),L,b.get("itemGap"),E.width,E.height);var C=L.getBoundingRect(),O=[-C.x,-C.y];if(x){n.box("horizontal",y,b.get("selectorItemGap",!0));var N=y.getBoundingRect(),k=[-N.x,-N.y],F=b.get("selectorButtonGap",!0),B=b.getOrient().index,H=B===0?"width":"height",W=B===0?"height":"width",R=B===0?"y":"x";T==="end"?k[B]+=C[H]+F:O[B]+=N[H]+F,k[1-B]+=C[W]/2-N[W]/2,y.attr("position",k),L.attr("position",O);var U={x:0,y:0};return U[H]=C[H]+F+N[H],U[W]=Math.max(C[W],N[W]),U[R]=Math.min(0,N[R]+k[1-B]),U}else return L.attr("position",O),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(b,w,E,S,x,T){var L;return w!=="line"&&w.indexOf("empty")<0?(L=E.getItemStyle(),b.style.stroke=S,T||(L.stroke=x)):L=E.getItemStyle(["borderWidth","borderColor"]),b.setStyle(L)}function s(b,w,E,S){p(b,w,E,S),E.dispatchAction({type:"legendToggleSelect",name:b!=null?b:w}),d(b,w,E,S)}function d(b,w,E,S){var x=E.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||E.dispatchAction({type:"highlight",seriesName:b,name:w,excludeSeriesId:S})}function p(b,w,E,S){var x=E.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||E.dispatchAction({type:"downplay",seriesName:b,name:w,excludeSeriesId:S})}D.exports=l},XuBP:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};_.default=g},XxSj:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),A=e("OELB"),m=A.linearMap,v=g.each,h=g.isObject,c=-1,o=function(T){var L=T.mappingMethod,y=T.type,C=this.option=g.clone(T);this.type=y,this.mappingMethod=L,this._normalizeData=E[L];var O=i[y];this.applyVisual=O.applyVisual,this.getColorMapper=O.getColorMapper,this._doMap=O._doMap[L],L==="piecewise"?(u(C),n(C)):L==="category"?C.categories?a(C):u(C,!0):(g.assert(L!=="linear"||C.dataExtent),u(C))};o.prototype={constructor:o,mapValueToVisual:function(T){var L=this._normalizeData(T);return this._doMap(L,T)},getNormalizer:function(){return g.bind(this._normalizeData,this)}};var i=o.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var T=this.option;return g.bind(T.mappingMethod==="category"?function(L,y){return!y&&(L=this._normalizeData(L)),s.call(this,L)}:function(L,y,C){var O=!!C;return!y&&(L=this._normalizeData(L)),C=f.fastLerp(L,T.parsedVisual,C),O?C:f.stringify(C,"rgba")},this)},_doMap:{linear:function(T){return f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")},category:s,piecewise:function(T,L){var y=b.call(this,L);return y==null&&(y=f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")),y},fixed:d}},colorHue:r(function(T,L){return f.modifyHSL(T,L)}),colorSaturation:r(function(T,L){return f.modifyHSL(T,null,L)}),colorLightness:r(function(T,L){return f.modifyHSL(T,null,null,L)}),colorAlpha:r(function(T,L){return f.modifyAlpha(T,L)}),opacity:{applyVisual:t("opacity"),_doMap:p([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:d,category:d,piecewise:d,fixed:d}},symbol:{applyVisual:function(T,L,y){var C=this.mapValueToVisual(T);if(g.isString(C))y("symbol",C);else if(h(C))for(var O in C)C.hasOwnProperty(O)&&y(O,C[O])},_doMap:{linear:l,category:s,piecewise:function(T,L){var y=b.call(this,L);return y==null&&(y=l.call(this,T)),y},fixed:d}},symbolSize:{applyVisual:t("symbolSize"),_doMap:p([0,1])}};function n(T){var L=T.pieceList;T.hasSpecialVisual=!1,g.each(L,function(y,C){y.originIndex=C,y.visual!=null&&(T.hasSpecialVisual=!0)})}function a(T){var L=T.categories,y=T.visual,C=T.categoryMap={};if(v(L,function(k,F){C[k]=F}),!g.isArray(y)){var O=[];g.isObject(y)?v(y,function(k,F){var B=C[F];O[B!=null?B:c]=k}):O[c]=y,y=w(T,O)}for(var N=L.length-1;N>=0;N--)y[N]==null&&(delete C[L[N]],L.pop())}function u(T,L){var y=T.visual,C=[];g.isObject(y)?v(y,function(N){C.push(N)}):y!=null&&C.push(y);var O={color:1,symbol:1};!L&&C.length===1&&!O.hasOwnProperty(T.type)&&(C[1]=C[0]),w(T,C)}function r(T){return{applyVisual:function(L,y,C){L=this.mapValueToVisual(L),C("color",T(y("color"),L))},_doMap:p([0,1])}}function l(T){var L=this.option.visual;return L[Math.round(m(T,[0,1],[0,L.length-1],!0))]||{}}function t(T){return function(L,y,C){C(T,this.mapValueToVisual(L))}}function s(T){var L=this.option.visual;return L[this.option.loop&&T!==c?T%L.length:T]}function d(){return this.option.visual[0]}function p(T){return{linear:function(L){return m(L,T,this.option.visual,!0)},category:s,piecewise:function(L,y){var C=b.call(this,y);return C==null&&(C=m(L,T,this.option.visual,!0)),C},fixed:d}}function b(T){var L=this.option,y=L.pieceList;if(L.hasSpecialVisual){var C=o.findPieceIndex(T,y),O=y[C];if(O&&O.visual)return O.visual[this.type]}}function w(T,L){return T.visual=L,T.type==="color"&&(T.parsedVisual=g.map(L,function(y){return f.parse(y)})),L}var E={linear:function(T){return m(T,this.option.dataExtent,[0,1],!0)},piecewise:function(T){var L=this.option.pieceList,y=o.findPieceIndex(T,L,!0);if(y!=null)return m(y,[0,L.length-1],[0,1],!0)},category:function(T){var L=this.option.categories?this.option.categoryMap[T]:T;return L==null?c:L},fixed:g.noop};o.listVisualTypes=function(){var T=[];return g.each(i,function(L,y){T.push(y)}),T},o.addVisualHandler=function(T,L){i[T]=L},o.isValidType=function(T){return i.hasOwnProperty(T)},o.eachVisual=function(T,L,y){g.isObject(T)?g.each(T,L,y):L.call(y,T)},o.mapVisual=function(T,L,y){var C,O=g.isArray(T)?[]:g.isObject(T)?{}:(C=!0,null);return o.eachVisual(T,function(N,k){var F=L.call(y,N,k);C?O=F:O[k]=F}),O},o.retrieveVisuals=function(T){var L={},y;return T&&v(i,function(C,O){T.hasOwnProperty(O)&&(L[O]=T[O],y=!0)}),y?L:null},o.prepareVisualTypes=function(T){if(h(T)){var L=[];v(T,function(y,C){L.push(C)}),T=L}else if(g.isArray(T))T=T.slice();else return[];return T.sort(function(y,C){return C==="color"&&y!=="color"&&y.indexOf("color")===0?1:-1}),T},o.dependsOn=function(T,L){return L==="color"?!!(T&&T.indexOf(L)===0):T===L},o.findPieceIndex=function(T,L,y){for(var C,O=Infinity,N=0,k=L.length;N<k;N++){var F=L[N].value;if(F!=null){if(F===T||typeof F=="string"&&F===T+"")return N;y&&R(F,N)}}for(var N=0,k=L.length;N<k;N++){var B=L[N],H=B.interval,W=B.close;if(H){if(H[0]===-Infinity){if(S(W[1],T,H[1]))return N}else if(H[1]===Infinity){if(S(W[0],H[0],T))return N}else if(S(W[0],H[0],T)&&S(W[1],T,H[1]))return N;y&&R(H[0],N),y&&R(H[1],N)}}if(y)return T===Infinity?L.length-1:T===-Infinity?0:C;function R(U,j){var P=Math.abs(U-T);P<O&&(O=P,C=j)}};function S(T,L,y){return T?L<=y:L<y}var x=o;D.exports=x},XzQk:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("KpQ+"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"Y+p1":function(D,_,e){var g=e("wF/u");function f(A,m){return g(A,m)}D.exports=f},Y1PL:function(D,_,e){"use strict";e.r(_),e.d(_,"ResizableTextArea",function(){return T});var g=e("1OyB"),f=e("vuIU"),A=e("Ji7U"),m=e("md7G"),v=e("foSv"),h=e("q1tI"),c=e("rePB"),o=e("t23M"),i=e("BGR+"),n=e("TSYQ"),a=e.n(n),u=`
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
`,r=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],l={},t;function s(N){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=N.getAttribute("id")||N.getAttribute("data-reactid")||N.getAttribute("name");if(k&&l[F])return l[F];var B=window.getComputedStyle(N),H=B.getPropertyValue("box-sizing")||B.getPropertyValue("-moz-box-sizing")||B.getPropertyValue("-webkit-box-sizing"),W=parseFloat(B.getPropertyValue("padding-bottom"))+parseFloat(B.getPropertyValue("padding-top")),R=parseFloat(B.getPropertyValue("border-bottom-width"))+parseFloat(B.getPropertyValue("border-top-width")),U=r.map(function(P){return"".concat(P,":").concat(B.getPropertyValue(P))}).join(";"),j={sizingStyle:U,paddingSize:W,borderSize:R,boxSizing:H};return k&&F&&(l[F]=j),j}function d(N){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,B=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;t||(t=document.createElement("textarea"),t.setAttribute("tab-index","-1"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),N.getAttribute("wrap")?t.setAttribute("wrap",N.getAttribute("wrap")):t.removeAttribute("wrap");var H=s(N,k),W=H.paddingSize,R=H.borderSize,U=H.boxSizing,j=H.sizingStyle;t.setAttribute("style","".concat(j,";").concat(u)),t.value=N.value||N.placeholder||"";var P=Number.MIN_SAFE_INTEGER,K=Number.MAX_SAFE_INTEGER,V=t.scrollHeight,z;if(U==="border-box"?V+=R:U==="content-box"&&(V-=W),F!==null||B!==null){t.value=" ";var X=t.scrollHeight-W;F!==null&&(P=X*F,U==="border-box"&&(P=P+W+R),V=Math.max(P,V)),B!==null&&(K=X*B,U==="border-box"&&(K=K+W+R),z=V>K?"":"hidden",V=Math.min(K,V))}return{height:V,minHeight:P,maxHeight:K,overflowY:z}}function p(N,k){var F=Object.keys(N);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(N);k&&(B=B.filter(function(H){return Object.getOwnPropertyDescriptor(N,H).enumerable})),F.push.apply(F,B)}return F}function b(N){for(var k=1;k<arguments.length;k++){var F=arguments[k]!=null?arguments[k]:{};k%2?p(Object(F),!0).forEach(function(B){Object(c.a)(N,B,F[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(F)):p(Object(F)).forEach(function(B){Object.defineProperty(N,B,Object.getOwnPropertyDescriptor(F,B))})}return N}function w(N){var k=E();return function(){var B=Object(v.a)(N),H;if(k){var W=Object(v.a)(this).constructor;H=Reflect.construct(B,arguments,W)}else H=B.apply(this,arguments);return Object(m.a)(this,H)}}function E(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}var S;(function(N){N[N.NONE=0]="NONE",N[N.RESIZING=1]="RESIZING",N[N.RESIZED=2]="RESIZED"})(S||(S={}));var x=function(N){Object(A.a)(F,N);var k=w(F);function F(B){var H;return Object(g.a)(this,F),H=k.call(this,B),H.saveTextArea=function(W){H.textArea=W},H.handleResize=function(W){var R=H.state.resizeStatus,U=H.props,j=U.autoSize,P=U.onResize;if(R!==S.NONE)return;typeof P=="function"&&P(W),j&&H.resizeOnNextFrame()},H.resizeOnNextFrame=function(){cancelAnimationFrame(H.nextFrameActionId),H.nextFrameActionId=requestAnimationFrame(H.resizeTextarea)},H.resizeTextarea=function(){var W=H.props.autoSize;if(!W||!H.textArea)return;var R=W.minRows,U=W.maxRows,j=d(H.textArea,!1,R,U);H.setState({textareaStyles:j,resizeStatus:S.RESIZING},function(){cancelAnimationFrame(H.resizeFrameId),H.resizeFrameId=requestAnimationFrame(function(){H.setState({resizeStatus:S.RESIZED},function(){H.resizeFrameId=requestAnimationFrame(function(){H.setState({resizeStatus:S.NONE}),H.fixFirefoxAutoScroll()})})})})},H.renderTextArea=function(){var W=H.props,R=W.prefixCls,U=R===void 0?"rc-textarea":R,j=W.autoSize,P=W.onResize,K=W.className,V=W.disabled,z=H.state,X=z.textareaStyles,G=z.resizeStatus,le=Object(i.default)(H.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),Y=a()(U,K,Object(c.a)({},"".concat(U,"-disabled"),V));"value"in le&&(le.value=le.value||"");var me=b(b(b({},H.props.style),X),G===S.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return h.createElement(o.a,{onResize:H.handleResize,disabled:!(j||P)},h.createElement("textarea",Object.assign({},le,{className:Y,style:me,ref:H.saveTextArea})))},H.state={textareaStyles:{},resizeStatus:S.NONE},H}return Object(f.a)(F,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(H){H.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var H=this.textArea.selectionStart,W=this.textArea.selectionEnd;this.textArea.setSelectionRange(H,W)}}catch(R){}}},{key:"render",value:function(){return this.renderTextArea()}}]),F}(h.Component),T=x;function L(N){var k=y();return function(){var B=Object(v.a)(N),H;if(k){var W=Object(v.a)(this).constructor;H=Reflect.construct(B,arguments,W)}else H=B.apply(this,arguments);return Object(m.a)(this,H)}}function y(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}var C=function(N){Object(A.a)(F,N);var k=L(F);function F(B){var H;Object(g.a)(this,F),H=k.call(this,B),H.focus=function(){H.resizableTextArea.textArea.focus()},H.saveTextArea=function(R){H.resizableTextArea=R},H.handleChange=function(R){var U=H.props.onChange;H.setValue(R.target.value,function(){H.resizableTextArea.resizeTextarea()}),U&&U(R)},H.handleKeyDown=function(R){var U=H.props,j=U.onPressEnter,P=U.onKeyDown;R.keyCode===13&&j&&j(R),P&&P(R)};var W=typeof B.value=="undefined"||B.value===null?B.defaultValue:B.value;return H.state={value:W},H}return Object(f.a)(F,[{key:"setValue",value:function(H,W){"value"in this.props||this.setState({value:H},W)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return h.createElement(T,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(H){return"value"in H?{value:H.value}:null}}]),F}(h.Component),O=_.default=C},YESw:function(D,_,e){var g=e("Cwc5"),f=g(Object,"create");D.exports=f},YH21:function(D,_,e){var g=e("H6uX");_.Dispatcher=g;var f=e("ItGF"),A=e("Ze12"),m=A.isCanvasEl,v=A.transformCoordWithViewport,h=typeof window!="undefined"&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,o=[];function i(p,b,w,E){return w=w||{},E||!f.canvasSupported?n(p,b,w):f.browser.firefox&&b.layerX!=null&&b.layerX!==b.offsetX?(w.zrX=b.layerX,w.zrY=b.layerY):b.offsetX!=null?(w.zrX=b.offsetX,w.zrY=b.offsetY):n(p,b,w),w}function n(p,b,w){if(f.domSupported&&p.getBoundingClientRect){var E=b.clientX,S=b.clientY;if(m(p)){var x=p.getBoundingClientRect();w.zrX=E-x.left,w.zrY=S-x.top;return}else if(v(o,p,E,S)){w.zrX=o[0],w.zrY=o[1];return}}w.zrX=w.zrY=0}function a(p){return p||window.event}function u(p,b,w){if(b=a(b),b.zrX!=null)return b;var E=b.type,S=E&&E.indexOf("touch")>=0;if(!S)i(p,b,b,w),b.zrDelta=b.wheelDelta?b.wheelDelta/120:-(b.detail||0)/3;else{var x=E!=="touchend"?b.targetTouches[0]:b.changedTouches[0];x&&i(p,x,b,w)}var T=b.button;return b.which==null&&T!==void 0&&c.test(b.type)&&(b.which=T&1?1:T&2?3:T&4?2:0),b}function r(p,b,w,E){h?p.addEventListener(b,w,E):p.attachEvent("on"+b,w)}function l(p,b,w,E){h?p.removeEventListener(b,w,E):p.detachEvent("on"+b,w)}var t=h?function(p){p.preventDefault(),p.stopPropagation(),p.cancelBubble=!0}:function(p){p.returnValue=!1,p.cancelBubble=!0};function s(p){return p.which===2||p.which===3}function d(p){return p.which>1}_.clientToLocal=i,_.getNativeEvent=a,_.normalizeEvent=u,_.addEventListener=r,_.removeEventListener=l,_.stop=t,_.isMiddleOrRightButtonOnMouseUpDown=s,_.notLeftMouse=d},YJ9k:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function A(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._listeners=new Map}return A(v,[{key:"addEventListener",value:function(c,o){this._listeners.has(c)||this._listeners.set(c,new Set),this._listeners.get(c).add(o)}},{key:"removeEventListener",value:function(c,o){this._listeners.has(c)&&this._listeners.get(c).delete(o)}},{key:"dispatchEvent",value:function(c){var o=this;return this._listeners.has(c.type)?(this._listeners.get(c.type).forEach(function(i){return i.call(o,c)}),!c.defaultPrevented):!0}}]),v}();_.default=m},YJCA:function(D,_,e){"use strict";e.d(_,"a",function(){return se}),e.d(_,"b",function(){return ze});var g=e("wx14"),f=e("ODXe"),A=e("vpQ4"),m=e("1OyB"),v=e("vuIU"),h=e("md7G"),c=e("foSv"),o=e("Ji7U"),i=e("JX7q"),n=e("rePB"),a=e("q1tI"),u=e.n(a),r=e("17x9"),l=e.n(r),t=e("i8i4"),s=e.n(t),d=e("QLaP"),p=e.n(d),b=e("KQm4"),w=function(){function Oe(){Object(m.a)(this,Oe),Object(n.a)(this,"refs",{})}return Object(v.a)(Oe,[{key:"add",value:function(ge,Le){this.refs[ge]||(this.refs[ge]=[]),this.refs[ge].push(Le)}},{key:"remove",value:function(ge,Le){var Ze=this.getIndex(ge,Le);Ze!==-1&&this.refs[ge].splice(Ze,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var ge=this;return this.refs[this.active.collection].find(function(Le){var Ze=Le.node;return Ze.sortableInfo.index==ge.active.index})}},{key:"getIndex",value:function(ge,Le){return this.refs[ge].indexOf(Le)}},{key:"getOrderedRefs",value:function(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[ge].sort(E)}}]),Oe}();function E(Oe,ae){var ge=Oe.node.sortableInfo.index,Le=ae.node.sortableInfo.index;return ge-Le}function S(Oe,ae,ge){return Oe=Oe.slice(),Oe.splice(ge<0?Oe.length+ge:ge,0,Oe.splice(ae,1)[0]),Oe}function x(Oe,ae){return Object.keys(Oe).reduce(function(ge,Le){return ae.indexOf(Le)===-1&&(ge[Le]=Oe[Le]),ge},{})}var T={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},L=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Oe=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],ae=(Array.prototype.slice.call(Oe).join("").match(/-(moz|webkit|ms)-/)||Oe.OLink===""&&["","o"])[1];switch(ae){case"ms":return"ms";default:return ae&&ae.length?ae[0].toUpperCase()+ae.substr(1):""}}();function y(Oe,ae){Object.keys(ae).forEach(function(ge){Oe.style[ge]=ae[ge]})}function C(Oe,ae){Oe.style["".concat(L,"Transform")]=ae==null?"":"translate3d(".concat(ae.x,"px,").concat(ae.y,"px,0)")}function O(Oe,ae){Oe.style["".concat(L,"TransitionDuration")]=ae==null?"":"".concat(ae,"ms")}function N(Oe,ae){for(;Oe;){if(ae(Oe))return Oe;Oe=Oe.parentNode}return null}function k(Oe,ae,ge){return Math.max(Oe,Math.min(ge,ae))}function F(Oe){return Oe.substr(-2)==="px"?parseFloat(Oe):0}function B(Oe){var ae=window.getComputedStyle(Oe);return{bottom:F(ae.marginBottom),left:F(ae.marginLeft),right:F(ae.marginRight),top:F(ae.marginTop)}}function H(Oe,ae){var ge=ae.displayName||ae.name;return ge?"".concat(Oe,"(").concat(ge,")"):Oe}function W(Oe,ae){var ge=Oe.getBoundingClientRect();return{top:ge.top+ae.top,left:ge.left+ae.left}}function R(Oe){return Oe.touches&&Oe.touches.length?{x:Oe.touches[0].pageX,y:Oe.touches[0].pageY}:Oe.changedTouches&&Oe.changedTouches.length?{x:Oe.changedTouches[0].pageX,y:Oe.changedTouches[0].pageY}:{x:Oe.pageX,y:Oe.pageY}}function U(Oe){return Oe.touches&&Oe.touches.length||Oe.changedTouches&&Oe.changedTouches.length}function j(Oe,ae){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Oe)return;var Le={left:ge.left+Oe.offsetLeft,top:ge.top+Oe.offsetTop};return Oe.parentNode===ae?Le:j(Oe.parentNode,ae,Le)}function P(Oe,ae,ge){return Oe<ge&&Oe>ae?Oe-1:Oe>ge&&Oe<ae?Oe+1:Oe}function K(Oe){var ae=Oe.lockOffset,ge=Oe.width,Le=Oe.height,Ze=ae,vt=ae,Ct="px";if(typeof ae=="string"){var Be=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(ae);p()(Be!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',ae),Ze=parseFloat(ae),vt=parseFloat(ae),Ct=Be[1]}return p()(isFinite(Ze)&&isFinite(vt),"lockOffset value should be a finite. Given %s",ae),Ct==="%"&&(Ze=Ze*ge/100,vt=vt*Le/100),{x:Ze,y:vt}}function V(Oe){var ae=Oe.height,ge=Oe.width,Le=Oe.lockOffset,Ze=Array.isArray(Le)?Le:[Le,Le];p()(Ze.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Le);var vt=Object(f.a)(Ze,2),Ct=vt[0],Be=vt[1];return[K({height:ae,lockOffset:Ct,width:ge}),K({height:ae,lockOffset:Be,width:ge})]}function z(Oe){var ae=window.getComputedStyle(Oe),ge=/(auto|scroll)/,Le=["overflow","overflowX","overflowY"];return Le.find(function(Ze){return ge.test(ae[Ze])})}function X(Oe){return Oe instanceof HTMLElement?z(Oe)?Oe:X(Oe.parentNode):null}function G(Oe){var ae=window.getComputedStyle(Oe);return ae.display==="grid"?{x:F(ae.gridColumnGap),y:F(ae.gridRowGap)}:{x:0,y:0}}var le={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},Y={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function me(Oe){var ae="input, textarea, select, canvas, [contenteditable]",ge=Oe.querySelectorAll(ae),Le=Oe.cloneNode(!0),Ze=Object(b.a)(Le.querySelectorAll(ae));return Ze.forEach(function(vt,Ct){if(vt.type!=="file"&&(vt.value=ge[Ct].value),vt.type==="radio"&&vt.name&&(vt.name="__sortableClone__".concat(vt.name)),vt.tagName===Y.Canvas&&ge[Ct].width>0&&ge[Ct].height>0){var Be=vt.getContext("2d");Be.drawImage(ge[Ct],0,0)}}),Le}function we(Oe){var ae,ge,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ge=ae=function(Ze){Object(o.a)(vt,Ze);function vt(){return Object(m.a)(this,vt),Object(h.a)(this,Object(c.a)(vt).apply(this,arguments))}return Object(v.a)(vt,[{key:"componentDidMount",value:function(){var Be=Object(t.findDOMNode)(this);Be.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p()(Le.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Be=Le.withRef?"wrappedInstance":null;return Object(a.createElement)(Oe,Object(g.a)({ref:Be},this.props))}}]),vt}(a.Component),Object(n.a)(ae,"displayName",H("sortableHandle",Oe)),ge}function pe(Oe){return Oe.sortableHandle!=null}var Fe=function(){function Oe(ae,ge){Object(m.a)(this,Oe),this.container=ae,this.onScrollCallback=ge}return Object(v.a)(Oe,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(ge){var Le=this,Ze=ge.translate,vt=ge.minTranslate,Ct=ge.maxTranslate,Be=ge.width,Rt=ge.height,He={x:0,y:0},wt={x:1,y:1},Ge={x:10,y:10},et=this.container,rt=et.scrollTop,lt=et.scrollLeft,Ve=et.scrollHeight,ie=et.scrollWidth,$=et.clientHeight,it=et.clientWidth,Qe=rt===0,ye=Ve-rt-$===0,Zt=lt===0,ht=ie-lt-it===0;Ze.y>=Ct.y-Rt/2&&!ye?(He.y=1,wt.y=Ge.y*Math.abs((Ct.y-Rt/2-Ze.y)/Rt)):Ze.x>=Ct.x-Be/2&&!ht?(He.x=1,wt.x=Ge.x*Math.abs((Ct.x-Be/2-Ze.x)/Be)):Ze.y<=vt.y+Rt/2&&!Qe?(He.y=-1,wt.y=Ge.y*Math.abs((Ze.y-Rt/2-vt.y)/Rt)):Ze.x<=vt.x+Be/2&&!Zt&&(He.x=-1,wt.x=Ge.x*Math.abs((Ze.x-Be/2-vt.x)/Be)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(He.x!==0||He.y!==0)&&(this.interval=setInterval(function(){Le.isAutoScrolling=!0;var ct={left:wt.x*He.x,top:wt.y*He.y};Le.container.scrollTop+=ct.top,Le.container.scrollLeft+=ct.left,Le.onScrollCallback(ct)},5))}}]),Oe}();function Xe(Oe){var ae=Oe.node;return{height:ae.offsetHeight,width:ae.offsetWidth}}function dt(Oe){var ae=[Y.Input,Y.Textarea,Y.Select,Y.Option,Y.Button];return ae.indexOf(Oe.target.tagName)!==-1?!0:!!N(Oe.target,function(ge){return ge.contentEditable==="true"})}var Ee={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},Se={lift:[le.SPACE],drop:[le.SPACE],cancel:[le.ESC],up:[le.UP,le.LEFT],down:[le.DOWN,le.RIGHT]},at={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Xe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Se,shouldCancelStart:dt,transitionDuration:300,useWindowAsScrollContainer:!1},_e=Object.keys(Ee);function ce(Oe){p()(!(Oe.distance&&Oe.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function ee(Oe,ae){try{var ge=Oe()}catch(Le){return ae(!0,Le)}return ge&&ge.then?ge.then(ae.bind(null,!1),ae.bind(null,!0)):ae(!1,value)}function se(Oe){var ae,ge,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ge=ae=function(Ze){Object(o.a)(vt,Ze);function vt(Ct){var Be;return Object(m.a)(this,vt),Be=Object(h.a)(this,Object(c.a)(vt).call(this,Ct)),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"state",{}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handleStart",function(Rt){var He=Be.props,wt=He.distance,Ge=He.shouldCancelStart;if(Rt.button===2||Ge(Rt))return;Be.touched=!0,Be.position=R(Rt);var et=N(Rt.target,function(it){return it.sortableInfo!=null});if(et&&et.sortableInfo&&Be.nodeIsChild(et)&&!Be.state.sorting){var rt=Be.props.useDragHandle,lt=et.sortableInfo,Ve=lt.index,ie=lt.collection,$=lt.disabled;if($)return;if(rt&&!N(Rt.target,pe))return;Be.manager.active={collection:ie,index:Ve},!U(Rt)&&Rt.target.tagName===Y.Anchor&&Rt.preventDefault(),wt||(Be.props.pressDelay===0?Be.handlePress(Rt):Be.pressTimer=setTimeout(function(){return Be.handlePress(Rt)},Be.props.pressDelay))}}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"nodeIsChild",function(Rt){return Rt.sortableInfo.manager===Be.manager}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handleMove",function(Rt){var He=Be.props,wt=He.distance,Ge=He.pressThreshold;if(!Be.state.sorting&&Be.touched&&!Be._awaitingUpdateBeforeSortStart){var et=R(Rt),rt={x:Be.position.x-et.x,y:Be.position.y-et.y},lt=Math.abs(rt.x)+Math.abs(rt.y);Be.delta=rt,!wt&&(!Ge||lt>=Ge)?(clearTimeout(Be.cancelTimer),Be.cancelTimer=setTimeout(Be.cancel,0)):wt&&lt>=wt&&Be.manager.isActive()&&Be.handlePress(Rt)}}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handleEnd",function(){Be.touched=!1,Be.cancel()}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"cancel",function(){var Rt=Be.props.distance,He=Be.state.sorting;He||(Rt||clearTimeout(Be.pressTimer),Be.manager.active=null)}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handlePress",function(Rt){try{var He=Be.manager.getActive(),wt=function(){if(He){var Ge=function(){var It=ye.sortableInfo.index,or=B(ye),Bt=G(Be.container),Ae=Be.scrollContainer.getBoundingClientRect(),ve=lt({index:It,node:ye,collection:Zt});if(Be.node=ye,Be.margin=or,Be.gridGap=Bt,Be.width=ve.width,Be.height=ve.height,Be.marginOffset={x:Be.margin.left+Be.margin.right+Be.gridGap.x,y:Math.max(Be.margin.top,Be.margin.bottom,Be.gridGap.y)},Be.boundingClientRect=ye.getBoundingClientRect(),Be.containerBoundingRect=Ae,Be.index=It,Be.newIndex=It,Be.axis={x:rt.indexOf("x")>=0,y:rt.indexOf("y")>=0},Be.offsetEdge=j(ye,Be.container),ht?Be.initialOffset=R(Object(A.a)({},Rt,{pageX:Be.boundingClientRect.left,pageY:Be.boundingClientRect.top})):Be.initialOffset=R(Rt),Be.initialScroll={left:Be.scrollContainer.scrollLeft,top:Be.scrollContainer.scrollTop},Be.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Be.helper=Be.helperContainer.appendChild(me(ye)),y(Be.helper,{boxSizing:"border-box",height:"".concat(Be.height,"px"),left:"".concat(Be.boundingClientRect.left-or.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Be.boundingClientRect.top-or.top,"px"),width:"".concat(Be.width,"px")}),ht&&Be.helper.focus(),ie&&(Be.sortableGhost=ye,y(ye,{opacity:0,visibility:"hidden"})),Be.minTranslate={},Be.maxTranslate={},ht){var fe=Qe?{top:0,left:0,width:Be.contentWindow.innerWidth,height:Be.contentWindow.innerHeight}:Be.containerBoundingRect,ue=fe.top,Ne=fe.left,je=fe.width,Ke=fe.height,Ye=ue+Ke,Pe=Ne+je;Be.axis.x&&(Be.minTranslate.x=Ne-Be.boundingClientRect.left,Be.maxTranslate.x=Pe-(Be.boundingClientRect.left+Be.width)),Be.axis.y&&(Be.minTranslate.y=ue-Be.boundingClientRect.top,Be.maxTranslate.y=Ye-(Be.boundingClientRect.top+Be.height))}else Be.axis.x&&(Be.minTranslate.x=(Qe?0:Ae.left)-Be.boundingClientRect.left-Be.width/2,Be.maxTranslate.x=(Qe?Be.contentWindow.innerWidth:Ae.left+Ae.width)-Be.boundingClientRect.left-Be.width/2),Be.axis.y&&(Be.minTranslate.y=(Qe?0:Ae.top)-Be.boundingClientRect.top-Be.height/2,Be.maxTranslate.y=(Qe?Be.contentWindow.innerHeight:Ae.top+Ae.height)-Be.boundingClientRect.top-Be.height/2);Ve&&Ve.split(" ").forEach(function(nt){return Be.helper.classList.add(nt)}),Be.listenerNode=Rt.touches?ye:Be.contentWindow,ht?(Be.listenerNode.addEventListener("wheel",Be.handleKeyEnd,!0),Be.listenerNode.addEventListener("mousedown",Be.handleKeyEnd,!0),Be.listenerNode.addEventListener("keydown",Be.handleKeyDown)):(T.move.forEach(function(nt){return Be.listenerNode.addEventListener(nt,Be.handleSortMove,!1)}),T.end.forEach(function(nt){return Be.listenerNode.addEventListener(nt,Be.handleSortEnd,!1)})),Be.setState({sorting:!0,sortingIndex:It}),it&&it({node:ye,index:It,collection:Zt,isKeySorting:ht,nodes:Be.manager.getOrderedRefs(),helper:Be.helper},Rt),ht&&Be.keyMove(0)},et=Be.props,rt=et.axis,lt=et.getHelperDimensions,Ve=et.helperClass,ie=et.hideSortableGhost,$=et.updateBeforeSortStart,it=et.onSortStart,Qe=et.useWindowAsScrollContainer,ye=He.node,Zt=He.collection,ht=Be.manager.isKeySorting,ct=function(){if(typeof $=="function"){Be._awaitingUpdateBeforeSortStart=!0;var yt=ee(function(){var It=ye.sortableInfo.index;return Promise.resolve($({collection:Zt,index:It,node:ye,isKeySorting:ht},Rt)).then(function(){})},function(It,or){if(Be._awaitingUpdateBeforeSortStart=!1,It)throw or;return or});if(yt&&yt.then)return yt.then(function(){})}}();return ct&&ct.then?ct.then(Ge):Ge(ct)}}();return Promise.resolve(wt&&wt.then?wt.then(function(){}):void 0)}catch(Ge){return Promise.reject(Ge)}}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handleSortMove",function(Rt){var He=Be.props.onSortMove;typeof Rt.preventDefault=="function"&&Rt.preventDefault(),Be.updateHelperPosition(Rt),Be.animateNodes(),Be.autoscroll(),He&&He(Rt)}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handleSortEnd",function(Rt){var He=Be.props,wt=He.hideSortableGhost,Ge=He.onSortEnd,et=Be.manager,rt=et.active.collection,lt=et.isKeySorting,Ve=Be.manager.getOrderedRefs();Be.listenerNode&&(lt?(Be.listenerNode.removeEventListener("wheel",Be.handleKeyEnd,!0),Be.listenerNode.removeEventListener("mousedown",Be.handleKeyEnd,!0),Be.listenerNode.removeEventListener("keydown",Be.handleKeyDown)):(T.move.forEach(function(ye){return Be.listenerNode.removeEventListener(ye,Be.handleSortMove)}),T.end.forEach(function(ye){return Be.listenerNode.removeEventListener(ye,Be.handleSortEnd)}))),Be.helper.parentNode.removeChild(Be.helper),wt&&Be.sortableGhost&&y(Be.sortableGhost,{opacity:"",visibility:""});for(var ie=0,$=Ve.length;ie<$;ie++){var it=Ve[ie],Qe=it.node;it.edgeOffset=null,it.boundingClientRect=null,C(Qe,null),O(Qe,null),it.translate=null}Be.autoScroller.clear(),Be.manager.active=null,Be.manager.isKeySorting=!1,Be.setState({sorting:!1,sortingIndex:null}),typeof Ge=="function"&&Ge({collection:rt,newIndex:Be.newIndex,oldIndex:Be.index,isKeySorting:lt,nodes:Ve},Rt),Be.touched=!1}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"autoscroll",function(){var Rt=Be.props.disableAutoscroll,He=Be.manager.isKeySorting;if(Rt){Be.autoScroller.clear();return}if(He){var wt=Object(A.a)({},Be.translate),Ge=0,et=0;Be.axis.x&&(wt.x=Math.min(Be.maxTranslate.x,Math.max(Be.minTranslate.x,Be.translate.x)),Ge=Be.translate.x-wt.x),Be.axis.y&&(wt.y=Math.min(Be.maxTranslate.y,Math.max(Be.minTranslate.y,Be.translate.y)),et=Be.translate.y-wt.y),Be.translate=wt,C(Be.helper,Be.translate),Be.scrollContainer.scrollLeft+=Ge,Be.scrollContainer.scrollTop+=et;return}Be.autoScroller.update({height:Be.height,maxTranslate:Be.maxTranslate,minTranslate:Be.minTranslate,translate:Be.translate,width:Be.width})}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"onAutoScroll",function(Rt){Be.translate.x+=Rt.left,Be.translate.y+=Rt.top,Be.animateNodes()}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handleKeyDown",function(Rt){var He=Rt.keyCode,wt=Be.props,Ge=wt.shouldCancelStart,et=wt.keyCodes,rt=et===void 0?{}:et,lt=Object(A.a)({},Se,rt);if(Be.manager.active&&!Be.manager.isKeySorting||!Be.manager.active&&(!lt.lift.includes(He)||Ge(Rt)||!Be.isValidSortingTarget(Rt)))return;Rt.stopPropagation(),Rt.preventDefault(),lt.lift.includes(He)&&!Be.manager.active?Be.keyLift(Rt):lt.drop.includes(He)&&Be.manager.active?Be.keyDrop(Rt):lt.cancel.includes(He)?(Be.newIndex=Be.manager.active.index,Be.keyDrop(Rt)):lt.up.includes(He)?Be.keyMove(-1):lt.down.includes(He)&&Be.keyMove(1)}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"keyLift",function(Rt){var He=Rt.target,wt=N(He,function(lt){return lt.sortableInfo!=null}),Ge=wt.sortableInfo,et=Ge.index,rt=Ge.collection;Be.initialFocusedNode=He,Be.manager.isKeySorting=!0,Be.manager.active={index:et,collection:rt},Be.handlePress(Rt)}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"keyMove",function(Rt){var He=Be.manager.getOrderedRefs(),wt=He[He.length-1].node.sortableInfo.index,Ge=Be.newIndex+Rt,et=Be.newIndex;if(Ge<0||Ge>wt)return;Be.prevIndex=et,Be.newIndex=Ge;var rt=P(Be.newIndex,Be.prevIndex,Be.index),lt=He.find(function(ht){var ct=ht.node;return ct.sortableInfo.index===rt}),Ve=lt.node,ie=Be.containerScrollDelta,$=lt.boundingClientRect||W(Ve,ie),it=lt.translate||{x:0,y:0},Qe={top:$.top+it.y-ie.top,left:$.left+it.x-ie.left},ye=et<Ge,Zt={x:ye&&Be.axis.x?Ve.offsetWidth-Be.width:0,y:ye&&Be.axis.y?Ve.offsetHeight-Be.height:0};Be.handleSortMove({pageX:Qe.left+Zt.x,pageY:Qe.top+Zt.y,ignoreTransition:Rt===0})}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"keyDrop",function(Rt){Be.handleSortEnd(Rt),Be.initialFocusedNode&&Be.initialFocusedNode.focus()}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"handleKeyEnd",function(Rt){Be.manager.active&&Be.keyDrop(Rt)}),Object(n.a)(Object(i.a)(Object(i.a)(Be)),"isValidSortingTarget",function(Rt){var He=Be.props.useDragHandle,wt=Rt.target,Ge=N(wt,function(et){return et.sortableInfo!=null});return Ge&&Ge.sortableInfo&&!Ge.sortableInfo.disabled&&(He?pe(wt):wt.sortableInfo)}),ce(Ct),Be.manager=new w,Be.events={end:Be.handleEnd,move:Be.handleMove,start:Be.handleStart},Be}return Object(v.a)(vt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Be=this,Rt=this.props.useWindowAsScrollContainer,He=this.getContainer();Promise.resolve(He).then(function(wt){Be.container=wt,Be.document=Be.container.ownerDocument||document;var Ge=Be.props.contentWindow||Be.document.defaultView||window;Be.contentWindow=typeof Ge=="function"?Ge():Ge,Be.scrollContainer=Rt?Be.document.scrollingElement||Be.document.documentElement:X(Be.container)||Be.container,Be.autoScroller=new Fe(Be.scrollContainer,Be.onAutoScroll),Object.keys(Be.events).forEach(function(et){return T[et].forEach(function(rt){return Be.container.addEventListener(rt,Be.events[et],!1)})}),Be.container.addEventListener("keydown",Be.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Be=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Rt){return T[Rt].forEach(function(He){return Be.container.removeEventListener(He,Be.events[Rt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Be){var Rt=this.props,He=Rt.lockAxis,wt=Rt.lockOffset,Ge=Rt.lockToContainerEdges,et=Rt.transitionDuration,rt=Rt.keyboardSortingTransitionDuration,lt=rt===void 0?et:rt,Ve=this.manager.isKeySorting,ie=Be.ignoreTransition,$=R(Be),it={x:$.x-this.initialOffset.x,y:$.y-this.initialOffset.y};if(it.y-=window.pageYOffset-this.initialWindowScroll.top,it.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=it,Ge){var Qe=V({height:this.height,lockOffset:wt,width:this.width}),ye=Object(f.a)(Qe,2),Zt=ye[0],ht=ye[1],ct={x:this.width/2-Zt.x,y:this.height/2-Zt.y},yt={x:this.width/2-ht.x,y:this.height/2-ht.y};it.x=k(this.minTranslate.x+ct.x,this.maxTranslate.x-yt.x,it.x),it.y=k(this.minTranslate.y+ct.y,this.maxTranslate.y-yt.y,it.y)}He==="x"?it.y=0:He==="y"&&(it.x=0),Ve&&lt&&!ie&&O(this.helper,lt),C(this.helper,it)}},{key:"animateNodes",value:function(){var Be=this.props,Rt=Be.transitionDuration,He=Be.hideSortableGhost,wt=Be.onSortOver,Ge=this.containerScrollDelta,et=this.windowScrollDelta,rt=this.manager.getOrderedRefs(),lt={left:this.offsetEdge.left+this.translate.x+Ge.left,top:this.offsetEdge.top+this.translate.y+Ge.top},Ve=this.manager.isKeySorting,ie=this.newIndex;this.newIndex=null;for(var $=0,it=rt.length;$<it;$++){var Qe=rt[$].node,ye=Qe.sortableInfo.index,Zt=Qe.offsetWidth,ht=Qe.offsetHeight,ct={height:this.height>ht?ht/2:this.height/2,width:this.width>Zt?Zt/2:this.width/2},yt=Ve&&ye>this.index&&ye<=ie,It=Ve&&ye<this.index&&ye>=ie,or={x:0,y:0},Bt=rt[$].edgeOffset;Bt||(Bt=j(Qe,this.container),rt[$].edgeOffset=Bt,Ve&&(rt[$].boundingClientRect=W(Qe,Ge)));var Ae=$<rt.length-1&&rt[$+1],ve=$>0&&rt[$-1];if(Ae&&!Ae.edgeOffset&&(Ae.edgeOffset=j(Ae.node,this.container),Ve&&(Ae.boundingClientRect=W(Ae.node,Ge))),ye===this.index){He&&(this.sortableGhost=Qe,y(Qe,{opacity:0,visibility:"hidden"}));continue}Rt&&O(Qe,Rt),this.axis.x?this.axis.y?It||ye<this.index&&(lt.left+et.left-ct.width<=Bt.left&&lt.top+et.top<=Bt.top+ct.height||lt.top+et.top+ct.height<=Bt.top)?(or.x=this.width+this.marginOffset.x,Bt.left+or.x>this.containerBoundingRect.width-ct.width&&(Ae&&(or.x=Ae.edgeOffset.left-Bt.left,or.y=Ae.edgeOffset.top-Bt.top)),this.newIndex===null&&(this.newIndex=ye)):(yt||ye>this.index&&(lt.left+et.left+ct.width>=Bt.left&&lt.top+et.top+ct.height>=Bt.top||lt.top+et.top+ct.height>=Bt.top+ht))&&(or.x=-(this.width+this.marginOffset.x),Bt.left+or.x<this.containerBoundingRect.left+ct.width&&(ve&&(or.x=ve.edgeOffset.left-Bt.left,or.y=ve.edgeOffset.top-Bt.top)),this.newIndex=ye):yt||ye>this.index&&lt.left+et.left+ct.width>=Bt.left?(or.x=-(this.width+this.marginOffset.x),this.newIndex=ye):(It||ye<this.index&&lt.left+et.left<=Bt.left+ct.width)&&(or.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=ye)):this.axis.y&&(yt||ye>this.index&&lt.top+et.top+ct.height>=Bt.top?(or.y=-(this.height+this.marginOffset.y),this.newIndex=ye):(It||ye<this.index&&lt.top+et.top<=Bt.top+ct.height)&&(or.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=ye))),C(Qe,or),rt[$].translate=or}this.newIndex==null&&(this.newIndex=this.index),Ve&&(this.newIndex=ie);var fe=Ve?this.prevIndex:ie;wt&&this.newIndex!==fe&&wt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:fe,isKeySorting:Ve,nodes:rt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return p()(Le.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Be=this.props.getContainer;return typeof Be!="function"?Object(t.findDOMNode)(this):Be(Le.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Be=Le.withRef?"wrappedInstance":null;return Object(a.createElement)(Oe,Object(g.a)({ref:Be},x(this.props,_e)))}},{key:"helperContainer",get:function(){var Be=this.props.helperContainer;return typeof Be=="function"?Be():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Be=this.props.useWindowAsScrollContainer;return Be?{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}}}]),vt}(a.Component),Object(n.a)(ae,"displayName",H("sortableList",Oe)),Object(n.a)(ae,"defaultProps",at),Object(n.a)(ae,"propTypes",Ee),Object(n.a)(ae,"childContextTypes",{manager:l.a.object.isRequired}),ge}var ke={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},Ce=Object.keys(ke);function ze(Oe){var ae,ge,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ge=ae=function(Ze){Object(o.a)(vt,Ze);function vt(){return Object(m.a)(this,vt),Object(h.a)(this,Object(c.a)(vt).apply(this,arguments))}return Object(v.a)(vt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Be){this.node&&(Be.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Be.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Be.collection!==this.props.collection&&(this.unregister(Be.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Be=this.props,Rt=Be.collection,He=Be.disabled,wt=Be.index,Ge=Object(t.findDOMNode)(this);Ge.sortableInfo={collection:Rt,disabled:He,index:wt,manager:this.context.manager},this.node=Ge,this.ref={node:Ge},this.context.manager.add(Rt,this.ref)}},{key:"unregister",value:function(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Be,this.ref)}},{key:"getWrappedInstance",value:function(){return p()(Le.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Be=Le.withRef?"wrappedInstance":null;return Object(a.createElement)(Oe,Object(g.a)({ref:Be},x(this.props,Ce)))}}]),vt}(a.Component),Object(n.a)(ae,"displayName",H("sortableElement",Oe)),Object(n.a)(ae,"contextTypes",{manager:l.a.object.isRequired}),Object(n.a)(ae,"propTypes",ke),Object(n.a)(ae,"defaultProps",{collection:0}),ge}},YNAk:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("QyFq")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="CaretDownFilled";var c=A.forwardRef(h);_.default=c},YNf1:function(D,_,e){var g=e("IwbS"),f=e("6Ic6"),A=.3,m=f.extend({type:"parallel",init:function(){this._dataGroup=new g.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(u,r,l,t){var s=this._dataGroup,d=u.getData(),p=this._data,b=u.coordinateSystem,w=b.dimensions,E=o(u);d.diff(p).add(S).update(x).remove(T).execute();function S(y){var C=c(d,s,y,w,b);i(C,d,y,E)}function x(y,C){var O=p.getItemGraphicEl(C),N=h(d,y,w,b);d.setItemGraphicEl(y,O);var k=t&&t.animation===!1?null:u;g.updateProps(O,{shape:{points:N}},k,y),i(O,d,y,E)}function T(y){var C=p.getItemGraphicEl(y);s.remove(C)}if(!this._initialized){this._initialized=!0;var L=v(b,u,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(L)}this._data=d},incrementalPrepareRender:function(u,r,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(u,r,l){for(var t=r.getData(),s=r.coordinateSystem,d=s.dimensions,p=o(r),b=u.start;b<u.end;b++){var w=c(t,this._dataGroup,b,d,s);w.incremental=!0,i(w,t,b,p)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(u,r,l){var t=u.model,s=u.getRect(),d=new g.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),p=t.get("layout")==="horizontal"?"width":"height";return d.setShape(p,0),g.initProps(d,{shape:{width:s.width,height:s.height}},r,l),d}function h(u,r,l,t){for(var s=[],d=0;d<l.length;d++){var p=l[d],b=u.get(u.mapDimension(p),r);n(b,t.getAxis(p).type)||s.push(t.dataToPoint(b,p))}return s}function c(u,r,l,t,s){var d=h(u,l,t,s),p=new g.Polyline({shape:{points:d},silent:!0,z2:10});return r.add(p),u.setItemGraphicEl(l,p),p}function o(u){var r=u.get("smooth",!0);return r===!0&&(r=A),{lineStyle:u.getModel("lineStyle").getLineStyle(),smooth:r!=null?r:A}}function i(u,r,l,t){var s=t.lineStyle;if(r.hasItemOption){var d=r.getItemModel(l).getModel("lineStyle");s=d.getLineStyle()}u.useStyle(s);var p=u.style;p.fill=null,p.stroke=r.getItemVisual(l,"color"),p.opacity=r.getItemVisual(l,"opacity"),t.smooth&&(u.shape.smooth=t.smooth)}function n(u,r){return r==="category"?u==null:u==null||isNaN(u)}var a=m;D.exports=a},YOMW:function(D,_,e){var g=e("bYtY"),f={get:function(v,h,c){var o=g.clone((A[v]||{})[h]);return c&&g.isArray(o)?o[o.length-1]:o}},A={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=f;D.exports=m},YXkt:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("Qxkt"),v=e("gPAo"),h=e("7G+c"),c=e("KxfA"),o=c.defaultDimValueGetters,i=c.DefaultDataProvider,n=e("L0Ub"),a=n.summarizeDimensions,u=e("Vi4m"),r=A.isObject,l="undefined",t=-1,s="e\0\0",d={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},p=typeof Uint32Array===l?Array:Uint32Array,b=typeof Int32Array===l?Array:Int32Array,w=typeof Uint16Array===l?Array:Uint16Array;function E(z){return z._rawCount>65535?p:w}function S(z){var X=z.constructor;return X===Array?z.slice():new X(z)}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function L(z,X){A.each(x.concat(X.__wrappedMethods||[]),function(G){X.hasOwnProperty(G)&&(z[G]=X[G])}),z.__wrappedMethods=X.__wrappedMethods,A.each(T,function(G){z[G]=A.clone(X[G])}),z._calculationInfo=A.extend(X._calculationInfo)}var y=function(z,X){z=z||["x","y"];for(var G={},le=[],Y={},me=0;me<z.length;me++){var we=z[me];A.isString(we)?we=new u({name:we}):we instanceof u||(we=new u(we));var pe=we.name;we.type=we.type||"float",we.coordDim||(we.coordDim=pe,we.coordDimIndex=0),we.otherDims=we.otherDims||{},le.push(pe),G[pe]=we,we.index=me,we.createInvertedIndices&&(Y[pe]=[])}this.dimensions=le,this._dimensionInfos=G,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=a(this),this._invertedIndicesMap=Y,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=y.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(z){return(typeof z=="number"||!isNaN(z)&&!this._dimensionInfos.hasOwnProperty(z))&&(z=this.dimensions[z]),z},C.getDimensionInfo=function(z){return this._dimensionInfos[this.getDimension(z)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(z,X){var G=this._dimensionsSummary;if(X==null)return G.encodeFirstDimNotExtra[z];var le=G.encode[z];return X===!0?(le||[]).slice():le&&le[X]},C.initData=function(z,X,G){var le=h.isInstance(z)||A.isArrayLike(z);le&&(z=new i(z,this.dimensions.length)),this._rawData=z,this._storage={},this._indices=null,this._nameList=X||[],this._idList=[],this._nameRepeatCount={},G||(this.hasItemOption=!1),this.defaultDimValueGetter=o[this._rawData.getSource().sourceFormat],this._dimValueGetter=G=G||this.defaultDimValueGetter,this._dimValueGetterArrayRows=o.arrayRows,this._rawExtent={},this._initDataFromProvider(0,z.count()),z.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(z){var X=this._rawData,G=this.count();X.appendData(z);var le=X.count();X.persistent||(le+=G),this._initDataFromProvider(G,le)},C.appendValues=function(z,X){for(var G=this._chunkSize,le=this._storage,Y=this.dimensions,me=Y.length,we=this._rawExtent,pe=this.count(),Fe=pe+Math.max(z.length,X?X.length:0),Xe=this._chunkCount,dt=0;dt<me;dt++){var Ee=Y[dt];we[Ee]||(we[Ee]=P()),le[Ee]||(le[Ee]=[]),O(le,this._dimensionInfos[Ee],G,Xe,Fe),this._chunkCount=le[Ee].length}for(var Se=new Array(me),at=pe;at<Fe;at++){for(var _e=at-pe,ce=Math.floor(at/G),ee=at%G,se=0;se<me;se++){var Ee=Y[se],ke=this._dimValueGetterArrayRows(z[_e]||Se,Ee,_e,se);le[Ee][ce][ee]=ke;var Ce=we[Ee];ke<Ce[0]&&(Ce[0]=ke),ke>Ce[1]&&(Ce[1]=ke)}X&&(this._nameList[at]=X[_e])}this._rawCount=this._count=Fe,this._extent={},N(this)},C._initDataFromProvider=function(z,X){if(z>=X)return;for(var G=this._chunkSize,le=this._rawData,Y=this._storage,me=this.dimensions,we=me.length,pe=this._dimensionInfos,Fe=this._nameList,Xe=this._idList,dt=this._rawExtent,Ee=this._nameRepeatCount={},Se,at=this._chunkCount,_e=0;_e<we;_e++){var ce=me[_e];dt[ce]||(dt[ce]=P());var ee=pe[ce];ee.otherDims.itemName===0&&(Se=this._nameDimIdx=_e),ee.otherDims.itemId===0&&(this._idDimIdx=_e),Y[ce]||(Y[ce]=[]),O(Y,ee,G,at,X),this._chunkCount=Y[ce].length}for(var se=new Array(we),ke=z;ke<X;ke++){se=le.getItem(ke,se);for(var Ce=Math.floor(ke/G),ze=ke%G,Oe=0;Oe<we;Oe++){var ce=me[Oe],ae=Y[ce][Ce],ge=this._dimValueGetter(se,ce,ke,Oe);ae[ze]=ge;var Le=dt[ce];ge<Le[0]&&(Le[0]=ge),ge>Le[1]&&(Le[1]=ge)}if(!le.pure){var Ze=Fe[ke];if(se&&Ze==null){if(se.name!=null)Fe[ke]=Ze=se.name;else if(Se!=null){var vt=me[Se],Ct=Y[vt][Ce];if(Ct){Ze=Ct[ze];var Be=pe[vt].ordinalMeta;Be&&Be.categories.length&&(Ze=Be.categories[Ze])}}}var Rt=se==null?null:se.id;Rt==null&&Ze!=null&&(Ee[Ze]=Ee[Ze]||0,Rt=Ze,Ee[Ze]>0&&(Rt+="__ec__"+Ee[Ze]),Ee[Ze]++),Rt!=null&&(Xe[ke]=Rt)}}!le.persistent&&le.clean&&le.clean(),this._rawCount=this._count=X,this._extent={},N(this)};function O(z,X,G,le,Y){var me=d[X.type],we=le-1,pe=X.name,Fe=z[pe][we];if(Fe&&Fe.length<G){for(var Xe=new me(Math.min(Y-we*G,G)),dt=0;dt<Fe.length;dt++)Xe[dt]=Fe[dt];z[pe][we]=Xe}for(var Ee=le*G;Ee<Y;Ee+=G)z[pe].push(new me(Math.min(Y-Ee,G)))}function N(z){var X=z._invertedIndicesMap;A.each(X,function(G,le){var Y=z._dimensionInfos[le],me=Y.ordinalMeta;if(me){G=X[le]=new b(me.categories.length);for(var we=0;we<G.length;we++)G[we]=t;for(var we=0;we<z._count;we++)G[z.get(le,we)]=we}})}function k(z,X,G){var le;if(X!=null){var Y=z._chunkSize,me=Math.floor(G/Y),we=G%Y,pe=z.dimensions[X],Fe=z._storage[pe][me];if(Fe){le=Fe[we];var Xe=z._dimensionInfos[pe].ordinalMeta;Xe&&Xe.categories.length&&(le=Xe.categories[le])}}return le}C.count=function(){return this._count},C.getIndices=function(){var z,X=this._indices;if(X){var G=X.constructor,le=this._count;if(G===Array){z=new G(le);for(var Y=0;Y<le;Y++)z[Y]=X[Y]}else z=new G(X.buffer,0,le)}else for(var G=E(this),z=new G(this.count()),Y=0;Y<z.length;Y++)z[Y]=Y;return z},C.get=function(z,X){if(!(X>=0&&X<this._count))return NaN;var G=this._storage;if(!G[z])return NaN;X=this.getRawIndex(X);var le=Math.floor(X/this._chunkSize),Y=X%this._chunkSize,me=G[z][le],we=me[Y];return we},C.getByRawIndex=function(z,X){if(!(X>=0&&X<this._rawCount))return NaN;var G=this._storage[z];if(!G)return NaN;var le=Math.floor(X/this._chunkSize),Y=X%this._chunkSize,me=G[le];return me[Y]},C._getFast=function(z,X){var G=Math.floor(X/this._chunkSize),le=X%this._chunkSize,Y=this._storage[z][G];return Y[le]},C.getValues=function(z,X){var G=[];A.isArray(z)||(X=z,z=this.dimensions);for(var le=0,Y=z.length;le<Y;le++)G.push(this.get(z[le],X));return G},C.hasValue=function(z){for(var X=this._dimensionsSummary.dataDimsOnCoord,G=0,le=X.length;G<le;G++)if(isNaN(this.get(X[G],z)))return!1;return!0},C.getDataExtent=function(z){z=this.getDimension(z);var X=this._storage[z],G=P();if(!X)return G;var le=this.count(),Y=!this._indices,me;if(Y)return this._rawExtent[z].slice();if(me=this._extent[z],me)return me.slice();me=G;for(var we=me[0],pe=me[1],Fe=0;Fe<le;Fe++){var Xe=this._getFast(z,this.getRawIndex(Fe));Xe<we&&(we=Xe),Xe>pe&&(pe=Xe)}return me=[we,pe],this._extent[z]=me,me},C.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},C.setApproximateExtent=function(z,X){X=this.getDimension(X),this._approximateExtent[X]=z.slice()},C.getCalculationInfo=function(z){return this._calculationInfo[z]},C.setCalculationInfo=function(z,X){r(z)?A.extend(this._calculationInfo,z):this._calculationInfo[z]=X},C.getSum=function(z){var X=this._storage[z],G=0;if(X)for(var le=0,Y=this.count();le<Y;le++){var me=this.get(z,le);isNaN(me)||(G+=me)}return G},C.getMedian=function(z){var X=[];this.each(z,function(Y,me){isNaN(Y)||X.push(Y)});var G=[].concat(X).sort(function(Y,me){return Y-me}),le=this.count();return le===0?0:le%2===1?G[(le-1)/2]:(G[le/2]+G[le/2-1])/2},C.rawIndexOf=function(z,X){var G=z&&this._invertedIndicesMap[z],le=G[X];return le==null||isNaN(le)?t:le},C.indexOfName=function(z){for(var X=0,G=this.count();X<G;X++)if(this.getName(X)===z)return X;return-1},C.indexOfRawIndex=function(z){if(z>=this._rawCount||z<0)return-1;if(!this._indices)return z;var X=this._indices,G=X[z];if(G!=null&&G<this._count&&G===z)return z;for(var le=0,Y=this._count-1;le<=Y;){var me=(le+Y)/2|0;if(X[me]<z)le=me+1;else if(X[me]>z)Y=me-1;else return me}return-1},C.indicesOfNearest=function(z,X,G){var le=this._storage,Y=le[z],me=[];if(!Y)return me;G==null&&(G=Infinity);for(var we=Infinity,pe=-1,Fe=0,Xe=0,dt=this.count();Xe<dt;Xe++){var Ee=X-this.get(z,Xe),Se=Math.abs(Ee);Se<=G&&((Se<we||Se===we&&Ee>=0&&pe<0)&&(we=Se,pe=Ee,Fe=0),Ee===pe&&(me[Fe++]=Xe))}return me.length=Fe,me},C.getRawIndex=F;function F(z){return z}function B(z){return z<this._count&&z>=0?this._indices[z]:-1}C.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var X=[],G=0;G<this.dimensions.length;G++){var le=this.dimensions[G];X.push(this.get(le,z))}return X},C.getName=function(z){var X=this.getRawIndex(z);return this._nameList[X]||k(this,this._nameDimIdx,X)||""},C.getId=function(z){return H(this,this.getRawIndex(z))};function H(z,X){var G=z._idList[X];return G==null&&(G=k(z,z._idDimIdx,X)),G==null&&(G=s+X),G}function W(z){return A.isArray(z)||(z=[z]),z}function R(z,X){for(var G=0;G<X.length;G++)z._dimensionInfos[X[G]]||console.error("Unkown dimension "+X[G])}C.each=function(z,X,G,le){"use strict";if(!this._count)return;typeof z=="function"&&(le=G,G=X,X=z,z=[]),G=G||le||this,z=A.map(W(z),this.getDimension,this);for(var Y=z.length,me=0;me<this.count();me++)switch(Y){case 0:X.call(G,me);break;case 1:X.call(G,this.get(z[0],me),me);break;case 2:X.call(G,this.get(z[0],me),this.get(z[1],me),me);break;default:for(var we=0,pe=[];we<Y;we++)pe[we]=this.get(z[we],me);pe[we]=me,X.apply(G,pe)}},C.filterSelf=function(z,X,G,le){"use strict";if(!this._count)return;typeof z=="function"&&(le=G,G=X,X=z,z=[]),G=G||le||this,z=A.map(W(z),this.getDimension,this);for(var Y=this.count(),me=E(this),we=new me(Y),pe=[],Fe=z.length,Xe=0,dt=z[0],Ee=0;Ee<Y;Ee++){var Se,at=this.getRawIndex(Ee);if(Fe===0)Se=X.call(G,Ee);else if(Fe===1){var _e=this._getFast(dt,at);Se=X.call(G,_e,Ee)}else{for(var ce=0;ce<Fe;ce++)pe[ce]=this._getFast(dt,at);pe[ce]=Ee,Se=X.apply(G,pe)}Se&&(we[Xe++]=at)}return Xe<Y&&(this._indices=we),this._count=Xe,this._extent={},this.getRawIndex=this._indices?B:F,this},C.selectRange=function(z){"use strict";if(!this._count)return;var X=[];for(var G in z)z.hasOwnProperty(G)&&X.push(G);var le=X.length;if(!le)return;var Y=this.count(),me=E(this),we=new me(Y),pe=0,Fe=X[0],Xe=z[Fe][0],dt=z[Fe][1],Ee=!1;if(!this._indices){var Se=0;if(le===1){for(var at=this._storage[X[0]],_e=0;_e<this._chunkCount;_e++)for(var ce=at[_e],ee=Math.min(this._count-_e*this._chunkSize,this._chunkSize),se=0;se<ee;se++){var ke=ce[se];(ke>=Xe&&ke<=dt||isNaN(ke))&&(we[pe++]=Se),Se++}Ee=!0}else if(le===2){for(var at=this._storage[Fe],Ce=this._storage[X[1]],ze=z[X[1]][0],Oe=z[X[1]][1],_e=0;_e<this._chunkCount;_e++)for(var ce=at[_e],ae=Ce[_e],ee=Math.min(this._count-_e*this._chunkSize,this._chunkSize),se=0;se<ee;se++){var ke=ce[se],ge=ae[se];(ke>=Xe&&ke<=dt||isNaN(ke))&&(ge>=ze&&ge<=Oe||isNaN(ge))&&(we[pe++]=Se),Se++}Ee=!0}}if(!Ee)if(le===1)for(var se=0;se<Y;se++){var Le=this.getRawIndex(se),ke=this._getFast(Fe,Le);(ke>=Xe&&ke<=dt||isNaN(ke))&&(we[pe++]=Le)}else for(var se=0;se<Y;se++){for(var Ze=!0,Le=this.getRawIndex(se),_e=0;_e<le;_e++){var vt=X[_e],ke=this._getFast(G,Le);(ke<z[vt][0]||ke>z[vt][1])&&(Ze=!1)}Ze&&(we[pe++]=this.getRawIndex(se))}return pe<Y&&(this._indices=we),this._count=pe,this._extent={},this.getRawIndex=this._indices?B:F,this},C.mapArray=function(z,X,G,le){"use strict";typeof z=="function"&&(le=G,G=X,X=z,z=[]),G=G||le||this;var Y=[];return this.each(z,function(){Y.push(X&&X.apply(this,arguments))},G),Y};function U(z,X){var G=z.dimensions,le=new y(A.map(G,z.getDimensionInfo,z),z.hostModel);L(le,z);for(var Y=le._storage={},me=z._storage,we=0;we<G.length;we++){var pe=G[we];me[pe]&&(A.indexOf(X,pe)>=0?(Y[pe]=j(me[pe]),le._rawExtent[pe]=P(),le._extent[pe]=null):Y[pe]=me[pe])}return le}function j(z){for(var X=new Array(z.length),G=0;G<z.length;G++)X[G]=S(z[G]);return X}function P(){return[Infinity,-Infinity]}C.map=function(z,X,G,le){"use strict";G=G||le||this,z=A.map(W(z),this.getDimension,this);var Y=U(this,z);Y._indices=this._indices,Y.getRawIndex=Y._indices?B:F;for(var me=Y._storage,we=[],pe=this._chunkSize,Fe=z.length,Xe=this.count(),dt=[],Ee=Y._rawExtent,Se=0;Se<Xe;Se++){for(var at=0;at<Fe;at++)dt[at]=this.get(z[at],Se);dt[Fe]=Se;var _e=X&&X.apply(G,dt);if(_e!=null){typeof _e!="object"&&(we[0]=_e,_e=we);for(var ce=this.getRawIndex(Se),ee=Math.floor(ce/pe),se=ce%pe,ke=0;ke<_e.length;ke++){var Ce=z[ke],ze=_e[ke],Oe=Ee[Ce],ae=me[Ce];ae&&(ae[ee][se]=ze),ze<Oe[0]&&(Oe[0]=ze),ze>Oe[1]&&(Oe[1]=ze)}}}return Y},C.downSample=function(z,X,G,le){for(var Y=U(this,[z]),me=Y._storage,we=[],pe=Math.floor(1/X),Fe=me[z],Xe=this.count(),dt=this._chunkSize,Ee=Y._rawExtent[z],Se=new(E(this))(Xe),at=0,_e=0;_e<Xe;_e+=pe){pe>Xe-_e&&(pe=Xe-_e,we.length=pe);for(var ce=0;ce<pe;ce++){var ee=this.getRawIndex(_e+ce),se=Math.floor(ee/dt),ke=ee%dt;we[ce]=Fe[se][ke]}var Ce=G(we),ze=this.getRawIndex(Math.min(_e+le(we,Ce)||0,Xe-1)),Oe=Math.floor(ze/dt),ae=ze%dt;Fe[Oe][ae]=Ce,Ce<Ee[0]&&(Ee[0]=Ce),Ce>Ee[1]&&(Ee[1]=Ce),Se[at++]=ze}return Y._count=at,Y._indices=Se,Y.getRawIndex=B,Y},C.getItemModel=function(z){var X=this.hostModel;return new m(this.getRawDataItem(z),X,X&&X.ecModel)},C.diff=function(z){var X=this;return new v(z?z.getIndices():[],this.getIndices(),function(G){return H(z,G)},function(G){return H(X,G)})},C.getVisual=function(z){var X=this._visual;return X&&X[z]},C.setVisual=function(z,X){if(r(z)){for(var G in z)z.hasOwnProperty(G)&&this.setVisual(G,z[G]);return}this._visual=this._visual||{},this._visual[z]=X},C.setLayout=function(z,X){if(r(z)){for(var G in z)z.hasOwnProperty(G)&&this.setLayout(G,z[G]);return}this._layout[z]=X},C.getLayout=function(z){return this._layout[z]},C.getItemLayout=function(z){return this._itemLayouts[z]},C.setItemLayout=function(z,X,G){this._itemLayouts[z]=G?A.extend(this._itemLayouts[z]||{},X):X},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(z,X,G){var le=this._itemVisuals[z],Y=le&&le[X];return Y==null&&!G?this.getVisual(X):Y},C.setItemVisual=function(z,X,G){var le=this._itemVisuals[z]||{},Y=this.hasItemVisual;if(this._itemVisuals[z]=le,r(X)){for(var me in X)X.hasOwnProperty(me)&&(le[me]=X[me],Y[me]=!0);return}le[X]=G,Y[X]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var K=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};C.setItemGraphicEl=function(z,X){var G=this.hostModel;X&&(X.dataIndex=z,X.dataType=this.dataType,X.seriesIndex=G&&G.seriesIndex,X.type==="group"&&X.traverse(K,X)),this._graphicEls[z]=X},C.getItemGraphicEl=function(z){return this._graphicEls[z]},C.eachItemGraphicEl=function(z,X){A.each(this._graphicEls,function(G,le){G&&(z&&z.call(X,G,le))})},C.cloneShallow=function(z){if(!z){var X=A.map(this.dimensions,this.getDimensionInfo,this);z=new y(X,this.hostModel)}if(z._storage=this._storage,L(z,this),this._indices){var G=this._indices.constructor;z._indices=new G(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?B:F,z},C.wrapMethod=function(z,X){var G=this[z];if(typeof G!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var le=G.apply(this,arguments);return X.apply(this,[le].concat(A.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=y;D.exports=V},YgsL:function(D,_,e){var g=e("QBsz"),f=g.distance;function A(v,h,c,o,i,n,a){var u=(c-v)*.5,r=(o-h)*.5;return(2*(h-c)+u+r)*a+(-3*(h-c)-2*u-r)*n+u*i+h}function m(v,h){for(var c=v.length,o=[],i=0,n=1;n<c;n++)i+=f(v[n-1],v[n]);var a=i/2;a=a<c?c:a;for(var n=0;n<a;n++){var u=n/(a-1)*(h?c:c-1),r=Math.floor(u),l=u-r,t,s=v[r%c],d,p;h?(t=v[(r-1+c)%c],d=v[(r+1)%c],p=v[(r+2)%c]):(t=v[r===0?r:r-1],d=v[r>c-2?c-1:r+1],p=v[r>c-3?c-1:r+2]);var b=l*l,w=l*b;o.push([A(t[0],s[0],d[0],p[0],l,b,w),A(t[1],s[1],d[1],p[1],l,b,w)])}return o}D.exports=m},Yl7c:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=".",v="___EC__COMPONENT__CONTAINER___";function h(t){var s={main:"",sub:""};return t&&(t=t.split(m),s.main=t[0]||"",s.sub=t[1]||""),s}function c(t){A.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function o(t,s){t.$constructor=t,t.extend=function(d){var p=this,b=function(){d.$constructor?d.$constructor.apply(this,arguments):p.apply(this,arguments)};return A.extend(b.prototype,d),b.extend=this.extend,b.superCall=a,b.superApply=u,A.inherits(b,this),b.superClass=p,b}}var i=0;function n(t){var s=["__\0is_clz",i++,Math.random().toFixed(3)].join("_");t.prototype[s]=!0,t.isInstance=function(d){return!!(d&&d[s])}}function a(t,s){var d=A.slice(arguments,2);return this.superClass.prototype[s].apply(t,d)}function u(t,s,d){return this.superClass.prototype[s].apply(t,d)}function r(t,s){s=s||{};var d={};t.registerClass=function(w,E){if(E){if(c(E),E=h(E),!E.sub)d[E.main]=w;else if(E.sub!==v){var S=p(E);S[E.sub]=w}}return w},t.getClass=function(w,E,S){var x=d[w];if(x&&x[v]&&(x=E?x[E]:null),S&&!x)throw new Error(E?"Component "+w+"."+(E||"")+" not exists. Load it first.":w+".type should be specified.");return x},t.getClassesByMainType=function(w){w=h(w);var E=[],S=d[w.main];return S&&S[v]?A.each(S,function(x,T){T!==v&&E.push(x)}):E.push(S),E},t.hasClass=function(w){return w=h(w),!!d[w.main]},t.getAllClassMainTypes=function(){var w=[];return A.each(d,function(E,S){w.push(S)}),w},t.hasSubTypes=function(w){w=h(w);var E=d[w.main];return E&&E[v]},t.parseClassType=h;function p(w){var E=d[w.main];return(!E||!E[v])&&(E=d[w.main]={},E[v]=!0),E}if(s.registerWhenExtend){var b=t.extend;b&&(t.extend=function(w){var E=b.call(this,w);return t.registerClass(E,w.type)})}return t}function l(t,s){}_.parseClassType=h,_.enableClassExtend=o,_.enableClassCheck=n,_.enableClassManagement=r,_.setReadOnly=l},Ynxi:function(D,_,e){var g=e("bYtY"),f=e("ProS"),A=e("IwbS"),m=e("+TT/"),v=m.getLayoutRect,h=e("7aKB"),c=h.windowOpen;f.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),f.extendComponentView({type:"title",render:function(o,i,n){if(this.group.removeAll(),!o.get("show"))return;var a=this.group,u=o.getModel("textStyle"),r=o.getModel("subtextStyle"),l=o.get("textAlign"),t=g.retrieve2(o.get("textBaseline"),o.get("textVerticalAlign")),s=new A.Text({style:A.setTextStyle({},u,{text:o.get("text"),textFill:u.getTextColor()},{disableBox:!0}),z2:10}),d=s.getBoundingRect(),p=o.get("subtext"),b=new A.Text({style:A.setTextStyle({},r,{text:p,textFill:r.getTextColor(),y:d.height+o.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),w=o.get("link"),E=o.get("sublink"),S=o.get("triggerEvent",!0);s.silent=!w&&!S,b.silent=!E&&!S,w&&s.on("click",function(){c(w,"_"+o.get("target"))}),E&&b.on("click",function(){c(w,"_"+o.get("subtarget"))}),s.eventData=b.eventData=S?{componentType:"title",componentIndex:o.componentIndex}:null,a.add(s),p&&a.add(b);var x=a.getBoundingRect(),T=o.getBoxLayoutParams();T.width=x.width,T.height=x.height;var L=v(T,{width:n.getWidth(),height:n.getHeight()},o.get("padding"));l||(l=o.get("left")||o.get("right"),l==="middle"&&(l="center"),l==="right"?L.x+=L.width:l==="center"&&(L.x+=L.width/2)),t||(t=o.get("top")||o.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?L.y+=L.height:t==="middle"&&(L.y+=L.height/2),t=t||"top"),a.attr("position",[L.x,L.y]);var y={textAlign:l,textVerticalAlign:t};s.setStyle(y),b.setStyle(y),x=a.getBoundingRect();var C=L.margin,O=o.getItemStyle(["color","opacity"]);O.fill=o.get("backgroundColor");var N=new A.Rect({shape:{x:x.x-C[3],y:x.y-C[0],width:x.width+C[1]+C[3],height:x.height+C[0]+C[2],r:o.get("borderRadius")},style:O,subPixelOptimize:!0,silent:!0});a.add(N)}})},YrtM:function(D,_,e){"use strict";e.d(_,"a",function(){return A});var g=e("q1tI"),f=e.n(g);function A(m,v,h){var c=g.useRef({});return(!("value"in c.current)||h(c.current.condition,v))&&(c.current.value=m(),c.current.condition=v),c.current.value}},Ywus:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("DO2E")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="DeleteOutlined";var c=A.forwardRef(h);_.default=c},Z0Lh:function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=g(e("pVnL")),A=g(e("HjOm")),m=g(e("Z6rY")),v={lang:(0,f.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},A.default),timePickerLocale:(0,f.default)({},m.default)};v.lang.ok="\u786E \u5B9A";var h=v;_.default=h},Z0cm:function(D,_){var e=Array.isArray;D.exports=e},Z1HP:function(D,_,e){var g=e("ycre"),f=e("quyA"),A=e("q4HE");function m(v){return f(v)?A(v):g(v)}D.exports=m},Z1r0:function(D,_){function e(g){var f=g.findComponents({mainType:"legend"});if(!f||!f.length)return;g.eachSeriesByType("graph",function(A){var m=A.getCategoriesData(),v=A.getGraph(),h=v.data,c=m.mapArray(m.getName);h.filterSelf(function(o){var i=h.getItemModel(o),n=i.getShallow("category");if(n!=null){typeof n=="number"&&(n=c[n]);for(var a=0;a<f.length;a++)if(!f[a].isSelected(n))return!1}return!0})},this)}D.exports=e},Z1wy:function(D,_,e){var g=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var f=e("zuHt"),A=e("VPsl"),m=e("9u0u"),v=e("lELe"),h=e("d4KN");g.registerLayout(f),g.registerVisual(A),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m),g.registerPreprocessor(v),h("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(D,_,e){var g=e("MwEJ"),f=e("T4UG"),A=f.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,v){return g(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});D.exports=A},Z6rY:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=g;_.default=f},Z8oC:function(D,_,e){var g=e("y1pI");function f(A,m){var v=this.__data__,h=g(v,A);return h<0?(++this.size,v.push([A,m])):v[h][1]=m,this}D.exports=f},Z8zF:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("IwbS"),h=e("56rv"),c=h.setLabel,o=e("Qxkt"),i=e("tceW"),n=e("y+Vt"),a=e("4fz+"),u=e("iLNv"),r=u.throttle,l=e("sK/D"),t=l.createClipPath,s=e("wr5s"),d=["itemStyle","barBorderWidth"],p=[0,0];m.extend(o.prototype,i);function b(K,V){var z=K.getArea&&K.getArea();if(K.type==="cartesian2d"){var X=K.getBaseAxis();if(X.type!=="category"||!X.onBand){var G=V.getLayout("bandWidth");X.isHorizontal()?(z.x-=G,z.width+=G*2):(z.y-=G,z.height+=G*2)}}return z}var w=A.extendChartView({type:"bar",render:function(K,V,z){this._updateDrawMode(K);var X=K.get("coordinateSystem");return(X==="cartesian2d"||X==="polar")&&(this._isLargeDraw?this._renderLarge(K,V,z):this._renderNormal(K,V,z)),this.group},incrementalPrepareRender:function(K,V,z){this._clear(),this._updateDrawMode(K)},incrementalRender:function(K,V,z,X){this._incrementalRenderLarge(K,V)},_updateDrawMode:function(K){var V=K.pipelineContext.large;(this._isLargeDraw==null||V^this._isLargeDraw)&&(this._isLargeDraw=V,this._clear())},_renderNormal:function(K,V,z){var X=this.group,G=K.getData(),le=this._data,Y=K.coordinateSystem,me=Y.getBaseAxis(),we;Y.type==="cartesian2d"?we=me.isHorizontal():Y.type==="polar"&&(we=me.dim==="angle");var pe=K.isAnimationEnabled()?K:null,Fe=K.get("clip",!0),Xe=b(Y,G);X.removeClipPath();var dt=K.get("roundCap",!0),Ee=K.get("showBackground",!0),Se=K.getModel("backgroundStyle"),at=Se.get("barBorderRadius")||0,_e=[],ce=this._backgroundEls||[];G.diff(le).add(function(ke){var Ce=G.getItemModel(ke),ze=C[Y.type](G,ke,Ce);if(Ee){var Oe=C[Y.type](G,ke),ae=P(Y,we,Oe);ae.useStyle(Se.getBarItemStyle()),Y.type==="cartesian2d"&&ae.setShape("r",at),_e[ke]=ae}if(!G.hasValue(ke))return;if(Fe){var ge=x[Y.type](Xe,ze);if(ge){X.remove(Le);return}}var Le=T[Y.type](ke,ze,we,pe,!1,dt);G.setItemGraphicEl(ke,Le),X.add(Le),N(Le,G,ke,Ce,ze,K,we,Y.type==="polar")}).update(function(ke,Ce){var ze=G.getItemModel(ke),Oe=C[Y.type](G,ke,ze);if(Ee){var ae=ce[Ce];ae.useStyle(Se.getBarItemStyle()),Y.type==="cartesian2d"&&ae.setShape("r",at),_e[ke]=ae;var ge=C[Y.type](G,ke),Le=j(we,ge,Y);v.updateProps(ae,{shape:Le},pe,ke)}var Ze=le.getItemGraphicEl(Ce);if(!G.hasValue(ke)){X.remove(Ze);return}if(Fe){var vt=x[Y.type](Xe,Oe);if(vt){X.remove(Ze);return}}Ze?v.updateProps(Ze,{shape:Oe},pe,ke):Ze=T[Y.type](ke,Oe,we,pe,!0,dt),G.setItemGraphicEl(ke,Ze),X.add(Ze),N(Ze,G,ke,ze,Oe,K,we,Y.type==="polar")}).remove(function(ke){var Ce=le.getItemGraphicEl(ke);Y.type==="cartesian2d"?Ce&&L(ke,pe,Ce):Ce&&y(ke,pe,Ce)}).execute();var ee=this._backgroundGroup||(this._backgroundGroup=new a);ee.removeAll();for(var se=0;se<_e.length;++se)ee.add(_e[se]);X.add(ee),this._backgroundEls=_e,this._data=G},_renderLarge:function(K,V,z){this._clear(),B(K,this.group);var X=K.get("clip",!0)?t(K.coordinateSystem,!1,K):null;X?this.group.setClipPath(X):this.group.removeClipPath()},_incrementalRenderLarge:function(K,V){this._removeBackground(),B(V,this.group,!0)},dispose:m.noop,remove:function(K){this._clear(K)},_clear:function(K){var V=this.group,z=this._data;K&&K.get("animation")&&z&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],z.eachItemGraphicEl(function(X){X.type==="sector"?y(X.dataIndex,K,X):L(X.dataIndex,K,X)})):V.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),E=Math.max,S=Math.min,x={cartesian2d:function(K,V){var z=V.width<0?-1:1,X=V.height<0?-1:1;z<0&&(V.x+=V.width,V.width=-V.width),X<0&&(V.y+=V.height,V.height=-V.height);var G=E(V.x,K.x),le=S(V.x+V.width,K.x+K.width),Y=E(V.y,K.y),me=S(V.y+V.height,K.y+K.height);V.x=G,V.y=Y,V.width=le-G,V.height=me-Y;var we=V.width<0||V.height<0;return z<0&&(V.x+=V.width,V.width=-V.width),X<0&&(V.y+=V.height,V.height=-V.height),we},polar:function(K){return!1}},T={cartesian2d:function(K,V,z,X,G){var le=new v.Rect({shape:m.extend({},V),z2:1});if(le.name="item",X){var Y=le.shape,me=z?"height":"width",we={};Y[me]=0,we[me]=V[me],v[G?"updateProps":"initProps"](le,{shape:we},X,K)}return le},polar:function(K,V,z,X,G,le){var Y=V.startAngle<V.endAngle,me=!z&&le?s:v.Sector,we=new me({shape:m.defaults({clockwise:Y},V),z2:1});if(we.name="item",X){var pe=we.shape,Fe=z?"r":"endAngle",Xe={};pe[Fe]=z?0:V.startAngle,Xe[Fe]=V[Fe],v[G?"updateProps":"initProps"](we,{shape:Xe},X,K)}return we}};function L(K,V,z){z.style.text=null,v.updateProps(z,{shape:{width:0}},V,K,function(){z.parent&&z.parent.remove(z)})}function y(K,V,z){z.style.text=null,v.updateProps(z,{shape:{r:z.shape.r0}},V,K,function(){z.parent&&z.parent.remove(z)})}var C={cartesian2d:function(K,V,z){var X=K.getItemLayout(V),G=z?k(z,X):0,le=X.width>0?1:-1,Y=X.height>0?1:-1;return{x:X.x+le*G/2,y:X.y+Y*G/2,width:X.width-le*G,height:X.height-Y*G}},polar:function(K,V,z){var X=K.getItemLayout(V);return{cx:X.cx,cy:X.cy,r0:X.r0,r:X.r,startAngle:X.startAngle,endAngle:X.endAngle}}};function O(K){return K.startAngle!=null&&K.endAngle!=null&&K.startAngle===K.endAngle}function N(K,V,z,X,G,le,Y,me){var we=V.getItemVisual(z,"color"),pe=V.getItemVisual(z,"opacity"),Fe=V.getVisual("borderColor"),Xe=X.getModel("itemStyle"),dt=X.getModel("emphasis.itemStyle").getBarItemStyle();me||K.setShape("r",Xe.get("barBorderRadius")||0),K.useStyle(m.defaults({stroke:O(G)?"none":Fe,fill:O(G)?"none":we,opacity:pe},Xe.getBarItemStyle()));var Ee=X.getShallow("cursor");Ee&&K.attr("cursor",Ee);var Se=Y?G.height>0?"bottom":"top":G.width>0?"left":"right";me||c(K.style,dt,X,we,le,z,Se),O(G)&&(dt.fill=dt.stroke="none"),v.setHoverStyle(K,dt)}function k(K,V){var z=K.get(d)||0,X=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),G=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(z,X,G)}var F=n.extend({type:"largeBar",shape:{points:[]},buildPath:function(K,V){for(var z=V.points,X=this.__startPoint,G=this.__baseDimIdx,le=0;le<z.length;le+=2)X[G]=z[le+G],K.moveTo(X[0],X[1]),K.lineTo(z[le],z[le+1])}});function B(K,V,z){var X=K.getData(),G=[],le=X.getLayout("valueAxisHorizontal")?1:0;G[1-le]=X.getLayout("valueAxisStart");var Y=X.getLayout("largeDataIndices"),me=X.getLayout("barWidth"),we=K.getModel("backgroundStyle"),pe=K.get("showBackground",!0);if(pe){var Fe=X.getLayout("largeBackgroundPoints"),Xe=[];Xe[1-le]=X.getLayout("backgroundStart");var dt=new F({shape:{points:Fe},incremental:!!z,__startPoint:Xe,__baseDimIdx:le,__largeDataIndices:Y,__barWidth:me,silent:!0,z2:0});U(dt,we,X),V.add(dt)}var Ee=new F({shape:{points:X.getLayout("largePoints")},incremental:!!z,__startPoint:G,__baseDimIdx:le,__largeDataIndices:Y,__barWidth:me});V.add(Ee),R(Ee,K,X),Ee.seriesIndex=K.seriesIndex,K.get("silent")||(Ee.on("mousedown",H),Ee.on("mousemove",H))}var H=r(function(K){var V=this,z=W(V,K.offsetX,K.offsetY);V.dataIndex=z>=0?z:null},30,!1);function W(K,V,z){var X=K.__baseDimIdx,G=1-X,le=K.shape.points,Y=K.__largeDataIndices,me=Math.abs(K.__barWidth/2),we=K.__startPoint[G];p[0]=V,p[1]=z;for(var pe=p[X],Fe=p[1-X],Xe=pe-me,dt=pe+me,Ee=0,Se=le.length/2;Ee<Se;Ee++){var at=Ee*2,_e=le[at+X],ce=le[at+G];if(_e>=Xe&&_e<=dt&&(we<=ce?Fe>=we&&Fe<=ce:Fe>=ce&&Fe<=we))return Y[Ee]}return-1}function R(K,V,z){var X=z.getVisual("borderColor")||z.getVisual("color"),G=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);K.useStyle(G),K.style.fill=null,K.style.stroke=X,K.style.lineWidth=z.getLayout("barWidth")}function U(K,V,z){var X=V.get("borderColor")||V.get("color"),G=V.getItemStyle(["color","borderColor"]);K.useStyle(G),K.style.fill=null,K.style.stroke=X,K.style.lineWidth=z.getLayout("barWidth")}function j(K,V,z){var X,G=z.type==="polar";return G?X=z.getArea():X=z.grid.getRect(),G?{cx:X.cx,cy:X.cy,r0:K?X.r0:V.r0,r:K?X.r:V.r,startAngle:K?V.startAngle:0,endAngle:K?V.endAngle:Math.PI*2}:{x:K?V.x:X.x,y:K?X.y:V.y,width:K?V.width:X.width,height:K?X.height:V.height}}function P(K,V,z){var X=K.type==="polar"?v.Sector:v.Rect;return new X({shape:j(V,z,K),silent:!0,z2:0})}D.exports=w},ZCgT:function(D,_,e){var g=e("tLB3"),f=1/0,A=17976931348623157e292;function m(v){if(!v)return v===0?v:0;if(v=g(v),v===f||v===-f){var h=v<0?-1:1;return h*A}return v===v?v:0}D.exports=m},ZLWo:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};_.default=g},ZMnZ:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("2oIt")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="UpOutlined";var c=A.forwardRef(h);_.default=c},ZTPi:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("q1tI"),h=e("ODXe"),c=e("Ff2n"),o=e("rePB"),i=e("TSYQ"),n=e.n(i),a=e("Zm9Q"),u=e("6cGi"),r=e("KQm4"),l=e("xEkU"),t=e.n(l),s=e("t23M");function d(He){var wt=Object(v.useRef)(),Ge=Object(v.useRef)(!1);function et(){for(var rt=arguments.length,lt=new Array(rt),Ve=0;Ve<rt;Ve++)lt[Ve]=arguments[Ve];Ge.current||(t.a.cancel(wt.current),wt.current=t()(function(){He.apply(void 0,lt)}))}return Object(v.useEffect)(function(){return function(){Ge.current=!0,t.a.cancel(wt.current)}},[]),et}function p(He){var wt=Object(v.useRef)([]),Ge=Object(v.useState)({}),et=Object(h.a)(Ge,2),rt=et[1],lt=Object(v.useRef)(typeof He=="function"?He():He),Ve=d(function(){var $=lt.current;wt.current.forEach(function(it){$=it($)}),wt.current=[],lt.current=$,rt({})});function ie($){wt.current.push($),Ve()}return[lt.current,ie]}var b=e("4IlW");function w(He,wt){var Ge,et=He.prefixCls,rt=He.id,lt=He.active,Ve=He.rtl,ie=He.tab,$=ie.key,it=ie.tab,Qe=ie.disabled,ye=ie.closeIcon,Zt=He.tabBarGutter,ht=He.tabPosition,ct=He.closable,yt=He.renderWrapper,It=He.removeAriaLabel,or=He.editable,Bt=He.onClick,Ae=He.onRemove,ve=He.onFocus,fe="".concat(et,"-tab");v.useEffect(function(){return Ae},[]);var ue={};ht==="top"||ht==="bottom"?ue[Ve?"marginLeft":"marginRight"]=Zt:ue.marginBottom=Zt;var Ne=or&&ct!==!1&&!Qe;function je(Pe){if(Qe)return;Bt(Pe)}function Ke(Pe){Pe.preventDefault(),Pe.stopPropagation(),or.onEdit("remove",{key:$,event:Pe})}var Ye=v.createElement("div",{key:$,ref:wt,className:n()(fe,(Ge={},Object(o.a)(Ge,"".concat(fe,"-with-remove"),Ne),Object(o.a)(Ge,"".concat(fe,"-active"),lt),Object(o.a)(Ge,"".concat(fe,"-disabled"),Qe),Ge)),style:ue,onClick:je},v.createElement("div",{role:"tab","aria-selected":lt,id:rt&&"".concat(rt,"-tab-").concat($),className:"".concat(fe,"-btn"),"aria-controls":rt&&"".concat(rt,"-panel-").concat($),"aria-disabled":Qe,tabIndex:Qe?null:0,onClick:function(nt){nt.stopPropagation(),je(nt)},onKeyDown:function(nt){[b.a.SPACE,b.a.ENTER].includes(nt.which)&&(nt.preventDefault(),je(nt))},onFocus:ve},it),Ne&&v.createElement("button",{type:"button","aria-label":It||"remove",tabIndex:0,className:"".concat(fe,"-remove"),onClick:function(nt){nt.stopPropagation(),Ke(nt)}},ye||or.removeIcon||"\xD7"));return yt&&(Ye=yt(Ye)),Ye}var E=v.forwardRef(w);function S(He,wt){var Ge=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ge.push.apply(Ge,et)}return Ge}function x(He){for(var wt=1;wt<arguments.length;wt++){var Ge=arguments[wt]!=null?arguments[wt]:{};wt%2?S(Object(Ge),!0).forEach(function(et){Object(o.a)(He,et,Ge[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ge)):S(Object(Ge)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ge,et))})}return He}var T={width:0,height:0,left:0,top:0};function L(He,wt,Ge){return Object(v.useMemo)(function(){for(var et,rt=new Map,lt=wt.get((et=He[0])===null||et===void 0?void 0:et.key)||T,Ve=lt.left+lt.width,ie=0;ie<He.length;ie+=1){var $=He[ie].key,it=wt.get($);if(!it){var Qe;it=wt.get((Qe=He[ie-1])===null||Qe===void 0?void 0:Qe.key)||T}var ye=rt.get($)||x({},it);ye.right=Ve-ye.left-ye.width,rt.set($,ye)}return rt},[He.map(function(et){return et.key}).join("_"),wt,Ge])}var y={width:0,height:0,left:0,top:0,right:0};function C(He,wt,Ge,et,rt){var lt=rt.tabs,Ve=rt.tabPosition,ie=rt.rtl,$,it,Qe;["top","bottom"].includes(Ve)?($="width",it=ie?"right":"left",Qe=Math.abs(wt.left)):($="height",it="top",Qe=-wt.top);var ye=wt[$],Zt=Ge[$],ht=et[$],ct=ye;return Zt+ht>ye&&(ct=ye-ht),Object(v.useMemo)(function(){if(!lt.length)return[0,0];for(var yt=lt.length,It=yt,or=0;or<yt;or+=1){var Bt=He.get(lt[or].key)||y;if(Bt[it]+Bt[$]>Qe+ct){It=or-1;break}}for(var Ae=0,ve=yt-1;ve>=0;ve-=1){var fe=He.get(lt[ve].key)||y;if(fe[it]<Qe){Ae=ve+1;break}}return[Ae,It]},[He,Qe,ct,Ve,lt.map(function(yt){return yt.key}).join("_"),ie])}var O=e("1j5w"),N=e("eDIo");function k(He,wt){var Ge=He.prefixCls,et=He.editable,rt=He.locale,lt=He.style;return!et||et.showAdd===!1?null:v.createElement("button",{ref:wt,type:"button",className:"".concat(Ge,"-nav-add"),style:lt,"aria-label":(rt==null?void 0:rt.addAriaLabel)||"Add tab",onClick:function(ie){et.onEdit("add",{event:ie})}},et.addIcon||"+")}var F=v.forwardRef(k);function B(He,wt){var Ge=He.prefixCls,et=He.id,rt=He.tabs,lt=He.locale,Ve=He.mobile,ie=He.moreIcon,$=ie===void 0?"More":ie,it=He.moreTransitionName,Qe=He.style,ye=He.className,Zt=He.editable,ht=He.tabBarGutter,ct=He.rtl,yt=He.onTabClick,It=Object(v.useState)(!1),or=Object(h.a)(It,2),Bt=or[0],Ae=or[1],ve=Object(v.useState)(null),fe=Object(h.a)(ve,2),ue=fe[0],Ne=fe[1],je="".concat(et,"-more-popup"),Ke="".concat(Ge,"-dropdown"),Ye=ue!==null?"".concat(je,"-").concat(ue):null,Pe=lt==null?void 0:lt.dropdownAriaLabel,nt=v.createElement(O.f,{onClick:function(be){var Ie=be.key,Re=be.domEvent;yt(Ie,Re),Ae(!1)},id:je,tabIndex:-1,role:"listbox","aria-activedescendant":Ye,selectedKeys:[ue],"aria-label":Pe!==void 0?Pe:"expanded dropdown"},rt.map(function(te){return v.createElement(O.d,{key:te.key,id:"".concat(je,"-").concat(te.key),role:"option","aria-controls":et&&"".concat(et,"-panel-").concat(te.key),disabled:te.disabled},te.tab)}));function At(te){for(var be=rt.filter(function(Wt){return!Wt.disabled}),Ie=be.findIndex(function(Wt){return Wt.key===ue})||0,Re=be.length,$e=0;$e<Re;$e+=1){Ie=(Ie+te+Re)%Re;var gt=be[Ie];if(!gt.disabled){Ne(gt.key);return}}}function Ot(te){var be=te.which;if(!Bt){[b.a.DOWN,b.a.SPACE,b.a.ENTER].includes(be)&&(Ae(!0),te.preventDefault());return}switch(be){case b.a.UP:At(-1),te.preventDefault();break;case b.a.DOWN:At(1),te.preventDefault();break;case b.a.ESC:Ae(!1);break;case b.a.SPACE:case b.a.ENTER:ue!==null&&yt(ue,te);break}}Object(v.useEffect)(function(){var te=document.getElementById(Ye);te&&te.scrollIntoView&&te.scrollIntoView(!1)},[ue]),Object(v.useEffect)(function(){Bt||Ne(null)},[Bt]);var ne=Object(o.a)({},ct?"marginLeft":"marginRight",ht);rt.length||(ne.visibility="hidden",ne.order=1);var he=n()(Object(o.a)({},"".concat(Ke,"-rtl"),ct)),Q=Ve?null:v.createElement(N.a,{prefixCls:Ke,overlay:nt,trigger:["hover"],visible:Bt,transitionName:it,onVisibleChange:Ae,overlayClassName:he},v.createElement("button",{type:"button",className:"".concat(Ge,"-nav-more"),style:ne,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":je,id:"".concat(et,"-more"),"aria-expanded":Bt,onKeyDown:Ot},$));return v.createElement("div",{className:n()("".concat(Ge,"-nav-operations"),ye),style:Qe,ref:wt},Q,v.createElement(F,{prefixCls:Ge,locale:lt,editable:Zt}))}var H=v.forwardRef(B),W=Object(v.createContext)(null),R=.1,U=.01,j=20,P=Math.pow(.995,j);function K(){var He=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(He)||/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(He.substr(0,4)))}function V(He,wt){var Ge=Object(v.useState)(),et=Object(h.a)(Ge,2),rt=et[0],lt=et[1],Ve=Object(v.useState)(0),ie=Object(h.a)(Ve,2),$=ie[0],it=ie[1],Qe=Object(v.useState)(0),ye=Object(h.a)(Qe,2),Zt=ye[0],ht=ye[1],ct=Object(v.useState)(),yt=Object(h.a)(ct,2),It=yt[0],or=yt[1],Bt=Object(v.useRef)();function Ae(Pe){var nt=Pe.touches[0],At=nt.screenX,Ot=nt.screenY;lt({x:At,y:Ot}),window.clearInterval(Bt.current)}function ve(Pe){if(!rt)return;Pe.preventDefault();var nt=Pe.touches[0],At=nt.screenX,Ot=nt.screenY;lt({x:At,y:Ot});var ne=At-rt.x,he=Ot-rt.y;wt(ne,he);var Q=Date.now();it(Q),ht(Q-$),or({x:ne,y:he})}function fe(){if(!rt)return;if(lt(null),or(null),It){var Pe=It.x/Zt,nt=It.y/Zt,At=Math.abs(Pe),Ot=Math.abs(nt);if(Math.max(At,Ot)<R)return;var ne=Pe,he=nt;Bt.current=window.setInterval(function(){if(Math.abs(ne)<U&&Math.abs(he)<U){window.clearInterval(Bt.current);return}ne*=P,he*=P,wt(ne*j,he*j)},j)}}var ue=Object(v.useRef)(0),Ne=Object(v.useRef)(!1),je=Object(v.useRef)();function Ke(Pe){var nt=Pe.deltaX,At=Pe.deltaY,Ot=0,ne=Math.abs(nt),he=Math.abs(At);ne===he?Ot=je.current==="x"?nt:At:ne>he?(Ot=nt,je.current="x"):(Ot=At,je.current="y");var Q=Date.now();Q-ue.current>100&&(Ne.current=!1),(wt(-Ot,-Ot)||Ne.current)&&(Pe.preventDefault(),Ne.current=!0),ue.current=Q}var Ye=Object(v.useRef)(null);Ye.current={onTouchStart:Ae,onTouchMove:ve,onTouchEnd:fe,onWheel:Ke},v.useEffect(function(){function Pe(ne){Ye.current.onTouchStart(ne)}function nt(ne){Ye.current.onTouchMove(ne)}function At(ne){Ye.current.onTouchEnd(ne)}function Ot(ne){Ye.current.onWheel(ne)}return document.addEventListener("touchmove",nt,{passive:!1}),document.addEventListener("touchend",At,{passive:!1}),He.current.addEventListener("touchstart",Pe,{passive:!1}),He.current.addEventListener("wheel",Ot),function(){document.removeEventListener("touchmove",nt),document.removeEventListener("touchend",At)}},[])}function z(){var He=Object(v.useRef)(new Map);function wt(et){return He.current.has(et)||He.current.set(et,v.createRef()),He.current.get(et)}function Ge(et){He.current.delete(et)}return[wt,Ge]}function X(He,wt){var Ge=v.useRef(He),et=v.useState({}),rt=Object(h.a)(et,2),lt=rt[1];function Ve(ie){var $=typeof ie=="function"?ie(Ge.current):ie;$!==Ge.current&&wt($,Ge.current),Ge.current=$,lt({})}return[Ge.current,Ve]}function G(He,wt){var Ge=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ge.push.apply(Ge,et)}return Ge}function le(He){for(var wt=1;wt<arguments.length;wt++){var Ge=arguments[wt]!=null?arguments[wt]:{};wt%2?G(Object(Ge),!0).forEach(function(et){Object(o.a)(He,et,Ge[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ge)):G(Object(Ge)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ge,et))})}return He}var Y=function(wt){var Ge=wt.position,et=wt.prefixCls,rt=wt.extra;if(!rt)return null;var lt,Ve=rt;return Ge==="right"&&(lt=Ve.right||!Ve.left&&Ve||null),Ge==="left"&&(lt=Ve.left||null),lt?v.createElement("div",{className:"".concat(et,"-extra-content")},lt):null};function me(He,wt){var Ge,et=v.useContext(W),rt=et.prefixCls,lt=et.tabs,Ve=He.className,ie=He.style,$=He.id,it=He.animated,Qe=He.activeKey,ye=He.rtl,Zt=He.extra,ht=He.editable,ct=He.locale,yt=He.tabPosition,It=He.tabBarGutter,or=He.children,Bt=He.onTabClick,Ae=He.onTabScroll,ve=Object(v.useRef)(),fe=Object(v.useRef)(),ue=Object(v.useRef)(),Ne=Object(v.useRef)(),je=z(),Ke=Object(h.a)(je,2),Ye=Ke[0],Pe=Ke[1],nt=yt==="top"||yt==="bottom",At=X(0,function(aa,Hi){nt&&Ae&&Ae({direction:aa>Hi?"left":"right"})}),Ot=Object(h.a)(At,2),ne=Ot[0],he=Ot[1],Q=X(0,function(aa,Hi){!nt&&Ae&&Ae({direction:aa>Hi?"top":"bottom"})}),te=Object(h.a)(Q,2),be=te[0],Ie=te[1],Re=Object(v.useState)(0),$e=Object(h.a)(Re,2),gt=$e[0],Wt=$e[1],$t=Object(v.useState)(0),Dt=Object(h.a)($t,2),Kt=Dt[0],Gt=Dt[1],Qt=Object(v.useState)(0),Mt=Object(h.a)(Qt,2),dr=Mt[0],er=Mt[1],st=Object(v.useState)(0),xt=Object(h.a)(st,2),ut=xt[0],pt=xt[1],_t=Object(v.useState)(null),Tt=Object(h.a)(_t,2),ft=Tt[0],Ht=Tt[1],kt=Object(v.useState)(null),ir=Object(h.a)(kt,2),Xt=ir[0],mr=ir[1],Ar=Object(v.useState)(0),Nr=Object(h.a)(Ar,2),kr=Nr[0],tn=Nr[1],qr=Object(v.useState)(0),Lr=Object(h.a)(qr,2),Qr=Lr[0],Ir=Lr[1],ur=p(new Map),pr=Object(h.a)(ur,2),cr=pr[0],fr=pr[1],xr=L(lt,cr,gt),Yr="".concat(rt,"-nav-operations-hidden"),un=0,Nn=0;nt?ye?(un=0,Nn=Math.max(0,gt-ft)):(un=Math.min(0,ft-gt),Nn=0):(un=Math.min(0,Xt-Kt),Nn=0);function jr(aa){return aa<un?[un,!1]:aa>Nn?[Nn,!1]:[aa,!0]}var Tn=Object(v.useRef)(),gn=Object(v.useState)(),Pn=Object(h.a)(gn,2),zn=Pn[0],qn=Pn[1];function Yn(){qn(Date.now())}function Vn(){window.clearTimeout(Tn.current)}V(ve,function(aa,Hi){var ga=!1;function ha(mo,Fn){mo(function($i){var eo=jr($i+Fn),To=Object(h.a)(eo,2),uo=To[0],rr=To[1];return ga=rr,uo})}if(nt){if(ft>=gt)return ga;ha(he,aa)}else{if(Xt>=Kt)return ga;ha(Ie,Hi)}return Vn(),Yn(),ga}),Object(v.useEffect)(function(){return Vn(),zn&&(Tn.current=window.setTimeout(function(){qn(0)},100)),Vn},[zn]);function An(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Hi=xr.get(aa);if(!Hi)return;if(nt){var ga=ne;ye?Hi.right<ne?ga=Hi.right:Hi.right+Hi.width>ne+ft&&(ga=Hi.right+Hi.width-ft):Hi.left<-ne?ga=-Hi.left:Hi.left+Hi.width>-ne+ft&&(ga=-(Hi.left+Hi.width-ft)),Ie(0),he(jr(ga)[0])}else{var ha=be;Hi.top<-be?ha=-Hi.top:Hi.top+Hi.height>-be+Xt&&(ha=-(Hi.top+Hi.height-Xt)),he(0),Ie(jr(ha)[0])}}var on=C(xr,{width:ft,height:Xt,left:ne,top:be},{width:dr,height:ut},{width:kr,height:Qr},le(le({},He),{},{tabs:lt})),ia=Object(h.a)(on,2),xa=ia[0],ta=ia[1],Ii=lt.map(function(aa){var Hi=aa.key;return v.createElement(E,{id:$,prefixCls:rt,key:Hi,rtl:ye,tab:aa,closable:aa.closable,editable:ht,active:Hi===Qe,tabPosition:yt,tabBarGutter:It,renderWrapper:or,removeAriaLabel:ct==null?void 0:ct.removeAriaLabel,ref:Ye(Hi),onClick:function(ha){Bt(Hi,ha)},onRemove:function(){Pe(Hi)},onFocus:function(){An(Hi),Yn(),ye||(ve.current.scrollLeft=0),ve.current.scrollTop=0}})}),Ci=d(function(){var aa,Hi,ga,ha,mo,Fn,$i,eo,To,uo=((aa=ve.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,rr=((Hi=ve.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Tr=((ga=Ne.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Pr=((ha=Ne.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Wr=((mo=ue.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((Fn=ue.current)===null||Fn===void 0?void 0:Fn.offsetHeight)||0;Ht(uo),mr(rr),tn(Tr),Ir(Pr);var tt=((($i=fe.current)===null||$i===void 0?void 0:$i.offsetWidth)||0)-Tr,jt=(((eo=fe.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Pr;Wt(tt),Gt(jt);var Jt=(To=ue.current)===null||To===void 0?void 0:To.className.includes(Yr);er(tt-(Jt?0:Wr)),pt(jt-(Jt?0:hn)),fr(function(){var nr=new Map;return lt.forEach(function(Or){var wr=Or.key,Er=Ye(wr).current;Er&&nr.set(wr,{width:Er.offsetWidth,height:Er.offsetHeight,left:Er.offsetLeft,top:Er.offsetTop})}),nr})}),Gn=lt.slice(0,xa),Oa=lt.slice(ta+1),mn=[].concat(Object(r.a)(Gn),Object(r.a)(Oa)),On=Object(v.useState)(),Ln=Object(h.a)(On,2),In=Ln[0],jn=Ln[1],ni=xr.get(Qe),di=Object(v.useRef)();function Na(){t.a.cancel(di.current)}Object(v.useEffect)(function(){var aa={};return ni&&(nt?(ye?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Na(),di.current=t()(function(){jn(aa)}),Na},[ni,nt,ye]),Object(v.useEffect)(function(){An()},[Qe,ni,xr,nt]),Object(v.useEffect)(function(){Ci()},[ye,It,Qe,lt.map(function(aa){return aa.key}).join("_")]);var Qi=!!mn.length,ma="".concat(rt,"-nav-wrap"),Ba,Qa,Wi,Co;return nt?ye?(Qa=ne>0,Ba=ne+ft<gt):(Ba=ne<0,Qa=-ne+ft<gt):(Wi=be<0,Co=-be+Xt<Kt),v.createElement("div",{ref:wt,role:"tablist",className:n()("".concat(rt,"-nav"),Ve),style:ie,onKeyDown:function(){Yn()}},v.createElement(Y,{position:"left",extra:Zt,prefixCls:rt}),v.createElement(s.a,{onResize:Ci},v.createElement("div",{className:n()(ma,(Ge={},Object(o.a)(Ge,"".concat(ma,"-ping-left"),Ba),Object(o.a)(Ge,"".concat(ma,"-ping-right"),Qa),Object(o.a)(Ge,"".concat(ma,"-ping-top"),Wi),Object(o.a)(Ge,"".concat(ma,"-ping-bottom"),Co),Ge)),ref:ve},v.createElement(s.a,{onResize:Ci},v.createElement("div",{ref:fe,className:"".concat(rt,"-nav-list"),style:{transform:"translate(".concat(ne,"px, ").concat(be,"px)"),transition:zn?"none":void 0}},Ii,v.createElement(F,{ref:Ne,prefixCls:rt,locale:ct,editable:ht,style:{visibility:Qi?"hidden":null}}),v.createElement("div",{className:n()("".concat(rt,"-ink-bar"),Object(o.a)({},"".concat(rt,"-ink-bar-animated"),it.inkBar)),style:In}))))),v.createElement(H,Object.assign({},He,{ref:ue,prefixCls:rt,tabs:mn,className:!Qi&&Yr})),v.createElement(Y,{position:"right",extra:Zt,prefixCls:rt}))}var we=v.forwardRef(me);function pe(He){var wt=He.id,Ge=He.activeKey,et=He.animated,rt=He.tabPosition,lt=He.rtl,Ve=He.destroyInactiveTabPane,ie=v.useContext(W),$=ie.prefixCls,it=ie.tabs,Qe=et.tabPane,ye=it.findIndex(function(Zt){return Zt.key===Ge});return v.createElement("div",{className:n()("".concat($,"-content-holder"))},v.createElement("div",{className:n()("".concat($,"-content"),"".concat($,"-content-").concat(rt),Object(o.a)({},"".concat($,"-content-animated"),Qe)),style:ye&&Qe?Object(o.a)({},lt?"marginRight":"marginLeft","-".concat(ye,"00%")):null},it.map(function(Zt){return v.cloneElement(Zt.node,{key:Zt.key,prefixCls:$,tabKey:Zt.key,id:wt,animated:Qe,active:Zt.key===Ge,destroyInactiveTabPane:Ve})})))}function Fe(He,wt){var Ge=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ge.push.apply(Ge,et)}return Ge}function Xe(He){for(var wt=1;wt<arguments.length;wt++){var Ge=arguments[wt]!=null?arguments[wt]:{};wt%2?Fe(Object(Ge),!0).forEach(function(et){Object(o.a)(He,et,Ge[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ge)):Fe(Object(Ge)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ge,et))})}return He}function dt(He){var wt=He.prefixCls,Ge=He.forceRender,et=He.className,rt=He.style,lt=He.id,Ve=He.active,ie=He.animated,$=He.destroyInactiveTabPane,it=He.tabKey,Qe=He.children,ye=v.useState(Ge),Zt=Object(h.a)(ye,2),ht=Zt[0],ct=Zt[1];v.useEffect(function(){Ve?ct(!0):$&&ct(!1)},[Ve,$]);var yt={};return Ve||(ie?(yt.visibility="hidden",yt.height=0,yt.overflowY="hidden"):yt.display="none"),v.createElement("div",{id:lt&&"".concat(lt,"-panel-").concat(it),role:"tabpanel",tabIndex:Ve?0:-1,"aria-labelledby":lt&&"".concat(lt,"-tab-").concat(it),"aria-hidden":!Ve,style:Xe(Xe({},yt),rt),className:n()("".concat(wt,"-tabpane"),Ve&&"".concat(wt,"-tabpane-active"),et)},(Ve||ht||Ge)&&Qe)}function Ee(He,wt){var Ge=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ge.push.apply(Ge,et)}return Ge}function Se(He){for(var wt=1;wt<arguments.length;wt++){var Ge=arguments[wt]!=null?arguments[wt]:{};wt%2?Ee(Object(Ge),!0).forEach(function(et){Object(o.a)(He,et,Ge[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ge)):Ee(Object(Ge)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ge,et))})}return He}var at=0;function _e(He){return Object(a.a)(He).map(function(wt){if(v.isValidElement(wt)){var Ge=wt.key!==void 0?String(wt.key):void 0;return Se(Se({key:Ge},wt.props),{},{node:wt})}return null}).filter(function(wt){return wt})}function ce(He,wt){var Ge,et=He.id,rt=He.prefixCls,lt=rt===void 0?"rc-tabs":rt,Ve=He.className,ie=He.children,$=He.direction,it=He.activeKey,Qe=He.defaultActiveKey,ye=He.editable,Zt=He.animated,ht=He.tabPosition,ct=ht===void 0?"top":ht,yt=He.tabBarGutter,It=He.tabBarStyle,or=He.tabBarExtraContent,Bt=He.locale,Ae=He.moreIcon,ve=He.moreTransitionName,fe=He.destroyInactiveTabPane,ue=He.renderTabBar,Ne=He.onChange,je=He.onTabClick,Ke=He.onTabScroll,Ye=Object(c.a)(He,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Pe=_e(ie),nt=$==="rtl",At;Zt===!1?At={inkBar:!1,tabPane:!1}:At=Se({inkBar:!0,tabPane:!1},Zt!==!0?Zt:null);var Ot=Object(v.useState)(!1),ne=Object(h.a)(Ot,2),he=ne[0],Q=ne[1];Object(v.useEffect)(function(){Q(K())},[]);var te=Object(u.a)(function(){var ut;return(ut=Pe[0])===null||ut===void 0?void 0:ut.key},{value:it,defaultValue:Qe}),be=Object(h.a)(te,2),Ie=be[0],Re=be[1],$e=Object(v.useState)(function(){return Pe.findIndex(function(ut){return ut.key===Ie})}),gt=Object(h.a)($e,2),Wt=gt[0],$t=gt[1];Object(v.useEffect)(function(){var ut=Pe.findIndex(function(_t){return _t.key===Ie});if(ut===-1){var pt;ut=Math.max(0,Math.min(Wt,Pe.length-1)),Re((pt=Pe[ut])===null||pt===void 0?void 0:pt.key)}$t(ut)},[Pe.map(function(ut){return ut.key}).join("_"),Ie,Wt]);var Dt=Object(u.a)(null,{value:et}),Kt=Object(h.a)(Dt,2),Gt=Kt[0],Qt=Kt[1],Mt=ct;he&&!["left","right"].includes(ct)&&(Mt="top"),Object(v.useEffect)(function(){et||(Qt("rc-tabs-".concat(at)),at+=1)},[]);function dr(ut,pt){je==null||je(ut,pt),Re(ut),Ne==null||Ne(ut)}var er={id:Gt,activeKey:Ie,animated:At,tabPosition:Mt,rtl:nt,mobile:he},st,xt=Se(Se({},er),{},{editable:ye,locale:Bt,moreIcon:Ae,moreTransitionName:ve,tabBarGutter:yt,onTabClick:dr,onTabScroll:Ke,extra:or,style:It,panes:ie});return ue?st=ue(xt,we):st=v.createElement(we,Object.assign({},xt)),v.createElement(W.Provider,{value:{tabs:Pe,prefixCls:lt}},v.createElement("div",Object.assign({ref:wt,id:et,className:n()(lt,"".concat(lt,"-").concat(Mt),(Ge={},Object(o.a)(Ge,"".concat(lt,"-mobile"),he),Object(o.a)(Ge,"".concat(lt,"-editable"),ye),Object(o.a)(Ge,"".concat(lt,"-rtl"),nt),Ge),Ve)},Ye),st,v.createElement(pe,Object.assign({destroyInactiveTabPane:fe},er,{animated:At}))))}var ee=v.forwardRef(ce);ee.TabPane=dt;var se=ee,ke=se,Ce=e("cCPh"),ze=e.n(Ce),Oe=e("fNCr"),ae=e.n(Oe),ge=e("V/uB"),Le=e.n(ge),Ze=e("uaoM"),vt=e("H84U"),Ct=function(He,wt){var Ge={};for(var et in He)Object.prototype.hasOwnProperty.call(He,et)&&wt.indexOf(et)<0&&(Ge[et]=He[et]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,et=Object.getOwnPropertySymbols(He);rt<et.length;rt++)wt.indexOf(et[rt])<0&&Object.prototype.propertyIsEnumerable.call(He,et[rt])&&(Ge[et[rt]]=He[et[rt]]);return Ge};function Be(He){var wt,Ge=He.type,et=He.className,rt=He.size,lt=He.onEdit,Ve=He.hideAdd,ie=He.centered,$=He.addIcon,it=Ct(He,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Qe=it.prefixCls,ye=v.useContext(vt.b),Zt=ye.getPrefixCls,ht=ye.direction,ct=Zt("tabs",Qe),yt;return Ge==="editable-card"&&(yt={onEdit:function(or,Bt){var Ae=Bt.key,ve=Bt.event;lt==null||lt(or==="add"?ve:Ae,or)},removeIcon:v.createElement(Le.a,null),addIcon:$||v.createElement(ae.a,null),showAdd:Ve!==!0}),Object(Ze.a)(!("onPrevClick"in it)&&!("onNextClick"in it),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(ke,f()({direction:ht},it,{moreTransitionName:"slide-up",className:n()(et,(wt={},m()(wt,"".concat(ct,"-").concat(rt),rt),m()(wt,"".concat(ct,"-card"),["card","editable-card"].includes(Ge)),m()(wt,"".concat(ct,"-editable-card"),Ge==="editable-card"),m()(wt,"".concat(ct,"-centered"),ie),wt)),editable:yt,moreIcon:v.createElement(ze.a,null),prefixCls:ct}))}Be.TabPane=dt;var Rt=_.a=Be},ZTW2:function(D,_,e){},ZWlE:function(D,_,e){var g=e("bYtY"),f=e("4NO4");function A(h){m(h),v(h)}function m(h){if(h.parallel)return;var c=!1;g.each(h.series,function(o){o&&o.type==="parallel"&&(c=!0)}),c&&(h.parallel=[{}])}function v(h){var c=f.normalizeToArray(h.parallelAxis);g.each(c,function(o){if(!g.isObject(o))return;var i=o.parallelIndex||0,n=f.normalizeToArray(h.parallel)[i];n&&n.parallelAxisDefault&&g.merge(o,n.parallelAxisDefault,!1)})}D.exports=A},ZX9x:function(D,_,e){"use strict";e.d(_,"a",function(){return N}),e.d(_,"b",function(){return B});var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("7W2i"),n=e.n(i),a=e("LQ03"),u=e.n(a),r=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),d=e("T1rO"),p=e.n(d),b=e("fEPi"),w=e.n(b),E=e("DFhj"),S=e.n(E),x=e("PKem"),T=e("H84U"),L=function(W){return!isNaN(parseFloat(W))&&isFinite(W)},y=L,C=function(H,W){var R={};for(var U in H)Object.prototype.hasOwnProperty.call(H,U)&&W.indexOf(U)<0&&(R[U]=H[U]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(H);j<U.length;j++)W.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(H,U[j])&&(R[U[j]]=H[U[j]]);return R},O={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},N=r.createContext({}),k=function(){var H=0;return function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return H+=1,"".concat(W).concat(H)}}(),F=function(H){n()(R,H);var W=u()(R);function R(U){var j;h()(this,R),j=W.call(this,U),j.responsiveHandler=function(V){j.setState({below:V.matches});var z=j.props.onBreakpoint,X=j.state.collapsed;z&&z(V.matches),X!==V.matches&&j.setCollapsed(V.matches,"responsive")},j.setCollapsed=function(V,z){"collapsed"in j.props||j.setState({collapsed:V});var X=j.props.onCollapse;X&&X(V,z)},j.toggle=function(){var V=!j.state.collapsed;j.setCollapsed(V,"clickTrigger")},j.renderSider=function(V){var z,X=V.getPrefixCls,G=j.props,le=G.prefixCls,Y=G.className,me=G.theme,we=G.collapsible,pe=G.reverseArrow,Fe=G.trigger,Xe=G.style,dt=G.width,Ee=G.collapsedWidth,Se=G.zeroWidthTriggerStyle,at=G.children,_e=C(G,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),ce=j.state,ee=ce.collapsed,se=ce.below,ke=X("layout-sider",le),Ce=Object(s.default)(_e,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),ze=ee?Ee:dt,Oe=y(ze)?"".concat(ze,"px"):String(ze),ae=parseFloat(String(Ee||0))===0?r.createElement("span",{onClick:j.toggle,className:t()("".concat(ke,"-zero-width-trigger"),"".concat(ke,"-zero-width-trigger-").concat(pe?"right":"left")),style:Se},Fe||r.createElement(p.a,null)):null,ge={expanded:pe?r.createElement(w.a,null):r.createElement(S.a,null),collapsed:pe?r.createElement(S.a,null):r.createElement(w.a,null)},Le=ee?"collapsed":"expanded",Ze=ge[Le],vt=Fe!==null?ae||r.createElement("div",{className:"".concat(ke,"-trigger"),onClick:j.toggle,style:{width:Oe}},Fe||Ze):null,Ct=m()(m()({},Xe),{flex:"0 0 ".concat(Oe),maxWidth:Oe,minWidth:Oe,width:Oe}),Be=t()(Y,ke,"".concat(ke,"-").concat(me),(z={},f()(z,"".concat(ke,"-collapsed"),!!ee),f()(z,"".concat(ke,"-has-trigger"),we&&Fe!==null&&!ae),f()(z,"".concat(ke,"-below"),!!se),f()(z,"".concat(ke,"-zero-width"),parseFloat(Oe)===0),z));return r.createElement("aside",m()({className:Be},Ce,{style:Ct}),r.createElement("div",{className:"".concat(ke,"-children")},at),we||se&&ae?vt:null)},j.uniqueId=k("ant-sider-");var P;typeof window!="undefined"&&(P=window.matchMedia),P&&U.breakpoint&&U.breakpoint in O&&(j.mql=P("(max-width: ".concat(O[U.breakpoint],")")));var K;return"collapsed"in U?K=U.collapsed:K=U.defaultCollapsed,j.state={collapsed:K,below:!1},j}return o()(R,[{key:"componentDidMount",value:function(){var j;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(j=this.props)===null||j===void 0||j.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var j,P;(j=this===null||this===void 0?void 0:this.mql)===null||j===void 0||j.removeListener(this.responsiveHandler),(P=this.props)===null||P===void 0||P.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var j=this.state.collapsed,P=this.props.collapsedWidth;return r.createElement(N.Provider,{value:{siderCollapsed:j,collapsedWidth:P}},r.createElement(T.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(j){return"collapsed"in j?{collapsed:j.collapsed}:null}}]),R}(r.Component);F.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var B=function(H){n()(R,H);var W=u()(R);function R(){return h()(this,R),W.apply(this,arguments)}return o()(R,[{key:"render",value:function(){var j=this;return r.createElement(x.a.Consumer,null,function(P){return r.createElement(F,m()({},P,j.props))})}}]),R}(r.Component)},ZYIC:function(D,_,e){var g=e("zM3Q"),f={seriesType:"lines",plan:g(),reset:function(A){var m=A.coordinateSystem,v=A.get("polyline"),h=A.pipelineContext.large;function c(o,i){var n=[];if(h){var a,u=o.end-o.start;if(v){for(var r=0,l=o.start;l<o.end;l++)r+=A.getLineCoordsCount(l);a=new Float32Array(u+r*2)}else a=new Float32Array(u*4);for(var t=0,s=[],l=o.start;l<o.end;l++){var d=A.getLineCoords(l,n);v&&(a[t++]=d);for(var p=0;p<d;p++)s=m.dataToPoint(n[p],!1,s),a[t++]=s[0],a[t++]=s[1]}i.setLayout("linesPoints",a)}else for(var l=o.start;l<o.end;l++){var b=i.getItemModel(l),d=A.getLineCoords(l,n),w=[];if(v)for(var E=0;E<d;E++)w.push(m.dataToPoint(n[E]));else{w[0]=m.dataToPoint(n[0]),w[1]=m.dataToPoint(n[1]);var S=b.get("lineStyle.curveness");+S&&(w[2]=[(w[0][0]+w[1][0])/2-(w[0][1]-w[1][1])*S,(w[0][1]+w[1][1])/2-(w[1][0]-w[0][0])*S])}i.setItemLayout(l,w)}}return{progress:c}}};D.exports=f},Ze12:function(D,_,e){var g=e("ItGF"),f=e("hOwI"),A=f.buildTransformer,m="___zrEVENTSAVED",v=[];function h(a,u,r,l,t){return c(v,u,l,t,!0)&&c(a,r,v[0],v[1])}function c(a,u,r,l,t){if(u.getBoundingClientRect&&g.domSupported&&!n(u)){var s=u[m]||(u[m]={}),d=o(u,s),p=i(d,s,t);if(p)return p(a,r,l),!0}return!1}function o(a,u){var r=u.markers;if(r)return r;r=u.markers=[];for(var l=["left","right"],t=["top","bottom"],s=0;s<4;s++){var d=document.createElement("div"),p=d.style,b=s%2,w=(s>>1)%2;p.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[b]+":0",t[w]+":0",l[1-b]+":auto",t[1-w]+":auto",""].join("!important;"),a.appendChild(d),r.push(d)}return r}function i(a,u,r){for(var l=r?"invTrans":"trans",t=u[l],s=u.srcCoords,d=!0,p=[],b=[],w=0;w<4;w++){var E=a[w].getBoundingClientRect(),S=2*w,x=E.left,T=E.top;p.push(x,T),d=d&&s&&x===s[S]&&T===s[S+1],b.push(a[w].offsetLeft,a[w].offsetTop)}return d&&t?t:(u.srcCoords=p,u[l]=r?A(b,p):A(p,b))}function n(a){return a.nodeName.toUpperCase()==="CANVAS"}_.transformLocalCoord=h,_.transformCoordWithViewport=c,_.isCanvasEl=n},Znkb:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("zTMp"),v=A.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(n,a,u,r){this.axisPointerClass&&m.fixValue(n),v.superApply(this,"render",arguments),h(this,n,a,u,r,!0)},updateAxisPointer:function(n,a,u,r,l){h(this,n,a,u,r,!1)},remove:function(n,a){var u=this._axisPointer;u&&u.remove(a),v.superApply(this,"remove",arguments)},dispose:function(n,a){c(this,a),v.superApply(this,"dispose",arguments)}});function h(n,a,u,r,l,t){var s=v.getAxisPointerClass(n.axisPointerClass);if(!s)return;var d=m.getAxisPointerModel(a);d?(n._axisPointer||(n._axisPointer=new s)).render(a,d,r,t):c(n,r)}function c(n,a,u){var r=n._axisPointer;r&&r.dispose(a,u),n._axisPointer=null}var o=[];v.registerAxisPointerClass=function(n,a){o[n]=a},v.getAxisPointerClass=function(n){return n&&o[n]};var i=v;D.exports=i},"Znn+":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("9ama"),m=e.n(A)},ZqQs:function(D,_,e){var g=e("bYtY");function f(h){var c=h&&h.timeline;g.isArray(c)||(c=c?[c]:[]),g.each(c,function(o){if(!o)return;A(o)})}function A(h){var c=h.type,o={number:"value",time:"time"};if(o[c]&&(h.axisType=o[c],delete h.type),m(h),v(h,"controlPosition")){var i=h.controlStyle||(h.controlStyle={});v(i,"position")||(i.position=h.controlPosition),i.position==="none"&&!v(i,"show")&&(i.show=!1,delete i.position),delete h.controlPosition}g.each(h.data||[],function(n){g.isObject(n)&&!g.isArray(n)&&(!v(n,"value")&&v(n,"name")&&(n.value=n.name),m(n))})}function m(h){var c=h.itemStyle||(h.itemStyle={}),o=c.emphasis||(c.emphasis={}),i=h.label||h.label||{},n=i.normal||(i.normal={}),a={normal:1,emphasis:1};g.each(i,function(u,r){!a[r]&&!v(n,r)&&(n[r]=u)}),o.label&&!v(i,"emphasis")&&(i.emphasis=o.label,delete o.label)}function v(h,c){return h.hasOwnProperty(c)}D.exports=f},Zvw2:function(D,_,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,o,i){f.call(this,v,h,c),this.type=o||"value",this.position=i||"bottom",this.orient=null};A.prototype={constructor:A,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,h){return this.coordinateSystem.pointToData(v,h)[0]},toGlobalCoord:null,toLocalCoord:null},g.inherits(A,f);var m=A;D.exports=m},a7Wl:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};_.default=g},a9QJ:function(D,_){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function g(f,A){if(f==="world"){var m=e[A.name];if(m){var v=A.center;v[0]=m[0],v[1]=m[1]}}}D.exports=g},aCH8:function(D,_,e){(function(){var g=e("ANhw"),f=e("mmNF").utf8,A=e("BEtg"),m=e("mmNF").bin,v=function h(c,o){c.constructor==String?o&&o.encoding==="binary"?c=m.stringToBytes(c):c=f.stringToBytes(c):A(c)?c=Array.prototype.slice.call(c,0):!Array.isArray(c)&&c.constructor!==Uint8Array&&(c=c.toString());for(var i=g.bytesToWords(c),n=c.length*8,a=1732584193,u=-271733879,r=-1732584194,l=271733878,t=0;t<i.length;t++)i[t]=(i[t]<<8|i[t]>>>24)&16711935|(i[t]<<24|i[t]>>>8)&4278255360;i[n>>>5]|=128<<n%32,i[(n+64>>>9<<4)+14]=n;for(var s=h._ff,d=h._gg,p=h._hh,b=h._ii,t=0;t<i.length;t+=16){var w=a,E=u,S=r,x=l;a=s(a,u,r,l,i[t+0],7,-680876936),l=s(l,a,u,r,i[t+1],12,-389564586),r=s(r,l,a,u,i[t+2],17,606105819),u=s(u,r,l,a,i[t+3],22,-1044525330),a=s(a,u,r,l,i[t+4],7,-176418897),l=s(l,a,u,r,i[t+5],12,1200080426),r=s(r,l,a,u,i[t+6],17,-1473231341),u=s(u,r,l,a,i[t+7],22,-45705983),a=s(a,u,r,l,i[t+8],7,1770035416),l=s(l,a,u,r,i[t+9],12,-1958414417),r=s(r,l,a,u,i[t+10],17,-42063),u=s(u,r,l,a,i[t+11],22,-1990404162),a=s(a,u,r,l,i[t+12],7,1804603682),l=s(l,a,u,r,i[t+13],12,-40341101),r=s(r,l,a,u,i[t+14],17,-1502002290),u=s(u,r,l,a,i[t+15],22,1236535329),a=d(a,u,r,l,i[t+1],5,-165796510),l=d(l,a,u,r,i[t+6],9,-1069501632),r=d(r,l,a,u,i[t+11],14,643717713),u=d(u,r,l,a,i[t+0],20,-373897302),a=d(a,u,r,l,i[t+5],5,-701558691),l=d(l,a,u,r,i[t+10],9,38016083),r=d(r,l,a,u,i[t+15],14,-660478335),u=d(u,r,l,a,i[t+4],20,-405537848),a=d(a,u,r,l,i[t+9],5,568446438),l=d(l,a,u,r,i[t+14],9,-1019803690),r=d(r,l,a,u,i[t+3],14,-187363961),u=d(u,r,l,a,i[t+8],20,1163531501),a=d(a,u,r,l,i[t+13],5,-1444681467),l=d(l,a,u,r,i[t+2],9,-51403784),r=d(r,l,a,u,i[t+7],14,1735328473),u=d(u,r,l,a,i[t+12],20,-1926607734),a=p(a,u,r,l,i[t+5],4,-378558),l=p(l,a,u,r,i[t+8],11,-2022574463),r=p(r,l,a,u,i[t+11],16,1839030562),u=p(u,r,l,a,i[t+14],23,-35309556),a=p(a,u,r,l,i[t+1],4,-1530992060),l=p(l,a,u,r,i[t+4],11,1272893353),r=p(r,l,a,u,i[t+7],16,-155497632),u=p(u,r,l,a,i[t+10],23,-1094730640),a=p(a,u,r,l,i[t+13],4,681279174),l=p(l,a,u,r,i[t+0],11,-358537222),r=p(r,l,a,u,i[t+3],16,-722521979),u=p(u,r,l,a,i[t+6],23,76029189),a=p(a,u,r,l,i[t+9],4,-640364487),l=p(l,a,u,r,i[t+12],11,-421815835),r=p(r,l,a,u,i[t+15],16,530742520),u=p(u,r,l,a,i[t+2],23,-995338651),a=b(a,u,r,l,i[t+0],6,-198630844),l=b(l,a,u,r,i[t+7],10,1126891415),r=b(r,l,a,u,i[t+14],15,-1416354905),u=b(u,r,l,a,i[t+5],21,-57434055),a=b(a,u,r,l,i[t+12],6,1700485571),l=b(l,a,u,r,i[t+3],10,-1894986606),r=b(r,l,a,u,i[t+10],15,-1051523),u=b(u,r,l,a,i[t+1],21,-2054922799),a=b(a,u,r,l,i[t+8],6,1873313359),l=b(l,a,u,r,i[t+15],10,-30611744),r=b(r,l,a,u,i[t+6],15,-1560198380),u=b(u,r,l,a,i[t+13],21,1309151649),a=b(a,u,r,l,i[t+4],6,-145523070),l=b(l,a,u,r,i[t+11],10,-1120210379),r=b(r,l,a,u,i[t+2],15,718787259),u=b(u,r,l,a,i[t+9],21,-343485551),a=a+w>>>0,u=u+E>>>0,r=r+S>>>0,l=l+x>>>0}return g.endian([a,u,r,l])};v._ff=function(h,c,o,i,n,a,u){var r=h+(c&o|~c&i)+(n>>>0)+u;return(r<<a|r>>>32-a)+c},v._gg=function(h,c,o,i,n,a,u){var r=h+(c&i|o&~i)+(n>>>0)+u;return(r<<a|r>>>32-a)+c},v._hh=function(h,c,o,i,n,a,u){var r=h+(c^o^i)+(n>>>0)+u;return(r<<a|r>>>32-a)+c},v._ii=function(h,c,o,i,n,a,u){var r=h+(o^(c|~i))+(n>>>0)+u;return(r<<a|r>>>32-a)+c},v._blocksize=16,v._digestsize=16,D.exports=function(h,c){if(h==null)throw new Error("Illegal argument "+h);var o=g.wordsToBytes(v(h,c));return c&&c.asBytes?o:c&&c.asString?m.bytesToString(o):g.bytesToHex(o)}})()},aHsQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("6D9b"),m=e.n(A)},aKvl:function(D,_,e){var g=e("Sj9i"),f=g.quadraticProjectPoint;function A(m,v,h,c,o,i,n,a,u){if(n===0)return!1;var r=n;if(u>v+r&&u>c+r&&u>i+r||u<v-r&&u<c-r&&u<i-r||a>m+r&&a>h+r&&a>o+r||a<m-r&&a<h-r&&a<o-r)return!1;var l=f(m,v,h,c,o,i,a,u,null);return l<=r/2}_.containStroke=A},aTJb:function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(D,_,e){"use strict";var g=Array.isArray,f=Object.keys,A=Object.prototype.hasOwnProperty;D.exports=function m(v,h){if(v===h)return!0;if(v&&h&&typeof v=="object"&&typeof h=="object"){var c=g(v),o=g(h),i,n,a;if(c&&o){if(n=v.length,n!=h.length)return!1;for(i=n;i--!==0;)if(!m(v[i],h[i]))return!1;return!0}if(c!=o)return!1;var u=v instanceof Date,r=h instanceof Date;if(u!=r)return!1;if(u&&r)return v.getTime()==h.getTime();var l=v instanceof RegExp,t=h instanceof RegExp;if(l!=t)return!1;if(l&&t)return v.toString()==h.toString();var s=f(v);if(n=s.length,n!==f(h).length)return!1;for(i=n;i--!==0;)if(!A.call(h,s[i]))return!1;for(i=n;i--!==0;)if(a=s[i],!m(v[a],h[a]))return!1;return!0}return v!==v&&h!==h}},aX58:function(D,_,e){var g=e("3gBT"),f=e("ItGF"),A=e("bYtY"),m=e("0s+r"),v=e("r6Bn"),h=e("7SHv"),c=e("MKOG"),o=e("zarK");/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var i=!f.canvasSupported,n={canvas:h},a={},u="4.3.1";function r(b,w){var E=new p(g(),b,w);return a[E.id]=E,E}function l(b){if(b)b.dispose();else{for(var w in a)a.hasOwnProperty(w)&&a[w].dispose();a={}}return this}function t(b){return a[b]}function s(b,w){n[b]=w}function d(b){delete a[b]}var p=function(w,E,S){S=S||{},this.dom=E,this.id=w;var x=this,T=new v,L=S.renderer;if(i){if(!n.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");L="vml"}else(!L||!n[L])&&(L="canvas");var y=new n[L](E,T,S,w);this.storage=T,this.painter=y;var C=!f.node&&!f.worker?new o(y.getViewportRoot(),y.root):null;this.handler=new m(T,y,C,y.root),this.animation=new c({stage:{update:A.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var O=T.delFromStorage,N=T.addToStorage;T.delFromStorage=function(k){O.call(T,k),k&&k.removeSelfFromZr(x)},T.addToStorage=function(k){N.call(T,k),k.addSelfToZr(x)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(w){this.storage.addRoot(w),this._needsRefresh=!0},remove:function(w){this.storage.delRoot(w),this._needsRefresh=!0},configLayer:function(w,E){this.painter.configLayer&&this.painter.configLayer(w,E),this._needsRefresh=!0},setBackgroundColor:function(w){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(w),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var w;this._needsRefresh&&(w=!0,this.refreshImmediately()),this._needsRefreshHover&&(w=!0,this.refreshHoverImmediately()),w&&this.trigger("rendered")},addHover:function(w,E){if(this.painter.addHover){var S=this.painter.addHover(w,E);return this.refreshHover(),S}},removeHover:function(w){this.painter.removeHover&&(this.painter.removeHover(w),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(w){w=w||{},this.painter.resize(w.width,w.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(w,E){return this.painter.pathToImage(w,E)},setCursorStyle:function(w){this.handler.setCursorStyle(w)},findHover:function(w,E){return this.handler.findHover(w,E)},on:function(w,E,S){this.handler.on(w,E,S)},off:function(w,E){this.handler.off(w,E)},trigger:function(w,E){this.handler.trigger(w,E)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,d(this.id)}},_.version=u,_.init=r,_.dispose=l,_.getInstance=t,_.registerPainter=s},aX7z:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("GMDS"),v=e("ieMj"),h=e("4NgU"),c=e("OELB"),o=e("nVfU"),i=o.prepareLayoutBarSeries,n=o.makeColumnLayout,a=o.retrieveColumnLayout,u=e("mFDi");e("IWp7"),e("jCoz");function r(T,L){var y=T.type,C=L.getMin(),O=L.getMax(),N=T.getExtent(),k,F,B;y==="ordinal"?k=L.getCategories().length:(F=L.get("boundaryGap"),A.isArray(F)||(F=[F||0,F||0]),typeof F[0]=="boolean"&&(F=[0,0]),F[0]=c.parsePercent(F[0],1),F[1]=c.parsePercent(F[1],1),B=N[1]-N[0]||Math.abs(N[0])),C==="dataMin"?C=N[0]:typeof C=="function"&&(C=C({min:N[0],max:N[1]})),O==="dataMax"?O=N[1]:typeof O=="function"&&(O=O({min:N[0],max:N[1]}));var H=C!=null,W=O!=null;C==null&&(C=y==="ordinal"?k?0:NaN:N[0]-F[0]*B),O==null&&(O=y==="ordinal"?k?k-1:NaN:N[1]+F[1]*B),(C==null||!isFinite(C))&&(C=NaN),(O==null||!isFinite(O))&&(O=NaN),T.setBlank(A.eqNaN(C)||A.eqNaN(O)||y==="ordinal"&&!T.getOrdinalMeta().categories.length),L.getNeedCrossZero()&&(C>0&&O>0&&!H&&(C=0),C<0&&O<0&&!W&&(O=0));var R=L.ecModel;if(R&&y==="time"){var U=i("bar",R),j;if(A.each(U,function(V){j|=V.getBaseAxis()===L.axis}),j){var P=n(U),K=l(C,O,L,P);C=K.min,O=K.max}}return{extent:[C,O],fixMin:H,fixMax:W}}function l(T,L,y,C){var O=y.axis.getExtent(),N=O[1]-O[0],k=a(C,y.axis);if(k===void 0)return{min:T,max:L};var F=Infinity;A.each(k,function(j){F=Math.min(j.offset,F)});var B=-Infinity;A.each(k,function(j){B=Math.max(j.offset+j.width,B)}),F=Math.abs(F),B=Math.abs(B);var H=F+B,W=L-T,R=1-(F+B)/N,U=W/R-W;return L+=U*(B/H),T-=U*(F/H),{min:T,max:L}}function t(T,L){var y=r(T,L),C=y.extent,O=L.get("splitNumber");T.type==="log"&&(T.base=L.get("logBase"));var N=T.type;T.setExtent(C[0],C[1]),T.niceExtent({splitNumber:O,fixMin:y.fixMin,fixMax:y.fixMax,minInterval:N==="interval"||N==="time"?L.get("minInterval"):null,maxInterval:N==="interval"||N==="time"?L.get("maxInterval"):null});var k=L.get("interval");k!=null&&(T.setInterval&&T.setInterval(k))}function s(T,L){if(L=L||T.get("type"),L)switch(L){case"category":return new m(T.getOrdinalMeta?T.getOrdinalMeta():T.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(h.getClass(L)||v).create(T)}}function d(T){var L=T.scale.getExtent(),y=L[0],C=L[1];return!(y>0&&C>0||y<0&&C<0)}function p(T){var L=T.getLabelModel().get("formatter"),y=T.type==="category"?T.scale.getExtent()[0]:null;return typeof L=="string"?(L=function(C){return function(O){return O=T.scale.getLabel(O),C.replace("{value}",O!=null?O:"")}}(L),L):typeof L=="function"?function(C,O){return y!=null&&(O=C-y),L(b(T,C),O)}:function(C){return T.scale.getLabel(C)}}function b(T,L){return T.type==="category"?T.scale.getLabel(L):L}function w(T){var L=T.model,y=T.scale;if(!L.get("axisLabel.show")||y.isBlank())return;var C=T.type==="category",O,N,k=y.getExtent();C?N=y.count():(O=y.getTicks(),N=O.length);var F=T.getLabelModel(),B=p(T),H,W=1;N>40&&(W=Math.ceil(N/40));for(var R=0;R<N;R+=W){var U=O?O[R]:k[0]+R,j=B(U),P=F.getTextRect(j),K=E(P,F.get("rotate")||0);H?H.union(K):H=K}return H}function E(T,L){var y=L*Math.PI/180,C=T.plain(),O=C.width,N=C.height,k=O*Math.cos(y)+N*Math.sin(y),F=O*Math.sin(y)+N*Math.cos(y),B=new u(C.x,C.y,k,F);return B}function S(T){var L=T.get("interval");return L==null?"auto":L}function x(T){return T.type==="category"&&S(T.getLabelModel())===0}_.getScaleExtent=r,_.niceScaleExtent=t,_.createScaleByModel=s,_.ifAxisCrossZero=d,_.makeLabelFormatter=p,_.getAxisRawValue=b,_.estimateLabelUnionRect=w,_.getOptionCategoryInterval=S,_.shouldShowAllLabels=x},adU4:function(D,_,e){var g=e("y1pI"),f=Array.prototype,A=f.splice;function m(v){var h=this.__data__,c=g(h,v);if(c<0)return!1;var o=h.length-1;return c==o?h.pop():A.call(h,c,1),--this.size,!0}D.exports=m},"af/B":function(D,_,e){var g=e("bYtY"),f=g.each,A=g.map,m=g.isFunction,v=g.createHashMap,h=g.noop,c=e("9H2F"),o=c.createTask,i=e("iRjW"),n=i.getUID,a=e("fmMI"),u=e("hD7B"),r=e("4NO4"),l=r.normalizeToArray;function t(j,P,K,V){this.ecInstance=j,this.api=P,this.unfinished;var K=this._dataProcessorHandlers=K.slice(),V=this._visualHandlers=V.slice();this._allHandlers=K.concat(V),this._stageTaskMap=v()}var s=t.prototype;s.restoreData=function(j,P){j.restoreData(P),this._stageTaskMap.each(function(K){var V=K.overallTask;V&&V.dirty()})},s.getPerformArgs=function(j,P){if(!j.__pipeline)return;var K=this._pipelineMap.get(j.__pipeline.id),V=K.context,z=!P&&K.progressiveEnabled&&(!V||V.progressiveRender)&&j.__idxInPipeline>K.blockIndex,X=z?K.step:null,G=V&&V.modDataCount,le=G!=null?Math.ceil(G/X):null;return{step:X,modBy:le,modDataCount:G}},s.getPipeline=function(j){return this._pipelineMap.get(j)},s.updateStreamModes=function(j,P){var K=this._pipelineMap.get(j.uid),V=j.getData(),z=V.count(),X=K.progressiveEnabled&&P.incrementalPrepareRender&&z>=K.threshold,G=j.get("large")&&z>=j.get("largeThreshold"),le=j.get("progressiveChunkMode")==="mod"?z:null;j.pipelineContext=K.context={progressiveRender:X,modDataCount:le,large:G}},s.restorePipelines=function(j){var P=this,K=P._pipelineMap=v();j.eachSeries(function(V){var z=V.getProgressive(),X=V.uid;K.set(X,{id:X,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:z&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),k(P,V,V.dataTask)})},s.prepareStageTasks=function(){var j=this._stageTaskMap,P=this.ecInstance.getModel(),K=this.api;f(this._allHandlers,function(V){var z=j.get(V.uid)||j.set(V.uid,[]);V.reset&&b(this,V,z,P,K),V.overallReset&&w(this,V,z,P,K)},this)},s.prepareView=function(j,P,K,V){var z=j.renderTask,X=z.context;X.model=P,X.ecModel=K,X.api=V,z.__block=!j.incrementalPrepareRender,k(this,P,z)},s.performDataProcessorTasks=function(j,P){d(this,this._dataProcessorHandlers,j,P,{block:!0})},s.performVisualTasks=function(j,P,K){d(this,this._visualHandlers,j,P,K)};function d(j,P,K,V,z){z=z||{};var X;f(P,function(le,Y){if(z.visualType&&z.visualType!==le.visualType)return;var me=j._stageTaskMap.get(le.uid),we=me.seriesTaskMap,pe=me.overallTask;if(pe){var Fe,Xe=pe.agentStubMap;Xe.each(function(Ee){G(z,Ee)&&(Ee.dirty(),Fe=!0)}),Fe&&pe.dirty(),p(pe,V);var dt=j.getPerformArgs(pe,z.block);Xe.each(function(Ee){Ee.perform(dt)}),X|=pe.perform(dt)}else we&&we.each(function(Ee,Se){G(z,Ee)&&Ee.dirty();var at=j.getPerformArgs(Ee,z.block);at.skip=!le.performRawSeries&&K.isSeriesFiltered(Ee.context.model),p(Ee,V),X|=Ee.perform(at)})});function G(le,Y){return le.setDirty&&(!le.dirtyMap||le.dirtyMap.get(Y.__pipeline.id))}j.unfinished|=X}s.performSeriesTasks=function(j){var P;j.eachSeries(function(K){P|=K.dataTask.perform()}),this.unfinished|=P},s.plan=function(){this._pipelineMap.each(function(j){var P=j.tail;do{if(P.__block){j.blockIndex=P.__idxInPipeline;break}P=P.getUpstream()}while(P)})};var p=s.updatePayload=function(j,P){P!=="remain"&&(j.context.payload=P)};function b(j,P,K,V,z){var X=K.seriesTaskMap||(K.seriesTaskMap=v()),G=P.seriesType,le=P.getTargetSeries;P.createOnAllSeries?V.eachRawSeries(Y):G?V.eachRawSeriesByType(G,Y):le&&le(V,z).each(Y);function Y(we){var pe=we.uid,Fe=X.get(pe)||X.set(pe,o({plan:L,reset:y,count:N}));Fe.context={model:we,ecModel:V,api:z,useClearVisual:P.isVisual&&!P.isLayout,plan:P.plan,reset:P.reset,scheduler:j},k(j,we,Fe)}var me=j._pipelineMap;X.each(function(we,pe){me.get(pe)||(we.dispose(),X.removeKey(pe))})}function w(j,P,K,V,z){var X=K.overallTask=K.overallTask||o({reset:E});X.context={ecModel:V,api:z,overallReset:P.overallReset,scheduler:j};var G=X.agentStubMap=X.agentStubMap||v(),le=P.seriesType,Y=P.getTargetSeries,me=!0,we=P.modifyOutputEnd;le?V.eachRawSeriesByType(le,pe):Y?Y(V,z).each(pe):(me=!1,f(V.getSeries(),pe));function pe(Xe){var dt=Xe.uid,Ee=G.get(dt);Ee||(Ee=G.set(dt,o({reset:S,onDirty:T})),X.dirty()),Ee.context={model:Xe,overallProgress:me,modifyOutputEnd:we},Ee.agent=X,Ee.__block=me,k(j,Xe,Ee)}var Fe=j._pipelineMap;G.each(function(Xe,dt){Fe.get(dt)||(Xe.dispose(),X.dirty(),G.removeKey(dt))})}function E(j){j.overallReset(j.ecModel,j.api,j.payload)}function S(j,P){return j.overallProgress&&x}function x(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function L(j){return j.plan&&j.plan(j.model,j.ecModel,j.api,j.payload)}function y(j){j.useClearVisual&&j.data.clearAllVisual();var P=j.resetDefines=l(j.reset(j.model,j.ecModel,j.api,j.payload));return P.length>1?A(P,function(K,V){return O(V)}):C}var C=O(0);function O(j){return function(P,K){var V=K.data,z=K.resetDefines[j];if(z&&z.dataEach)for(var X=P.start;X<P.end;X++)z.dataEach(V,X);else z&&z.progress&&z.progress(P,V)}}function N(j){return j.data.count()}function k(j,P,K){var V=P.uid,z=j._pipelineMap.get(V);!z.head&&(z.head=K),z.tail&&z.tail.pipe(K),z.tail=K,K.__idxInPipeline=z.count++,K.__pipeline=z}t.wrapStageHandler=function(j,P){return m(j)&&(j={overallReset:j,seriesType:F(j)}),j.uid=n("stageHandler"),P&&(j.visualType=P),j};function F(j){W=null;try{j(B,H)}catch(P){}return W}var B={},H={},W;R(B,a),R(H,u),B.eachSeriesByType=B.eachRawSeriesByType=function(j){W=j},B.eachComponent=function(j){j.mainType==="series"&&j.subType&&(W=j.subType)};function R(j,P){for(var K in P.prototype)j[K]=h}var U=t;D.exports=U},akwb:function(D,_,e){var g=e("RSch"),f=e("bYtY"),A=e("D9ME"),m=e("QBsz");function v(o,i,n){A.call(this,o,i,n),this._lastFrame=0,this._lastFramePercent=0}var h=v.prototype;h.createLine=function(o,i,n){return new g(o,i,n)},h.updateAnimationPoints=function(o,i){this._points=i;for(var n=[0],a=0,u=1;u<i.length;u++){var r=i[u-1],l=i[u];a+=m.dist(r,l),n.push(a)}if(a===0)return;for(var u=0;u<n.length;u++)n[u]/=a;this._offsets=n,this._length=a},h.getLineLength=function(o){return this._length},h.updateSymbolPosition=function(o){var i=o.__t,n=this._points,a=this._offsets,u=n.length;if(!a)return;var r=this._lastFrame,l;if(i<this._lastFramePercent){var t=Math.min(r+1,u-1);for(l=t;l>=0&&!(a[l]<=i);l--);l=Math.min(l,u-2)}else{for(var l=r;l<u&&!(a[l]>i);l++);l=Math.min(l-1,u-2)}m.lerp(o.position,n[l],n[l+1],(i-a[l])/(a[l+1]-a[l]));var s=n[l+1][0]-n[l][0],d=n[l+1][1]-n[l][1];o.rotation=-Math.atan2(d,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=i,o.ignore=!1},f.inherits(v,A);var c=v;D.exports=c},apAg:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("bsht")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="SearchOutlined";var c=A.forwardRef(h);_.default=c},as94:function(D,_,e){var g=e("7aKB"),f=e("3LNs"),A=e("IwbS"),m=e("/y7N"),v=e("Fofx"),h=e("+rIm"),c=e("Znkb"),o=f.extend({makeElOption:function(u,r,l,t,s){var d=l.axis;d.dim==="angle"&&(this.animationThreshold=Math.PI/18);var p=d.polar,b=p.getOtherAxis(d),w=b.getExtent(),E;E=d["dataTo"+g.capitalFirst(d.dim)](r);var S=t.get("type");if(S&&S!=="none"){var x=m.buildElStyle(t),T=n[S](d,p,E,w,x);T.style=x,u.graphicKey=T.type,u.pointer=T}var L=t.get("label.margin"),y=i(r,l,t,p,L);m.buildLabelElOption(u,l,t,s,y)}});function i(u,r,l,t,s){var d=r.axis,p=d.dataToCoord(u),b=t.getAngleAxis().getExtent()[0];b=b/180*Math.PI;var w=t.getRadiusAxis().getExtent(),E,S,x;if(d.dim==="radius"){var T=v.create();v.rotate(T,T,b),v.translate(T,T,[t.cx,t.cy]),E=A.applyTransform([p,-s],T);var L=r.getModel("axisLabel").get("rotate")||0,y=h.innerTextLayout(b,L*Math.PI/180,-1);S=y.textAlign,x=y.textVerticalAlign}else{var C=w[1];E=t.coordToPoint([C+s,p]);var O=t.cx,N=t.cy;S=Math.abs(E[0]-O)/C<.3?"center":E[0]>O?"left":"right",x=Math.abs(E[1]-N)/C<.3?"middle":E[1]>N?"top":"bottom"}return{position:E,align:S,verticalAlign:x}}var n={line:function(u,r,l,t,s){return u.dim==="angle"?{type:"Line",shape:m.makeLineShape(r.coordToPoint([t[0],l]),r.coordToPoint([t[1],l]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:l}}},shadow:function(u,r,l,t,s){var d=Math.max(1,u.getBandWidth()),p=Math.PI/180;return u.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(r.cx,r.cy,t[0],t[1],(-l-d/2)*p,(-l+d/2)*p)}:{type:"Sector",shape:m.makeSectorShape(r.cx,r.cy,l-d/2,l+d/2,0,Math.PI*2)}}};c.registerAxisPointerClass("PolarAxisPointer",o);var a=o;D.exports=a},b56q:function(D,_,e){},b80T:function(D,_,e){var g=e("UNi/"),f=e("03A+"),A=e("Z0cm"),m=e("DSRE"),v=e("wJg7"),h=e("c6wG"),c=Object.prototype,o=c.hasOwnProperty;function i(n,a){var u=A(n),r=!u&&f(n),l=!u&&!r&&m(n),t=!u&&!r&&!l&&h(n),s=u||r||l||t,d=s?g(n.length,String):[],p=d.length;for(var b in n)(a||o.call(n,b))&&!(s&&(b=="length"||l&&(b=="offset"||b=="parent")||t&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||v(b,p)))&&d.push(b);return d}D.exports=i},b80e:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("gKaM")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="DoubleLeftOutlined";var c=A.forwardRef(h);_.default=c},b9oc:function(D,_,e){var g=e("bYtY"),f=g.each,A="\0_ec_hist_store";function m(i,n){var a=o(i);f(n,function(u,r){for(var l=a.length-1;l>=0;l--){var t=a[l];if(t[r])break}if(l<0){var s=i.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(s){var d=s.getPercentRange();a[0][r]={dataZoomId:r,start:d[0],end:d[1]}}}}),a.push(n)}function v(i){var n=o(i),a=n[n.length-1];n.length>1&&n.pop();var u={};return f(a,function(r,l){for(var t=n.length-1;t>=0;t--){var r=n[t][l];if(r){u[l]=r;break}}}),u}function h(i){i[A]=null}function c(i){return o(i).length}function o(i){var n=i[A];return n||(n=i[A]=[{}]),n}_.push=m,_.pop=v,_.clear=h,_.count=c},bBKM:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("+rIm"),h=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],o=A.extendComponentView({type:"radar",render:function(i,n,a){var u=this.group;u.removeAll(),this._buildAxes(i),this._buildSplitLineAndArea(i)},_buildAxes:function(i){var n=i.coordinateSystem,a=n.getIndicatorAxes(),u=m.map(a,function(r){var l=new v(r.model,{position:[n.cx,n.cy],rotation:r.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});m.each(u,function(r){m.each(c,r.add,r),this.group.add(r.getGroup())},this)},_buildSplitLineAndArea:function(i){var n=i.coordinateSystem,a=n.getIndicatorAxes();if(!a.length)return;var u=i.get("shape"),r=i.getModel("splitLine"),l=i.getModel("splitArea"),t=r.getModel("lineStyle"),s=l.getModel("areaStyle"),d=r.get("show"),p=l.get("show"),b=t.get("color"),w=s.get("color");b=m.isArray(b)?b:[b],w=m.isArray(w)?w:[w];var E=[],S=[];function x(U,j,P){var K=P%j.length;return U[K]=U[K]||[],K}if(u==="circle")for(var T=a[0].getTicksCoords(),L=n.cx,y=n.cy,C=0;C<T.length;C++){if(d){var O=x(E,b,C);E[O].push(new h.Circle({shape:{cx:L,cy:y,r:T[C].coord}}))}if(p&&C<T.length-1){var O=x(S,w,C);S[O].push(new h.Ring({shape:{cx:L,cy:y,r0:T[C].coord,r:T[C+1].coord}}))}}else for(var N,k=m.map(a,function(U,j){var P=U.getTicksCoords();return N=N==null?P.length-1:Math.min(P.length-1,N),m.map(P,function(K){return n.coordToPoint(K.coord,j)})}),F=[],C=0;C<=N;C++){for(var B=[],H=0;H<a.length;H++)B.push(k[H][C]);if(B[0]&&B.push(B[0].slice()),d){var O=x(E,b,C);E[O].push(new h.Polyline({shape:{points:B}}))}if(p&&F){var O=x(S,w,C-1);S[O].push(new h.Polygon({shape:{points:B.concat(F)}}))}F=B.slice().reverse()}var W=t.getLineStyle(),R=s.getAreaStyle();m.each(S,function(U,j){this.group.add(h.mergePath(U,{style:m.defaults({stroke:"none",fill:w[j%w.length]},R),silent:!0}))},this),m.each(E,function(U,j){this.group.add(h.mergePath(U,{style:m.defaults({fill:"none",stroke:b[j%b.length]},W),silent:!0}))},this)}});D.exports=o},bBL8:function(D,_,e){var g=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var f=e("UnoB"),A=e("cbJ4"),m=e("0/Rx");g.registerLayout(f),g.registerVisual(A),g.registerProcessor(m("themeRiver"))},bE4E:function(D,_,e){},bE4q:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("RIqP"),h=e.n(v),c=e("q1tI"),o=e("TSYQ"),i=e.n(o),n=e("Zm9Q"),a=e("HQEm"),u=e.n(a),r=e("XBQK"),l=e("H84U"),t=function(F,B){var H={};for(var W in F)Object.prototype.hasOwnProperty.call(F,W)&&B.indexOf(W)<0&&(H[W]=F[W]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,W=Object.getOwnPropertySymbols(F);R<W.length;R++)B.indexOf(W[R])<0&&Object.prototype.propertyIsEnumerable.call(F,W[R])&&(H[W[R]]=F[W[R]]);return H},s=function(B){var H=B.prefixCls,W=B.separator,R=W===void 0?"/":W,U=B.children,j=B.overlay,P=B.dropdownProps,K=t(B,["prefixCls","separator","children","overlay","dropdownProps"]),V=c.useContext(l.b),z=V.getPrefixCls,X=z("breadcrumb",H),G=function(me){return j?c.createElement(r.a,f()({overlay:j,placement:"bottomCenter"},P),c.createElement("span",{className:"".concat(X,"-overlay-link")},me,c.createElement(u.a,null))):me},le;return"href"in K?le=c.createElement("a",f()({className:"".concat(X,"-link")},K),U):le=c.createElement("span",f()({className:"".concat(X,"-link")},K),U),le=G(le),U?c.createElement("span",null,le,R&&R!==""&&c.createElement("span",{className:"".concat(X,"-separator")},R)):null};s.__ANT_BREADCRUMB_ITEM=!0;var d=s,p=function(B){var H=B.children,W=c.useContext(l.b),R=W.getPrefixCls,U=R("breadcrumb");return c.createElement("span",{className:"".concat(U,"-separator")},H||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var b=p,w=e("BvKs"),E=e("uaoM"),S=e("0n0R"),x=function(F,B){var H={};for(var W in F)Object.prototype.hasOwnProperty.call(F,W)&&B.indexOf(W)<0&&(H[W]=F[W]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,W=Object.getOwnPropertySymbols(F);R<W.length;R++)B.indexOf(W[R])<0&&Object.prototype.propertyIsEnumerable.call(F,W[R])&&(H[W[R]]=F[W[R]]);return H};function T(F,B){if(!F.breadcrumbName)return null;var H=Object.keys(B).join("|"),W=F.breadcrumbName.replace(new RegExp(":(".concat(H,")"),"g"),function(R,U){return B[U]||R});return W}function L(F,B,H,W){var R=H.indexOf(F)===H.length-1,U=T(F,B);return R?c.createElement("span",null,U):c.createElement("a",{href:"#/".concat(W.join("/"))},U)}var y=function(B,H){return B=(B||"").replace(/^\//,""),Object.keys(H).forEach(function(W){B=B.replace(":".concat(W),H[W])}),B},C=function(B){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",W=arguments.length>2?arguments[2]:void 0,R=h()(B),U=y(H,W);return U&&R.push(U),R},O=function(B){var H=B.prefixCls,W=B.separator,R=W===void 0?"/":W,U=B.style,j=B.className,P=B.routes,K=B.children,V=B.itemRender,z=V===void 0?L:V,X=B.params,G=X===void 0?{}:X,le=x(B,["prefixCls","separator","style","className","routes","children","itemRender","params"]),Y=c.useContext(l.b),me=Y.getPrefixCls,we=Y.direction,pe,Fe=me("breadcrumb",H);if(P&&P.length>0){var Xe=[];pe=P.map(function(Ee){var Se=y(Ee.path,G);Se&&Xe.push(Se);var at;return Ee.children&&Ee.children.length&&(at=c.createElement(w.a,null,Ee.children.map(function(_e){return c.createElement(w.a.Item,{key:_e.path||_e.breadcrumbName},z(_e,G,P,C(Xe,_e.path,G)))}))),c.createElement(d,{overlay:at,separator:R,key:Se||Ee.breadcrumbName},z(Ee,G,P,Xe))})}else K&&(pe=Object(n.a)(K).map(function(Ee,Se){return Ee&&(Object(E.a)(Ee.type&&(Ee.type.__ANT_BREADCRUMB_ITEM===!0||Ee.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(S.a)(Ee,{separator:R,key:Se}))}));var dt=i()(j,Fe,m()({},"".concat(Fe,"-rtl"),we==="rtl"));return c.createElement("div",f()({className:dt,style:U},le),pe)};O.Item=d,O.Separator=b;var N=O,k=_.a=N},bKJz:function(D,_,e){},bLfw:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),A=e("iRjW"),m=e("Yl7c"),v=m.enableClassManagement,h=m.parseClassType,c=e("4NO4"),o=c.makeInner,i=e("+TT/"),n=e("3hzK"),a=o(),u=f.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,s,d,p){f.call(this,t,s,d,p),this.uid=A.getUID("ec_cpt_model")},init:function(t,s,d,p){this.mergeDefaultAndTheme(t,d)},mergeDefaultAndTheme:function(t,s){var d=this.layoutMode,p=d?i.getLayoutParams(t):{},b=s.getTheme();g.merge(t,b.get(this.mainType)),g.merge(t,this.getDefaultOption()),d&&i.mergeLayoutParam(t,p,d)},mergeOption:function(t,s){g.merge(this.option,t,!0);var d=this.layoutMode;d&&i.mergeLayoutParam(this.option,t,d)},optionUpdated:function(t,s){},getDefaultOption:function(){var t=a(this);if(!t.defaultOption){for(var s=[],d=this.constructor;d;){var p=d.prototype.defaultOption;p&&s.push(p),d=d.superClass}for(var b={},w=s.length-1;w>=0;w--)b=g.merge(b,s[w],!0);t.defaultOption=b}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});v(u,{registerWhenExtend:!0}),A.enableSubTypeDefaulter(u),A.enableTopologicalTravel(u,r);function r(t){var s=[];return g.each(u.getClassesByMainType(t),function(d){s=s.concat(d.prototype.dependencies||[])}),s=g.map(s,function(d){return h(d).main}),t!=="dataset"&&g.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}g.mixin(u,n);var l=u;D.exports=l},bMXI:function(D,_,e){var g=e("bYtY"),f=e("QBsz"),A=e("Fofx"),m=e("mFDi"),v=e("DN4a"),h=f.applyTransform;function c(){v.call(this)}g.mixin(c,v);function o(a){this.name=a,this.zoomLimit,v.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}o.prototype={constructor:o,type:"view",dimensions:["x","y"],setBoundingRect:function(a,u,r,l){return this._rect=new m(a,u,r,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(a,u,r,l){this.transformTo(a,u,r,l),this._viewRect=new m(a,u,r,l)},transformTo:function(a,u,r,l){var t=this.getBoundingRect(),s=this._rawTransformable;s.transform=t.calculateTransform(new m(a,u,r,l)),s.decomposeTransform(),this._updateTransform()},setCenter:function(a){if(!a)return;this._center=a,this._updateCenterAndZoom()},setZoom:function(a){a=a||1;var u=this.zoomLimit;u&&(u.max!=null&&(a=Math.min(u.max,a)),u.min!=null&&(a=Math.max(u.min,a))),this._zoom=a,this._updateCenterAndZoom()},getDefaultCenter:function(){var a=this.getBoundingRect(),u=a.x+a.width/2,r=a.y+a.height/2;return[u,r]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var a=this._rawTransformable.getLocalTransform(),u=this._roamTransformable,r=this.getDefaultCenter(),l=this.getCenter(),t=this.getZoom();l=f.applyTransform([],l,a),r=f.applyTransform([],r,a),u.origin=l,u.position=[r[0]-l[0],r[1]-l[1]],u.scale=[t,t],this._updateTransform()},_updateTransform:function(){var a=this._roamTransformable,u=this._rawTransformable;u.parent=a,a.updateTransform(),u.updateTransform(),A.copy(this.transform||(this.transform=[]),u.transform||A.create()),this._rawTransform=u.getLocalTransform(),this.invTransform=this.invTransform||[],A.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var a=this._roamTransformable.transform,u=this._rawTransformable;return{roamTransform:a?g.slice(a):A.create(),rawScale:g.slice(u.scale),rawPosition:g.slice(u.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var a=this.getBoundingRect().clone();return a.applyTransform(this.transform),a},dataToPoint:function(a,u,r){var l=u?this._rawTransform:this.transform;return r=r||[],l?h(r,a,l):f.copy(r,a)},pointToData:function(a){var u=this.invTransform;return u?h([],a,u):[a[0],a[1]]},convertToPixel:g.curry(i,"dataToPoint"),convertFromPixel:g.curry(i,"pointToData"),containPoint:function(a){return this.getViewRectAfterRoam().contain(a[0],a[1])}},g.mixin(o,v);function i(a,u,r,l){var t=r.seriesModel,s=t?t.coordinateSystem:null;return s===this?s[a](l):null}var n=o;D.exports=n},bNin:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("FBjb"),m=e("Itpr"),v=m.radialCoordinate,h=e("ProS"),c=e("4mN7"),o=e("bMXI"),i=e("Ae+d"),n=e("SgGq"),a=e("xSat"),u=a.onIrrelevantElement,r=e("Tghj"),l=r.__DEV__,t=e("OELB"),s=t.parsePercent,d=f.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(L,y){var C=y.childPoints,O=C.length,N=y.parentPoint,k=C[0],F=C[O-1];if(O===1){L.moveTo(N[0],N[1]),L.lineTo(k[0],k[1]);return}var B=y.orient,H=B==="TB"||B==="BT"?0:1,W=1-H,R=s(y.forkPosition,1),U=[];U[H]=N[H],U[W]=N[W]+(F[W]-N[W])*R,L.moveTo(N[0],N[1]),L.lineTo(U[0],U[1]),L.moveTo(k[0],k[1]),U[H]=k[H],L.lineTo(U[0],U[1]),U[H]=F[H],L.lineTo(U[0],U[1]),L.lineTo(F[0],F[1]);for(var j=1;j<O-1;j++){var P=C[j];L.moveTo(P[0],P[1]),U[H]=P[H],L.lineTo(U[0],U[1])}}}),p=h.extendChartView({type:"tree",init:function(L,y){this._oldTree,this._mainGroup=new f.Group,this._controller=new n(y.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(L,y,C,O){var N=L.getData(),k=L.layoutInfo,F=this._mainGroup,B=L.get("layout");B==="radial"?F.attr("position",[k.x+k.width/2,k.y+k.height/2]):F.attr("position",[k.x,k.y]),this._updateViewCoordSys(L,k,B),this._updateController(L,y,C);var H=this._data,W={expandAndCollapse:L.get("expandAndCollapse"),layout:B,edgeShape:L.get("edgeShape"),edgeForkPosition:L.get("edgeForkPosition"),orient:L.getOrient(),curvature:L.get("lineStyle.curveness"),symbolRotate:L.get("symbolRotate"),symbolOffset:L.get("symbolOffset"),hoverAnimation:L.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};N.diff(H).add(function(R){b(N,R)&&E(N,R,null,F,L,W)}).update(function(R,U){var j=H.getItemGraphicEl(U);if(!b(N,R)){j&&x(H,U,j,F,L,W);return}E(N,R,j,F,L,W)}).remove(function(R){var U=H.getItemGraphicEl(R);U&&x(H,R,U,F,L,W)}).execute(),this._nodeScaleRatio=L.get("nodeScaleRatio"),this._updateNodeAndLinkScale(L),W.expandAndCollapse===!0&&N.eachItemGraphicEl(function(R,U){R.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:L.id,dataIndex:U})})}),this._data=N},_updateViewCoordSys:function(L){var y=L.getData(),C=[];y.each(function(H){var W=y.getItemLayout(H);W&&!isNaN(W.x)&&!isNaN(W.y)&&C.push([+W.x,+W.y])});var O=[],N=[];c.fromPoints(C,O,N);var k=this._min,F=this._max;N[0]-O[0]===0&&(O[0]=k?k[0]:O[0]-1,N[0]=F?F[0]:N[0]+1),N[1]-O[1]===0&&(O[1]=k?k[1]:O[1]-1,N[1]=F?F[1]:N[1]+1);var B=L.coordinateSystem=new o;B.zoomLimit=L.get("scaleLimit"),B.setBoundingRect(O[0],O[1],N[0]-O[0],N[1]-O[1]),B.setCenter(L.get("center")),B.setZoom(L.get("zoom")),this.group.attr({position:B.position,scale:B.scale}),this._viewCoordSys=B,this._min=O,this._max=N},_updateController:function(L,y,C){var O=this._controller,N=this._controllerHost,k=this.group;O.setPointerChecker(function(F,B,H){var W=k.getBoundingRect();return W.applyTransform(k.transform),W.contain(B,H)&&!u(F,C,L)}),O.enable(L.get("roam")),N.zoomLimit=L.get("scaleLimit"),N.zoom=L.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(F){i.updateViewOnPan(N,F.dx,F.dy),C.dispatchAction({seriesId:L.id,type:"treeRoam",dx:F.dx,dy:F.dy})},this).on("zoom",function(F){i.updateViewOnZoom(N,F.scale,F.originX,F.originY),C.dispatchAction({seriesId:L.id,type:"treeRoam",zoom:F.scale,originX:F.originX,originY:F.originY}),this._updateNodeAndLinkScale(L)},this)},_updateNodeAndLinkScale:function(L){var y=L.getData(),C=this._getNodeGlobalScale(L),O=[C,C];y.eachItemGraphicEl(function(N,k){N.attr("scale",O)})},_getNodeGlobalScale:function(L){var y=L.coordinateSystem;if(y.type!=="view")return 1;var C=this._nodeScaleRatio,O=y.scale,N=O&&O[0]||1,k=y.getZoom(),F=(k-1)*C+1;return F/N},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function b(L,y){var C=L.getItemLayout(y);return C&&!isNaN(C.x)&&!isNaN(C.y)&&L.getItemVisual(y,"symbol")!=="none"}function w(L,y,C){return C.itemModel=y,C.itemStyle=y.getModel("itemStyle").getItemStyle(),C.hoverItemStyle=y.getModel("emphasis.itemStyle").getItemStyle(),C.lineStyle=y.getModel("lineStyle").getLineStyle(),C.labelModel=y.getModel("label"),C.hoverLabelModel=y.getModel("emphasis.label"),L.isExpand===!1&&L.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function E(L,y,C,O,N,k){var F=!C,B=L.tree.getNodeByDataIndex(y),H=B.getModel(),k=w(B,H,k),W=L.tree.root,R=B.parentNode===W?B:B.parentNode||B,U=L.getItemGraphicEl(R.dataIndex),j=R.getLayout(),P=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:j,K=B.getLayout();F?(C=new A(L,y,k),C.attr("position",[P.x,P.y])):C.updateData(L,y,k),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=K.rawX,C.__radialRawY=K.rawY,O.add(C),L.setItemGraphicEl(y,C),f.updateProps(C,{position:[K.x,K.y]},N);var V=C.getSymbolPath();if(k.layout==="radial"){var z=W.children[0],X=z.getLayout(),G=z.children.length,le,Y;if(K.x===X.x&&B.isExpand===!0){var me={};me.x=(z.children[0].getLayout().x+z.children[G-1].getLayout().x)/2,me.y=(z.children[0].getLayout().y+z.children[G-1].getLayout().y)/2,le=Math.atan2(me.y-X.y,me.x-X.x),le<0&&(le=Math.PI*2+le),Y=me.x<X.x,Y&&(le=le-Math.PI)}else le=Math.atan2(K.y-X.y,K.x-X.x),le<0&&(le=Math.PI*2+le),B.children.length===0||B.children.length!==0&&B.isExpand===!1?(Y=K.x<X.x,Y&&(le=le-Math.PI)):(Y=K.x>X.x,Y||(le=le-Math.PI));var we=Y?"left":"right",pe=k.labelModel.get("rotate"),Fe=pe*(Math.PI/180);V.setStyle({textPosition:k.labelModel.get("position")||we,textRotation:pe==null?-le:Fe,textOrigin:"center",verticalAlign:"middle"})}S(N,B,W,C,P,j,K,O,k)}function S(L,y,C,O,N,k,F,B,H){var W=H.edgeShape,R=O.__edge;if(W==="curve")y.parentNode&&y.parentNode!==C&&(R||(R=O.__edge=new f.BezierCurve({shape:T(H,N,N),style:g.defaults({opacity:0,strokeNoScale:!0},H.lineStyle)})),f.updateProps(R,{shape:T(H,k,F),style:{opacity:1}},L));else if(W==="polyline"&&(H.layout==="orthogonal"&&(y!==C&&y.children&&y.children.length!==0&&y.isExpand===!0))){for(var U=y.children,j=[],P=0;P<U.length;P++){var K=U[P].getLayout();j.push([K.x,K.y])}R||(R=O.__edge=new d({shape:{parentPoint:[F.x,F.y],childPoints:[[F.x,F.y]],orient:H.orient,forkPosition:H.edgeForkPosition},style:g.defaults({opacity:0,strokeNoScale:!0},H.lineStyle)})),f.updateProps(R,{shape:{parentPoint:[F.x,F.y],childPoints:j},style:{opacity:1}},L)}B.add(R)}function x(L,y,C,O,N,k){for(var F=L.tree.getNodeByDataIndex(y),B=L.tree.root,H=F.getModel(),k=w(F,H,k),W=F.parentNode===B?F:F.parentNode||F,R=k.edgeShape,U;U=W.getLayout(),U==null;)W=W.parentNode===B?W:W.parentNode||W;f.updateProps(C,{position:[U.x+1,U.y+1]},N,function(){O.remove(C),L.setItemGraphicEl(y,null)}),C.fadeOut(null,{keepLabel:!0});var j=L.getItemGraphicEl(W.dataIndex),P=j.__edge,K=C.__edge||(W.isExpand===!1||W.children.length===1?P:void 0),R=k.edgeShape;K&&(R==="curve"?f.updateProps(K,{shape:T(k,U,U),style:{opacity:0}},N,function(){O.remove(K)}):R==="polyline"&&k.layout==="orthogonal"&&f.updateProps(K,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},N,function(){O.remove(K)}))}function T(L,y,C){var O,N,k,F,B=L.orient,H,W,R,U;if(L.layout==="radial"){H=y.rawX,R=y.rawY,W=C.rawX,U=C.rawY;var j=v(H,R),P=v(H,R+(U-R)*L.curvature),K=v(W,U+(R-U)*L.curvature),V=v(W,U);return{x1:j.x,y1:j.y,x2:V.x,y2:V.y,cpx1:P.x,cpy1:P.y,cpx2:K.x,cpy2:K.y}}else H=y.x,R=y.y,W=C.x,U=C.y,(B==="LR"||B==="RL")&&(O=H+(W-H)*L.curvature,N=R,k=W+(H-W)*L.curvature,F=U),(B==="TB"||B==="BT")&&(O=H,N=R+(U-R)*L.curvature,k=W,F=U+(R-U)*L.curvature);return{x1:H,y1:R,x2:W,y2:U,cpx1:O,cpy1:N,cpx2:k,cpy2:F}}D.exports=p},bX4T:function(D,_,e){"use strict";e.d(_,"a",function(){return c});var g=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,f=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,A="".concat(g," ").concat(f).split(/[\s\n]+/),m="aria-",v="data-";function h(o,i){return o.indexOf(i)===0}function c(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n={};return Object.keys(o).forEach(function(a){(h(a,m)||!i&&(A.includes(a)||h(a,v)))&&(n[a]=o[a])}),n}},bYtY:function(D,_){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},g={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},f=Object.prototype.toString,A=Array.prototype,m=A.forEach,v=A.filter,h=A.slice,c=A.map,o=A.reduce,i={};function n(Ee,Se){Ee==="createCanvas"&&(d=null),i[Ee]=Se}function a(Ee){if(Ee==null||typeof Ee!="object")return Ee;var Se=Ee,at=f.call(Ee);if(at==="[object Array]"){if(!we(Ee)){Se=[];for(var _e=0,ce=Ee.length;_e<ce;_e++)Se[_e]=a(Ee[_e])}}else if(g[at]){if(!we(Ee)){var ee=Ee.constructor;if(Ee.constructor.from)Se=ee.from(Ee);else{Se=new ee(Ee.length);for(var _e=0,ce=Ee.length;_e<ce;_e++)Se[_e]=a(Ee[_e])}}}else if(!e[at]&&!we(Ee)&&!U(Ee)){Se={};for(var se in Ee)Ee.hasOwnProperty(se)&&(Se[se]=a(Ee[se]))}return Se}function u(Ee,Se,at){if(!H(Se)||!H(Ee))return at?a(Se):Ee;for(var _e in Se)if(Se.hasOwnProperty(_e)){var ce=Ee[_e],ee=Se[_e];H(ee)&&H(ce)&&!k(ee)&&!k(ce)&&!U(ee)&&!U(ce)&&!W(ee)&&!W(ce)&&!we(ee)&&!we(ce)?u(ce,ee,at):(at||!(_e in Ee))&&(Ee[_e]=a(Se[_e],!0))}return Ee}function r(Ee,Se){for(var at=Ee[0],_e=1,ce=Ee.length;_e<ce;_e++)at=u(at,Ee[_e],Se);return at}function l(Ee,Se){for(var at in Se)Se.hasOwnProperty(at)&&(Ee[at]=Se[at]);return Ee}function t(Ee,Se,at){for(var _e in Se)Se.hasOwnProperty(_e)&&(at?Se[_e]!=null:Ee[_e]==null)&&(Ee[_e]=Se[_e]);return Ee}var s=function(){return i.createCanvas()};i.createCanvas=function(){return document.createElement("canvas")};var d;function p(){return d||(d=s().getContext("2d")),d}function b(Ee,Se){if(Ee){if(Ee.indexOf)return Ee.indexOf(Se);for(var at=0,_e=Ee.length;at<_e;at++)if(Ee[at]===Se)return at}return-1}function w(Ee,Se){var at=Ee.prototype;function _e(){}_e.prototype=Se.prototype,Ee.prototype=new _e;for(var ce in at)at.hasOwnProperty(ce)&&(Ee.prototype[ce]=at[ce]);Ee.prototype.constructor=Ee,Ee.superClass=Se}function E(Ee,Se,at){Ee="prototype"in Ee?Ee.prototype:Ee,Se="prototype"in Se?Se.prototype:Se,t(Ee,Se,at)}function S(Ee){return Ee?typeof Ee=="string"?!1:typeof Ee.length=="number":void 0}function x(Ee,Se,at){if(!(Ee&&Se))return;if(Ee.forEach&&Ee.forEach===m)Ee.forEach(Se,at);else if(Ee.length===+Ee.length)for(var _e=0,ce=Ee.length;_e<ce;_e++)Se.call(at,Ee[_e],_e,Ee);else for(var ee in Ee)Ee.hasOwnProperty(ee)&&Se.call(at,Ee[ee],ee,Ee)}function T(Ee,Se,at){if(!(Ee&&Se))return;if(Ee.map&&Ee.map===c)return Ee.map(Se,at);for(var _e=[],ce=0,ee=Ee.length;ce<ee;ce++)_e.push(Se.call(at,Ee[ce],ce,Ee));return _e}function L(Ee,Se,at,_e){if(!(Ee&&Se))return;if(Ee.reduce&&Ee.reduce===o)return Ee.reduce(Se,at,_e);for(var ce=0,ee=Ee.length;ce<ee;ce++)at=Se.call(_e,at,Ee[ce],ce,Ee);return at}function y(Ee,Se,at){if(!(Ee&&Se))return;if(Ee.filter&&Ee.filter===v)return Ee.filter(Se,at);for(var _e=[],ce=0,ee=Ee.length;ce<ee;ce++)Se.call(at,Ee[ce],ce,Ee)&&_e.push(Ee[ce]);return _e}function C(Ee,Se,at){if(!(Ee&&Se))return;for(var _e=0,ce=Ee.length;_e<ce;_e++)if(Se.call(at,Ee[_e],_e,Ee))return Ee[_e]}function O(Ee,Se){var at=h.call(arguments,2);return function(){return Ee.apply(Se,at.concat(h.call(arguments)))}}function N(Ee){var Se=h.call(arguments,1);return function(){return Ee.apply(this,Se.concat(h.call(arguments)))}}function k(Ee){return f.call(Ee)==="[object Array]"}function F(Ee){return typeof Ee=="function"}function B(Ee){return f.call(Ee)==="[object String]"}function H(Ee){var Se=typeof Ee;return Se==="function"||!!Ee&&Se==="object"}function W(Ee){return!!e[f.call(Ee)]}function R(Ee){return!!g[f.call(Ee)]}function U(Ee){return typeof Ee=="object"&&typeof Ee.nodeType=="number"&&typeof Ee.ownerDocument=="object"}function j(Ee){return Ee!==Ee}function P(Ee){for(var Se=0,at=arguments.length;Se<at;Se++)if(arguments[Se]!=null)return arguments[Se]}function K(Ee,Se){return Ee!=null?Ee:Se}function V(Ee,Se,at){return Ee!=null?Ee:Se!=null?Se:at}function z(){return Function.call.apply(h,arguments)}function X(Ee){if(typeof Ee=="number")return[Ee,Ee,Ee,Ee];var Se=Ee.length;return Se===2?[Ee[0],Ee[1],Ee[0],Ee[1]]:Se===3?[Ee[0],Ee[1],Ee[2],Ee[1]]:Ee}function G(Ee,Se){if(!Ee)throw new Error(Se)}function le(Ee){return Ee==null?null:typeof Ee.trim=="function"?Ee.trim():Ee.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Y="__ec_primitive__";function me(Ee){Ee[Y]=!0}function we(Ee){return Ee[Y]}function pe(Ee){var Se=k(Ee);this.data={};var at=this;Ee instanceof pe?Ee.each(_e):Ee&&x(Ee,_e);function _e(ce,ee){Se?at.set(ce,ee):at.set(ee,ce)}}pe.prototype={constructor:pe,get:function(Se){return this.data.hasOwnProperty(Se)?this.data[Se]:null},set:function(Se,at){return this.data[Se]=at},each:function(Se,at){at!==void 0&&(Se=O(Se,at));for(var _e in this.data)this.data.hasOwnProperty(_e)&&Se(this.data[_e],_e)},removeKey:function(Se){delete this.data[Se]}};function Fe(Ee){return new pe(Ee)}function Xe(Ee,Se){for(var at=new Ee.constructor(Ee.length+Se.length),_e=0;_e<Ee.length;_e++)at[_e]=Ee[_e];var ce=Ee.length;for(_e=0;_e<Se.length;_e++)at[_e+ce]=Se[_e];return at}function dt(){}_.$override=n,_.clone=a,_.merge=u,_.mergeAll=r,_.extend=l,_.defaults=t,_.createCanvas=s,_.getContext=p,_.indexOf=b,_.inherits=w,_.mixin=E,_.isArrayLike=S,_.each=x,_.map=T,_.reduce=L,_.filter=y,_.find=C,_.bind=O,_.curry=N,_.isArray=k,_.isFunction=F,_.isString=B,_.isObject=H,_.isBuiltInObject=W,_.isTypedArray=R,_.isDom=U,_.eqNaN=j,_.retrieve=P,_.retrieve2=K,_.retrieve3=V,_.slice=z,_.normalizeCssArray=X,_.assert=G,_.trim=le,_.setAsPrimitive=me,_.isPrimitive=we,_.createHashMap=Fe,_.concatArray=Xe,_.noop=dt},bZqE:function(D,_){function e(f,A,m){for(var v=[f],h=[],c;c=v.pop();)if(h.push(c),c.isExpand){var o=c.children;if(o.length)for(var i=0;i<o.length;i++)v.push(o[i])}for(;c=h.pop();)A(c,m)}function g(f,A){for(var m=[f],v;v=m.pop();)if(A(v),v.isExpand){var h=v.children;if(h.length)for(var c=h.length-1;c>=0;c--)m.push(h[c])}}_.eachAfter=e,_.eachBefore=g},bahg:function(D,_){function e(g){return g.split("")}D.exports=e},bbsP:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("CWI+"),m=e.n(A)},bogI:function(D,_,e){"use strict";e.d(_,"a",function(){return g});var g=function(A){if(!A)return null;var m=typeof A=="function";return m?A():A}},bsht:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};_.default=g},bx4M:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),o=e("BGR+"),i=e("H84U"),n=function(T,L){var y={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(y[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(y[C[O]]=T[C[O]]);return y},a=function(L){return v.createElement(i.a,null,function(y){var C=y.getPrefixCls,O=L.prefixCls,N=L.className,k=L.hoverable,F=k===void 0?!0:k,B=n(L,["prefixCls","className","hoverable"]),H=C("card",O),W=c()("".concat(H,"-grid"),N,f()({},"".concat(H,"-grid-hoverable"),F));return v.createElement("div",m()({},B,{className:W}))})},u=a,r=function(T,L){var y={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(y[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(y[C[O]]=T[C[O]]);return y},l=function(L){return v.createElement(i.a,null,function(y){var C=y.getPrefixCls,O=L.prefixCls,N=L.className,k=L.avatar,F=L.title,B=L.description,H=r(L,["prefixCls","className","avatar","title","description"]),W=C("card",O),R=c()("".concat(W,"-meta"),N),U=k?v.createElement("div",{className:"".concat(W,"-meta-avatar")},k):null,j=F?v.createElement("div",{className:"".concat(W,"-meta-title")},F):null,P=B?v.createElement("div",{className:"".concat(W,"-meta-description")},B):null,K=j||P?v.createElement("div",{className:"".concat(W,"-meta-detail")},j,P):null;return v.createElement("div",m()({},H,{className:R}),U,K)})},t=l,s=e("ZTPi"),d=e("BMrR"),p=e("kPKH"),b=e("3Nzz"),w=function(T,L){var y={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(y[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(y[C[O]]=T[C[O]]);return y};function E(T){var L=T.map(function(y,C){return v.createElement("li",{style:{width:"".concat(100/T.length,"%")},key:"action-".concat(C)},v.createElement("span",null,y))});return L}var S=function(L){var y,C,O=v.useContext(i.b),N=O.getPrefixCls,k=O.direction,F=v.useContext(b.b),B=function(Ge){L.onTabChange&&L.onTabChange(Ge)},H=function(){var Ge;return v.Children.forEach(L.children,function(et){et&&et.type&&et.type===u&&(Ge=!0)}),Ge},W=L.prefixCls,R=L.className,U=L.extra,j=L.headStyle,P=j===void 0?{}:j,K=L.bodyStyle,V=K===void 0?{}:K,z=L.title,X=L.loading,G=L.bordered,le=G===void 0?!0:G,Y=L.size,me=L.type,we=L.cover,pe=L.actions,Fe=L.tabList,Xe=L.children,dt=L.activeTabKey,Ee=L.defaultActiveTabKey,Se=L.tabBarExtraContent,at=L.hoverable,_e=L.tabProps,ce=_e===void 0?{}:_e,ee=w(L,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),se=N("card",W),ke=V.padding===0||V.padding==="0px"?{padding:24}:void 0,Ce=v.createElement("div",{className:"".concat(se,"-loading-block")}),ze=v.createElement("div",{className:"".concat(se,"-loading-content"),style:ke},v.createElement(d.a,{gutter:8},v.createElement(p.a,{span:22},Ce)),v.createElement(d.a,{gutter:8},v.createElement(p.a,{span:8},Ce),v.createElement(p.a,{span:15},Ce)),v.createElement(d.a,{gutter:8},v.createElement(p.a,{span:6},Ce),v.createElement(p.a,{span:18},Ce)),v.createElement(d.a,{gutter:8},v.createElement(p.a,{span:13},Ce),v.createElement(p.a,{span:9},Ce)),v.createElement(d.a,{gutter:8},v.createElement(p.a,{span:4},Ce),v.createElement(p.a,{span:3},Ce),v.createElement(p.a,{span:16},Ce))),Oe=dt!==void 0,ae=m()(m()({},ce),(y={},f()(y,Oe?"activeKey":"defaultActiveKey",Oe?dt:Ee),f()(y,"tabBarExtraContent",Se),y)),ge,Le=Fe&&Fe.length?v.createElement(s.a,m()({size:"large"},ae,{className:"".concat(se,"-head-tabs"),onChange:B}),Fe.map(function(wt){return v.createElement(s.a.TabPane,{tab:wt.tab,disabled:wt.disabled,key:wt.key})})):null;(z||U||Le)&&(ge=v.createElement("div",{className:"".concat(se,"-head"),style:P},v.createElement("div",{className:"".concat(se,"-head-wrapper")},z&&v.createElement("div",{className:"".concat(se,"-head-title")},z),U&&v.createElement("div",{className:"".concat(se,"-extra")},U)),Le));var Ze=we?v.createElement("div",{className:"".concat(se,"-cover")},we):null,vt=v.createElement("div",{className:"".concat(se,"-body"),style:V},X?ze:Xe),Ct=pe&&pe.length?v.createElement("ul",{className:"".concat(se,"-actions")},E(pe)):null,Be=Object(o.default)(ee,["onTabChange"]),Rt=Y||F,He=c()(se,R,(C={},f()(C,"".concat(se,"-loading"),X),f()(C,"".concat(se,"-bordered"),le),f()(C,"".concat(se,"-hoverable"),at),f()(C,"".concat(se,"-contain-grid"),H()),f()(C,"".concat(se,"-contain-tabs"),Fe&&Fe.length),f()(C,"".concat(se,"-").concat(Rt),Rt),f()(C,"".concat(se,"-type-").concat(me),!!me),f()(C,"".concat(se,"-rtl"),k==="rtl"),C));return v.createElement("div",m()({},Be,{className:He}),ge,Ze,vt,Ct)};S.Grid=u,S.Meta=t;var x=_.a=S},c2i1:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("Yl7c"),v=m.enableClassCheck;function h(r){return"_EC_"+r}var c=function(r){this._directed=r||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},o=c.prototype;o.type="graph",o.isDirected=function(){return this._directed},o.addNode=function(r,l){r=r==null?""+l:""+r;var t=this._nodesMap;if(t[h(r)])return;var s=new i(r,l);return s.hostGraph=this,this.nodes.push(s),t[h(r)]=s,s},o.getNodeByIndex=function(r){var l=this.data.getRawIndex(r);return this.nodes[l]},o.getNodeById=function(r){return this._nodesMap[h(r)]},o.addEdge=function(r,l,t){var s=this._nodesMap,d=this._edgesMap;if(typeof r=="number"&&(r=this.nodes[r]),typeof l=="number"&&(l=this.nodes[l]),i.isInstance(r)||(r=s[h(r)]),i.isInstance(l)||(l=s[h(l)]),!r||!l)return;var p=r.id+"-"+l.id;if(d[p])return;var b=new n(r,l,t);return b.hostGraph=this,this._directed&&(r.outEdges.push(b),l.inEdges.push(b)),r.edges.push(b),r!==l&&l.edges.push(b),this.edges.push(b),d[p]=b,b},o.getEdgeByIndex=function(r){var l=this.edgeData.getRawIndex(r);return this.edges[l]},o.getEdge=function(r,l){i.isInstance(r)&&(r=r.id),i.isInstance(l)&&(l=l.id);var t=this._edgesMap;return this._directed?t[r+"-"+l]:t[r+"-"+l]||t[l+"-"+r]},o.eachNode=function(r,l){for(var t=this.nodes,s=t.length,d=0;d<s;d++)t[d].dataIndex>=0&&r.call(l,t[d],d)},o.eachEdge=function(r,l){for(var t=this.edges,s=t.length,d=0;d<s;d++)t[d].dataIndex>=0&&t[d].node1.dataIndex>=0&&t[d].node2.dataIndex>=0&&r.call(l,t[d],d)},o.breadthFirstTraverse=function(r,l,t,s){if(i.isInstance(l)||(l=this._nodesMap[h(l)]),!l)return;for(var d=t==="out"?"outEdges":t==="in"?"inEdges":"edges",p=0;p<this.nodes.length;p++)this.nodes[p].__visited=!1;if(r.call(s,l,null))return;for(var b=[l];b.length;)for(var w=b.shift(),E=w[d],p=0;p<E.length;p++){var S=E[p],x=S.node1===w?S.node2:S.node1;if(!x.__visited){if(r.call(s,x,w))return;b.push(x),x.__visited=!0}}},o.update=function(){for(var r=this.data,l=this.edgeData,t=this.nodes,s=this.edges,d=0,p=t.length;d<p;d++)t[d].dataIndex=-1;for(var d=0,p=r.count();d<p;d++)t[r.getRawIndex(d)].dataIndex=d;l.filterSelf(function(b){var w=s[l.getRawIndex(b)];return w.node1.dataIndex>=0&&w.node2.dataIndex>=0});for(var d=0,p=s.length;d<p;d++)s[d].dataIndex=-1;for(var d=0,p=l.count();d<p;d++)s[l.getRawIndex(d)].dataIndex=d},o.clone=function(){for(var r=new c(this._directed),l=this.nodes,t=this.edges,s=0;s<l.length;s++)r.addNode(l[s].id,l[s].dataIndex);for(var s=0;s<t.length;s++){var d=t[s];r.addEdge(d.node1.id,d.node2.id,d.dataIndex)}return r};function i(r,l){this.id=r==null?"":r,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}i.prototype={constructor:i,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(r){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.data.getItemModel(this.dataIndex);return t.getModel(r)}};function n(r,l,t){this.node1=r,this.node2=l,this.dataIndex=t==null?-1:t}n.prototype.getModel=function(r){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.edgeData.getItemModel(this.dataIndex);return t.getModel(r)};var a=function(r,l){return{getValue:function(t){var s=this[r][l];return s.get(s.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,s){this.dataIndex>=0&&this[r][l].setItemVisual(this.dataIndex,t,s)},getVisual:function(t,s){return this[r][l].getItemVisual(this.dataIndex,t,s)},setLayout:function(t,s){this.dataIndex>=0&&this[r][l].setItemLayout(this.dataIndex,t,s)},getLayout:function(){return this[r][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][l].getRawIndex(this.dataIndex)}}};A.mixin(i,a("hostGraph","data")),A.mixin(n,a("hostGraph","edgeData")),c.Node=i,c.Edge=n,v(i),v(n);var u=c;D.exports=u},c5Ni:function(D,_,e){},c5fP:function(D,_,e){"use strict";function g(He){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(Ge){return typeof Ge}:g=function(Ge){return Ge&&typeof Symbol=="function"&&Ge.constructor===Symbol&&Ge!==Symbol.prototype?"symbol":typeof Ge},g(He)}Object.defineProperty(_,"__esModule",{value:!0}),_._tr_init=Ze,_._tr_stored_block=vt,_._tr_flush_block=Be,_._tr_tally=Rt,_._tr_align=Ct;var f=m(e("6BzB"));function A(){if(typeof WeakMap!="function")return null;var He=new WeakMap;return A=function(){return He},He}function m(He){if(He&&He.__esModule)return He;if(He===null||g(He)!=="object"&&typeof He!="function")return{default:He};var wt=A();if(wt&&wt.has(He))return wt.get(He);var Ge={},et=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var rt in He)if(Object.prototype.hasOwnProperty.call(He,rt)){var lt=et?Object.getOwnPropertyDescriptor(He,rt):null;lt&&(lt.get||lt.set)?Object.defineProperty(Ge,rt,lt):Ge[rt]=He[rt]}return Ge.default=He,wt&&wt.set(He,Ge),Ge}var v=4,h=0,c=1,o=2;function i(He){for(var wt=He.length;--wt>=0;)He[wt]=0}var n=0,a=1,u=2,r=3,l=258,t=29,s=256,d=s+1+t,p=30,b=19,w=2*d+1,E=15,S=16,x=7,T=256,L=16,y=17,C=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],N=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=512,H=new Array((d+2)*2);i(H);var W=new Array(p*2);i(W);var R=new Array(B);i(R);var U=new Array(l-r+1);i(U);var j=new Array(t);i(j);var P=new Array(p);i(P);function K(He,wt,Ge,et,rt){this.static_tree=He,this.extra_bits=wt,this.extra_base=Ge,this.elems=et,this.max_length=rt,this.has_stree=He&&He.length}var V,z,X;function G(He,wt){this.dyn_tree=He,this.max_code=0,this.stat_desc=wt}function le(He){return He<256?R[He]:R[256+(He>>>7)]}function Y(He,wt){He.pending_buf[He.pending++]=wt&255,He.pending_buf[He.pending++]=wt>>>8&255}function me(He,wt,Ge){He.bi_valid>S-Ge?(He.bi_buf|=wt<<He.bi_valid&65535,Y(He,He.bi_buf),He.bi_buf=wt>>S-He.bi_valid,He.bi_valid+=Ge-S):(He.bi_buf|=wt<<He.bi_valid&65535,He.bi_valid+=Ge)}function we(He,wt,Ge){me(He,Ge[wt*2],Ge[wt*2+1])}function pe(He,wt){var Ge=0;do Ge|=He&1,He>>>=1,Ge<<=1;while(--wt>0);return Ge>>>1}function Fe(He){He.bi_valid===16?(Y(He,He.bi_buf),He.bi_buf=0,He.bi_valid=0):He.bi_valid>=8&&(He.pending_buf[He.pending++]=He.bi_buf&255,He.bi_buf>>=8,He.bi_valid-=8)}function Xe(He,wt){var Ge=wt.dyn_tree,et=wt.max_code,rt=wt.stat_desc.static_tree,lt=wt.stat_desc.has_stree,Ve=wt.stat_desc.extra_bits,ie=wt.stat_desc.extra_base,$=wt.stat_desc.max_length,it,Qe,ye,Zt,ht,ct,yt=0;for(Zt=0;Zt<=E;Zt++)He.bl_count[Zt]=0;for(Ge[He.heap[He.heap_max]*2+1]=0,it=He.heap_max+1;it<w;it++){if(Qe=He.heap[it],Zt=Ge[Ge[Qe*2+1]*2+1]+1,Zt>$&&(Zt=$,yt++),Ge[Qe*2+1]=Zt,Qe>et)continue;He.bl_count[Zt]++,ht=0,Qe>=ie&&(ht=Ve[Qe-ie]),ct=Ge[Qe*2],He.opt_len+=ct*(Zt+ht),lt&&(He.static_len+=ct*(rt[Qe*2+1]+ht))}if(yt===0)return;do{for(Zt=$-1;He.bl_count[Zt]===0;)Zt--;He.bl_count[Zt]--,He.bl_count[Zt+1]+=2,He.bl_count[$]--,yt-=2}while(yt>0);for(Zt=$;Zt!==0;Zt--)for(Qe=He.bl_count[Zt];Qe!==0;){if(ye=He.heap[--it],ye>et)continue;Ge[ye*2+1]!==Zt&&(He.opt_len+=(Zt-Ge[ye*2+1])*Ge[ye*2],Ge[ye*2+1]=Zt),Qe--}}function dt(He,wt,Ge){var et=new Array(E+1),rt=0,lt,Ve;for(lt=1;lt<=E;lt++)et[lt]=rt=rt+Ge[lt-1]<<1;for(Ve=0;Ve<=wt;Ve++){var ie=He[Ve*2+1];if(ie===0)continue;He[Ve*2]=pe(et[ie]++,ie)}}function Ee(){var He,wt,Ge,et,rt,lt=new Array(E+1);for(Ge=0,et=0;et<t-1;et++)for(j[et]=Ge,He=0;He<1<<O[et];He++)U[Ge++]=et;for(U[Ge-1]=et,rt=0,et=0;et<16;et++)for(P[et]=rt,He=0;He<1<<N[et];He++)R[rt++]=et;for(rt>>=7;et<p;et++)for(P[et]=rt<<7,He=0;He<1<<N[et]-7;He++)R[256+rt++]=et;for(wt=0;wt<=E;wt++)lt[wt]=0;for(He=0;He<=143;)H[He*2+1]=8,He++,lt[8]++;for(;He<=255;)H[He*2+1]=9,He++,lt[9]++;for(;He<=279;)H[He*2+1]=7,He++,lt[7]++;for(;He<=287;)H[He*2+1]=8,He++,lt[8]++;for(dt(H,d+1,lt),He=0;He<p;He++)W[He*2+1]=5,W[He*2]=pe(He,5);V=new K(H,O,s+1,d,E),z=new K(W,N,0,p,E),X=new K(new Array(0),k,0,b,x)}function Se(He){var wt;for(wt=0;wt<d;wt++)He.dyn_ltree[wt*2]=0;for(wt=0;wt<p;wt++)He.dyn_dtree[wt*2]=0;for(wt=0;wt<b;wt++)He.bl_tree[wt*2]=0;He.dyn_ltree[T*2]=1,He.opt_len=He.static_len=0,He.last_lit=He.matches=0}function at(He){He.bi_valid>8?Y(He,He.bi_buf):He.bi_valid>0&&(He.pending_buf[He.pending++]=He.bi_buf),He.bi_buf=0,He.bi_valid=0}function _e(He,wt,Ge,et){at(He),et&&(Y(He,Ge),Y(He,~Ge)),f.arraySet(He.pending_buf,He.window,wt,Ge,He.pending),He.pending+=Ge}function ce(He,wt,Ge,et){var rt=wt*2,lt=Ge*2;return He[rt]<He[lt]||He[rt]===He[lt]&&et[wt]<=et[Ge]}function ee(He,wt,Ge){for(var et=He.heap[Ge],rt=Ge<<1;rt<=He.heap_len&&!(rt<He.heap_len&&ce(wt,He.heap[rt+1],He.heap[rt],He.depth)&&rt++,ce(wt,et,He.heap[rt],He.depth));)He.heap[Ge]=He.heap[rt],Ge=rt,rt<<=1;He.heap[Ge]=et}function se(He,wt,Ge){var et,rt,lt=0,Ve,ie;if(He.last_lit!==0)do et=He.pending_buf[He.d_buf+lt*2]<<8|He.pending_buf[He.d_buf+lt*2+1],rt=He.pending_buf[He.l_buf+lt],lt++,et===0?we(He,rt,wt):(Ve=U[rt],we(He,Ve+s+1,wt),ie=O[Ve],ie!==0&&(rt-=j[Ve],me(He,rt,ie)),et--,Ve=le(et),we(He,Ve,Ge),ie=N[Ve],ie!==0&&(et-=P[Ve],me(He,et,ie)));while(lt<He.last_lit);we(He,T,wt)}function ke(He,wt){var Ge=wt.dyn_tree,et=wt.stat_desc.static_tree,rt=wt.stat_desc.has_stree,lt=wt.stat_desc.elems,Ve,ie,$=-1,it;for(He.heap_len=0,He.heap_max=w,Ve=0;Ve<lt;Ve++)Ge[Ve*2]!==0?(He.heap[++He.heap_len]=$=Ve,He.depth[Ve]=0):Ge[Ve*2+1]=0;for(;He.heap_len<2;)it=He.heap[++He.heap_len]=$<2?++$:0,Ge[it*2]=1,He.depth[it]=0,He.opt_len--,rt&&(He.static_len-=et[it*2+1]);for(wt.max_code=$,Ve=He.heap_len>>1;Ve>=1;Ve--)ee(He,Ge,Ve);it=lt;do Ve=He.heap[1],He.heap[1]=He.heap[He.heap_len--],ee(He,Ge,1),ie=He.heap[1],He.heap[--He.heap_max]=Ve,He.heap[--He.heap_max]=ie,Ge[it*2]=Ge[Ve*2]+Ge[ie*2],He.depth[it]=(He.depth[Ve]>=He.depth[ie]?He.depth[Ve]:He.depth[ie])+1,Ge[Ve*2+1]=Ge[ie*2+1]=it,He.heap[1]=it++,ee(He,Ge,1);while(He.heap_len>=2);He.heap[--He.heap_max]=He.heap[1],Xe(He,wt),dt(Ge,$,He.bl_count)}function Ce(He,wt,Ge){var et,rt=-1,lt,Ve=wt[0*2+1],ie=0,$=7,it=4;for(Ve===0&&($=138,it=3),wt[(Ge+1)*2+1]=65535,et=0;et<=Ge;et++){if(lt=Ve,Ve=wt[(et+1)*2+1],++ie<$&&lt===Ve)continue;ie<it?He.bl_tree[lt*2]+=ie:lt!==0?(lt!==rt&&He.bl_tree[lt*2]++,He.bl_tree[L*2]++):ie<=10?He.bl_tree[y*2]++:He.bl_tree[C*2]++,ie=0,rt=lt,Ve===0?($=138,it=3):lt===Ve?($=6,it=3):($=7,it=4)}}function ze(He,wt,Ge){var et,rt=-1,lt,Ve=wt[0*2+1],ie=0,$=7,it=4;for(Ve===0&&($=138,it=3),et=0;et<=Ge;et++){if(lt=Ve,Ve=wt[(et+1)*2+1],++ie<$&&lt===Ve)continue;if(ie<it)do we(He,lt,He.bl_tree);while(--ie!==0);else lt!==0?(lt!==rt&&(we(He,lt,He.bl_tree),ie--),we(He,L,He.bl_tree),me(He,ie-3,2)):ie<=10?(we(He,y,He.bl_tree),me(He,ie-3,3)):(we(He,C,He.bl_tree),me(He,ie-11,7));ie=0,rt=lt,Ve===0?($=138,it=3):lt===Ve?($=6,it=3):($=7,it=4)}}function Oe(He){var wt;for(Ce(He,He.dyn_ltree,He.l_desc.max_code),Ce(He,He.dyn_dtree,He.d_desc.max_code),ke(He,He.bl_desc),wt=b-1;wt>=3&&!(He.bl_tree[F[wt]*2+1]!==0);wt--);return He.opt_len+=3*(wt+1)+5+5+4,wt}function ae(He,wt,Ge,et){var rt;for(me(He,wt-257,5),me(He,Ge-1,5),me(He,et-4,4),rt=0;rt<et;rt++)me(He,He.bl_tree[F[rt]*2+1],3);ze(He,He.dyn_ltree,wt-1),ze(He,He.dyn_dtree,Ge-1)}function ge(He){var wt=4093624447,Ge;for(Ge=0;Ge<=31;Ge++,wt>>>=1)if(wt&1&&He.dyn_ltree[Ge*2]!==0)return h;if(He.dyn_ltree[9*2]!==0||He.dyn_ltree[10*2]!==0||He.dyn_ltree[13*2]!==0)return c;for(Ge=32;Ge<s;Ge++)if(He.dyn_ltree[Ge*2]!==0)return c;return h}var Le=!1;function Ze(He){Le||(Ee(),Le=!0),He.l_desc=new G(He.dyn_ltree,V),He.d_desc=new G(He.dyn_dtree,z),He.bl_desc=new G(He.bl_tree,X),He.bi_buf=0,He.bi_valid=0,Se(He)}function vt(He,wt,Ge,et){me(He,(n<<1)+(et?1:0),3),_e(He,wt,Ge,!0)}function Ct(He){me(He,a<<1,3),we(He,T,H),Fe(He)}function Be(He,wt,Ge,et){var rt,lt,Ve=0;He.level>0?(He.strm.data_type===o&&(He.strm.data_type=ge(He)),ke(He,He.l_desc),ke(He,He.d_desc),Ve=Oe(He),rt=He.opt_len+3+7>>>3,lt=He.static_len+3+7>>>3,lt<=rt&&(rt=lt)):rt=lt=Ge+5,Ge+4<=rt&&wt!==-1?vt(He,wt,Ge,et):He.strategy===v||lt===rt?(me(He,(a<<1)+(et?1:0),3),se(He,H,W)):(me(He,(u<<1)+(et?1:0),3),ae(He,He.l_desc.max_code+1,He.d_desc.max_code+1,Ve+1),se(He,He.dyn_ltree,He.dyn_dtree)),Se(He),et&&at(He)}function Rt(He,wt,Ge){return He.pending_buf[He.d_buf+He.last_lit*2]=wt>>>8&255,He.pending_buf[He.d_buf+He.last_lit*2+1]=wt&255,He.pending_buf[He.l_buf+He.last_lit]=Ge&255,He.last_lit++,wt===0?He.dyn_ltree[Ge*2]++:(He.matches++,wt--,He.dyn_ltree[(U[Ge]+s+1)*2]++,He.dyn_dtree[le(wt)*2]++),He.last_lit===He.lit_bufsize-1}},c6wG:function(D,_,e){var g=e("dD9F"),f=e("sEf8"),A=e("mdPL"),m=A&&A.isTypedArray,v=m?f(m):g;D.exports=v},c8qY:function(D,_,e){var g=e("IwbS"),f=e("fls0");function A(u){this._ctor=u||f,this.group=new g.Group}var m=A.prototype;m.isPersistent=function(){return!0},m.updateData=function(u){var r=this,l=r.group,t=r._lineData;r._lineData=u,t||l.removeAll();var s=o(u);u.diff(t).add(function(d){v(r,u,d,s)}).update(function(d,p){h(r,t,u,p,d,s)}).remove(function(d){l.remove(t.getItemGraphicEl(d))}).execute()};function v(u,r,l,t){var s=r.getItemLayout(l);if(!n(s))return;var d=new u._ctor(r,l,t);r.setItemGraphicEl(l,d),u.group.add(d)}function h(u,r,l,t,s,d){var p=r.getItemGraphicEl(t);if(!n(l.getItemLayout(s))){u.group.remove(p);return}p?p.updateData(l,s,d):p=new u._ctor(l,s,d),l.setItemGraphicEl(s,p),u.group.add(p)}m.updateLayout=function(){var u=this._lineData;if(!u)return;u.eachItemGraphicEl(function(r,l){r.updateLayout(u,l)},this)},m.incrementalPrepareUpdate=function(u){this._seriesScope=o(u),this._lineData=null,this.group.removeAll()};function c(u){return u.animators&&u.animators.length>0}m.incrementalUpdate=function(u,r){function l(p){!p.isGroup&&!c(p)&&(p.incremental=p.useHoverLayer=!0)}for(var t=u.start;t<u.end;t++){var s=r.getItemLayout(t);if(n(s)){var d=new this._ctor(r,t,this._seriesScope);d.traverse(l),this.group.add(d),r.setItemGraphicEl(t,d)}}};function o(u){var r=u.hostModel;return{lineStyle:r.getModel("lineStyle").getLineStyle(),hoverLineStyle:r.getModel("emphasis.lineStyle").getLineStyle(),labelModel:r.getModel("label"),hoverLabelModel:r.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var u=this._incremental;u&&u.clearDisplaybles()};function i(u){return isNaN(u[0])||isNaN(u[1])}function n(u){return!i(u[0])&&!i(u[1])}var a=A;D.exports=a},cCMj:function(D,_,e){var g=e("bYtY"),f={updateSelectedMap:function(A){this._targetList=g.isArray(A)?A.slice():[],this._selectTargetMap=g.reduce(A||[],function(m,v){return m.set(v.name,v),m},g.createHashMap())},select:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A),h=this.get("selectedMode");h==="single"&&this._selectTargetMap.each(function(c){c.selected=!1}),v&&(v.selected=!0)},unSelect:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A);v&&(v.selected=!1)},toggleSelected:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A);if(v!=null)return this[v.selected?"unSelect":"select"](A,m),v.selected},isSelected:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A);return v&&v.selected}};D.exports=f},cVA7:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("MT78"),f=v(g),A=e("t3Fx"),m=v(A);function v(n){return n&&n.__esModule?n:{default:n}}function h(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function c(n,a){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:n}function o(n,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);n.prototype=Object.create(a&&a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(n,a):n.__proto__=a)}var i=function(n){o(a,n);function a(u){h(this,a);var r=c(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,u));return r.echartsLib=f.default,r}return a}(m.default);_.default=i},cWXX:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("oIFs"),m=e.n(A)},cZFH:function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=g(e("q1tI")),A={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(h){return f.default.createElement("ul",{style:{display:"block"}},h)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(h){return f.default.createElement("button",null,h+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},m=A;_.default=m},ca2m:function(D,_,e){var g=e("bYtY"),f={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},A={};A.categoryAxis=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),A.valueAxis=g.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},f),A.timeAxis=g.defaults({scale:!0,min:"dataMin",max:"dataMax"},A.valueAxis),A.logAxis=g.defaults({scale:!0,logBase:10},A.valueAxis);var m=A;D.exports=m},cbJ4:function(D,_,e){var g=e("bYtY"),f=g.createHashMap;function A(m){m.eachSeriesByType("themeRiver",function(v){var h=v.getData(),c=v.getRawData(),o=v.get("color"),i=f();h.each(function(n){i.set(h.getRawIndex(n),n)}),c.each(function(n){var a=c.getName(n),u=o[(v.nameMap.get(a)-1)%o.length];c.setItemVisual(n,"color",u);var r=i.get(n);r!=null&&h.setItemVisual(r,"color",u)})})}D.exports=A},chpo:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=1,f=function(){return"".concat(g++)};_.default=f},coqV:function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.Dots=void 0;var f=g(e("3tO9")),A=g(e("lwsE")),m=g(e("W8MJ")),v=g(e("7W2i")),h=g(e("LQ03")),c=g(e("q1tI")),o=g(e("TSYQ")),i=e("3K4p"),n=function(r){var l;return r.infinite?l=Math.ceil(r.slideCount/r.slidesToScroll):l=Math.ceil((r.slideCount-r.slidesToShow)/r.slidesToScroll)+1,l},a=function(u){(0,v.default)(l,u);var r=(0,h.default)(l);function l(){return(0,A.default)(this,l),r.apply(this,arguments)}return(0,m.default)(l,[{key:"clickHandler",value:function(s,d){d.preventDefault(),this.props.clickHandler(s)}},{key:"render",value:function(){for(var s=this.props,d=s.onMouseEnter,p=s.onMouseOver,b=s.onMouseLeave,w=s.infinite,E=s.slidesToScroll,S=s.slidesToShow,x=s.slideCount,T=s.currentSlide,L=n({slideCount:x,slidesToScroll:E,slidesToShow:S,infinite:w}),y={onMouseEnter:d,onMouseOver:p,onMouseLeave:b},C=[],O=0;O<L;O++){var N=(O+1)*E-1,k=w?N:(0,i.clamp)(N,0,x-1),F=k-(E-1),B=w?F:(0,i.clamp)(F,0,x-1),H=(0,o.default)({"slick-active":w?T>=B&&T<=k:T===B}),W={message:"dots",index:O,slidesToScroll:E,currentSlide:T},R=this.clickHandler.bind(this,W);C=C.concat(c.default.createElement("li",{key:O,className:H},c.default.cloneElement(this.props.customPaging(O),{onClick:R})))}return c.default.cloneElement(this.props.appendDots(C),(0,f.default)({className:this.props.dotsClass},y))}}]),l}(c.default.PureComponent);_.Dots=a},cpOr:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("T4UG"),m=e("YXkt"),v=e("bYtY"),h=v.concatArray,c=v.mergeAll,o=v.map,i=e("7aKB"),n=i.encodeHTML,a=e("IDmD"),u=typeof Uint32Array=="undefined"?Array:Uint32Array,r=typeof Float64Array=="undefined"?Array:Float64Array;function l(d){var p=d.data;p&&p[0]&&p[0][0]&&p[0][0].coord&&(d.data=o(p,function(b){var w=[b[0].coord,b[1].coord],E={coords:w};return b[0].name&&(E.fromName=b[0].name),b[1].name&&(E.toName=b[1].name),c([E,b[0],b[1]])}))}var t=A.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(d){d.data=d.data||[],l(d);var p=this._processFlatCoordsArray(d.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(d.data=new Float32Array(p.count)),t.superApply(this,"init",arguments)},mergeOption:function(d){if(d.data=d.data||[],l(d),d.data){var p=this._processFlatCoordsArray(d.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(d.data=new Float32Array(p.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(d){var p=this._processFlatCoordsArray(d.data);p.flatCoords&&(this._flatCoords?(this._flatCoords=h(this._flatCoords,p.flatCoords),this._flatCoordsOffset=h(this._flatCoordsOffset,p.flatCoordsOffset)):(this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset),d.data=new Float32Array(p.count)),this.getRawData().appendData(d.data)},_getCoordsFromItemModel:function(d){var p=this.getData().getItemModel(d),b=p.option instanceof Array?p.option:p.getShallow("coords");return b},getLineCoordsCount:function(d){return this._flatCoordsOffset?this._flatCoordsOffset[d*2+1]:this._getCoordsFromItemModel(d).length},getLineCoords:function(d,p){if(this._flatCoordsOffset){for(var b=this._flatCoordsOffset[d*2],w=this._flatCoordsOffset[d*2+1],E=0;E<w;E++)p[E]=p[E]||[],p[E][0]=this._flatCoords[b+E*2],p[E][1]=this._flatCoords[b+E*2+1];return w}else{for(var S=this._getCoordsFromItemModel(d),E=0;E<S.length;E++)p[E]=p[E]||[],p[E][0]=S[E][0],p[E][1]=S[E][1];return S.length}},_processFlatCoordsArray:function(d){var p=0;if(this._flatCoords&&(p=this._flatCoords.length),typeof d[0]=="number"){for(var b=d.length,w=new u(b),E=new r(b),S=0,x=0,T=0,L=0;L<b;){T++;var y=d[L++];w[x++]=S+p,w[x++]=y;for(var C=0;C<y;C++){var O=d[L++],N=d[L++];E[S++]=O,E[S++]=N,L>b}}return{flatCoordsOffset:new Uint32Array(w.buffer,0,x),flatCoords:E,count:T}}return{flatCoordsOffset:null,flatCoords:null,count:d.length}},getInitialData:function(d,p){var b=new m(["value"],this);return b.hasItemOption=!1,b.initData(d.data,[],function(w,E,S,x){if(w instanceof Array)return NaN;b.hasItemOption=!0;var T=w.value;if(T!=null)return T instanceof Array?T[x]:T}),b},formatTooltip:function(d){var p=this.getData(),b=p.getItemModel(d),w=b.get("name");if(w)return w;var E=b.get("fromName"),S=b.get("toName"),x=[];return E!=null&&x.push(E),S!=null&&x.push(S),n(x.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var d=this.option.progressive;return d==null?this.option.large?1e4:this.get("progressive"):d},getProgressiveThreshold:function(){var d=this.option.progressiveThreshold;return d==null?this.option.large?2e4:this.get("progressiveThreshold"):d},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),s=t;D.exports=s},crZl:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("IwbS"),m=e("7aKB"),v=e("+TT/"),h=e("XxSj"),c=g.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(o,i){this.ecModel=o,this.api=i,this.visualMapModel},render:function(o,i,n,a){if(this.visualMapModel=o,o.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(o){var i=this.visualMapModel,n=m.normalizeCssArray(i.get("padding")||0),a=o.getBoundingRect();o.add(new A.Rect({z2:-1,silent:!0,shape:{x:a.x-n[3],y:a.y-n[0],width:a.width+n[3]+n[1],height:a.height+n[0]+n[2]},style:{fill:i.get("backgroundColor"),stroke:i.get("borderColor"),lineWidth:i.get("borderWidth")}}))},getControllerVisual:function(o,i,n){n=n||{};var a=n.forceState,u=this.visualMapModel,r={};if(i==="symbol"&&(r.symbol=u.get("itemSymbol")),i==="color"){var l=u.get("contentColor");r.color=l}function t(b){return r[b]}function s(b,w){r[b]=w}var d=u.controllerVisuals[a||u.getValueState(o)],p=h.prepareVisualTypes(d);return f.each(p,function(b){var w=d[b];n.convertOpacityToAlpha&&b==="opacity"&&(b="colorAlpha",w=d.__alphaForOpacity),h.dependsOn(b,i)&&(w&&w.applyVisual(o,t,s))}),r[i]},positionGroup:function(o){var i=this.visualMapModel,n=this.api;v.positionElement(o,i.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:f.noop});D.exports=c},czTT:function(D,_,e){},d4KN:function(D,_,e){var g=e("ProS"),f=e("bYtY");function A(m,v){f.each(v,function(h){h.update="updateView",g.registerAction(h,function(c,o){var i={};return o.eachComponent({mainType:"series",subType:m,query:c},function(n){n[h.method]&&n[h.method](c.name,c.dataIndex);var a=n.getData();a.each(function(u){var r=a.getName(u);i[r]=n.isSelected(r)||!1})}),{name:c.name,selected:i,seriesId:c.seriesId}})})}D.exports=A},dBmv:function(D,_,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),g.registerPreprocessor(f)},dD9F:function(D,_,e){var g=e("NykK"),f=e("shjB"),A=e("ExA7"),m="[object Arguments]",v="[object Array]",h="[object Boolean]",c="[object Date]",o="[object Error]",i="[object Function]",n="[object Map]",a="[object Number]",u="[object Object]",r="[object RegExp]",l="[object Set]",t="[object String]",s="[object WeakMap]",d="[object ArrayBuffer]",p="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",E="[object Int8Array]",S="[object Int16Array]",x="[object Int32Array]",T="[object Uint8Array]",L="[object Uint8ClampedArray]",y="[object Uint16Array]",C="[object Uint32Array]",O={};O[b]=O[w]=O[E]=O[S]=O[x]=O[T]=O[L]=O[y]=O[C]=!0,O[m]=O[v]=O[d]=O[h]=O[p]=O[c]=O[o]=O[i]=O[n]=O[a]=O[u]=O[r]=O[l]=O[t]=O[s]=!1;function N(k){return A(k)&&f(k.length)&&!!O[g(k)]}D.exports=N},"dF/Y":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="DownloadOutlined";var h=_.a=g.forwardRef(v)},dMvE:function(D,_){var e={linear:function(A){return A},quadraticIn:function(A){return A*A},quadraticOut:function(A){return A*(2-A)},quadraticInOut:function(A){return(A*=2)<1?.5*A*A:-.5*(--A*(A-2)-1)},cubicIn:function(A){return A*A*A},cubicOut:function(A){return--A*A*A+1},cubicInOut:function(A){return(A*=2)<1?.5*A*A*A:.5*((A-=2)*A*A+2)},quarticIn:function(A){return A*A*A*A},quarticOut:function(A){return 1- --A*A*A*A},quarticInOut:function(A){return(A*=2)<1?.5*A*A*A*A:-.5*((A-=2)*A*A*A-2)},quinticIn:function(A){return A*A*A*A*A},quinticOut:function(A){return--A*A*A*A*A+1},quinticInOut:function(A){return(A*=2)<1?.5*A*A*A*A*A:.5*((A-=2)*A*A*A*A+2)},sinusoidalIn:function(A){return 1-Math.cos(A*Math.PI/2)},sinusoidalOut:function(A){return Math.sin(A*Math.PI/2)},sinusoidalInOut:function(A){return .5*(1-Math.cos(Math.PI*A))},exponentialIn:function(A){return A===0?0:Math.pow(1024,A-1)},exponentialOut:function(A){return A===1?1:1-Math.pow(2,-10*A)},exponentialInOut:function(A){return A===0?0:A===1?1:(A*=2)<1?.5*Math.pow(1024,A-1):.5*(-Math.pow(2,-10*(A-1))+2)},circularIn:function(A){return 1-Math.sqrt(1-A*A)},circularOut:function(A){return Math.sqrt(1- --A*A)},circularInOut:function(A){return(A*=2)<1?-.5*(Math.sqrt(1-A*A)-1):.5*(Math.sqrt(1-(A-=2)*A)+1)},elasticIn:function(A){var m,v=.1,h=.4;return A===0?0:A===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/h)))},elasticOut:function(A){var m,v=.1,h=.4;return A===0?0:A===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*A)*Math.sin((A-m)*(2*Math.PI)/h)+1)},elasticInOut:function(A){var m,v=.1,h=.4;return A===0?0:A===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),(A*=2)<1?-.5*(v*Math.pow(2,10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/h)):v*Math.pow(2,-10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/h)*.5+1)},backIn:function(A){var m=1.70158;return A*A*((m+1)*A-m)},backOut:function(A){var m=1.70158;return--A*A*((m+1)*A+m)+1},backInOut:function(A){var m=1.70158*1.525;return(A*=2)<1?.5*(A*A*((m+1)*A-m)):.5*((A-=2)*A*((m+1)*A+m)+2)},bounceIn:function(A){return 1-e.bounceOut(1-A)},bounceOut:function(A){return A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375},bounceInOut:function(A){return A<.5?e.bounceIn(A*2)*.5:e.bounceOut(A*2-1)*.5+.5}},g=e;D.exports=g},diRs:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("q1tI"),m=e.n(A),v=e("3S7+"),h=e("H84U"),c=e("bogI"),o=function(n,a){var u={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&a.indexOf(r)<0&&(u[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(n);l<r.length;l++)a.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(n,r[l])&&(u[r[l]]=n[r[l]]);return u},i=A.forwardRef(function(n,a){var u=n.prefixCls,r=n.title,l=n.content,t=o(n,["prefixCls","title","content"]),s=A.useContext(h.b),d=s.getPrefixCls,p=function(E){return A.createElement(A.Fragment,null,r&&A.createElement("div",{className:"".concat(E,"-title")},Object(c.a)(r)),A.createElement("div",{className:"".concat(E,"-inner-content")},Object(c.a)(l)))},b=d("popover",u);return A.createElement(v.a,f()({},t,{prefixCls:b,ref:a,overlay:p(b)}))});i.displayName="Popover",i.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},_.a=i},digP:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:function(A,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:m}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:A}}]}},name:"file",theme:"twotone"};_.default=g},dmGj:function(D,_,e){var g=e("DEFe"),f=e("ProS"),A=f.extendComponentView({type:"geo",init:function(m,v){var h=new g(v,!0);this._mapDraw=h,this.group.add(h.group)},render:function(m,v,h,c){if(c&&c.type==="geoToggleSelect"&&c.from===this.uid)return;var o=this._mapDraw;m.get("show")?o.draw(m,v,h,this,c):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});D.exports=A},dnwI:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("YH21"),m=e("Kagy"),v=e("IUWy"),h=m.toolbox.dataView,c=new Array(60).join("-"),o=" ";function i(S){var x={},T=[],L=[];return S.eachRawSeries(function(y){var C=y.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var O=C.getBaseAxis();if(O.type==="category"){var N=O.dim+"_"+O.index;x[N]||(x[N]={categoryAxis:O,valueAxis:C.getOtherAxis(O),series:[]},L.push({axisDim:O.dim,axisIndex:O.index})),x[N].series.push(y)}else T.push(y)}else T.push(y)}),{seriesGroupByCategoryAxis:x,other:T,meta:L}}function n(S){var x=[];return f.each(S,function(T,L){var y=T.categoryAxis,C=T.valueAxis,O=C.dim,N=[" "].concat(f.map(T.series,function(R){return R.name})),k=[y.model.getCategories()];f.each(T.series,function(R){k.push(R.getRawData().mapArray(O,function(U){return U}))});for(var F=[N.join(o)],B=0;B<k[0].length;B++){for(var H=[],W=0;W<k.length;W++)H.push(k[W][B]);F.push(H.join(o))}x.push(F.join(`
`))}),x.join(`
`+c+`
`)}function a(S){return f.map(S,function(x){var T=x.getRawData(),L=[x.name],y=[];return T.each(T.dimensions,function(){for(var C=arguments.length,O=arguments[C-1],N=T.getName(O),k=0;k<C-1;k++)y[k]=arguments[k];L.push((N?N+o:"")+y.join(o))}),L.join(`
`)}).join(`
`+c+`
`)}function u(S){var x=i(S);return{value:f.filter([n(x.seriesGroupByCategoryAxis),a(x.other)],function(T){return T.replace(/[\n\t\s]/g,"")}).join(`
`+c+`
`),meta:x.meta}}function r(S){return S.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(S){var x=S.slice(0,S.indexOf(`
`));if(x.indexOf(o)>=0)return!0}var t=new RegExp("["+o+"]+","g");function s(S){for(var x=S.split(/\n+/g),T=r(x.shift()).split(t),L=[],y=f.map(T,function(k){return{name:k,data:[]}}),C=0;C<x.length;C++){var O=r(x[C]).split(t);L.push(O.shift());for(var N=0;N<O.length;N++)y[N]&&(y[N].data[C]=O[N])}return{series:y,categories:L}}function d(S){for(var x=S.split(/\n+/g),T=r(x.shift()),L=[],y=0;y<x.length;y++){var C=r(x[y]).split(t),O="",N,k=!1;isNaN(C[0])?(k=!0,O=C[0],C=C.slice(1),L[y]={name:O,value:[]},N=L[y].value):N=L[y]=[];for(var F=0;F<C.length;F++)N.push(+C[F]);N.length===1&&(k?L[y].value=N[0]:L[y]=N[0])}return{name:T,data:L}}function p(S,x){var T=S.split(new RegExp(`
*`+c+`
*`,"g")),L={series:[]};return f.each(T,function(y,C){if(l(y)){var O=s(y),N=x[C],k=N.axisDim+"Axis";N&&(L[k]=L[k]||[],L[k][N.axisIndex]={data:O.categories},L.series=L.series.concat(O.series))}else{var O=d(y);L.series.push(O)}}),L}function b(S){this._dom=null,this.model=S}b.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:f.clone(h.title),lang:f.clone(h.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},b.prototype.onclick=function(S,x){var T=x.getDom(),L=this.model;this._dom&&T.removeChild(this._dom);var y=document.createElement("div");y.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",y.style.backgroundColor=L.get("backgroundColor")||"#fff";var C=document.createElement("h4"),O=L.get("lang")||[];C.innerHTML=O[0]||L.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=L.get("textColor");var N=document.createElement("div"),k=document.createElement("textarea");N.style.cssText="display:block;width:100%;overflow:auto;";var F=L.get("optionToContent"),B=L.get("contentToOption"),H=u(S);if(typeof F=="function"){var W=F(x.getOption());typeof W=="string"?N.innerHTML=W:f.isDom(W)&&N.appendChild(W)}else N.appendChild(k),k.readOnly=L.get("readOnly"),k.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",k.style.color=L.get("textColor"),k.style.borderColor=L.get("textareaBorderColor"),k.style.backgroundColor=L.get("textareaColor"),k.value=H.value;var R=H.meta,U=document.createElement("div");U.style.cssText="position:absolute;bottom:0;left:0;right:0;";var j="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",P=document.createElement("div"),K=document.createElement("div");j+=";background-color:"+L.get("buttonColor"),j+=";color:"+L.get("buttonTextColor");var V=this;function z(){T.removeChild(y),V._dom=null}A.addEventListener(P,"click",z),A.addEventListener(K,"click",function(){var X;try{typeof B=="function"?X=B(N,x.getOption()):X=p(k.value,R)}catch(G){throw z(),new Error("Data view format error "+G)}X&&x.dispatchAction({type:"changeDataView",newOption:X}),z()}),P.innerHTML=O[1],K.innerHTML=O[2],K.style.cssText=j,P.style.cssText=j,!L.get("readOnly")&&U.appendChild(K),U.appendChild(P),y.appendChild(C),y.appendChild(N),y.appendChild(U),N.style.height=T.clientHeight-80+"px",T.appendChild(y),this._dom=y},b.prototype.remove=function(S,x){this._dom&&x.getDom().removeChild(this._dom)},b.prototype.dispose=function(S,x){this.remove(S,x)};function w(S,x){return f.map(S,function(T,L){var y=x&&x[L];return f.isObject(y)&&!f.isArray(y)?(f.isObject(T)&&!f.isArray(T)&&(T=T.value),f.defaults({value:T},y)):T})}v.register("dataView",b),g.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(S,x){var T=[];f.each(S.newOption.series,function(L){var y=x.getSeriesByName(L.name)[0];if(!y)T.push(f.extend({type:"scatter"},L));else{var C=y.get("data");T.push({name:L.name,data:w(L.data,C)})}}),x.mergeOption(f.defaults({series:T},S.newOption))});var E=b;D.exports=E},dqUG:function(D,_,e){var g=e("Gev7"),f=e("bYtY"),A=e("6GrX"),m=e("pzxd"),v=e("gut8"),h=v.ContextCachedBy,c=function(n){g.call(this,n)};c.prototype={constructor:c,type:"text",brush:function(n,a){var u=this.style;this.__dirty&&m.normalizeTextStyle(u,!0),u.fill=u.stroke=u.shadowBlur=u.shadowColor=u.shadowOffsetX=u.shadowOffsetY=null;var r=u.text;if(r!=null&&(r+=""),!m.needDrawText(r,u)){n.__attrCachedBy=h.NONE;return}this.setTransform(n),m.renderText(this,n,r,u,null,a),this.restoreTransform(n)},getBoundingRect:function(){var n=this.style;if(this.__dirty&&m.normalizeTextStyle(n,!0),!this._rect){var a=n.text;a!=null?a+="":a="";var u=A.getBoundingRect(n.text+"",n.font,n.textAlign,n.textVerticalAlign,n.textPadding,n.textLineHeight,n.rich);if(u.x+=n.x||0,u.y+=n.y||0,m.getStroke(n.textStroke,n.textStrokeWidth)){var r=n.textStrokeWidth;u.x-=r/2,u.y-=r/2,u.width+=r,u.height+=r}this._rect=u}return this._rect}},f.inherits(c,g);var o=c;D.exports=o},dt0z:function(D,_,e){var g=e("zoYe");function f(A){return A==null?"":g(A)}D.exports=f},e4Nc:function(D,_,e){var g=e("fGT3"),f=e("k+1r"),A=e("JHgL"),m=e("pSRY"),v=e("H8j4");function h(c){var o=-1,i=c==null?0:c.length;for(this.clear();++o<i;){var n=c[o];this.set(n[0],n[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=A,h.prototype.has=m,h.prototype.set=v,D.exports=h},e5VY:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("YNAk"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},e5cp:function(D,_,e){var g=e("fmRc"),f=e("or5M"),A=e("HDyB"),m=e("seXi"),v=e("QqLw"),h=e("Z0cm"),c=e("DSRE"),o=e("c6wG"),i=1,n="[object Arguments]",a="[object Array]",u="[object Object]",r=Object.prototype,l=r.hasOwnProperty;function t(s,d,p,b,w,E){var S=h(s),x=h(d),T=S?a:v(s),L=x?a:v(d);T=T==n?u:T,L=L==n?u:L;var y=T==u,C=L==u,O=T==L;if(O&&c(s)){if(!c(d))return!1;S=!0,y=!1}if(O&&!y)return E||(E=new g),S||o(s)?f(s,d,p,b,w,E):A(s,d,T,p,b,w,E);if(!(p&i)){var N=y&&l.call(s,"__wrapped__"),k=C&&l.call(d,"__wrapped__");if(N||k){var F=N?s.value():s,B=k?d.value():d;return E||(E=new g),w(F,B,p,b,E)}}return O?(E||(E=new g),m(s,d,p,b,w,E)):!1}D.exports=t},eIcI:function(D,_,e){var g=e("bYtY"),f=e("hM6l");function A(v,h,c){f.call(this,v,h,c),this.type="value",this.angle=0,this.name="",this.model}g.inherits(A,f);var m=A;D.exports=m},eJH7:function(D,_,e){var g=e("bYtY");function f(A){var m=A.polar;if(m){g.isArray(m)||(m=[m]);var v=[];g.each(m,function(h,c){h.indicator?(h.type&&!h.shape&&(h.shape=h.type),A.radar=A.radar||[],g.isArray(A.radar)||(A.radar=[A.radar]),A.radar.push(h)):v.push(h)}),A.polar=v}g.each(A.series,function(h){h&&h.type==="radar"&&h.polarIndex&&(h.radarIndex=h.polarIndex)})}D.exports=f},eP3c:function(D,_,e){"use strict";function g(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function($){return typeof $}:g=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},g(Ve)}Object.defineProperty(_,"__esModule",{value:!0}),_.inflateReset=ae,_.inflateReset2=ge,_.inflateResetKeep=Oe,_.inflateInit=Ze,_.inflateInit2=Le,_.inflate=wt,_.inflateEnd=Ge,_.inflateGetHeader=et,_.inflateSetDictionary=rt,_.inflateInfo=_.Z_DEFLATED=_.Z_BUF_ERROR=_.Z_MEM_ERROR=_.Z_DATA_ERROR=_.Z_STREAM_ERROR=_.Z_NEED_DICT=_.Z_STREAM_END=_.Z_OK=_.Z_TREES=_.Z_BLOCK=_.Z_FINISH=void 0;var f=i(e("6BzB")),A=c(e("xlC8")),m=c(e("QV2g")),v=c(e("sjKO")),h=c(e("JSwD"));function c(Ve){return Ve&&Ve.__esModule?Ve:{default:Ve}}function o(){if(typeof WeakMap!="function")return null;var Ve=new WeakMap;return o=function(){return Ve},Ve}function i(Ve){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||g(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var ie=o();if(ie&&ie.has(Ve))return ie.get(Ve);var $={},it=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Qe in Ve)if(Object.prototype.hasOwnProperty.call(Ve,Qe)){var ye=it?Object.getOwnPropertyDescriptor(Ve,Qe):null;ye&&(ye.get||ye.set)?Object.defineProperty($,Qe,ye):$[Qe]=Ve[Qe]}return $.default=Ve,ie&&ie.set(Ve,$),$}var n=0,a=1,u=2,r=4;_.Z_FINISH=r;var l=5;_.Z_BLOCK=l;var t=6;_.Z_TREES=t;var s=0;_.Z_OK=s;var d=1;_.Z_STREAM_END=d;var p=2;_.Z_NEED_DICT=p;var b=-2;_.Z_STREAM_ERROR=b;var w=-3;_.Z_DATA_ERROR=w;var E=-4;_.Z_MEM_ERROR=E;var S=-5;_.Z_BUF_ERROR=S;var x=8;_.Z_DEFLATED=x;var T=1,L=2,y=3,C=4,O=5,N=6,k=7,F=8,B=9,H=10,W=11,R=12,U=13,j=14,P=15,K=16,V=17,z=18,X=19,G=20,le=21,Y=22,me=23,we=24,pe=25,Fe=26,Xe=27,dt=28,Ee=29,Se=30,at=31,_e=32,ce=852,ee=592,se=15,ke=se;function Ce(Ve){return(Ve>>>24&255)+(Ve>>>8&65280)+((Ve&65280)<<8)+((Ve&255)<<24)}function ze(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Oe(Ve){var ie;return!Ve||!Ve.state?b:(ie=Ve.state,Ve.total_in=Ve.total_out=ie.total=0,Ve.msg="",ie.wrap&&(Ve.adler=ie.wrap&1),ie.mode=T,ie.last=0,ie.havedict=0,ie.dmax=32768,ie.head=null,ie.hold=0,ie.bits=0,ie.lencode=ie.lendyn=new f.Buf32(ce),ie.distcode=ie.distdyn=new f.Buf32(ee),ie.sane=1,ie.back=-1,s)}function ae(Ve){var ie;return!Ve||!Ve.state?b:(ie=Ve.state,ie.wsize=0,ie.whave=0,ie.wnext=0,Oe(Ve))}function ge(Ve,ie){var $,it;return!Ve||!Ve.state?b:(it=Ve.state,ie<0?($=0,ie=-ie):($=(ie>>4)+1,ie<48&&(ie&=15)),ie&&(ie<8||ie>15)?b:(it.window!==null&&it.wbits!==ie&&(it.window=null),it.wrap=$,it.wbits=ie,ae(Ve)))}function Le(Ve,ie){var $,it;return Ve?(it=new ze,Ve.state=it,it.window=null,$=ge(Ve,ie),$!==s&&(Ve.state=null),$):b}function Ze(Ve){return Le(Ve,ke)}var vt=!0,Ct,Be;function Rt(Ve){if(vt){var ie;for(Ct=new f.Buf32(512),Be=new f.Buf32(32),ie=0;ie<144;)Ve.lens[ie++]=8;for(;ie<256;)Ve.lens[ie++]=9;for(;ie<280;)Ve.lens[ie++]=7;for(;ie<288;)Ve.lens[ie++]=8;for((0,h.default)(a,Ve.lens,0,288,Ct,0,Ve.work,{bits:9}),ie=0;ie<32;)Ve.lens[ie++]=5;(0,h.default)(u,Ve.lens,0,32,Be,0,Ve.work,{bits:5}),vt=!1}Ve.lencode=Ct,Ve.lenbits=9,Ve.distcode=Be,Ve.distbits=5}function He(Ve,ie,$,it){var Qe,ye=Ve.state;return ye.window===null&&(ye.wsize=1<<ye.wbits,ye.wnext=0,ye.whave=0,ye.window=new f.Buf8(ye.wsize)),it>=ye.wsize?(f.arraySet(ye.window,ie,$-ye.wsize,ye.wsize,0),ye.wnext=0,ye.whave=ye.wsize):(Qe=ye.wsize-ye.wnext,Qe>it&&(Qe=it),f.arraySet(ye.window,ie,$-it,Qe,ye.wnext),it-=Qe,it?(f.arraySet(ye.window,ie,$-it,it,0),ye.wnext=it,ye.whave=ye.wsize):(ye.wnext+=Qe,ye.wnext===ye.wsize&&(ye.wnext=0),ye.whave<ye.wsize&&(ye.whave+=Qe))),0}function wt(Ve,ie){var $,it,Qe,ye,Zt,ht,ct,yt,It,or,Bt,Ae,ve,fe,ue=0,Ne,je,Ke,Ye,Pe,nt,At,Ot,ne=new f.Buf8(4),he,Q,te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ve||!Ve.state||!Ve.output||!Ve.input&&Ve.avail_in!==0)return b;$=Ve.state,$.mode===R&&($.mode=U),Zt=Ve.next_out,Qe=Ve.output,ct=Ve.avail_out,ye=Ve.next_in,it=Ve.input,ht=Ve.avail_in,yt=$.hold,It=$.bits,or=ht,Bt=ct,Ot=s;e:for(;;)switch($.mode){case T:if($.wrap===0){$.mode=U;break}for(;It<16;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if($.wrap&2&&yt===35615){$.check=0,ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,m.default)($.check,ne,2,0),yt=0,It=0,$.mode=L;break}if($.flags=0,$.head&&($.head.done=!1),!($.wrap&1)||(((yt&255)<<8)+(yt>>8))%31){Ve.msg="incorrect header check",$.mode=Se;break}if((yt&15)!==x){Ve.msg="unknown compression method",$.mode=Se;break}if(yt>>>=4,It-=4,At=(yt&15)+8,$.wbits===0)$.wbits=At;else if(At>$.wbits){Ve.msg="invalid window size",$.mode=Se;break}$.dmax=1<<At,Ve.adler=$.check=1,$.mode=yt&512?H:R,yt=0,It=0;break;case L:for(;It<16;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if($.flags=yt,($.flags&255)!==x){Ve.msg="unknown compression method",$.mode=Se;break}if($.flags&57344){Ve.msg="unknown header flags set",$.mode=Se;break}$.head&&($.head.text=yt>>8&1),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,m.default)($.check,ne,2,0)),yt=0,It=0,$.mode=y;case y:for(;It<32;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}$.head&&($.head.time=yt),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,ne[2]=yt>>>16&255,ne[3]=yt>>>24&255,$.check=(0,m.default)($.check,ne,4,0)),yt=0,It=0,$.mode=C;case C:for(;It<16;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}$.head&&($.head.xflags=yt&255,$.head.os=yt>>8),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,m.default)($.check,ne,2,0)),yt=0,It=0,$.mode=O;case O:if($.flags&1024){for(;It<16;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}$.length=yt,$.head&&($.head.extra_len=yt),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,m.default)($.check,ne,2,0)),yt=0,It=0}else $.head&&($.head.extra=null);$.mode=N;case N:if($.flags&1024&&(Ae=$.length,Ae>ht&&(Ae=ht),Ae&&($.head&&(At=$.head.extra_len-$.length,$.head.extra||($.head.extra=new Array($.head.extra_len)),f.arraySet($.head.extra,it,ye,Ae,At)),$.flags&512&&($.check=(0,m.default)($.check,it,Ae,ye)),ht-=Ae,ye+=Ae,$.length-=Ae),$.length))break e;$.length=0,$.mode=k;case k:if($.flags&2048){if(ht===0)break e;Ae=0;do At=it[ye+Ae++],$.head&&At&&$.length<65536&&($.head.name+=String.fromCharCode(At));while(At&&Ae<ht);if($.flags&512&&($.check=(0,m.default)($.check,it,Ae,ye)),ht-=Ae,ye+=Ae,At)break e}else $.head&&($.head.name=null);$.length=0,$.mode=F;case F:if($.flags&4096){if(ht===0)break e;Ae=0;do At=it[ye+Ae++],$.head&&At&&$.length<65536&&($.head.comment+=String.fromCharCode(At));while(At&&Ae<ht);if($.flags&512&&($.check=(0,m.default)($.check,it,Ae,ye)),ht-=Ae,ye+=Ae,At)break e}else $.head&&($.head.comment=null);$.mode=B;case B:if($.flags&512){for(;It<16;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if(yt!==($.check&65535)){Ve.msg="header crc mismatch",$.mode=Se;break}yt=0,It=0}$.head&&($.head.hcrc=$.flags>>9&1,$.head.done=!0),Ve.adler=$.check=0,$.mode=R;break;case H:for(;It<32;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}Ve.adler=$.check=Ce(yt),yt=0,It=0,$.mode=W;case W:if($.havedict===0)return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ye,Ve.avail_in=ht,$.hold=yt,$.bits=It,p;Ve.adler=$.check=1,$.mode=R;case R:if(ie===l||ie===t)break e;case U:if($.last){yt>>>=It&7,It-=It&7,$.mode=Xe;break}for(;It<3;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}$.last=yt&1,yt>>>=1,It-=1;switch(yt&3){case 0:$.mode=j;break;case 1:if(Rt($),$.mode=G,ie===t){yt>>>=2,It-=2;break e}break;case 2:$.mode=V;break;case 3:Ve.msg="invalid block type",$.mode=Se}yt>>>=2,It-=2;break;case j:for(yt>>>=It&7,It-=It&7;It<32;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if((yt&65535)!==(yt>>>16^65535)){Ve.msg="invalid stored block lengths",$.mode=Se;break}if($.length=yt&65535,yt=0,It=0,$.mode=P,ie===t)break e;case P:$.mode=K;case K:if(Ae=$.length,Ae){if(Ae>ht&&(Ae=ht),Ae>ct&&(Ae=ct),Ae===0)break e;f.arraySet(Qe,it,ye,Ae,Zt),ht-=Ae,ye+=Ae,ct-=Ae,Zt+=Ae,$.length-=Ae;break}$.mode=R;break;case V:for(;It<14;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if($.nlen=(yt&31)+257,yt>>>=5,It-=5,$.ndist=(yt&31)+1,yt>>>=5,It-=5,$.ncode=(yt&15)+4,yt>>>=4,It-=4,$.nlen>286||$.ndist>30){Ve.msg="too many length or distance symbols",$.mode=Se;break}$.have=0,$.mode=z;case z:for(;$.have<$.ncode;){for(;It<3;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}$.lens[te[$.have++]]=yt&7,yt>>>=3,It-=3}for(;$.have<19;)$.lens[te[$.have++]]=0;if($.lencode=$.lendyn,$.lenbits=7,he={bits:$.lenbits},Ot=(0,h.default)(n,$.lens,0,19,$.lencode,0,$.work,he),$.lenbits=he.bits,Ot){Ve.msg="invalid code lengths set",$.mode=Se;break}$.have=0,$.mode=X;case X:for(;$.have<$.nlen+$.ndist;){for(;!(ue=$.lencode[yt&(1<<$.lenbits)-1],Ne=ue>>>24,je=ue>>>16&255,Ke=ue&65535,Ne<=It);){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if(Ke<16)yt>>>=Ne,It-=Ne,$.lens[$.have++]=Ke;else{if(Ke===16){for(Q=Ne+2;It<Q;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if(yt>>>=Ne,It-=Ne,$.have===0){Ve.msg="invalid bit length repeat",$.mode=Se;break}At=$.lens[$.have-1],Ae=3+(yt&3),yt>>>=2,It-=2}else if(Ke===17){for(Q=Ne+3;It<Q;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}yt>>>=Ne,It-=Ne,At=0,Ae=3+(yt&7),yt>>>=3,It-=3}else{for(Q=Ne+7;It<Q;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}yt>>>=Ne,It-=Ne,At=0,Ae=11+(yt&127),yt>>>=7,It-=7}if($.have+Ae>$.nlen+$.ndist){Ve.msg="invalid bit length repeat",$.mode=Se;break}for(;Ae--;)$.lens[$.have++]=At}}if($.mode===Se)break;if($.lens[256]===0){Ve.msg="invalid code -- missing end-of-block",$.mode=Se;break}if($.lenbits=9,he={bits:$.lenbits},Ot=(0,h.default)(a,$.lens,0,$.nlen,$.lencode,0,$.work,he),$.lenbits=he.bits,Ot){Ve.msg="invalid literal/lengths set",$.mode=Se;break}if($.distbits=6,$.distcode=$.distdyn,he={bits:$.distbits},Ot=(0,h.default)(u,$.lens,$.nlen,$.ndist,$.distcode,0,$.work,he),$.distbits=he.bits,Ot){Ve.msg="invalid distances set",$.mode=Se;break}if($.mode=G,ie===t)break e;case G:$.mode=le;case le:if(ht>=6&&ct>=258){Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ye,Ve.avail_in=ht,$.hold=yt,$.bits=It,(0,v.default)(Ve,Bt),Zt=Ve.next_out,Qe=Ve.output,ct=Ve.avail_out,ye=Ve.next_in,it=Ve.input,ht=Ve.avail_in,yt=$.hold,It=$.bits,$.mode===R&&($.back=-1);break}for($.back=0;!(ue=$.lencode[yt&(1<<$.lenbits)-1],Ne=ue>>>24,je=ue>>>16&255,Ke=ue&65535,Ne<=It);){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if(je&&(je&240)===0){for(Ye=Ne,Pe=je,nt=Ke;!(ue=$.lencode[nt+((yt&(1<<Ye+Pe)-1)>>Ye)],Ne=ue>>>24,je=ue>>>16&255,Ke=ue&65535,Ye+Ne<=It);){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}yt>>>=Ye,It-=Ye,$.back+=Ye}if(yt>>>=Ne,It-=Ne,$.back+=Ne,$.length=Ke,je===0){$.mode=Fe;break}if(je&32){$.back=-1,$.mode=R;break}if(je&64){Ve.msg="invalid literal/length code",$.mode=Se;break}$.extra=je&15,$.mode=Y;case Y:if($.extra){for(Q=$.extra;It<Q;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}$.length+=yt&(1<<$.extra)-1,yt>>>=$.extra,It-=$.extra,$.back+=$.extra}$.was=$.length,$.mode=me;case me:for(;!(ue=$.distcode[yt&(1<<$.distbits)-1],Ne=ue>>>24,je=ue>>>16&255,Ke=ue&65535,Ne<=It);){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if((je&240)===0){for(Ye=Ne,Pe=je,nt=Ke;!(ue=$.distcode[nt+((yt&(1<<Ye+Pe)-1)>>Ye)],Ne=ue>>>24,je=ue>>>16&255,Ke=ue&65535,Ye+Ne<=It);){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}yt>>>=Ye,It-=Ye,$.back+=Ye}if(yt>>>=Ne,It-=Ne,$.back+=Ne,je&64){Ve.msg="invalid distance code",$.mode=Se;break}$.offset=Ke,$.extra=je&15,$.mode=we;case we:if($.extra){for(Q=$.extra;It<Q;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}$.offset+=yt&(1<<$.extra)-1,yt>>>=$.extra,It-=$.extra,$.back+=$.extra}if($.offset>$.dmax){Ve.msg="invalid distance too far back",$.mode=Se;break}$.mode=pe;case pe:if(ct===0)break e;if(Ae=Bt-ct,$.offset>Ae){if(Ae=$.offset-Ae,Ae>$.whave&&$.sane){Ve.msg="invalid distance too far back",$.mode=Se;break}Ae>$.wnext?(Ae-=$.wnext,ve=$.wsize-Ae):ve=$.wnext-Ae,Ae>$.length&&(Ae=$.length),fe=$.window}else fe=Qe,ve=Zt-$.offset,Ae=$.length;Ae>ct&&(Ae=ct),ct-=Ae,$.length-=Ae;do Qe[Zt++]=fe[ve++];while(--Ae);$.length===0&&($.mode=le);break;case Fe:if(ct===0)break e;Qe[Zt++]=$.length,ct--,$.mode=le;break;case Xe:if($.wrap){for(;It<32;){if(ht===0)break e;ht--,yt|=it[ye++]<<It,It+=8}if(Bt-=ct,Ve.total_out+=Bt,$.total+=Bt,Bt&&(Ve.adler=$.check=$.flags?(0,m.default)($.check,Qe,Bt,Zt-Bt):(0,A.default)($.check,Qe,Bt,Zt-Bt)),Bt=ct,($.flags?yt:Ce(yt))!==$.check){Ve.msg="incorrect data check",$.mode=Se;break}yt=0,It=0}$.mode=dt;case dt:if($.wrap&&$.flags){for(;It<32;){if(ht===0)break e;ht--,yt+=it[ye++]<<It,It+=8}if(yt!==($.total&4294967295)){Ve.msg="incorrect length check",$.mode=Se;break}yt=0,It=0}$.mode=Ee;case Ee:Ot=d;break e;case Se:Ot=w;break e;case at:return E;case _e:default:return b}return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ye,Ve.avail_in=ht,$.hold=yt,$.bits=It,($.wsize||Bt!==Ve.avail_out&&$.mode<Se&&($.mode<Xe||ie!==r))&&He(Ve,Ve.output,Ve.next_out,Bt-Ve.avail_out)?($.mode=at,E):(or-=Ve.avail_in,Bt-=Ve.avail_out,Ve.total_in+=or,Ve.total_out+=Bt,$.total+=Bt,$.wrap&&Bt&&(Ve.adler=$.check=$.flags?(0,m.default)($.check,Qe,Bt,Ve.next_out-Bt):(0,A.default)($.check,Qe,Bt,Ve.next_out-Bt)),Ve.data_type=$.bits+($.last?64:0)+($.mode===R?128:0)+($.mode===G||$.mode===P?256:0),(or===0&&Bt===0||ie===r)&&Ot===s&&(Ot=S),Ot)}function Ge(Ve){if(!Ve||!Ve.state)return b;var ie=Ve.state;return ie.window&&(ie.window=null),Ve.state=null,s}function et(Ve,ie){var $;return!Ve||!Ve.state?b:($=Ve.state,($.wrap&2)===0?b:($.head=ie,ie.done=!1,s))}function rt(Ve,ie){var $=ie.length,it,Qe,ye;return!Ve||!Ve.state?b:(it=Ve.state,it.wrap!==0&&it.mode!==W?b:it.mode===W&&(Qe=1,Qe=(0,A.default)(Qe,ie,$,0),Qe!==it.check)?w:(ye=He(Ve,ie,$,$),ye?(it.mode=at,E):(it.havedict=1,s)))}var lt="pako inflate (from Nodeca project)";_.inflateInfo=lt},ePAk:function(D,_,e){var g=e("ProS");e("2fGM");var f=g.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(A){var m,v=this.ecModel;return v.eachComponent(A,function(h){h.getCoordSysModel()===this&&(m=h)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});D.exports=f},eRkO:function(D,_,e){var g=e("+TT/"),f=g.getLayoutRect,A=g.box,m=g.positionElement,v=e("7aKB"),h=e("IwbS");function c(i,n,a){var u=n.getBoxLayoutParams(),r=n.get("padding"),l={width:a.getWidth(),height:a.getHeight()},t=f(u,l,r);A(n.get("orient"),i,n.get("itemGap"),t.width,t.height),m(i,u,l,r)}function o(i,n){var a=v.normalizeCssArray(n.get("padding")),u=n.getItemStyle(["color","opacity"]);u.fill=n.get("backgroundColor");var i=new h.Rect({shape:{x:i.x-a[3],y:i.y-a[0],width:i.width+a[1]+a[3],height:i.height+a[0]+a[2],r:n.get("borderRadius")},style:u,silent:!0,z2:-1});return i}_.layout=c,_.makeBackground=o},eS4l:function(D,_,e){e("HM/N"),e("FNN5")},eUgh:function(D,_){function e(g,f){for(var A=-1,m=g==null?0:g.length,v=Array(m);++A<m;)v[A]=f(g[A],A,g);return v}D.exports=e},ebwN:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"Map");D.exports=A},ekgI:function(D,_,e){var g=e("YESw"),f=Object.prototype,A=f.hasOwnProperty;function m(v){var h=this.__data__;return g?h[v]!==void 0:A.call(h,v)}D.exports=m},ewwo:function(D,_,e){var g=e("bMXI"),f=e("+TT/"),A=f.getLayoutRect,m=e("4mN7");function v(c,o,i){var n=c.getBoxLayoutParams();return n.aspect=i,A(n,{width:o.getWidth(),height:o.getHeight()})}function h(c,o){var i=[];return c.eachSeriesByType("graph",function(n){var a=n.get("coordinateSystem");if(!a||a==="view"){var u=n.getData(),r=u.mapArray(function(x){var T=u.getItemModel(x);return[+T.get("x"),+T.get("y")]}),l=[],t=[];m.fromPoints(r,l,t),t[0]-l[0]===0&&(t[0]+=1,l[0]-=1),t[1]-l[1]===0&&(t[1]+=1,l[1]-=1);var s=(t[0]-l[0])/(t[1]-l[1]),d=v(n,o,s);isNaN(s)&&(l=[d.x,d.y],t=[d.x+d.width,d.y+d.height]);var p=t[0]-l[0],b=t[1]-l[1],w=d.width,E=d.height,S=n.coordinateSystem=new g;S.zoomLimit=n.get("scaleLimit"),S.setBoundingRect(l[0],l[1],p,b),S.setViewRect(d.x,d.y,w,E),S.setCenter(n.get("center")),S.setZoom(n.get("zoom")),i.push(S)}}),i}D.exports=h},f1nB:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("4NO4"),h=e("IwbS"),c=e("+TT/"),o=e("OELB"),i=o.parsePercent,n={path:null,compoundPath:null,group:h.Group,image:h.Image,text:h.Text};A.registerPreprocessor(function(w){var E=w.graphic;m.isArray(E)?!E[0]||!E[0].elements?w.graphic=[{elements:E}]:w.graphic=[w.graphic[0]]:E&&!E.elements&&(w.graphic=[{elements:[E]}])});var a=A.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(w){var E=this.option.elements;this.option.elements=null,a.superApply(this,"mergeOption",arguments),this.option.elements=E},optionUpdated:function(w,E){var S=this.option,x=(E?S:w).elements,T=S.elements=E?[]:S.elements,L=[];this._flatten(x,L);var y=v.mappingToExists(T,L);v.makeIdAndName(y);var C=this._elOptionsToUpdate=[];m.each(y,function(N,k){var F=N.option;if(!F)return;C.push(F),s(N,F),d(T,k,F),p(T[k],F)},this);for(var O=T.length-1;O>=0;O--)T[O]==null?T.splice(O,1):delete T[O].$action},_flatten:function(w,E,S){m.each(w,function(x){if(!x)return;S&&(x.parentOption=S),E.push(x);var T=x.children;x.type==="group"&&T&&this._flatten(T,E,x),delete x.children},this)},useElOptionsToUpdate:function(){var w=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,w}});A.extendComponentView({type:"graphic",init:function(w,E){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(w,E,S){w!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=w,this._updateElements(w),this._relocate(w,S)},_updateElements:function(w){var E=w.useElOptionsToUpdate();if(!E)return;var S=this._elMap,x=this.group;m.each(E,function(T){var L=T.$action,y=T.id,C=S.get(y),O=T.parentId,N=O!=null?S.get(O):x,k=T.style;T.type==="text"&&k&&(T.hv&&T.hv[1]&&(k.textVerticalAlign=k.textBaseline=null),!k.hasOwnProperty("textFill")&&k.fill&&(k.textFill=k.fill),!k.hasOwnProperty("textStroke")&&k.stroke&&(k.textStroke=k.stroke));var F=l(T);!L||L==="merge"?C?C.attr(F):u(y,N,F,S):L==="replace"?(r(C,S),u(y,N,F,S)):L==="remove"&&r(C,S);var B=S.get(y);B&&(B.__ecGraphicWidthOption=T.width,B.__ecGraphicHeightOption=T.height,b(B,w,T))})},_relocate:function(w,E){for(var S=w.option.elements,x=this.group,T=this._elMap,L=E.getWidth(),y=E.getHeight(),C=0;C<S.length;C++){var O=S[C],N=T.get(O.id);if(!N||!N.isGroup)continue;var k=N.parent,F=k===x;N.__ecGraphicWidth=i(N.__ecGraphicWidthOption,F?L:k.__ecGraphicWidth)||0,N.__ecGraphicHeight=i(N.__ecGraphicHeightOption,F?y:k.__ecGraphicHeight)||0}for(var C=S.length-1;C>=0;C--){var O=S[C],N=T.get(O.id);if(!N)continue;var k=N.parent,B=k===x?{width:L,height:y}:{width:k.__ecGraphicWidth,height:k.__ecGraphicHeight};c.positionElement(N,O,B,null,{hv:O.hv,boundingMode:O.bounding})}},_clear:function(){var w=this._elMap;w.each(function(E){r(E,w)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function u(w,E,S,x){var T=S.type,L=n.hasOwnProperty(T)?n[T]:h.getShapeClass(T),y=new L(S);E.add(y),x.set(w,y),y.__ecGraphicId=w}function r(w,E){var S=w&&w.parent;S&&(w.type==="group"&&w.traverse(function(x){r(x,E)}),E.removeKey(w.__ecGraphicId),S.remove(w))}function l(w){return w=m.extend({},w),m.each(["id","parentId","$action","hv","bounding"].concat(c.LOCATION_PARAMS),function(E){delete w[E]}),w}function t(w,E){var S;return m.each(E,function(x){w[x]!=null&&w[x]!=="auto"&&(S=!0)}),S}function s(w,E){var S=w.exist;if(E.id=w.keyInfo.id,!E.type&&S&&(E.type=S.type),E.parentId==null){var x=E.parentOption;x?E.parentId=x.id:S&&(E.parentId=S.parentId)}E.parentOption=null}function d(w,E,S){var x=m.extend({},S),T=w[E],L=S.$action||"merge";L==="merge"?T?(m.merge(T,x,!0),c.mergeLayoutParam(T,x,{ignoreSize:!0}),c.copyLayoutParams(S,T)):w[E]=x:L==="replace"?w[E]=x:L==="remove"&&(T&&(w[E]=null))}function p(w,E){if(!w)return;w.hv=E.hv=[t(E,["left","right"]),t(E,["top","bottom"])],w.type==="group"&&(w.width==null&&(w.width=E.width=0),w.height==null&&(w.height=E.height=0))}function b(w,E,S){var x=w.eventData;!w.silent&&!w.ignore&&!x&&(x=w.eventData={componentType:"graphic",componentIndex:E.componentIndex,name:w.name}),x&&(x.info=w.info)}},f3JH:function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(D,_,e){var g=e("IwbS"),f=e("QBsz"),A=g.Line.prototype,m=g.BezierCurve.prototype;function v(c){return isNaN(+c.cpx1)||isNaN(+c.cpy1)}var h=g.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(c,o){this[v(o)?"_buildPathLine":"_buildPathCurve"](c,o)},_buildPathLine:A.buildPath,_buildPathCurve:m.buildPath,pointAt:function(c){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](c)},_pointAtLine:A.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(c){var o=this.shape,i=v(o)?[o.x2-o.x1,o.y2-o.y1]:this._tangentAtCurve(c);return f.normalize(i,i)},_tangentAtCurve:m.tangentAt});D.exports=h},f5Yq:function(D,_,e){var g=e("bYtY"),f=g.isFunction;function A(m,v,h){return{seriesType:m,performRawSeries:!0,reset:function(c,o,i){var n=c.getData(),a=c.get("symbol"),u=c.get("symbolSize"),r=c.get("symbolKeepAspect"),l=c.get("symbolRotate"),t=f(a),s=f(u),d=f(l),p=t||s||d,b=!t&&a?a:v,w=s?null:u,E=d?null:E;if(n.setVisual({legendSymbol:h||b,symbol:b,symbolSize:w,symbolKeepAspect:r,symbolRotate:l}),o.isSeriesFiltered(c))return;function S(x,T){if(p){var L=c.getRawValue(T),y=c.getDataParams(T);t&&x.setItemVisual(T,"symbol",a(L,y)),s&&x.setItemVisual(T,"symbolSize",u(L,y)),d&&x.setItemVisual(T,"symbolRotate",l(L,y))}if(x.hasItemOption){var C=x.getItemModel(T),O=C.getShallow("symbol",!0),N=C.getShallow("symbolSize",!0),k=C.getShallow("symbolRotate",!0),F=C.getShallow("symbolKeepAspect",!0);O!=null&&x.setItemVisual(T,"symbol",O),N!=null&&x.setItemVisual(T,"symbolSize",N),k!=null&&x.setItemVisual(T,"symbolRotate",k),F!=null&&x.setItemVisual(T,"symbolKeepAspect",F)}}return{dataEach:n.hasItemOption||p?S:null}}}}D.exports=A},fAei:function(D,_,e){"use strict";e.d(_,"a",function(){return w.a});var g=e("rePB"),f=e("VTBJ"),A=e("KQm4"),m=e("1OyB"),v=e("vuIU"),h=e("Ji7U"),c=e("LK+K"),o=e("q1tI"),i=e("4IlW"),n=e("Kwbf"),a=e("TSYQ"),u=e.n(a),r=e("sboe"),l=e("OZM5"),t=e("815F"),s=e("ODXe"),d=e("Ff2n"),p=e("+nKL"),b=e("8XRh"),w=e("WaYH"),E=function(G,le){var Y=G.className,me=G.style,we=G.motion,pe=G.motionNodes,Fe=G.motionType,Xe=G.onMotionEnd,dt=G.active,Ee=G.treeNodeRequiredProps,Se=Object(d.a)(G,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),at=o.useState(!0),_e=Object(s.a)(at,2),ce=_e[0],ee=_e[1],se=o.useContext(r.a),ke=se.prefixCls,Ce=o.useRef(!1),ze=function(){Ce.current||Xe(),Ce.current=!0};return Object(o.useEffect)(function(){pe&&Fe==="hide"&&ce&&ee(!1)},[pe]),Object(o.useEffect)(function(){return function(){pe&&ze()}},[]),pe?o.createElement(b.default,Object.assign({ref:le,visible:ce},we,{motionAppear:Fe==="show",onAppearEnd:ze,onLeaveEnd:ze}),function(Oe,ae){var ge=Oe.className,Le=Oe.style;return o.createElement("div",{ref:ae,className:u()("".concat(ke,"-treenode-motion"),ge),style:Le},pe.map(function(Ze){var vt=Ze.data,Ct=vt.key,Be=Object(d.a)(vt,["key"]),Rt=Ze.isStart,He=Ze.isEnd;delete Be.children;var wt=Object(t.f)(Ct,Ee);return o.createElement(w.a,Object.assign({},Be,wt,{active:dt,data:Ze.data,key:Ct,isStart:Rt,isEnd:He}))}))}):o.createElement(w.a,Object.assign({domRef:le,className:Y,style:me},Se,{active:dt}))};E.displayName="MotionTreeNode";var S=o.forwardRef(E),x=S;function T(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=X.length,Y=G.length;if(Math.abs(le-Y)!==1)return{add:!1,key:null};function me(we,pe){var Fe=new Map;we.forEach(function(dt){Fe.set(dt,!0)});var Xe=pe.filter(function(dt){return!Fe.has(dt)});return Xe.length===1?Xe[0]:null}return le<Y?{add:!0,key:me(X,G)}:{add:!1,key:me(G,X)}}function L(X,G,le){var Y=X.findIndex(function(Fe){var Xe=Fe.data;return Xe.key===le}),me=X[Y+1],we=G.findIndex(function(Fe){var Xe=Fe.data;return Xe.key===le});if(me){var pe=G.findIndex(function(Fe){var Xe=Fe.data;return Xe.key===me.data.key});return G.slice(we+1,pe)}return G.slice(we+1)}var y={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},C=function(){},O="RC_TREE_MOTION_".concat(Math.random()),N={key:O},k={key:O,level:0,index:0,pos:"0",node:N},F={parent:null,children:[],pos:k.pos,data:N,isStart:[],isEnd:[]};function B(X,G,le,Y){return G===!1||!le?X:X.slice(0,Math.ceil(le/Y)+1)}function H(X){var G=X.data.key,le=X.pos;return Object(t.e)(G,le)}function W(X){for(var G=String(X.data.key),le=X;le.parent;)le=le.parent,G="".concat(le.data.key," > ").concat(G);return G}var R=function(G,le){var Y=G.prefixCls,me=G.data,we=G.selectable,pe=G.checkable,Fe=G.expandedKeys,Xe=G.selectedKeys,dt=G.checkedKeys,Ee=G.loadedKeys,Se=G.loadingKeys,at=G.halfCheckedKeys,_e=G.keyEntities,ce=G.disabled,ee=G.dragging,se=G.dragOverNodeKey,ke=G.dropPosition,Ce=G.motion,ze=G.height,Oe=G.itemHeight,ae=G.virtual,ge=G.focusable,Le=G.activeItem,Ze=G.focused,vt=G.tabIndex,Ct=G.onKeyDown,Be=G.onFocus,Rt=G.onBlur,He=G.onActiveChange,wt=G.onListChangeStart,Ge=G.onListChangeEnd,et=Object(d.a)(G,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),rt=o.useRef(null);o.useImperativeHandle(le,function(){return{scrollTo:function(At){rt.current.scrollTo(At)}}});var lt=o.useState(Fe),Ve=Object(s.a)(lt,2),ie=Ve[0],$=Ve[1],it=o.useState(me),Qe=Object(s.a)(it,2),ye=Qe[0],Zt=Qe[1],ht=o.useState(me),ct=Object(s.a)(ht,2),yt=ct[0],It=ct[1],or=o.useState([]),Bt=Object(s.a)(or,2),Ae=Bt[0],ve=Bt[1],fe=o.useState(null),ue=Object(s.a)(fe,2),Ne=ue[0],je=ue[1];function Ke(){Zt(me),It(me),ve([]),je(null),Ge()}o.useEffect(function(){$(Fe);var nt=T(ie,Fe);if(nt.key!==null){if(nt.add){var At=ye.findIndex(function(be){var Ie=be.data.key;return Ie===nt.key}),Ot=B(L(ye,me,nt.key),ae,ze,Oe),ne=ye.slice();ne.splice(At+1,0,F),It(ne),ve(Ot),je("show")}else{var he=me.findIndex(function(be){var Ie=be.data.key;return Ie===nt.key}),Q=B(L(me,ye,nt.key),ae,ze,Oe),te=me.slice();te.splice(he+1,0,F),It(te),ve(Q),je("hide")}Ce&&wt()}else ye!==me&&(Zt(me),It(me))},[Fe,me]),o.useEffect(function(){ee||Ke()},[ee]);var Ye=Ce?yt:me,Pe={expandedKeys:Fe,selectedKeys:Xe,loadedKeys:Ee,loadingKeys:Se,checkedKeys:dt,halfCheckedKeys:at,dragOverNodeKey:se,dropPosition:ke,keyEntities:_e};return o.createElement(o.Fragment,null,Ze&&Le&&o.createElement("span",{style:y,"aria-live":"assertive"},W(Le)),o.createElement("div",{role:"tree"},o.createElement("input",{style:y,disabled:ge===!1||ce,tabIndex:ge!==!1?vt:null,onKeyDown:Ct,onFocus:Be,onBlur:Rt,value:"",onChange:C})),o.createElement(p.a,Object.assign({},et,{data:Ye,itemKey:H,height:ze,fullHeight:!1,virtual:ae,itemHeight:Oe,prefixCls:"".concat(Y,"-list"),ref:rt}),function(nt){var At=nt.pos,Ot=nt.data,ne=Ot.key,he=Object(d.a)(Ot,["key"]),Q=nt.isStart,te=nt.isEnd,be=Object(t.e)(ne,At);delete he.children;var Ie=Object(t.f)(be,Pe);return o.createElement(x,Object.assign({},he,Ie,{active:Le&&ne===Le.data.key,pos:At,data:nt.data,isStart:Q,isEnd:te,motion:Ce,motionNodes:ne===O?Ae:null,motionType:Ne,onMotionEnd:Ke,treeNodeRequiredProps:Pe,onMouseMove:function(){He(null)}}))}))},U=o.forwardRef(R);U.displayName="NodeList";var j=U,P=e("NvD2"),K=function(X){Object(h.a)(le,X);var G=Object(c.a)(le);function le(){var Y;return Object(m.a)(this,le),Y=G.apply(this,arguments),Y.destroyed=!1,Y.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},Y.listRef=o.createRef(),Y.onNodeDragStart=function(me,we){var pe=Y.state,Fe=pe.expandedKeys,Xe=pe.keyEntities,dt=Y.props.onDragStart,Ee=we.props.eventKey;Y.dragNode=we;var Se=Object(l.b)(Fe,Ee);Y.setState({dragging:!0,dragNodesKeys:Object(l.g)(Ee,Xe)}),Y.setExpandedKeys(Se),dt&&dt({event:me,node:Object(t.b)(we.props)})},Y.onNodeDragEnter=function(me,we){var pe=Y.state,Fe=pe.expandedKeys,Xe=pe.keyEntities,dt=pe.dragNodesKeys,Ee=Y.props.onDragEnter,Se=we.props,at=Se.pos,_e=Se.eventKey;if(!Y.dragNode||dt.indexOf(_e)!==-1)return;var ce=Object(l.c)(me,we);if(Y.dragNode.props.eventKey===_e&&ce===0){Y.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Y.setState({dragOverNodeKey:_e,dropPosition:ce}),Y.delayedDragEnterLogic||(Y.delayedDragEnterLogic={}),Object.keys(Y.delayedDragEnterLogic).forEach(function(ee){clearTimeout(Y.delayedDragEnterLogic[ee])}),Y.delayedDragEnterLogic[at]=window.setTimeout(function(){if(!Y.state.dragging)return;var ee=Object(A.a)(Fe),se=Xe[_e];se&&(se.children||[]).length&&(ee=Object(l.a)(Fe,_e)),"expandedKeys"in Y.props||Y.setExpandedKeys(ee),Ee&&Ee({event:me,node:Object(t.b)(we.props),expandedKeys:ee})},400)},0)},Y.onNodeDragOver=function(me,we){var pe=Y.state.dragNodesKeys,Fe=Y.props.onDragOver,Xe=we.props.eventKey;if(pe.indexOf(Xe)!==-1)return;if(Y.dragNode&&Xe===Y.state.dragOverNodeKey){var dt=Object(l.c)(me,we);if(dt===Y.state.dropPosition)return;Y.setState({dropPosition:dt})}Fe&&Fe({event:me,node:Object(t.b)(we.props)})},Y.onNodeDragLeave=function(me,we){var pe=Y.props.onDragLeave;Y.setState({dragOverNodeKey:""}),pe&&pe({event:me,node:Object(t.b)(we.props)})},Y.onNodeDragEnd=function(me,we){var pe=Y.props.onDragEnd;Y.setState({dragOverNodeKey:""}),Y.cleanDragState(),pe&&pe({event:me,node:Object(t.b)(we.props)}),Y.dragNode=null},Y.onNodeDrop=function(me,we){var pe=Y.state,Fe=pe.dragNodesKeys,Xe=Fe===void 0?[]:Fe,dt=pe.dropPosition,Ee=Y.props.onDrop,Se=we.props,at=Se.eventKey,_e=Se.pos;if(Y.setState({dragOverNodeKey:""}),Y.cleanDragState(),Xe.indexOf(at)!==-1){Object(n.a)(!1,"Can not drop to dragNode(include it's children node)");return}var ce=Object(l.k)(_e),ee={event:me,node:Object(t.b)(we.props),dragNode:Y.dragNode?Object(t.b)(Y.dragNode.props):null,dragNodesKeys:Xe.slice(),dropPosition:dt+Number(ce[ce.length-1]),dropToGap:!1};dt!==0&&(ee.dropToGap=!0),Ee&&Ee(ee),Y.dragNode=null},Y.cleanDragState=function(){var me=Y.state.dragging;me&&Y.setState({dragging:!1})},Y.onNodeClick=function(me,we){var pe=Y.props.onClick;pe&&pe(me,we)},Y.onNodeDoubleClick=function(me,we){var pe=Y.props.onDoubleClick;pe&&pe(me,we)},Y.onNodeSelect=function(me,we){var pe=Y.state.selectedKeys,Fe=Y.state.keyEntities,Xe=Y.props,dt=Xe.onSelect,Ee=Xe.multiple,Se=we.selected,at=we.key,_e=!Se;_e?Ee?pe=Object(l.a)(pe,at):pe=[at]:pe=Object(l.b)(pe,at);var ce=pe.map(function(ee){var se=Fe[ee];return se?se.node:null}).filter(function(ee){return ee});Y.setUncontrolledState({selectedKeys:pe}),dt&&dt(pe,{event:"select",selected:_e,node:we,selectedNodes:ce,nativeEvent:me.nativeEvent})},Y.onNodeCheck=function(me,we,pe){var Fe=Y.state,Xe=Fe.keyEntities,dt=Fe.checkedKeys,Ee=Fe.halfCheckedKeys,Se=Y.props,at=Se.checkStrictly,_e=Se.onCheck,ce=we.key,ee,se={event:"check",node:we,checked:pe,nativeEvent:me.nativeEvent};if(at){var ke=pe?Object(l.a)(dt,ce):Object(l.b)(dt,ce),Ce=Object(l.b)(Ee,ce);ee={checked:ke,halfChecked:Ce},se.checkedNodes=ke.map(function(Ze){return Xe[Ze]}).filter(function(Ze){return Ze}).map(function(Ze){return Ze.node}),Y.setUncontrolledState({checkedKeys:ke})}else{var ze=Object(P.a)([].concat(Object(A.a)(dt),[ce]),!0,Xe),Oe=ze.checkedKeys,ae=ze.halfCheckedKeys;if(!pe){var ge=new Set(Oe);ge.delete(ce);var Le=Object(P.a)(Array.from(ge),{checked:!1,halfCheckedKeys:ae},Xe);Oe=Le.checkedKeys,ae=Le.halfCheckedKeys}ee=Oe,se.checkedNodes=[],se.checkedNodesPositions=[],se.halfCheckedKeys=ae,Oe.forEach(function(Ze){var vt=Xe[Ze];if(!vt)return;var Ct=vt.node,Be=vt.pos;se.checkedNodes.push(Ct),se.checkedNodesPositions.push({node:Ct,pos:Be})}),Y.setUncontrolledState({checkedKeys:Oe},!1,{halfCheckedKeys:ae})}_e&&_e(ee,se)},Y.onNodeLoad=function(me){return new Promise(function(we){Y.setState(function(pe){var Fe=pe.loadedKeys,Xe=Fe===void 0?[]:Fe,dt=pe.loadingKeys,Ee=dt===void 0?[]:dt,Se=Y.props,at=Se.loadData,_e=Se.onLoad,ce=me.key;if(!at||Xe.indexOf(ce)!==-1||Ee.indexOf(ce)!==-1)return{};var ee=at(me);return ee.then(function(){var se=Y.state,ke=se.loadedKeys,Ce=se.loadingKeys,ze=Object(l.a)(ke,ce),Oe=Object(l.b)(Ce,ce);_e&&_e(ze,{event:"load",node:me}),Y.setUncontrolledState({loadedKeys:ze}),Y.setState({loadingKeys:Oe}),we()}),{loadingKeys:Object(l.a)(Ee,ce)}})})},Y.onNodeMouseEnter=function(me,we){var pe=Y.props.onMouseEnter;pe&&pe({event:me,node:we})},Y.onNodeMouseLeave=function(me,we){var pe=Y.props.onMouseLeave;pe&&pe({event:me,node:we})},Y.onNodeContextMenu=function(me,we){var pe=Y.props.onRightClick;pe&&(me.preventDefault(),pe({event:me,node:we}))},Y.onFocus=function(){var me=Y.props.onFocus;Y.setState({focused:!0}),me&&me.apply(void 0,arguments)},Y.onBlur=function(){var me=Y.props.onBlur;Y.setState({focused:!1}),Y.onActiveChange(null),me&&me.apply(void 0,arguments)},Y.getTreeNodeRequiredProps=function(){var me=Y.state,we=me.expandedKeys,pe=me.selectedKeys,Fe=me.loadedKeys,Xe=me.loadingKeys,dt=me.checkedKeys,Ee=me.halfCheckedKeys,Se=me.dragOverNodeKey,at=me.dropPosition,_e=me.keyEntities;return{expandedKeys:we||[],selectedKeys:pe||[],loadedKeys:Fe||[],loadingKeys:Xe||[],checkedKeys:dt||[],halfCheckedKeys:Ee||[],dragOverNodeKey:Se,dropPosition:at,keyEntities:_e}},Y.setExpandedKeys=function(me){var we=Y.state.treeData,pe=Object(t.d)(we,me);Y.setUncontrolledState({expandedKeys:me,flattenNodes:pe},!0)},Y.onNodeExpand=function(me,we){var pe=Y.state.expandedKeys,Fe=Y.state.listChanging,Xe=Y.props,dt=Xe.onExpand,Ee=Xe.loadData,Se=we.key,at=we.expanded;if(Fe)return;var _e=pe.indexOf(Se),ce=!at;if(Object(n.a)(at&&_e!==-1||!at&&_e===-1,"Expand state not sync with index check"),ce?pe=Object(l.a)(pe,Se):pe=Object(l.b)(pe,Se),Y.setExpandedKeys(pe),dt&&dt(pe,{node:we,expanded:ce,nativeEvent:me.nativeEvent}),ce&&Ee){var ee=Y.onNodeLoad(we);ee&&ee.then(function(){var se=Object(t.d)(Y.state.treeData,pe);Y.setUncontrolledState({flattenNodes:se})})}},Y.onListChangeStart=function(){Y.setUncontrolledState({listChanging:!0})},Y.onListChangeEnd=function(){setTimeout(function(){Y.setUncontrolledState({listChanging:!1})})},Y.onActiveChange=function(me){var we=Y.state.activeKey,pe=Y.props.onActiveChange;if(we===me)return;Y.setState({activeKey:me}),me!==null&&Y.scrollTo({key:me}),pe&&pe(me)},Y.getActiveItem=function(){var me=Y.state,we=me.activeKey,pe=me.flattenNodes;return we===null?null:pe.find(function(Fe){var Xe=Fe.data.key;return Xe===we})||null},Y.offsetActiveKey=function(me){var we=Y.state,pe=we.flattenNodes,Fe=we.activeKey,Xe=pe.findIndex(function(Se){var at=Se.data.key;return at===Fe});Xe===-1&&me<0&&(Xe=pe.length),Xe=(Xe+me+pe.length)%pe.length;var dt=pe[Xe];if(dt){var Ee=dt.data.key;Y.onActiveChange(Ee)}else Y.onActiveChange(null)},Y.onKeyDown=function(me){var we=Y.state,pe=we.activeKey,Fe=we.expandedKeys,Xe=we.checkedKeys,dt=Y.props,Ee=dt.onKeyDown,Se=dt.checkable,at=dt.selectable;switch(me.which){case i.a.UP:{Y.offsetActiveKey(-1),me.preventDefault();break}case i.a.DOWN:{Y.offsetActiveKey(1),me.preventDefault();break}}var _e=Y.getActiveItem();if(_e&&_e.data){var ce=Y.getTreeNodeRequiredProps(),ee=_e.data.isLeaf===!1||!!(_e.data.children||[]).length,se=Object(t.b)(Object(f.a)(Object(f.a)({},Object(t.f)(pe,ce)),{},{data:_e.data,active:!0}));switch(me.which){case i.a.LEFT:{ee&&Fe.includes(pe)?Y.onNodeExpand({},se):_e.parent&&Y.onActiveChange(_e.parent.data.key),me.preventDefault();break}case i.a.RIGHT:{ee&&!Fe.includes(pe)?Y.onNodeExpand({},se):_e.children&&_e.children.length&&Y.onActiveChange(_e.children[0].data.key),me.preventDefault();break}case i.a.ENTER:case i.a.SPACE:{Se&&!se.disabled&&se.checkable!==!1&&!se.disableCheckbox?Y.onNodeCheck({},se,!Xe.includes(pe)):!Se&&at&&!se.disabled&&se.selectable!==!1&&Y.onNodeSelect({},se);break}}}Ee&&Ee(me)},Y.setUncontrolledState=function(me){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Y.destroyed)return;var Fe=!1,Xe=!0,dt={};Object.keys(me).forEach(function(Ee){if(Ee in Y.props){Xe=!1;return}Fe=!0,dt[Ee]=me[Ee]}),Fe&&(!we||Xe)&&Y.setState(Object(f.a)(Object(f.a)({},dt),pe))},Y.scrollTo=function(me){Y.listRef.current.scrollTo(me)},Y}return Object(v.a)(le,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var me,we=this.state,pe=we.focused,Fe=we.flattenNodes,Xe=we.keyEntities,dt=we.dragging,Ee=we.activeKey,Se=this.props,at=Se.prefixCls,_e=Se.className,ce=Se.style,ee=Se.showLine,se=Se.focusable,ke=Se.tabIndex,Ce=ke===void 0?0:ke,ze=Se.selectable,Oe=Se.showIcon,ae=Se.icon,ge=Se.switcherIcon,Le=Se.draggable,Ze=Se.checkable,vt=Se.checkStrictly,Ct=Se.disabled,Be=Se.motion,Rt=Se.loadData,He=Se.filterTreeNode,wt=Se.height,Ge=Se.itemHeight,et=Se.virtual,rt=Se.titleRender,lt=Object(l.f)(this.props);return o.createElement(r.a.Provider,{value:{prefixCls:at,selectable:ze,showIcon:Oe,icon:ae,switcherIcon:ge,draggable:Le,checkable:Ze,checkStrictly:vt,disabled:Ct,keyEntities:Xe,loadData:Rt,filterTreeNode:He,titleRender:rt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},o.createElement("div",{className:u()(at,_e,(me={},Object(g.a)(me,"".concat(at,"-show-line"),ee),Object(g.a)(me,"".concat(at,"-focused"),pe),Object(g.a)(me,"".concat(at,"-active-focused"),Ee!==null),me))},o.createElement(j,Object.assign({ref:this.listRef,prefixCls:at,style:ce,data:Fe,disabled:Ct,selectable:ze,checkable:!!Ze,motion:Be,dragging:dt,height:wt,itemHeight:Ge,virtual:et,focusable:se,focused:pe,tabIndex:Ce,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),lt))))}}],[{key:"getDerivedStateFromProps",value:function(me,we){var pe=we.prevProps,Fe={prevProps:me};function Xe(ae){return!pe&&ae in me||pe&&pe[ae]!==me[ae]}var dt;if(Xe("treeData")?dt=me.treeData:Xe("children")&&(Object(n.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),dt=Object(t.c)(me.children)),dt){Fe.treeData=dt;var Ee=Object(t.a)(dt);Fe.keyEntities=Object(f.a)(Object(g.a)({},O,k),Ee.keyEntities)}var Se=Fe.keyEntities||we.keyEntities;if(Xe("expandedKeys")||pe&&Xe("autoExpandParent"))Fe.expandedKeys=me.autoExpandParent||!pe&&me.defaultExpandParent?Object(l.e)(me.expandedKeys,Se):me.expandedKeys;else if(!pe&&me.defaultExpandAll){var at=Object(f.a)({},Se);delete at[O],Fe.expandedKeys=Object.keys(at).map(function(ae){return at[ae].key})}else!pe&&me.defaultExpandedKeys&&(Fe.expandedKeys=me.autoExpandParent||me.defaultExpandParent?Object(l.e)(me.defaultExpandedKeys,Se):me.defaultExpandedKeys);if(Fe.expandedKeys||delete Fe.expandedKeys,dt||Fe.expandedKeys){var _e=Object(t.d)(dt||we.treeData,Fe.expandedKeys||we.expandedKeys);Fe.flattenNodes=_e}if(me.selectable&&(Xe("selectedKeys")?Fe.selectedKeys=Object(l.d)(me.selectedKeys,me):!pe&&me.defaultSelectedKeys&&(Fe.selectedKeys=Object(l.d)(me.defaultSelectedKeys,me))),me.checkable){var ce;if(Xe("checkedKeys")?ce=Object(l.j)(me.checkedKeys)||{}:!pe&&me.defaultCheckedKeys?ce=Object(l.j)(me.defaultCheckedKeys)||{}:dt&&(ce=Object(l.j)(me.checkedKeys)||{checkedKeys:we.checkedKeys,halfCheckedKeys:we.halfCheckedKeys}),ce){var ee=ce,se=ee.checkedKeys,ke=se===void 0?[]:se,Ce=ee.halfCheckedKeys,ze=Ce===void 0?[]:Ce;if(!me.checkStrictly){var Oe=Object(P.a)(ke,!0,Se);ke=Oe.checkedKeys,ze=Oe.halfCheckedKeys}Fe.checkedKeys=ke,Fe.halfCheckedKeys=ze}}return Xe("loadedKeys")&&(Fe.loadedKeys=me.loadedKeys),Fe}}]),le}(o.Component);K.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:[]},K.TreeNode=w.a;var V=K,z=_.b=V},fE02:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("/IIm"),m=e("vZ6x"),v=e("b9oc"),h=e("72pK"),c=e("Kagy"),o=e("IUWy");e("3TkU");var i=c.toolbox.dataZoom,n=f.each,a="\0_ec_\0toolbox-dataZoom_";function u(b,w,E){(this._brushController=new A(E.getZr())).on("brush",f.bind(this._onBrush,this)).mount(),this._isZoomActive}u.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:f.clone(i.title)};var r=u.prototype;r.render=function(b,w,E,S){this.model=b,this.ecModel=w,this.api=E,d(b,w,this,S,E),s(b,w)},r.onclick=function(b,w,E){l[E].call(this)},r.remove=function(b,w){this._brushController.unmount()},r.dispose=function(b,w){this._brushController.dispose()};var l={zoom:function(){var b=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:b})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};r._onBrush=function(b,w){if(!w.isEnd||!b.length)return;var E={},S=this.ecModel;this._brushController.updateCovers([]);var x=new m(t(this.model.option),S,{include:["grid"]});x.matchOutputRanges(b,S,function(y,C,O){if(O.type!=="cartesian2d")return;var N=y.brushType;N==="rect"?(T("x",O,C[0]),T("y",O,C[1])):T({lineX:"x",lineY:"y"}[N],O,C)}),v.push(S,E),this._dispatchZoomAction(E);function T(y,C,O){var N=C.getAxis(y),k=N.model,F=L(y,k,S),B=F.findRepresentativeAxisProxy(k).getMinMaxSpan();(B.minValueSpan!=null||B.maxValueSpan!=null)&&(O=h(0,O.slice(),N.scale.getExtent(),0,B.minValueSpan,B.maxValueSpan)),F&&(E[F.id]={dataZoomId:F.id,startValue:O[0],endValue:O[1]})}function L(y,C,O){var N;return O.eachComponent({mainType:"dataZoom",subType:"select"},function(k){var F=k.getAxisModel(y,C.componentIndex);F&&(N=k)}),N}},r._dispatchZoomAction=function(b){var w=[];n(b,function(E,S){w.push(f.clone(E))}),w.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:w})};function t(b){var w={};return f.each(["xAxisIndex","yAxisIndex"],function(E){w[E]=b[E],w[E]==null&&(w[E]="all"),(w[E]===!1||w[E]==="none")&&(w[E]=[])}),w}function s(b,w){b.setIconStatus("back",v.count(w)>1?"emphasis":"normal")}function d(b,w,E,S,x){var T=E._isZoomActive;S&&S.type==="takeGlobalCursor"&&(T=S.key==="dataZoomSelect"?S.dataZoomSelectActive:!1),E._isZoomActive=T,b.setIconStatus("zoom",T?"emphasis":"normal");var L=new m(t(b.option),w,{include:["grid"]});E._brushController.setPanels(L.makePanelOpts(x,function(y){return y.xAxisDeclared&&!y.yAxisDeclared?"lineX":!y.xAxisDeclared&&y.yAxisDeclared?"lineY":"rect"})).enableBrush(T?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}o.register("dataZoom",u),g.registerPreprocessor(function(b){if(!b)return;var w=b.dataZoom||(b.dataZoom=[]);f.isArray(w)||(b.dataZoom=w=[w]);var E=b.toolbox;if(E&&(f.isArray(E)&&(E=E[0]),E&&E.feature)){var S=E.feature.dataZoom;x("xAxis",S),x("yAxis",S)}function x(L,y){if(!y)return;var C=L+"Index",O=y[C];O!=null&&O!=="all"&&!f.isArray(O)&&(O=O===!1||O==="none"?[]:[O]),T(L,function(N,k){if(O!=null&&O!=="all"&&f.indexOf(O,k)===-1)return;var F={type:"select",$fromToolbox:!0,filterMode:y.filterMode||"filter",id:a+L+k};F[C]=k,w.push(F)})}function T(L,y){var C=b[L];f.isArray(C)||(C=C?[C]:[]),n(C,y)}});var p=u;D.exports=p},fGT3:function(D,_,e){var g=e("4kuk"),f=e("Xi7e"),A=e("ebwN");function m(){this.size=0,this.__data__={hash:new g,map:new(A||f),string:new g}}D.exports=m},fNCr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("tSko"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},"fR/l":function(D,_,e){var g=e("CH3K"),f=e("Z0cm");function A(m,v,h){var c=v(m);return f(m)?c:g(c,h(m))}D.exports=A},fUL4:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("r+aA"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},fV52:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("6/k+"),m=e.n(A)},fW2E:function(D,_){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function g(f,A,m){return e.hasOwnProperty(A)?m*=f.dpr:m}D.exports=g},"fc+c":function(D,_,e){var g=e("sS/r"),f=g.extend({type:"dataZoom",render:function(A,m,v,h){this.dataZoomModel=A,this.ecModel=m,this.api=v},getTargetCoordInfo:function(){var A=this.dataZoomModel,m=this.ecModel,v={};A.eachTargetAxis(function(c,o){var i=m.getComponent(c.axis,o);if(i){var n=i.getCoordSysModel();n&&h(n,i,v[n.mainType]||(v[n.mainType]=[]),n.componentIndex)}},this);function h(c,o,i,n){for(var a,u=0;u<i.length;u++)if(i[u].model===c){a=i[u];break}a||i.push(a={model:c,axisModels:[],coordIndex:n}),a.axisModels.push(o)}return v}});D.exports=f},fjKi:function(D,_,e){var g=e("ProS");e("Q7if"),e("jndi"),g.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(D,_,e){var g=e("bYtY"),f=e("QBsz"),A=e("oVpE"),m=e("f5HG"),v=e("IwbS"),h=e("OELB"),c=h.round,o=["fromSymbol","toSymbol"];function i(d){return"_"+d+"Type"}function n(d,p,b){var w=p.getItemVisual(b,"color"),E=p.getItemVisual(b,d),S=p.getItemVisual(b,d+"Size");if(!E||E==="none")return;g.isArray(S)||(S=[S,S]);var x=A.createSymbol(E,-S[0]/2,-S[1]/2,S[0],S[1],w);return x.name=d,x}function a(d){var p=new m({name:"line",subPixelOptimize:!0});return u(p.shape,d),p}function u(d,p){d.x1=p[0][0],d.y1=p[0][1],d.x2=p[1][0],d.y2=p[1][1],d.percent=1;var b=p[2];b?(d.cpx1=b[0],d.cpy1=b[1]):(d.cpx1=NaN,d.cpy1=NaN)}function r(){var d=this,p=d.childOfName("fromSymbol"),b=d.childOfName("toSymbol"),w=d.childOfName("label");if(!p&&!b&&w.ignore)return;for(var E=1,S=this.parent;S;)S.scale&&(E/=S.scale[0]),S=S.parent;var x=d.childOfName("line");if(!this.__dirty&&!x.__dirty)return;var T=x.shape.percent,L=x.pointAt(0),y=x.pointAt(T),C=f.sub([],y,L);if(f.normalize(C,C),p){p.attr("position",L);var O=x.tangentAt(0);p.attr("rotation",Math.PI/2-Math.atan2(O[1],O[0])),p.attr("scale",[E*T,E*T])}if(b){b.attr("position",y);var O=x.tangentAt(1);b.attr("rotation",-Math.PI/2-Math.atan2(O[1],O[0])),b.attr("scale",[E*T,E*T])}if(!w.ignore){w.attr("position",y);var N,k,F,B,H=w.__labelDistance,W=H[0]*E,R=H[1]*E,U=T/2,O=x.tangentAt(U),j=[O[1],-O[0]],P=x.pointAt(U);j[1]>0&&(j[0]=-j[0],j[1]=-j[1]);var K=O[0]<0?-1:1;if(w.__position!=="start"&&w.__position!=="end"){var V=-Math.atan2(O[1],O[0]);y[0]<L[0]&&(V=Math.PI+V),w.attr("rotation",V)}var z;switch(w.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":z=-R,F="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":z=R,F="top";break;default:z=0,F="middle"}switch(w.__position){case"end":N=[C[0]*W+y[0],C[1]*R+y[1]],k=C[0]>.8?"left":C[0]<-.8?"right":"center",F=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":N=[-C[0]*W+L[0],-C[1]*R+L[1]],k=C[0]>.8?"right":C[0]<-.8?"left":"center",F=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":N=[W*K+L[0],L[1]+z],k=O[0]<0?"right":"left",B=[-W*K,-z];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":N=[P[0],P[1]+z],k="center",B=[0,-z];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":N=[-W*K+y[0],y[1]+z],k=O[0]>=0?"right":"left",B=[W*K,-z];break}w.attr({style:{textVerticalAlign:w.__verticalAlign||F,textAlign:w.__textAlign||k},position:N,scale:[E,E],origin:B})}}function l(d,p,b){v.Group.call(this),this._createLine(d,p,b)}var t=l.prototype;t.beforeUpdate=r,t._createLine=function(d,p,b){var w=d.hostModel,E=d.getItemLayout(p),S=a(E);S.shape.percent=0,v.initProps(S,{shape:{percent:1}},w,p),this.add(S);var x=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(x),g.each(o,function(T){var L=n(T,d,p);this.add(L),this[i(T)]=d.getItemVisual(p,T)},this),this._updateCommonStl(d,p,b)},t.updateData=function(d,p,b){var w=d.hostModel,E=this.childOfName("line"),S=d.getItemLayout(p),x={shape:{}};u(x.shape,S),v.updateProps(E,x,w,p),g.each(o,function(T){var L=d.getItemVisual(p,T),y=i(T);if(this[y]!==L){this.remove(this.childOfName(T));var C=n(T,d,p);this.add(C)}this[y]=L},this),this._updateCommonStl(d,p,b)},t._updateCommonStl=function(d,p,b){var w=d.hostModel,E=this.childOfName("line"),S=b&&b.lineStyle,x=b&&b.hoverLineStyle,T=b&&b.labelModel,L=b&&b.hoverLabelModel;if(!b||d.hasItemOption){var y=d.getItemModel(p);S=y.getModel("lineStyle").getLineStyle(),x=y.getModel("emphasis.lineStyle").getLineStyle(),T=y.getModel("label"),L=y.getModel("emphasis.label")}var C=d.getItemVisual(p,"color"),O=g.retrieve3(d.getItemVisual(p,"opacity"),S.opacity,1);E.useStyle(g.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:O},S)),E.hoverStyle=x,g.each(o,function(K){var V=this.childOfName(K);V&&(V.setColor(C),V.setStyle({opacity:O}))},this);var N=T.getShallow("show"),k=L.getShallow("show"),F=this.childOfName("label"),B,H;if((N||k)&&(B=C||"#000",H=w.getFormattedLabel(p,"normal",d.dataType),H==null)){var W=w.getRawValue(p);H=W==null?d.getName(p):isFinite(W)?c(W):W}var R=N?H:null,U=k?g.retrieve2(w.getFormattedLabel(p,"emphasis",d.dataType),H):null,j=F.style;if(R!=null||U!=null){v.setTextStyle(F.style,T,{text:R},{autoColor:B}),F.__textAlign=j.textAlign,F.__verticalAlign=j.textVerticalAlign,F.__position=T.get("position")||"middle";var P=T.get("distance");g.isArray(P)||(P=[P,P]),F.__labelDistance=P}U!=null?F.hoverStyle={text:U,textFill:L.getTextColor(!0),fontStyle:L.getShallow("fontStyle"),fontWeight:L.getShallow("fontWeight"),fontSize:L.getShallow("fontSize"),fontFamily:L.getShallow("fontFamily")}:F.hoverStyle={text:null},F.ignore=!N&&!k,v.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(d,p){this.setLinePoints(d.getItemLayout(p))},t.setLinePoints=function(d){var p=this.childOfName("line");u(p.shape,d),p.dirty()},g.inherits(l,v.Group);var s=l;D.exports=s},fmMI:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.each,v=A.filter,h=A.map,c=A.isArray,o=A.indexOf,i=A.isObject,n=A.isString,a=A.createHashMap,u=A.assert,r=A.clone,l=A.merge,t=A.extend,s=A.mixin,d=e("4NO4"),p=e("Qxkt"),b=e("bLfw"),w=e("iXHM"),E=e("5Hur"),S=e("D5nY"),x=S.resetSourceDefaulter,T="\0_ec_inner",L=p.extend({init:function(R,U,j,P){j=j||{},this.option=null,this._theme=new p(j),this._optionManager=P},setOption:function(R,U){u(!(T in R),"please use chart.getOption()"),this._optionManager.setOption(R,U),this.resetOption(null)},resetOption:function(R){var U=!1,j=this._optionManager;if(!R||R==="recreate"){var P=j.mountOption(R==="recreate");!this.option||R==="recreate"?O.call(this,P):(this.restoreData(),this.mergeOption(P)),U=!0}if((R==="timeline"||R==="media")&&this.restoreData(),!R||R==="recreate"||R==="timeline"){var K=j.getTimelineOption(this);K&&(this.mergeOption(K),U=!0)}if(!R||R==="recreate"||R==="media"){var V=j.getMediaOption(this,this._api);V.length&&m(V,function(z){this.mergeOption(z,U=!0)},this)}return U},mergeOption:function(R){var U=this.option,j=this._componentsMap,P=[];x(this),m(R,function(V,z){if(V==null)return;b.hasClass(z)?z&&P.push(z):U[z]=U[z]==null?r(V):l(U[z],V,!0)}),b.topologicalTravel(P,b.getAllClassMainTypes(),K,this);function K(V,z){var X=d.normalizeToArray(R[V]),G=d.mappingToExists(j.get(V),X);d.makeIdAndName(G),m(G,function(Y,me){var we=Y.option;i(we)&&(Y.keyInfo.mainType=V,Y.keyInfo.subType=k(V,we,Y.exist))});var le=N(j,z);U[V]=[],j.set(V,[]),m(G,function(Y,me){var we=Y.exist,pe=Y.option;if(u(i(pe)||we,"Empty component definition"),!pe)we.mergeOption({},this),we.optionUpdated({},!1);else{var Fe=b.getClass(V,Y.keyInfo.subType,!0);if(we&&we.constructor===Fe)we.name=Y.keyInfo.name,we.mergeOption(pe,this),we.optionUpdated(pe,!1);else{var Xe=t({dependentModels:le,componentIndex:me},Y.keyInfo);we=new Fe(pe,this,this,Xe),t(we,Xe),we.init(pe,this,this,Xe),we.optionUpdated(null,!0)}}j.get(V)[me]=we,U[V][me]=we.option},this),V==="series"&&F(this,j.get("series"))}this._seriesIndicesMap=a(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var R=r(this.option);return m(R,function(U,j){if(b.hasClass(j)){for(var U=d.normalizeToArray(U),P=U.length-1;P>=0;P--)d.isIdInner(U[P])&&U.splice(P,1);R[j]=U}}),delete R[T],R},getTheme:function(){return this._theme},getComponent:function(R,U){var j=this._componentsMap.get(R);if(j)return j[U||0]},queryComponents:function(R){var U=R.mainType;if(!U)return[];var j=R.index,P=R.id,K=R.name,V=this._componentsMap.get(U);if(!V||!V.length)return[];var z;if(j!=null)c(j)||(j=[j]),z=v(h(j,function(le){return V[le]}),function(le){return!!le});else if(P!=null){var X=c(P);z=v(V,function(le){return X&&o(P,le.id)>=0||!X&&le.id===P})}else if(K!=null){var G=c(K);z=v(V,function(le){return G&&o(K,le.name)>=0||!G&&le.name===K})}else z=V.slice();return B(z,R)},findComponents:function(R){var U=R.query,j=R.mainType,P=V(U),K=P?this.queryComponents(P):this._componentsMap.get(j);return z(B(K,R));function V(X){var G=j+"Index",le=j+"Id",Y=j+"Name";return X&&(X[G]!=null||X[le]!=null||X[Y]!=null)?{mainType:j,index:X[G],id:X[le],name:X[Y]}:null}function z(X){return R.filter?v(X,R.filter):X}},eachComponent:function(R,U,j){var P=this._componentsMap;if(typeof R=="function")j=U,U=R,P.each(function(V,z){m(V,function(X,G){U.call(j,z,X,G)})});else if(n(R))m(P.get(R),U,j);else if(i(R)){var K=this.findComponents(R);m(K,U,j)}},getSeriesByName:function(R){var U=this._componentsMap.get("series");return v(U,function(j){return j.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var U=this._componentsMap.get("series");return v(U,function(j){return j.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,U){H(this),m(this._seriesIndices,function(j){var P=this._componentsMap.get("series")[j];R.call(U,P,j)},this)},eachRawSeries:function(R,U){m(this._componentsMap.get("series"),R,U)},eachSeriesByType:function(R,U,j){H(this),m(this._seriesIndices,function(P){var K=this._componentsMap.get("series")[P];K.subType===R&&U.call(j,K,P)},this)},eachRawSeriesByType:function(R,U,j){return m(this.getSeriesByType(R),U,j)},isSeriesFiltered:function(R){return H(this),this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,U){H(this);var j=v(this._componentsMap.get("series"),R,U);F(this,j)},restoreData:function(R){var U=this._componentsMap;F(this,U.get("series"));var j=[];U.each(function(P,K){j.push(K)}),b.topologicalTravel(j,b.getAllClassMainTypes(),function(P,K){m(U.get(P),function(V){(P!=="series"||!y(V,R))&&V.restoreData()})})}});function y(R,U){if(U){var j=U.seiresIndex,P=U.seriesId,K=U.seriesName;return j!=null&&R.componentIndex!==j||P!=null&&R.id!==P||K!=null&&R.name!==K}}function C(R,U){var j=R.color&&!R.colorLayer;m(U,function(P,K){if(K==="colorLayer"&&j)return;b.hasClass(K)||(typeof P=="object"?R[K]=R[K]?l(R[K],P,!1):r(P):R[K]==null&&(R[K]=P))})}function O(R){R=R,this.option={},this.option[T]=1,this._componentsMap=a({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(R,this._theme.option),l(R,w,!1),this.mergeOption(R)}function N(R,U){c(U)||(U=U?[U]:[]);var j={};return m(U,function(P){j[P]=(R.get(P)||[]).slice()}),j}function k(R,U,j){var P=U.type?U.type:j?j.subType:b.determineSubType(R,U);return P}function F(R,U){R._seriesIndicesMap=a(R._seriesIndices=h(U,function(j){return j.componentIndex})||[])}function B(R,U){return U.hasOwnProperty("subType")?v(R,function(j){return j.subType===U.subType}):R}function H(R){}s(L,E);var W=L;D.exports=W},fmRc:function(D,_,e){var g=e("Xi7e"),f=e("77Zs"),A=e("L8xA"),m=e("gCq4"),v=e("VaNO"),h=e("0Cz8");function c(o){var i=this.__data__=new g(o);this.size=i.size}c.prototype.clear=f,c.prototype.delete=A,c.prototype.get=m,c.prototype.has=v,c.prototype.set=h,D.exports=c},ftKO:function(D,_){var e="__lodash_hash_undefined__";function g(f){return this.__data__.set(f,e),this}D.exports=g},fyUT:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),o=e.n(c),i=e("Ff2n"),n=e("rePB"),a=e("1OyB"),u=e("vuIU"),r=e("Ji7U"),l=e("md7G"),t=e("foSv"),s=e("4IlW");function d(z,X){var G=Object.keys(z);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(z);X&&(le=le.filter(function(Y){return Object.getOwnPropertyDescriptor(z,Y).enumerable})),G.push.apply(G,le)}return G}function p(z){for(var X=1;X<arguments.length;X++){var G=arguments[X]!=null?arguments[X]:{};X%2?d(Object(G),!0).forEach(function(le){Object(n.a)(z,le,G[le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(G)):d(Object(G)).forEach(function(le){Object.defineProperty(z,le,Object.getOwnPropertyDescriptor(G,le))})}return z}function b(z){var X=w();return function(){var le=Object(t.a)(z),Y;if(X){var me=Object(t.a)(this).constructor;Y=Reflect.construct(le,arguments,me)}else Y=le.apply(this,arguments);return Object(l.a)(this,Y)}}function w(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(z){return!1}}function E(){}function S(z){z.preventDefault()}var x=function(X){return X.replace(/[^\w.-]+/g,"")},T=200,L=600,y=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(X){return X!=null},O=function(X,G){return G===X||typeof G=="number"&&typeof X=="number"&&isNaN(G)&&isNaN(X)},N=function(z){Object(r.a)(G,z);var X=b(G);function G(le){var Y;Object(a.a)(this,G),Y=X.call(this,le),Y.onKeyDown=function(pe){var Fe=Y.props,Xe=Fe.onKeyDown,dt=Fe.onPressEnter;if(pe.keyCode===s.a.UP){var Ee=Y.getRatio(pe);Y.up(pe,Ee,null),Y.stop()}else if(pe.keyCode===s.a.DOWN){var Se=Y.getRatio(pe);Y.down(pe,Se,null),Y.stop()}else pe.keyCode===s.a.ENTER&&dt&&dt(pe);if(Y.recordCursorPosition(),Y.lastKeyCode=pe.keyCode,Xe){for(var at=arguments.length,_e=new Array(at>1?at-1:0),ce=1;ce<at;ce++)_e[ce-1]=arguments[ce];Xe.apply(void 0,[pe].concat(_e))}},Y.onKeyUp=function(pe){var Fe=Y.props.onKeyUp;if(Y.stop(),Y.recordCursorPosition(),Fe){for(var Xe=arguments.length,dt=new Array(Xe>1?Xe-1:0),Ee=1;Ee<Xe;Ee++)dt[Ee-1]=arguments[Ee];Fe.apply(void 0,[pe].concat(dt))}},Y.onChange=function(pe){var Fe=Y.props.onChange;Y.state.focused&&(Y.inputting=!0),Y.rawInput=Y.props.parser(Y.getValueFromEvent(pe)),Y.setState({inputValue:Y.rawInput}),Fe(Y.toNumber(Y.rawInput))},Y.onMouseUp=function(){var pe=Y.props.onMouseUp;Y.recordCursorPosition(),pe&&pe.apply(void 0,arguments)},Y.onFocus=function(){var pe;Y.setState({focused:!0}),(pe=Y.props).onFocus.apply(pe,arguments)},Y.onBlur=function(){var pe=Y.props.onBlur;Y.inputting=!1,Y.setState({focused:!1});var Fe=Y.getCurrentValidValue(Y.state.inputValue),Xe=Y.setValue(Fe,E);if(pe){var dt=Y.input.value,Ee=Y.getInputDisplayValue({focus:!1,value:Xe});Y.input.value=Ee&&Number(Ee),pe.apply(void 0,arguments),Y.input.value=dt}},Y.getRatio=function(pe){var Fe=1;return pe.metaKey||pe.ctrlKey?Fe=.1:pe.shiftKey&&(Fe=10),Fe},Y.getFullNum=function(pe){return isNaN(pe)?pe:/e/i.test(String(pe))?Number(pe).toFixed(18).replace(/\.?0+$/,""):pe},Y.getPrecision=function(pe){if(C(Y.props.precision))return Y.props.precision;var Fe=String(pe);if(Fe.indexOf("e-")>=0)return parseInt(Fe.slice(Fe.indexOf("e-")+2),10);var Xe=0;return Fe.indexOf(".")>=0&&(Xe=Fe.length-Fe.indexOf(".")-1),Xe},Y.getInputDisplayValue=function(pe){var Fe=pe||Y.state,Xe=Fe.focused,dt=Fe.inputValue,Ee=Fe.value,Se;Xe?Se=dt:Se=Y.toPrecisionAsStep(Ee),Se==null&&(Se="");var at=Y.formatWrapper(Se);return C(Y.props.decimalSeparator)&&(at=at.toString().replace(".",Y.props.decimalSeparator)),at},Y.recordCursorPosition=function(){try{Y.cursorStart=Y.input.selectionStart,Y.cursorEnd=Y.input.selectionEnd,Y.currentValue=Y.input.value,Y.cursorBefore=Y.input.value.substring(0,Y.cursorStart),Y.cursorAfter=Y.input.value.substring(Y.cursorEnd)}catch(pe){}},Y.restoreByAfter=function(pe){if(pe===void 0)return!1;var Fe=Y.input.value,Xe=Fe.lastIndexOf(pe);if(Xe===-1)return!1;var dt=Y.cursorBefore.length;return Y.lastKeyCode===s.a.DELETE&&Y.cursorBefore.charAt(dt-1)===pe[0]?(Y.fixCaret(dt,dt),!0):Xe+pe.length===Fe.length?(Y.fixCaret(Xe,Xe),!0):!1},Y.partRestoreByAfter=function(pe){return pe===void 0?!1:Array.prototype.some.call(pe,function(Fe,Xe){var dt=pe.substring(Xe);return Y.restoreByAfter(dt)})},Y.isNotCompleteNumber=function(pe){return isNaN(pe)||pe===""||pe===null||pe&&pe.toString().indexOf(".")===pe.toString().length-1},Y.stop=function(){Y.autoStepTimer&&clearTimeout(Y.autoStepTimer)},Y.down=function(pe,Fe,Xe){Y.pressingUpOrDown=!0,Y.step("down",pe,Fe,Xe)},Y.up=function(pe,Fe,Xe){Y.pressingUpOrDown=!0,Y.step("up",pe,Fe,Xe)},Y.saveInput=function(pe){Y.input=pe};var me=le.value;me===void 0&&(me=le.defaultValue),Y.state={focused:le.autoFocus};var we=Y.getValidValue(Y.toNumber(me));return Y.state=p(p({},Y.state),{},{inputValue:Y.toPrecisionAsStep(we),value:we}),Y}return Object(u.a)(G,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(Y){var me=this.props,we=me.value,pe=me.onChange,Fe=me.max,Xe=me.min,dt=this.state.focused;if(Y){if(!O(Y.value,we)||!O(Y.max,Fe)||!O(Y.min,Xe)){var Ee=dt?we:this.getValidValue(we),Se;this.pressingUpOrDown?Se=Ee:this.inputting?Se=this.rawInput:Se=this.toPrecisionAsStep(Ee),this.setState({value:Ee,inputValue:Se})}var at="value"in this.props?we:this.state.value;"max"in this.props&&Y.max!==Fe&&typeof at=="number"&&at>Fe&&pe&&pe(Fe),"min"in this.props&&Y.min!==Xe&&typeof at=="number"&&at<Xe&&pe&&pe(Xe)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var _e=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?_e=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(_e=this.cursorStart):_e=this.input.value.length,this.fixCaret(_e,_e)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(ce){}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(Y){var me=Y;return me===""?me="":this.isNotCompleteNumber(parseFloat(me))?me=this.state.value:me=this.getValidValue(me),this.toNumber(me)}},{key:"getValueFromEvent",value:function(Y){var me=Y.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(me=me.replace(this.props.decimalSeparator,".")),me}},{key:"getValidValue",value:function(Y){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,pe=parseFloat(Y);return isNaN(pe)?Y:(pe<me&&(pe=me),pe>we&&(pe=we),pe)}},{key:"setValue",value:function(Y,me){var we=this.props.precision,pe=this.isNotCompleteNumber(parseFloat(Y))?null:parseFloat(Y),Fe=this.state.value,Xe=Fe===void 0?null:Fe,dt=this.state.inputValue,Ee=dt===void 0?null:dt,Se=typeof pe=="number"?pe.toFixed(we):"".concat(pe),at=pe!==Xe||Se!=="".concat(Ee);return"value"in this.props?(Ee=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:Ee},me)):this.setState({value:pe,inputValue:this.toPrecisionAsStep(Y)},me),at&&this.props.onChange(pe),pe}},{key:"getMaxPrecision",value:function(Y){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,we=this.props,pe=we.precision,Fe=we.step;if(C(pe))return pe;var Xe=this.getPrecision(me),dt=this.getPrecision(Fe),Ee=this.getPrecision(Y);return Y?Math.max(Ee,Xe+dt):Xe+dt}},{key:"getPrecisionFactor",value:function(Y){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,we=this.getMaxPrecision(Y,me);return Math.pow(10,we)}},{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(Y){return this.props.formatter?this.props.formatter(Y):Y}},{key:"toPrecisionAsStep",value:function(Y){if(this.isNotCompleteNumber(Y)||Y==="")return Y;var me=Math.abs(this.getMaxPrecision(Y));return isNaN(me)?Y.toString():Number(Y).toFixed(me)}},{key:"toNumber",value:function(Y){var me=this.props.precision,we=this.state.focused,pe=Y&&Y.length>16&&we;return this.isNotCompleteNumber(Y)||pe?Y:C(me)?Math.round(Y*Math.pow(10,me))/Math.pow(10,me):Number(Y)}},{key:"upStep",value:function(Y,me){var we=this.props.step,pe=this.getPrecisionFactor(Y,me),Fe=Math.abs(this.getMaxPrecision(Y,me)),Xe=((pe*Y+pe*we*me)/pe).toFixed(Fe);return this.toNumber(Xe)}},{key:"downStep",value:function(Y,me){var we=this.props.step,pe=this.getPrecisionFactor(Y,me),Fe=Math.abs(this.getMaxPrecision(Y,me)),Xe=((pe*Y-pe*we*me)/pe).toFixed(Fe);return this.toNumber(Xe)}},{key:"step",value:function(Y,me){var we=this,pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Fe=arguments.length>3?arguments[3]:void 0;this.stop(),me&&(me.persist(),me.preventDefault());var Xe=this.props;if(Xe.disabled)return;var dt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(dt))return;var Ee=this["".concat(Y,"Step")](dt,pe),Se=Ee>Xe.max||Ee<Xe.min;if(Ee>Xe.max?Ee=Xe.max:Ee<Xe.min&&(Ee=Xe.min),this.setValue(Ee,null),this.setState({focused:!0},function(){we.pressingUpOrDown=!1}),Se)return;this.autoStepTimer=setTimeout(function(){we[Y](me,pe,!0)},Fe?T:L)}},{key:"fixCaret",value:function(Y,me){if(Y===void 0||me===void 0||!this.input||!this.input.value)return;try{var we=this.input.selectionStart,pe=this.input.selectionEnd;(Y!==we||me!==pe)&&this.input.setSelectionRange(Y,me)}catch(Fe){}}},{key:"render",value:function(){var Y,me=this.props,we=me.prefixCls,pe=me.disabled,Fe=me.readOnly,Xe=me.useTouch,dt=me.autoComplete,Ee=me.upHandler,Se=me.downHandler,at=me.className,_e=me.max,ce=me.min,ee=me.style,se=me.title,ke=me.onMouseEnter,Ce=me.onMouseLeave,ze=me.onMouseOver,Oe=me.onMouseOut,ae=me.required,ge=me.onClick,Le=me.tabIndex,Ze=me.type,vt=me.placeholder,Ct=me.id,Be=me.inputMode,Rt=me.pattern,He=me.step,wt=me.maxLength,Ge=me.autoFocus,et=me.name,rt=me.onPaste,lt=Object(i.a)(me,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste"]),Ve=this.state,ie=Ve.value,$=Ve.focused,it=o()(we,(Y={},Object(n.a)(Y,at,!!at),Object(n.a)(Y,"".concat(we,"-disabled"),pe),Object(n.a)(Y,"".concat(we,"-focused"),$),Y)),Qe={};Object.keys(lt).forEach(function(fe){(fe.substr(0,5)==="data-"||fe.substr(0,5)==="aria-"||fe==="role")&&(Qe[fe]=lt[fe])});var ye=!Fe&&!pe,Zt=this.getInputDisplayValue(null),ht=(ie||ie===0)&&(isNaN(ie)||Number(ie)>=_e),ct=(ie||ie===0)&&(isNaN(ie)||Number(ie)<=ce),yt=ht||pe||Fe,It=ct||pe||Fe,or=o()("".concat(we,"-handler"),"".concat(we,"-handler-up"),Object(n.a)({},"".concat(we,"-handler-up-disabled"),yt)),Bt=o()("".concat(we,"-handler"),"".concat(we,"-handler-down"),Object(n.a)({},"".concat(we,"-handler-down-disabled"),It)),Ae=Xe?{onTouchStart:yt?E:this.up,onTouchEnd:this.stop}:{onMouseDown:yt?E:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ve=Xe?{onTouchStart:It?E:this.down,onTouchEnd:this.stop}:{onMouseDown:It?E:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return h.a.createElement("div",{className:it,style:ee,title:se,onMouseEnter:ke,onMouseLeave:Ce,onMouseOver:ze,onMouseOut:Oe,onFocus:function(){return null},onBlur:function(){return null}},h.a.createElement("div",{className:"".concat(we,"-handler-wrap")},h.a.createElement("span",Object.assign({unselectable:"on"},Ae,{role:"button","aria-label":"Increase Value","aria-disabled":yt,className:or}),Ee||h.a.createElement("span",{unselectable:"on",className:"".concat(we,"-handler-up-inner"),onClick:S})),h.a.createElement("span",Object.assign({unselectable:"on"},ve,{role:"button","aria-label":"Decrease Value","aria-disabled":It,className:Bt}),Se||h.a.createElement("span",{unselectable:"on",className:"".concat(we,"-handler-down-inner"),onClick:S}))),h.a.createElement("div",{className:"".concat(we,"-input-wrap")},h.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":ce,"aria-valuemax":_e,"aria-valuenow":ie,required:ae,type:Ze,placeholder:vt,onPaste:rt,onClick:ge,onMouseUp:this.onMouseUp,className:"".concat(we,"-input"),tabIndex:Le,autoComplete:dt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:ye?this.onKeyDown:E,onKeyUp:ye?this.onKeyUp:E,autoFocus:Ge,maxLength:wt,readOnly:Fe,disabled:pe,max:_e,min:ce,step:He,name:et,title:se,id:Ct,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Zt),pattern:Rt,inputMode:Be},Qe))))}}]),G}(h.a.Component);N.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:y,min:-y,step:1,style:{},onChange:E,onKeyDown:E,onPressEnter:E,onFocus:E,onBlur:E,parser:x,required:!1,autoComplete:"off"};var k=N,F=k,B=e("FH2Y"),H=e.n(B),W=e("HQEm"),R=e.n(W),U=e("H84U"),j=e("3Nzz"),P=function(z,X){var G={};for(var le in z)Object.prototype.hasOwnProperty.call(z,le)&&X.indexOf(le)<0&&(G[le]=z[le]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,le=Object.getOwnPropertySymbols(z);Y<le.length;Y++)X.indexOf(le[Y])<0&&Object.prototype.propertyIsEnumerable.call(z,le[Y])&&(G[le[Y]]=z[le[Y]]);return G},K=v.forwardRef(function(z,X){var G=function(Y){var me=Y.getPrefixCls,we=Y.direction,pe=z.className,Fe=z.size,Xe=z.prefixCls,dt=z.readOnly,Ee=P(z,["className","size","prefixCls","readOnly"]),Se=me("input-number",Xe),at=v.createElement(H.a,{className:"".concat(Se,"-handler-up-inner")}),_e=v.createElement(R.a,{className:"".concat(Se,"-handler-down-inner")});return v.createElement(j.b.Consumer,null,function(ce){var ee,se=Fe||ce,ke=o()((ee={},m()(ee,"".concat(Se,"-lg"),se==="large"),m()(ee,"".concat(Se,"-sm"),se==="small"),m()(ee,"".concat(Se,"-rtl"),we==="rtl"),m()(ee,"".concat(Se,"-readonly"),dt),ee),pe);return v.createElement(F,f()({ref:X,className:ke,upHandler:at,downHandler:_e,prefixCls:Se,readOnly:dt},Ee))})};return v.createElement(U.a,null,G)});K.defaultProps={step:1};var V=_.a=K},g0SD:function(D,_,e){var g=e("bYtY"),f=e("9wZj"),A=e("OELB"),m=e("YXkt"),v=e("kj2x"),h=e("iPDy");function c(n,a,u){var r=a.coordinateSystem;n.each(function(l){var t=n.getItemModel(l),s,d=A.parsePercent(t.get("x"),u.getWidth()),p=A.parsePercent(t.get("y"),u.getHeight());if(!isNaN(d)&&!isNaN(p))s=[d,p];else if(a.getMarkerPosition)s=a.getMarkerPosition(n.getValues(n.dimensions,l));else if(r){var b=n.get(r.dimensions[0],l),w=n.get(r.dimensions[1],l);s=r.dataToPoint([b,w])}isNaN(d)||(s[0]=d),isNaN(p)||(s[1]=p),n.setItemLayout(l,s)})}var o=h.extend({type:"markPoint",updateTransform:function(n,a,u){a.eachSeries(function(r){var l=r.markPointModel;l&&(c(l.getData(),r,u),this.markerGroupMap.get(r.id).updateLayout(l))},this)},renderSeries:function(n,a,u,r){var l=n.coordinateSystem,t=n.id,s=n.getData(),d=this.markerGroupMap,p=d.get(t)||d.set(t,new f),b=i(l,n,a);a.setData(b),c(a.getData(),n,r),b.each(function(w){var E=b.getItemModel(w),S=E.getShallow("symbol"),x=E.getShallow("symbolSize"),T=g.isFunction(S),L=g.isFunction(x);if(T||L){var y=a.getRawValue(w),C=a.getDataParams(w);T&&(S=S(y,C)),L&&(x=x(y,C))}b.setItemVisual(w,{symbol:S,symbolSize:x,color:E.get("itemStyle.color")||s.getVisual("color")})}),p.updateData(b),this.group.add(p.group),b.eachItemGraphicEl(function(w){w.traverse(function(E){E.dataModel=a})}),p.__keep=!0,p.group.silent=a.get("silent")||n.get("silent")}});function i(n,a,u){var r;n?r=g.map(n&&n.dimensions,function(s){var d=a.getData().getDimensionInfo(a.getData().mapDimension(s))||{};return g.defaults({name:s},d)}):r=[{name:"value",type:"float"}];var l=new m(r,u),t=g.map(u.get("data"),g.curry(v.dataTransform,a));return n&&(t=g.filter(t,g.curry(v.dataFilter,n))),l.initData(t,null,n?v.dimValueGetter:function(s){return s.value}),l}D.exports=o},g7p0:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),A=e("+TT/"),m=A.getLayoutParams,v=A.sizeCalculable,h=A.mergeLayoutParam,c=f.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(n,a,u,r){var l=m(n);c.superApply(this,"init",arguments),o(n,l)},mergeOption:function(n,a){c.superApply(this,"mergeOption",arguments),o(this.option,n)}});function o(n,a){var u=n.cellSize;g.isArray(u)?u.length===1&&(u[1]=u[0]):u=n.cellSize=[u,u];var r=g.map([0,1],function(l){return v(a,l)&&(u[l]="auto"),u[l]!=null&&u[l]!=="auto"});h(n,a,{type:"box",ignoreSize:r})}var i=c;D.exports=i},g9YV:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("pED+"),m=e.n(A),v=e("+L6B"),h=e("R9oj"),c=e("7Kak"),o=e("sRBo"),i=e("qVdP"),n=e("T2oS"),a=e("DjyN"),u=e("5Dmo")},gCq4:function(D,_){function e(g){return this.__data__.get(g)}D.exports=e},gIYZ:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={Backspace:"Backspace",AltLeft:"Alt",AltRight:"Alt",CapsLock:"CapsLock",ContextMenu:"ContextMenu",ControlLeft:"Control",ControlRight:"Control",Enter:"Enter",MetaLeft:"Meta",MetaRight:"Meta",ShiftLeft:"Shift",ShiftRight:"Shift",Tab:"Tab",Delete:"Delete",End:"End",Help:"Help",Home:"Home",Insert:"Insert",PageDown:"PageDown",PageUp:"PageUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp",NumLock:"NumLock",NumpadBackspace:"Backspace",NumpadClear:"Clear",Escape:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",F13:"F13",F14:"F14",F15:"F15",F16:"F16",F17:"F17",F18:"F18",F19:"F19",F20:"F20",F21:"F21",F22:"F22",F23:"F23",F24:"F24",F25:"F25",F26:"F26",F27:"F27",F28:"F28",F29:"F29",F30:"F30",F31:"F31",F32:"F32",F33:"F33",F34:"F34",F35:"F35",PrintScreen:"PrintScreen",ScrollLock:"ScrollLock",Pause:"Pause",BrowserBack:"BrowserBack",BrowserFavorites:"BrowserFavorites",BrowserForward:"BrowserForward",BrowserHome:"BrowserHome",BrowserRefresh:"BrowserRefresh",BrowserSearch:"BrowserSearch",BrowserStop:"BrowserStop",Eject:"Eject",LaunchApp1:"LaunchMyComputer",LaunchApp2:"LaunchCalendar",LaunchMail:"LaunchMail",MediaPlayPause:"MediaPlay",MediaStop:"MediaStop",MediaTrackNext:"MediaTrackNext",MediaTrackPrevious:"MediaTrackPrevious",Power:"Power",Sleep:"Sleep",AudioVolumeDown:"AudioVolumeDown",AudioVolumeMute:"AudioVolumeMute",AudioVolumeUp:"AudioVolumeUp",WakeUp:"WakeUp"};_.default=g},gKaM:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};_.default=g},gPAo:function(D,_){function e(m){return m}function g(m,v,h,c,o){this._old=m,this._new=v,this._oldKeyGetter=h||e,this._newKeyGetter=c||e,this.context=o}g.prototype={constructor:g,add:function(m){return this._add=m,this},update:function(m){return this._update=m,this},remove:function(m){return this._remove=m,this},execute:function(){var m=this._old,v=this._new,h={},c={},o=[],i=[],n;for(f(m,h,o,"_oldKeyGetter",this),f(v,c,i,"_newKeyGetter",this),n=0;n<m.length;n++){var a=o[n],u=c[a];if(u!=null){var r=u.length;r?(r===1&&(c[a]=null),u=u.shift()):c[a]=null,this._update&&this._update(u,n)}else this._remove&&this._remove(n)}for(var n=0;n<i.length;n++){var a=i[n];if(c.hasOwnProperty(a)){var u=c[a];if(u==null)continue;if(!u.length)this._add&&this._add(u);else for(var l=0,r=u.length;l<r;l++)this._add&&this._add(u[l])}}}};function f(m,v,h,c,o){for(var i=0;i<m.length;i++){var n="_ec_"+o[c](m[i],i),a=v[n];a==null?(h.push(n),v[n]=i):(a.length||(v[n]=a=[a]),a.push(i))}}var A=g;D.exports=A},gRFJ:function(D,_,e){D.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(D){return D<10?"0"+D:D}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(D){return rx_escapable.lastIndex=0,rx_escapable.test(D)?'"'+D.replace(rx_escapable,function(_){var e=meta[_];return typeof e=="string"?e:"\\u"+("0000"+_.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+D+'"'}function str(D,_){var e,g,f,A,m=gap,v,h=_[D];h&&typeof h=="object"&&typeof h.toJSON=="function"&&(h=h.toJSON(D)),typeof rep=="function"&&(h=rep.call(_,D,h));switch(typeof h){case"string":return quote(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(gap+=indent,v=[],Object.prototype.toString.apply(h)==="[object Array]"){for(A=h.length,e=0;e<A;e+=1)v[e]=str(e,h)||"null";return f=v.length===0?"[]":gap?`[
`+gap+v.join(`,
`+gap)+`
`+m+"]":"["+v.join(",")+"]",gap=m,f}if(rep&&typeof rep=="object")for(A=rep.length,e=0;e<A;e+=1)typeof rep[e]=="string"&&(g=rep[e],f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));else for(g in h)Object.prototype.hasOwnProperty.call(h,g)&&(f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));return f=v.length===0?"{}":gap?`{
`+gap+v.join(`,
`+gap)+`
`+m+"}":"{"+v.join(",")+"}",gap=m,f}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(D,_,e){var g;if(gap="",indent="",typeof e=="number")for(g=0;g<e;g+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=_,_&&typeof _!="function"&&(typeof _!="object"||typeof _.length!="number"))throw new Error("JSON.stringify");return str("",{"":D})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(D,_){var e,g,f=D[_];if(f&&typeof f=="object")for(e in f)Object.prototype.hasOwnProperty.call(f,e)&&(g=walk(f,e),g!==void 0?f[e]=g:delete f[e]);return reviver.call(D,_,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(D){return"\\u"+("0000"+D.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(D,_,e){var g=e("+TT/"),f=e("bYtY"),A=e("4NO4"),m=A.groupData;function v(O,N,k){O.eachSeriesByType("sankey",function(F){var B=F.get("nodeWidth"),H=F.get("nodeGap"),W=h(F,N);F.layoutInfo=W;var R=W.width,U=W.height,j=F.getGraph(),P=j.nodes,K=j.edges;o(P);var V=f.filter(P,function(le){return le.getLayout().value===0}),z=V.length!==0?0:F.get("layoutIterations"),X=F.get("orient"),G=F.get("nodeAlign");c(P,K,B,H,R,U,z,X,G)})}function h(O,N){return g.getLayoutRect(O.getBoxLayoutParams(),{width:N.getWidth(),height:N.getHeight()})}function c(O,N,k,F,B,H,W,R,U){i(O,N,k,B,H,R,U),l(O,N,H,B,F,W,R),C(O,R)}function o(O){f.each(O,function(N){var k=L(N.outEdges,T),F=L(N.inEdges,T),B=N.getValue()||0,H=Math.max(k,F,B);N.setLayout({value:H},!0)})}function i(O,N,k,F,B,H,W){for(var R=[],U=[],j=[],P=[],K=0,V=0,z=0;z<N.length;z++)R[z]=1;for(z=0;z<O.length;z++)U[z]=O[z].inEdges.length,U[z]===0&&j.push(O[z]);for(var X=-1;j.length;){for(var G=0;G<j.length;G++){var le=j[G],Y=le.hostGraph.data.getRawDataItem(le.dataIndex),me=Y.depth!=null&&Y.depth>=0;me&&Y.depth>X&&(X=Y.depth),le.setLayout({depth:me?Y.depth:K},!0),H==="vertical"?le.setLayout({dy:k},!0):le.setLayout({dx:k},!0);for(var we=0;we<le.outEdges.length;we++){var pe=le.outEdges[we],Fe=N.indexOf(pe);R[Fe]=0;var Xe=pe.node2,dt=O.indexOf(Xe);--U[dt]===0&&P.indexOf(Xe)<0&&P.push(Xe)}}++K,j=P,P=[]}for(z=0;z<R.length;z++)if(R[z]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Ee=X>K-1?X:K-1;W&&W!=="left"&&a(O,W,H,Ee);var V=H==="vertical"?(B-k)/Ee:(F-k)/Ee;r(O,V,H)}function n(O){var N=O.hostGraph.data.getRawDataItem(O.dataIndex);return N.depth!=null&&N.depth>=0}function a(O,N,k,F){if(N==="right"){for(var B=[],H=O,W=0;H.length;){for(var R=0;R<H.length;R++){var U=H[R];U.setLayout({skNodeHeight:W},!0);for(var j=0;j<U.inEdges.length;j++){var P=U.inEdges[j];B.indexOf(P.node1)<0&&B.push(P.node1)}}H=B,B=[],++W}f.each(O,function(K){n(K)||K.setLayout({depth:Math.max(0,F-K.getLayout().skNodeHeight)},!0)})}else N==="justify"&&u(O,F)}function u(O,N){f.each(O,function(k){!n(k)&&!k.outEdges.length&&k.setLayout({depth:N},!0)})}function r(O,N,k){f.each(O,function(F){var B=F.getLayout().depth*N;k==="vertical"?F.setLayout({y:B},!0):F.setLayout({x:B},!0)})}function l(O,N,k,F,B,H,W){var R=t(O,W);s(R,N,k,F,B,W),d(R,B,k,F,W);for(var U=1;H>0;H--)U*=.99,p(R,U,W),d(R,B,k,F,W),y(R,U,W),d(R,B,k,F,W)}function t(O,N){var k=[],F=N==="vertical"?"y":"x",B=m(O,function(H){return H.getLayout()[F]});return B.keys.sort(function(H,W){return H-W}),f.each(B.keys,function(H){k.push(B.buckets.get(H))}),k}function s(O,N,k,F,B,H){var W=Infinity;f.each(O,function(R){var U=R.length,j=0;f.each(R,function(K){j+=K.getLayout().value});var P=H==="vertical"?(F-(U-1)*B)/j:(k-(U-1)*B)/j;P<W&&(W=P)}),f.each(O,function(R){f.each(R,function(U,j){var P=U.getLayout().value*W;H==="vertical"?(U.setLayout({x:j},!0),U.setLayout({dx:P},!0)):(U.setLayout({y:j},!0),U.setLayout({dy:P},!0))})}),f.each(N,function(R){var U=+R.getValue()*W;R.setLayout({dy:U},!0)})}function d(O,N,k,F,B){var H=B==="vertical"?"x":"y";f.each(O,function(W){W.sort(function(G,le){return G.getLayout()[H]-le.getLayout()[H]});for(var R,U,j,P=0,K=W.length,V=B==="vertical"?"dx":"dy",z=0;z<K;z++)U=W[z],j=P-U.getLayout()[H],j>0&&(R=U.getLayout()[H]+j,B==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),P=U.getLayout()[H]+U.getLayout()[V]+N;var X=B==="vertical"?F:k;if(j=P-N-X,j>0)for(R=U.getLayout()[H]-j,B==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0),P=R,z=K-2;z>=0;--z)U=W[z],j=U.getLayout()[H]+U.getLayout()[V]+N-P,j>0&&(R=U.getLayout()[H]-j,B==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),P=U.getLayout()[H]})}function p(O,N,k){f.each(O.slice().reverse(),function(F){f.each(F,function(B){if(B.outEdges.length){var H=L(B.outEdges,b,k)/L(B.outEdges,T,k);if(isNaN(H)){var W=B.outEdges.length;H=W?L(B.outEdges,w,k)/W:0}if(k==="vertical"){var R=B.getLayout().x+(H-x(B,k))*N;B.setLayout({x:R},!0)}else{var U=B.getLayout().y+(H-x(B,k))*N;B.setLayout({y:U},!0)}}})})}function b(O,N){return x(O.node2,N)*O.getValue()}function w(O,N){return x(O.node2,N)}function E(O,N){return x(O.node1,N)*O.getValue()}function S(O,N){return x(O.node1,N)}function x(O,N){return N==="vertical"?O.getLayout().x+O.getLayout().dx/2:O.getLayout().y+O.getLayout().dy/2}function T(O){return O.getValue()}function L(O,N,k){for(var F=0,B=O.length,H=-1;++H<B;){var W=+N.call(O,O[H],k);isNaN(W)||(F+=W)}return F}function y(O,N,k){f.each(O,function(F){f.each(F,function(B){if(B.inEdges.length){var H=L(B.inEdges,E,k)/L(B.inEdges,T,k);if(isNaN(H)){var W=B.inEdges.length;H=W?L(B.inEdges,S,k)/W:0}if(k==="vertical"){var R=B.getLayout().x+(H-x(B,k))*N;B.setLayout({x:R},!0)}else{var U=B.getLayout().y+(H-x(B,k))*N;B.setLayout({y:U},!0)}}})})}function C(O,N){var k=N==="vertical"?"x":"y";f.each(O,function(F){F.outEdges.sort(function(B,H){return B.node2.getLayout()[k]-H.node2.getLayout()[k]}),F.inEdges.sort(function(B,H){return B.node1.getLayout()[k]-H.node1.getLayout()[k]})}),f.each(O,function(F){var B=0,H=0;f.each(F.outEdges,function(W){W.setLayout({sy:B},!0),B+=W.getLayout().dy}),f.each(F.inEdges,function(W){W.setLayout({ty:H},!0),H+=W.getLayout().dy})})}D.exports=v},"giR+":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("QbM5"),m=e.n(A)},gut8:function(D,_){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},g=9;_.ContextCachedBy=e,_.WILL_BE_RESTORED=g},gvm7:function(D,_,e){var g=e("bYtY"),f=e("dqUG");function A(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}A.prototype={constructor:A,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,h,c){this.el&&this._zr.remove(this.el);for(var o={},i=v,n="{marker",a="|}",u=i.indexOf(n);u>=0;){var r=i.indexOf(a),l=i.substr(u+n.length,r-u-n.length);l.indexOf("sub")>-1?o["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:h[l],textOffset:[3,0]}:o["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:h[l]},i=i.substr(r+1),u=i.indexOf("{marker")}this.el=new f({style:{rich:o,text:v,textLineHeight:20,textBackgroundColor:c.get("backgroundColor"),textBorderRadius:c.get("borderRadius"),textFill:c.get("textStyle.color"),textPadding:c.get("padding")},z:c.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,h){this.el&&this.el.attr("position",[v,h])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(v){this._show&&!(this._inContent&&this._enterable)&&(v?(this._hideDelay=v,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),v)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var v=this.getSize();return{width:v[0],height:v[1]}}};var m=A;D.exports=m},gwTy:function(D,_,e){},h54F:function(D,_,e){var g=e("ProS"),f=e("YXkt"),A=e("bYtY"),m=e("4NO4"),v=m.defaultEmphasis,h=e("Qxkt"),c=e("7aKB"),o=c.encodeHTML,i=e("I3/A"),n=e("xKMd"),a=g.extendSeriesModel({type:"series.graph",init:function(r){a.superApply(this,"init",arguments);var l=this;function t(){return l._categoriesData}this.legendVisualProvider=new n(t,t),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeOption:function(r){a.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(r){a.superApply(this,"mergeDefaultAndTheme",arguments),v(r,["edgeLabel"],["show"])},getInitialData:function(r,l){var t=r.edges||r.links||[],s=r.data||r.nodes||[],d=this;if(s&&t)return i(s,t,this,!0,p).data;function p(b,w){b.wrapMethod("getItemModel",function(y){var C=d._categoriesModels,O=y.getShallow("category"),N=C[O];return N&&(N.parentModel=y.parentModel,y.parentModel=N),y});var E=d.getModel("edgeLabel"),S=new h({label:E.option},E.parentModel,l),x=d.getModel("emphasis.edgeLabel"),T=new h({emphasis:{label:x.option}},x.parentModel,l);w.wrapMethod("getItemModel",function(y){return y.customizeGetParent(L),y});function L(y){return y=this.parsePath(y),y&&y[0]==="label"?S:y&&y[0]==="emphasis"&&y[1]==="label"?T:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(r,l,t){if(t==="edge"){var s=this.getData(),d=this.getDataParams(r,t),p=s.graph.getEdgeByIndex(r),b=s.getName(p.node1.dataIndex),w=s.getName(p.node2.dataIndex),E=[];return b!=null&&E.push(b),w!=null&&E.push(w),E=o(E.join(" > ")),d.value&&(E+=" : "+o(d.value)),E}else return a.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var r=A.map(this.option.categories||[],function(t){return t.value!=null?t:A.extend({value:0},t)}),l=new f(["value"],this);l.initData(r),this._categoriesData=l,this._categoriesModels=l.mapArray(function(t){return l.getItemModel(t,!0)})},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},isAnimationEnabled:function(){return a.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}}}}),u=a;D.exports=u},h7HQ:function(D,_,e){var g=e("y+Vt"),f=e("T6xi"),A=g.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,h){f.buildPath(v,h,!0)}});D.exports=A},h8O9:function(D,_,e){var g=e("bYtY"),f=g.map,A=e("zM3Q"),m=e("7hqr"),v=m.isDimensionStacked;function h(c){return{seriesType:c,plan:A(),reset:function(o){var i=o.getData(),n=o.coordinateSystem,a=o.pipelineContext,u=a.large;if(!n)return;var r=f(n.dimensions,function(d){return i.mapDimension(d)}).slice(0,2),l=r.length,t=i.getCalculationInfo("stackResultDimension");v(i,r[0])&&(r[0]=t),v(i,r[1])&&(r[1]=t);function s(d,p){for(var b=d.end-d.start,w=u&&new Float32Array(b*l),E=d.start,S=0,x=[],T=[];E<d.end;E++){var L;if(l===1){var y=p.get(r[0],E);L=!isNaN(y)&&n.dataToPoint(y,null,T)}else{var y=x[0]=p.get(r[0],E),C=x[1]=p.get(r[1],E);L=!isNaN(y)&&!isNaN(C)&&n.dataToPoint(x,null,T)}u?(w[S++]=L?L[0]:NaN,w[S++]=L?L[1]:NaN):p.setItemLayout(E,L&&L.slice()||[NaN,NaN])}u&&p.setLayout("symbolPoints",w)}return l&&{progress:s}}}}D.exports=h},hD7B:function(D,_,e){var g=e("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function A(v){g.each(f,function(h){this[h]=g.bind(v[h],v)},this)}var m=A;D.exports=m},hFmY:function(D,_,e){var g=e("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};g.registerAction(f,function(A,m){m.eachComponent({mainType:"parallelAxis",query:A},function(v){v.axis.model.setActiveIntervals(A.intervals)})}),g.registerAction("parallelAxisExpand",function(A,m){m.eachComponent({mainType:"parallel",query:A},function(v){v.setAxisExpand(A)})})},hJvP:function(D,_,e){var g=e("2dDv"),f=e("IDmD");function A(m,v){var h=[];return m.eachComponent("parallel",function(c,o){var i=new g(c,m,v);i.name="parallel_"+o,i.resize(c,v),c.coordinateSystem=i,i.model=c,h.push(i)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="parallel"){var o=m.queryComponents({mainType:"parallel",index:c.get("parallelIndex"),id:c.get("parallelId")})[0];c.coordinateSystem=o.coordinateSystem}}),h}f.register("parallel",{create:A})},hM6l:function(D,_,e){var g=e("bYtY"),f=g.each,A=g.map,m=e("OELB"),v=m.linearMap,h=m.getPixelPrecision,c=m.round,o=e("4HMb"),i=o.createAxisTicks,n=o.createAxisLabels,a=o.calculateCategoryInterval,u=[0,1],r=function(d,p,b){this.dim=d,this.scale=p,this._extent=b||[0,0],this.inverse=!1,this.onBand=!1};r.prototype={constructor:r,contain:function(d){var p=this._extent,b=Math.min(p[0],p[1]),w=Math.max(p[0],p[1]);return d>=b&&d<=w},containData:function(d){return this.scale.contain(d)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(d){return h(d||this.scale.getExtent(),this._extent)},setExtent:function(d,p){var b=this._extent;b[0]=d,b[1]=p},dataToCoord:function(d,p){var b=this._extent,w=this.scale;return d=w.normalize(d),this.onBand&&w.type==="ordinal"&&(b=b.slice(),l(b,w.count())),v(d,u,b,p)},coordToData:function(d,p){var b=this._extent,w=this.scale;this.onBand&&w.type==="ordinal"&&(b=b.slice(),l(b,w.count()));var E=v(d,b,u,p);return this.scale.scale(E)},pointToData:function(d,p){},getTicksCoords:function(d){d=d||{};var p=d.tickModel||this.getTickModel(),b=i(this,p),w=b.ticks,E=A(w,function(x){return{coord:this.dataToCoord(x),tickValue:x}},this),S=p.get("alignWithLabel");return t(this,E,S,d.clamp),E},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var d=this.model.getModel("minorTick"),p=d.get("splitNumber");p>0&&p<100||(p=5);var b=this.scale.getMinorTicks(p),w=A(b,function(E){return A(E,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this)},this);return w},getViewLabels:function(){return n(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var d=this._extent,p=this.scale.getExtent(),b=p[1]-p[0]+(this.onBand?1:0);b===0&&(b=1);var w=Math.abs(d[1]-d[0]);return Math.abs(w)/b},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return a(this)}};function l(d,p){var b=d[1]-d[0],w=p,E=b/w/2;d[0]+=E,d[1]-=E}function t(d,p,b,w){var E=p.length;if(!d.onBand||b||!E)return;var S=d.getExtent(),x,T;if(E===1)p[0].coord=S[0],x=p[1]={coord:S[0]};else{var L=p[E-1].tickValue-p[0].tickValue,y=(p[E-1].coord-p[0].coord)/L;f(p,function(k){k.coord-=y/2});var C=d.scale.getExtent();T=1+C[1]-p[E-1].tickValue,x={coord:p[E-1].coord+y*T},p.push(x)}var O=S[0]>S[1];N(p[0].coord,S[0])&&(w?p[0].coord=S[0]:p.shift()),w&&N(S[0],p[0].coord)&&p.unshift({coord:S[0]}),N(S[1],x.coord)&&(w?x.coord=S[1]:p.pop()),w&&N(x.coord,S[1])&&p.push({coord:S[1]});function N(k,F){return k=c(k),F=c(F),O?k>F:k<F}}var s=r;D.exports=s},hNWo:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("Qxkt"),m=e("4NO4"),v=m.isNameSpecified,h=e("Kagy"),c=h.legend.selector,o={all:{type:"all",title:f.clone(c.all)},inverse:{type:"inverse",title:f.clone(c.inverse)}},i=g.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(a,u,r){this.mergeDefaultAndTheme(a,r),a.selected=a.selected||{},this._updateSelector(a)},mergeOption:function(a){i.superCall(this,"mergeOption",a),this._updateSelector(a)},_updateSelector:function(a){var u=a.selector;u===!0&&(u=a.selector=["all","inverse"]),f.isArray(u)&&f.each(u,function(r,l){f.isString(r)&&(r={type:r}),u[l]=f.merge(r,o[r.type])})},optionUpdated:function(){this._updateData(this.ecModel);var a=this._data;if(a[0]&&this.get("selectedMode")==="single"){for(var u=!1,r=0;r<a.length;r++){var l=a[r].get("name");if(this.isSelected(l)){this.select(l),u=!0;break}}!u&&this.select(a[0].get("name"))}},_updateData:function(a){var u=[],r=[];a.eachRawSeries(function(s){var d=s.name;r.push(d);var p;if(s.legendVisualProvider){var b=s.legendVisualProvider,w=b.getAllNames();a.isSeriesFiltered(s)||(r=r.concat(w)),w.length?u=u.concat(w):p=!0}else p=!0;p&&v(s)&&u.push(s.name)}),this._availableNames=r;var l=this.get("data")||u,t=f.map(l,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new A(s,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(a){var u=this.option.selected,r=this.get("selectedMode");if(r==="single"){var l=this._data;f.each(l,function(t){u[t.get("name")]=!1})}u[a]=!0},unSelect:function(a){this.get("selectedMode")!=="single"&&(this.option.selected[a]=!1)},toggleSelected:function(a){var u=this.option.selected;u.hasOwnProperty(a)||(u[a]=!0),this[u[a]?"unSelect":"select"](a)},allSelect:function(){var a=this._data,u=this.option.selected;f.each(a,function(r){u[r.get("name",!0)]=!0})},inverseSelect:function(){var a=this._data,u=this.option.selected;f.each(a,function(r){var l=r.get("name",!0);u.hasOwnProperty(l)||(u[l]=!0),u[l]=!u[l]})},isSelected:function(a){var u=this.option.selected;return!(u.hasOwnProperty(a)&&!u[a])&&f.indexOf(this._availableNames,a)>=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}}}),n=i;D.exports=n},hOwI:function(D,_){var e=Math.log(2);function g(A,m,v,h,c,o){var i=h+"-"+c,n=A.length;if(o.hasOwnProperty(i))return o[i];if(m===1){var a=Math.round(Math.log((1<<n)-1&~c)/e);return A[v][a]}for(var u=h|1<<v,r=v+1;h&1<<r;)r++;for(var l=0,t=0,s=0;t<n;t++){var d=1<<t;d&c||(l+=(s%2?-1:1)*A[v][t]*g(A,m-1,r,u,c|d,o),s++)}return o[i]=l,l}function f(A,m){var v=[[A[0],A[1],1,0,0,0,-m[0]*A[0],-m[0]*A[1]],[0,0,0,A[0],A[1],1,-m[1]*A[0],-m[1]*A[1]],[A[2],A[3],1,0,0,0,-m[2]*A[2],-m[2]*A[3]],[0,0,0,A[2],A[3],1,-m[3]*A[2],-m[3]*A[3]],[A[4],A[5],1,0,0,0,-m[4]*A[4],-m[4]*A[5]],[0,0,0,A[4],A[5],1,-m[5]*A[4],-m[5]*A[5]],[A[6],A[7],1,0,0,0,-m[6]*A[6],-m[6]*A[7]],[0,0,0,A[6],A[7],1,-m[7]*A[6],-m[7]*A[7]]],h={},c=g(v,8,0,0,0,h);if(c===0)return;for(var o=[],i=0;i<8;i++)for(var n=0;n<8;n++)o[n]==null&&(o[n]=0),o[n]+=((i+n)%2?-1:1)*g(v,7,i===0?1:0,1<<i,1<<n,h)/c*m[i];return function(a,u,r){var l=u*o[6]+r*o[7]+1;a[0]=(u*o[0]+r*o[1]+o[2])/l,a[1]=(u*o[3]+r*o[4]+o[5])/l}}_.buildTransformer=f},hQUZ:function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.InnerSlider=void 0;var f=g(e("cDf5")),A=g(e("pVnL")),m=g(e("QILm")),v=g(e("3tO9")),h=g(e("lwsE")),c=g(e("W8MJ")),o=g(e("PJYZ")),i=g(e("7W2i")),n=g(e("LQ03")),a=g(e("lSNA")),u=g(e("q1tI")),r=g(e("F1Ou")),l=g(e("sEfC")),t=g(e("TSYQ")),s=e("3K4p"),d=e("+uyH"),p=e("coqV"),b=e("3Fjq"),w=g(e("bdgK")),E=function(S){(0,i.default)(T,S);var x=(0,n.default)(T);function T(L){var y;(0,h.default)(this,T),y=x.call(this,L),(0,a.default)((0,o.default)(y),"listRefHandler",function(O){return y.list=O}),(0,a.default)((0,o.default)(y),"trackRefHandler",function(O){return y.track=O}),(0,a.default)((0,o.default)(y),"adaptHeight",function(){if(y.props.adaptiveHeight&&y.list){var O=y.list.querySelector('[data-index="'.concat(y.state.currentSlide,'"]'));y.list.style.height=(0,s.getHeight)(O)+"px"}}),(0,a.default)((0,o.default)(y),"componentDidMount",function(){if(y.props.onInit&&y.props.onInit(),y.props.lazyLoad){var O=(0,s.getOnDemandLazySlides)((0,v.default)((0,v.default)({},y.props),y.state));O.length>0&&(y.setState(function(k){return{lazyLoadedList:k.lazyLoadedList.concat(O)}}),y.props.onLazyLoad&&y.props.onLazyLoad(O))}var N=(0,v.default)({listRef:y.list,trackRef:y.track},y.props);y.updateState(N,!0,function(){y.adaptHeight(),y.props.autoplay&&y.autoPlay("update")}),y.props.lazyLoad==="progressive"&&(y.lazyLoadTimer=setInterval(y.progressiveLazyLoad,1e3)),y.ro=new w.default(function(){y.state.animating?(y.onWindowResized(!1),y.callbackTimers.push(setTimeout(function(){return y.onWindowResized()},y.props.speed))):y.onWindowResized()}),y.ro.observe(y.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(k){k.onfocus=y.props.pauseOnFocus?y.onSlideFocus:null,k.onblur=y.props.pauseOnFocus?y.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",y.onWindowResized):window.attachEvent("onresize",y.onWindowResized)}),(0,a.default)((0,o.default)(y),"componentWillUnmount",function(){y.animationEndCallback&&clearTimeout(y.animationEndCallback),y.lazyLoadTimer&&clearInterval(y.lazyLoadTimer),y.callbackTimers.length&&(y.callbackTimers.forEach(function(O){return clearTimeout(O)}),y.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",y.onWindowResized):window.detachEvent("onresize",y.onWindowResized),y.autoplayTimer&&clearInterval(y.autoplayTimer),y.ro.disconnect()}),(0,a.default)((0,o.default)(y),"componentDidUpdate",function(O){if(y.checkImagesLoad(),y.props.onReInit&&y.props.onReInit(),y.props.lazyLoad){var N=(0,s.getOnDemandLazySlides)((0,v.default)((0,v.default)({},y.props),y.state));N.length>0&&(y.setState(function(B){return{lazyLoadedList:B.lazyLoadedList.concat(N)}}),y.props.onLazyLoad&&y.props.onLazyLoad(N))}y.adaptHeight();var k=(0,v.default)((0,v.default)({listRef:y.list,trackRef:y.track},y.props),y.state),F=y.didPropsChange(O);F&&y.updateState(k,F,function(){y.state.currentSlide>=u.default.Children.count(y.props.children)&&y.changeSlide({message:"index",index:u.default.Children.count(y.props.children)-y.props.slidesToShow,currentSlide:y.state.currentSlide}),(O.autoplay!==y.props.autoplay||O.autoplaySpeed!==y.props.autoplaySpeed)&&(y.props.autoplay?y.autoPlay("update"):y.pause("paused"))})}),(0,a.default)((0,o.default)(y),"onWindowResized",function(O){y.debouncedResize&&y.debouncedResize.cancel(),y.debouncedResize=(0,l.default)(function(){return y.resizeWindow(O)},50),y.debouncedResize()}),(0,a.default)((0,o.default)(y),"resizeWindow",function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,N=Boolean(y.track&&y.track.node);if(!N)return;var k=(0,v.default)((0,v.default)({listRef:y.list,trackRef:y.track},y.props),y.state);y.updateState(k,O,function(){y.props.autoplay?y.autoPlay("update"):y.pause("paused")}),y.setState({animating:!1}),clearTimeout(y.animationEndCallback),delete y.animationEndCallback}),(0,a.default)((0,o.default)(y),"updateState",function(O,N,k){var F=(0,s.initializedState)(O);O=(0,v.default)((0,v.default)((0,v.default)({},O),F),{},{slideIndex:F.currentSlide});var B=(0,s.getTrackLeft)(O);O=(0,v.default)((0,v.default)({},O),{},{left:B});var H=(0,s.getTrackCSS)(O);(N||u.default.Children.count(y.props.children)!==u.default.Children.count(O.children))&&(F.trackStyle=H),y.setState(F,k)}),(0,a.default)((0,o.default)(y),"ssrInit",function(){if(y.props.variableWidth){var O=0,N=0,k=[],F=(0,s.getPreClones)((0,v.default)((0,v.default)((0,v.default)({},y.props),y.state),{},{slideCount:y.props.children.length})),B=(0,s.getPostClones)((0,v.default)((0,v.default)((0,v.default)({},y.props),y.state),{},{slideCount:y.props.children.length}));y.props.children.forEach(function(Y){k.push(Y.props.style.width),O+=Y.props.style.width});for(var H=0;H<F;H++)N+=k[k.length-1-H],O+=k[k.length-1-H];for(var W=0;W<B;W++)O+=k[W];for(var R=0;R<y.state.currentSlide;R++)N+=k[R];var U={width:O+"px",left:-N+"px"};if(y.props.centerMode){var j="".concat(k[y.state.currentSlide],"px");U.left="calc(".concat(U.left," + (100% - ").concat(j,") / 2 ) ")}return{trackStyle:U}}var P=u.default.Children.count(y.props.children),K=(0,v.default)((0,v.default)((0,v.default)({},y.props),y.state),{},{slideCount:P}),V=(0,s.getPreClones)(K)+(0,s.getPostClones)(K)+P,z=100/y.props.slidesToShow*V,X=100/V,G=-X*((0,s.getPreClones)(K)+y.state.currentSlide)*z/100;y.props.centerMode&&(G+=(100-X*z/100)/2);var le={width:z+"%",left:G+"%"};return{slideWidth:X+"%",trackStyle:le}}),(0,a.default)((0,o.default)(y),"checkImagesLoad",function(){var O=y.list.querySelectorAll(".slick-slide img"),N=O.length,k=0;Array.prototype.forEach.call(O,function(F){var B=function(){return++k&&k>=N&&y.onWindowResized()};if(!F.onclick)F.onclick=function(){return F.parentNode.focus()};else{var H=F.onclick;F.onclick=function(){H(),F.parentNode.focus()}}F.onload||(y.props.lazyLoad?F.onload=function(){y.adaptHeight(),y.callbackTimers.push(setTimeout(y.onWindowResized,y.props.speed))}:(F.onload=B,F.onerror=function(){B(),y.props.onLazyLoadError&&y.props.onLazyLoadError()}))})}),(0,a.default)((0,o.default)(y),"progressiveLazyLoad",function(){for(var O=[],N=(0,v.default)((0,v.default)({},y.props),y.state),k=y.state.currentSlide;k<y.state.slideCount+(0,s.getPostClones)(N);k++)if(y.state.lazyLoadedList.indexOf(k)<0){O.push(k);break}for(var F=y.state.currentSlide-1;F>=-(0,s.getPreClones)(N);F--)if(y.state.lazyLoadedList.indexOf(F)<0){O.push(F);break}O.length>0?(y.setState(function(B){return{lazyLoadedList:B.lazyLoadedList.concat(O)}}),y.props.onLazyLoad&&y.props.onLazyLoad(O)):y.lazyLoadTimer&&(clearInterval(y.lazyLoadTimer),delete y.lazyLoadTimer)}),(0,a.default)((0,o.default)(y),"slideHandler",function(O){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=y.props,F=k.asNavFor,B=k.beforeChange,H=k.onLazyLoad,W=k.speed,R=k.afterChange,U=y.state.currentSlide,j=(0,s.slideHandler)((0,v.default)((0,v.default)((0,v.default)({index:O},y.props),y.state),{},{trackRef:y.track,useCSS:y.props.useCSS&&!N})),P=j.state,K=j.nextState;if(!P)return;B&&B(U,P.currentSlide);var V=P.lazyLoadedList.filter(function(z){return y.state.lazyLoadedList.indexOf(z)<0});H&&V.length>0&&H(V),!y.props.waitForAnimate&&y.animationEndCallback&&(clearTimeout(y.animationEndCallback),R&&R(U),delete y.animationEndCallback),y.setState(P,function(){if(F&&y.asNavForIndex!==O&&(y.asNavForIndex=O,F.innerSlider.slideHandler(O)),!K)return;y.animationEndCallback=setTimeout(function(){var z=K.animating,X=(0,m.default)(K,["animating"]);y.setState(X,function(){y.callbackTimers.push(setTimeout(function(){return y.setState({animating:z})},10)),R&&R(P.currentSlide),delete y.animationEndCallback})},W)})}),(0,a.default)((0,o.default)(y),"changeSlide",function(O){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=(0,v.default)((0,v.default)({},y.props),y.state),F=(0,s.changeSlide)(k,O);if(F!==0&&!F)return;if(N===!0?y.slideHandler(F,N):y.slideHandler(F),y.props.autoplay&&y.autoPlay("update"),y.props.focusOnSelect){var B=y.list.querySelectorAll(".slick-current");B[0]&&B[0].focus()}}),(0,a.default)((0,o.default)(y),"clickHandler",function(O){y.clickable===!1&&(O.stopPropagation(),O.preventDefault()),y.clickable=!0}),(0,a.default)((0,o.default)(y),"keyHandler",function(O){var N=(0,s.keyHandler)(O,y.props.accessibility,y.props.rtl);N!==""&&y.changeSlide({message:N})}),(0,a.default)((0,o.default)(y),"selectHandler",function(O){y.changeSlide(O)}),(0,a.default)((0,o.default)(y),"disableBodyScroll",function(){var O=function(k){k=k||window.event,k.preventDefault&&k.preventDefault(),k.returnValue=!1};window.ontouchmove=O}),(0,a.default)((0,o.default)(y),"enableBodyScroll",function(){window.ontouchmove=null}),(0,a.default)((0,o.default)(y),"swipeStart",function(O){y.props.verticalSwiping&&y.disableBodyScroll();var N=(0,s.swipeStart)(O,y.props.swipe,y.props.draggable);N!==""&&y.setState(N)}),(0,a.default)((0,o.default)(y),"swipeMove",function(O){var N=(0,s.swipeMove)(O,(0,v.default)((0,v.default)((0,v.default)({},y.props),y.state),{},{trackRef:y.track,listRef:y.list,slideIndex:y.state.currentSlide}));if(!N)return;N.swiping&&(y.clickable=!1),y.setState(N)}),(0,a.default)((0,o.default)(y),"swipeEnd",function(O){var N=(0,s.swipeEnd)(O,(0,v.default)((0,v.default)((0,v.default)({},y.props),y.state),{},{trackRef:y.track,listRef:y.list,slideIndex:y.state.currentSlide}));if(!N)return;var k=N.triggerSlideHandler;if(delete N.triggerSlideHandler,y.setState(N),k===void 0)return;y.slideHandler(k),y.props.verticalSwiping&&y.enableBodyScroll()}),(0,a.default)((0,o.default)(y),"touchEnd",function(O){y.swipeEnd(O),y.clickable=!0}),(0,a.default)((0,o.default)(y),"slickPrev",function(){y.callbackTimers.push(setTimeout(function(){return y.changeSlide({message:"previous"})},0))}),(0,a.default)((0,o.default)(y),"slickNext",function(){y.callbackTimers.push(setTimeout(function(){return y.changeSlide({message:"next"})},0))}),(0,a.default)((0,o.default)(y),"slickGoTo",function(O){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(O=Number(O),isNaN(O))return"";y.callbackTimers.push(setTimeout(function(){return y.changeSlide({message:"index",index:O,currentSlide:y.state.currentSlide},N)},0))}),(0,a.default)((0,o.default)(y),"play",function(){var O;if(y.props.rtl)O=y.state.currentSlide-y.props.slidesToScroll;else if((0,s.canGoNext)((0,v.default)((0,v.default)({},y.props),y.state)))O=y.state.currentSlide+y.props.slidesToScroll;else return!1;y.slideHandler(O)}),(0,a.default)((0,o.default)(y),"autoPlay",function(O){y.autoplayTimer&&clearInterval(y.autoplayTimer);var N=y.state.autoplaying;if(O==="update"){if(N==="hovered"||N==="focused"||N==="paused")return}else if(O==="leave"){if(N==="paused"||N==="focused")return}else if(O==="blur"&&(N==="paused"||N==="hovered"))return;y.autoplayTimer=setInterval(y.play,y.props.autoplaySpeed+50),y.setState({autoplaying:"playing"})}),(0,a.default)((0,o.default)(y),"pause",function(O){y.autoplayTimer&&(clearInterval(y.autoplayTimer),y.autoplayTimer=null);var N=y.state.autoplaying;O==="paused"?y.setState({autoplaying:"paused"}):O==="focused"?(N==="hovered"||N==="playing")&&y.setState({autoplaying:"focused"}):N==="playing"&&y.setState({autoplaying:"hovered"})}),(0,a.default)((0,o.default)(y),"onDotsOver",function(){return y.props.autoplay&&y.pause("hovered")}),(0,a.default)((0,o.default)(y),"onDotsLeave",function(){return y.props.autoplay&&y.state.autoplaying==="hovered"&&y.autoPlay("leave")}),(0,a.default)((0,o.default)(y),"onTrackOver",function(){return y.props.autoplay&&y.pause("hovered")}),(0,a.default)((0,o.default)(y),"onTrackLeave",function(){return y.props.autoplay&&y.state.autoplaying==="hovered"&&y.autoPlay("leave")}),(0,a.default)((0,o.default)(y),"onSlideFocus",function(){return y.props.autoplay&&y.pause("focused")}),(0,a.default)((0,o.default)(y),"onSlideBlur",function(){return y.props.autoplay&&y.state.autoplaying==="focused"&&y.autoPlay("blur")}),(0,a.default)((0,o.default)(y),"render",function(){var O=(0,t.default)("slick-slider",y.props.className,{"slick-vertical":y.props.vertical,"slick-initialized":!0}),N=(0,v.default)((0,v.default)({},y.props),y.state),k=(0,s.extractObject)(N,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),F=y.props.pauseOnHover;k=(0,v.default)((0,v.default)({},k),{},{onMouseEnter:F?y.onTrackOver:null,onMouseLeave:F?y.onTrackLeave:null,onMouseOver:F?y.onTrackOver:null,focusOnSelect:y.props.focusOnSelect&&y.clickable?y.selectHandler:null});var B;if(y.props.dots===!0&&y.state.slideCount>=y.props.slidesToShow){var H=(0,s.extractObject)(N,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),W=y.props.pauseOnDotsHover;H=(0,v.default)((0,v.default)({},H),{},{clickHandler:y.changeSlide,onMouseEnter:W?y.onDotsLeave:null,onMouseOver:W?y.onDotsOver:null,onMouseLeave:W?y.onDotsLeave:null}),B=u.default.createElement(p.Dots,H)}var R,U,j=(0,s.extractObject)(N,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);j.clickHandler=y.changeSlide,y.props.arrows&&(R=u.default.createElement(b.PrevArrow,j),U=u.default.createElement(b.NextArrow,j));var P=null;y.props.vertical&&(P={height:y.state.listHeight});var K=null;y.props.vertical===!1?y.props.centerMode===!0&&(K={padding:"0px "+y.props.centerPadding}):y.props.centerMode===!0&&(K={padding:y.props.centerPadding+" 0px"});var V=(0,v.default)((0,v.default)({},P),K),z=y.props.touchMove,X={className:"slick-list",style:V,onClick:y.clickHandler,onMouseDown:z?y.swipeStart:null,onMouseMove:y.state.dragging&&z?y.swipeMove:null,onMouseUp:z?y.swipeEnd:null,onMouseLeave:y.state.dragging&&z?y.swipeEnd:null,onTouchStart:z?y.swipeStart:null,onTouchMove:y.state.dragging&&z?y.swipeMove:null,onTouchEnd:z?y.touchEnd:null,onTouchCancel:y.state.dragging&&z?y.swipeEnd:null,onKeyDown:y.props.accessibility?y.keyHandler:null},G={className:O,dir:"ltr",style:y.props.style};return y.props.unslick&&(X={className:"slick-list"},G={className:O}),u.default.createElement("div",G,y.props.unslick?"":R,u.default.createElement("div",(0,A.default)({ref:y.listRefHandler},X),u.default.createElement(d.Track,(0,A.default)({ref:y.trackRefHandler},k),y.props.children)),y.props.unslick?"":U,y.props.unslick?"":B)}),y.list=null,y.track=null,y.state=(0,v.default)((0,v.default)({},r.default),{},{currentSlide:y.props.initialSlide,slideCount:u.default.Children.count(y.props.children)}),y.callbackTimers=[],y.clickable=!0,y.debouncedResize=null;var C=y.ssrInit();return y.state=(0,v.default)((0,v.default)({},y.state),C),y}return(0,c.default)(T,[{key:"didPropsChange",value:function(y){for(var C=!1,O=0,N=Object.keys(this.props);O<N.length;O++){var k=N[O];if(!y.hasOwnProperty(k)){C=!0;break}if((0,f.default)(y[k])==="object"||typeof y[k]=="function")continue;if(y[k]!==this.props[k]){C=!0;break}}return C||u.default.Children.count(this.props.children)!==u.default.Children.count(y.children)}}]),T}(u.default.Component);_.InnerSlider=E},hX1E:function(D,_){var e=Math.PI*2;function g(f){return f%=e,f<0&&(f+=e),f}_.normalizeRadian=g},hXwI:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function A(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v)}return A(v,[{key:"decodeRect",value:function(c,o,i,n,a,u,r){if(a.rQwait("COPYRECT",4))return!1;var l=a.rQshift16(),t=a.rQshift16();return u.copyImage(l,t,c,o,i,n),!0}}]),v}();_.default=m},hi0g:function(D,_,e){var g=e("bYtY"),f=g.createHashMap,A=g.each,m=g.isString,v=g.defaults,h=g.extend,c=g.isObject,o=g.clone,i=e("4NO4"),n=i.normalizeToArray,a=e("D5nY"),u=a.guessOrdinal,r=a.BE_ORDINAL,l=e("7G+c"),t=e("L0Ub"),s=t.OTHER_DIMENSIONS,d=e("Vi4m");function p(S,x,T){l.isInstance(x)||(x=l.seriesDataToSource(x)),T=T||{},S=(S||[]).slice();for(var L=(T.dimsDef||[]).slice(),y=f(),C=f(),O=[],N=b(x,S,L,T.dimCount),k=0;k<N;k++){var F=L[k]=h({},c(L[k])?L[k]:{name:L[k]}),B=F.name,H=O[k]=new d;B!=null&&y.get(B)==null&&(H.name=H.displayName=B,y.set(B,k)),F.type!=null&&(H.type=F.type),F.displayName!=null&&(H.displayName=F.displayName)}var W=T.encodeDef;!W&&T.encodeDefaulter&&(W=T.encodeDefaulter(x,N)),W=f(W),W.each(function(G,le){if(G=n(G).slice(),G.length===1&&!m(G[0])&&G[0]<0){W.set(le,!1);return}var Y=W.set(le,[]);A(G,function(me,we){m(me)&&(me=y.get(me)),me!=null&&me<N&&(Y[we]=me,U(O[me],le,we))})});var R=0;A(S,function(G,le){var Y,G,me,we;if(m(G))Y=G,G={};else{Y=G.name;var pe=G.ordinalMeta;G.ordinalMeta=null,G=o(G),G.ordinalMeta=pe,me=G.dimsDef,we=G.otherDims,G.name=G.coordDim=G.coordDimIndex=G.dimsDef=G.otherDims=null}var Fe=W.get(Y);if(Fe===!1)return;var Fe=n(Fe);if(!Fe.length)for(var Xe=0;Xe<(me&&me.length||1);Xe++){for(;R<O.length&&O[R].coordDim!=null;)R++;R<O.length&&Fe.push(R++)}A(Fe,function(dt,Ee){var Se=O[dt];if(U(v(Se,G),Y,Ee),Se.name==null&&me){var at=me[Ee];!c(at)&&(at={name:at}),Se.name=Se.displayName=at.name,Se.defaultTooltip=at.defaultTooltip}we&&v(Se.otherDims,we)})});function U(G,le,Y){s.get(le)!=null?G.otherDims[le]=Y:(G.coordDim=le,G.coordDimIndex=Y,C.set(le,!0))}var j=T.generateCoord,P=T.generateCoordCount,K=P!=null;P=j?P||1:0;for(var V=j||"value",z=0;z<N;z++){var H=O[z]=O[z]||new d,X=H.coordDim;X==null&&(H.coordDim=w(V,C,K),H.coordDimIndex=0,(!j||P<=0)&&(H.isExtraCoord=!0),P--),H.name==null&&(H.name=w(H.coordDim,y)),H.type==null&&(u(x,z,H.name)===r.Must||H.isExtraCoord&&(H.otherDims.itemName!=null||H.otherDims.seriesName!=null))&&(H.type="ordinal")}return O}function b(S,x,T,L){var y=Math.max(S.dimensionsDetectCount||1,x.length,T.length,L||0);return A(x,function(C){var O=C.dimsDef;O&&(y=Math.max(y,O.length))}),y}function w(S,x,T){if(T||x.get(S)!=null){for(var L=0;x.get(S+L)!=null;)L++;S+=L}return x.set(S,!0),S}var E=p;D.exports=E},hkKa:function(D,_,e){"use strict";e.d(_,"a",function(){return v});var g=e("J4zp"),f=e.n(g),A=e("q1tI"),m=e.n(A);function v(){var h=A.useReducer(function(i){return i+1},0),c=f()(h,2),o=c[1];return o}},hw6D:function(D,_,e){var g=e("bYtY");function f(v){v.eachSeriesByType("radar",function(h){var c=h.getData(),o=[],i=h.coordinateSystem;if(!i)return;var n=i.getIndicatorAxes();g.each(n,function(a,u){c.each(c.mapDimension(n[u].dim),function(r,l){o[l]=o[l]||[];var t=i.dataToPoint(r,u);o[l][u]=A(t)?t:m(i)})}),c.each(function(a){var u=g.find(o[a],function(r){return A(r)})||m(i);o[a].push(u.slice()),c.setItemLayout(a,o[a])})})}function A(v){return!isNaN(v[0])&&!isNaN(v[1])}function m(v){return[v.cx,v.cy]}D.exports=f},hwYd:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("Nu4q")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="PictureTwoTone";var c=A.forwardRef(h);_.default=c},hydK:function(D,_){var e="http://www.w3.org/2000/svg";function g(f){return document.createElementNS(e,f)}_.createElement=g},hyiK:function(D,_){function e(g,f,A,m,v,h){if(h>f&&h>m||h<f&&h<m)return 0;if(m===f)return 0;var c=m<f?1:-1,o=(h-f)/(m-f);(o===1||o===0)&&(c=m<f?.5:-.5);var i=o*(A-g)+g;return i===v?Infinity:i>v?c:0}D.exports=e},i38C:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.createHashMap,v=A.retrieve,h=A.each;function c(a){this.coordSysName=a,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function o(a){var u=a.get("coordinateSystem"),r=new c(u),l=i[u];if(l)return l(a,r,r.axisMap,r.categoryAxisMap),r}var i={cartesian2d:function(a,u,r,l){var t=a.getReferringComponents("xAxis")[0],s=a.getReferringComponents("yAxis")[0];u.coordSysDims=["x","y"],r.set("x",t),r.set("y",s),n(t)&&(l.set("x",t),u.firstCategoryDimIndex=0),n(s)&&(l.set("y",s),u.firstCategoryDimIndex==null&(u.firstCategoryDimIndex=1))},singleAxis:function(a,u,r,l){var t=a.getReferringComponents("singleAxis")[0];u.coordSysDims=["single"],r.set("single",t),n(t)&&(l.set("single",t),u.firstCategoryDimIndex=0)},polar:function(a,u,r,l){var t=a.getReferringComponents("polar")[0],s=t.findAxisModel("radiusAxis"),d=t.findAxisModel("angleAxis");u.coordSysDims=["radius","angle"],r.set("radius",s),r.set("angle",d),n(s)&&(l.set("radius",s),u.firstCategoryDimIndex=0),n(d)&&(l.set("angle",d),u.firstCategoryDimIndex==null&&(u.firstCategoryDimIndex=1))},geo:function(a,u,r,l){u.coordSysDims=["lng","lat"]},parallel:function(a,u,r,l){var t=a.ecModel,s=t.getComponent("parallel",a.get("parallelIndex")),d=u.coordSysDims=s.dimensions.slice();h(s.parallelAxisIndex,function(p,b){var w=t.getComponent("parallelAxis",p),E=d[b];r.set(E,w),n(w)&&u.firstCategoryDimIndex==null&&(l.set(E,w),u.firstCategoryDimIndex=b)})}};function n(a){return a.get("type")==="category"}_.getCoordSysInfoBySeries=o},i6bk:function(D,_,e){"use strict";e.d(_,"b",function(){return g}),e.d(_,"a",function(){return f});function g(A){return A!=null&&A===A.window}function f(A,m){if(typeof window=="undefined")return 0;var v=m?"scrollTop":"scrollLeft",h=0;return g(A)?h=A[m?"pageYOffset":"pageXOffset"]:A instanceof Document?h=A.documentElement[v]:A&&(h=A[v]),A&&!g(A)&&typeof h!="number"&&(h=(A.ownerDocument||A).documentElement[v]),h}},i8CU:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Fm1+"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},iLNv:function(D,_){var e="\0__throttleOriginMethod",g="\0__throttleRate",f="\0__throttleType";function A(h,c,o){var i,n=0,a=0,u=null,r,l,t,s;c=c||0;function d(){a=new Date().getTime(),u=null,h.apply(l,t||[])}var p=function(){i=new Date().getTime(),l=this,t=arguments;var b=s||c,w=s||o;s=null,r=i-(w?n:a)-b,clearTimeout(u),w?u=setTimeout(d,b):r>=0?d():u=setTimeout(d,-r),n=i};return p.clear=function(){u&&(clearTimeout(u),u=null)},p.debounceNextCall=function(b){s=b},p}function m(h,c,o,i){var n=h[c];if(!n)return;var a=n[e]||n,u=n[f],r=n[g];if(r!==o||u!==i){if(o==null||!i)return h[c]=a;n=h[c]=A(a,o,i==="debounce"),n[e]=a,n[f]=i,n[g]=o}return n}function v(h,c){var o=h[c];o&&o[e]&&(h[c]=o[e])}_.throttle=A,_.createOrUpdate=m,_.clear=v},iPDy:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=g.extendComponentView({type:"marker",init:function(){this.markerGroupMap=f.createHashMap()},render:function(m,v,h){var c=this.markerGroupMap;c.each(function(i){i.__keep=!1});var o=this.type+"Model";v.eachSeries(function(i){var n=i[o];n&&this.renderSeries(i,n,v,h)},this),c.each(function(i){!i.__keep&&this.group.remove(i.group)},this)},renderSeries:function(){}});D.exports=A},iQDF:function(D,_,e){"use strict";var g=e("ZTW2"),f=e.n(g),A=e("+BJd"),m=e("+L6B")},iRjW:function(D,_,e){var g=e("bYtY"),f=e("Yl7c"),A=f.parseClassType,m=0;function v(o){return[o||"",m++,Math.random().toFixed(5)].join("_")}function h(o){var i={};return o.registerSubTypeDefaulter=function(n,a){n=A(n),i[n.main]=a},o.determineSubType=function(n,a){var u=a.type;if(!u){var r=A(n).main;o.hasSubTypes(n)&&i[r]&&(u=i[r](a))}return u},o}function c(o,i){o.topologicalTravel=function(r,l,t,s){if(!r.length)return;var d=n(l),p=d.graph,b=d.noEntryList,w={};for(g.each(r,function(y){w[y]=!0});b.length;){var E=b.pop(),S=p[E],x=!!w[E];x&&(t.call(s,E,S.originalDeps.slice()),delete w[E]),g.each(S.successor,x?L:T)}g.each(w,function(){throw new Error("Circle dependency may exists")});function T(y){p[y].entryCount--,p[y].entryCount===0&&b.push(y)}function L(y){w[y]=!0,T(y)}};function n(r){var l={},t=[];return g.each(r,function(s){var d=a(l,s),p=d.originalDeps=i(s),b=u(p,r);d.entryCount=b.length,d.entryCount===0&&t.push(s),g.each(b,function(w){g.indexOf(d.predecessor,w)<0&&d.predecessor.push(w);var E=a(l,w);g.indexOf(E.successor,w)<0&&E.successor.push(s)})}),{graph:l,noEntryList:t}}function a(r,l){return r[l]||(r[l]={predecessor:[],successor:[]}),r[l]}function u(r,l){var t=[];return g.each(r,function(s){g.indexOf(l,s)>=0&&t.push(s)}),t}}_.getUID=v,_.enableSubTypeDefaulter=h,_.enableTopologicalTravel=c},iUHT:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(S,x){if(!(S instanceof x))throw new TypeError("Cannot call a class as a function")}function f(S,x){for(var T=0;T<x.length;T++){var L=x[T];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(S,L.key,L)}}function A(S,x,T){return x&&f(S.prototype,x),T&&f(S,T),S}var m=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=0,c,o,i,n,a,u;c=1<<16,o=1<<24,i=c|o,n=1<<2,a=1<<10,u=n|a;var r=[i|a,h|h,c|h,i|u,i|n,c|u,h|n,c|h,h|a,i|a,i|u,h|a,o|u,i|n,o|h,h|n,h|u,o|a,o|a,c|a,c|a,i|h,i|h,o|u,c|n,o|n,o|n,c|n,h|h,h|u,c|u,o|h,c|h,i|u,h|n,i|h,i|a,o|h,o|h,h|a,i|n,c|h,c|a,o|n,h|a,h|n,o|u,c|u,i|u,c|n,i|h,o|u,o|n,h|u,c|u,i|a,h|u,o|a,o|a,h|h,c|n,c|a,h|h,i|n];c=1<<20,o=1<<31,i=c|o,n=1<<5,a=1<<15,u=n|a;var l=[i|u,o|a,h|a,c|u,c|h,h|n,i|n,o|u,o|n,i|u,i|a,o|h,o|a,c|h,h|n,i|n,c|a,c|n,o|u,h|h,o|h,h|a,c|u,i|h,c|n,o|n,h|h,c|a,h|u,i|a,i|h,h|u,h|h,c|u,i|n,c|h,o|u,i|h,i|a,h|a,i|h,o|a,h|n,i|u,c|u,h|n,h|a,o|h,h|u,i|a,c|h,o|n,c|n,o|u,o|n,c|n,c|a,h|h,o|a,h|u,o|h,i|n,i|u,c|a];c=1<<17,o=1<<27,i=c|o,n=1<<3,a=1<<9,u=n|a;var t=[h|u,i|a,h|h,i|n,o|a,h|h,c|u,o|a,c|n,o|n,o|n,c|h,i|u,c|n,i|h,h|u,o|h,h|n,i|a,h|a,c|a,i|h,i|n,c|u,o|u,c|a,c|h,o|u,h|n,i|u,h|a,o|h,i|a,o|h,c|n,h|u,c|h,i|a,o|a,h|h,h|a,c|n,i|u,o|a,o|n,h|a,h|h,i|n,o|u,c|h,o|h,i|u,h|n,c|u,c|a,o|n,i|h,o|u,h|u,i|h,c|u,h|n,i|n,c|a];c=1<<13,o=1<<23,i=c|o,n=1<<0,a=1<<7,u=n|a;var s=[i|n,c|u,c|u,h|a,i|a,o|u,o|n,c|n,h|h,i|h,i|h,i|u,h|u,h|h,o|a,o|n,h|n,c|h,o|h,i|n,h|a,o|h,c|n,c|a,o|u,h|n,c|a,o|a,c|h,i|a,i|u,h|u,o|a,o|n,i|h,i|u,h|u,h|h,h|h,i|h,c|a,o|a,o|u,h|n,i|n,c|u,c|u,h|a,i|u,h|u,h|n,c|h,o|n,c|n,i|a,o|u,c|n,c|a,o|h,i|n,h|a,o|h,c|h,i|a];c=1<<25,o=1<<30,i=c|o,n=1<<8,a=1<<19,u=n|a;var d=[h|n,c|u,c|a,i|n,h|a,h|n,o|h,c|a,o|u,h|a,c|n,o|u,i|n,i|a,h|u,o|h,c|h,o|a,o|a,h|h,o|n,i|u,i|u,c|n,i|a,o|n,h|h,i|h,c|u,c|h,i|h,h|u,h|a,i|n,h|n,c|h,o|h,c|a,i|n,o|u,c|n,o|h,i|a,c|u,o|u,h|n,c|h,i|a,i|u,h|u,i|h,i|u,c|a,h|h,o|a,i|h,h|u,c|n,o|n,h|a,h|h,o|a,c|u,o|n];c=1<<22,o=1<<29,i=c|o,n=1<<4,a=1<<14,u=n|a;var p=[o|n,i|h,h|a,i|u,i|h,h|n,i|u,c|h,o|a,c|u,c|h,o|n,c|n,o|a,o|h,h|u,h|h,c|n,o|u,h|a,c|a,o|u,h|n,i|n,i|n,h|h,c|u,i|a,h|u,c|a,i|a,o|h,o|a,h|n,i|n,c|a,i|u,c|h,h|u,o|n,c|h,o|a,o|h,h|u,o|n,i|u,c|a,i|h,c|u,i|a,h|h,i|n,h|n,h|a,i|h,c|u,h|a,c|n,o|u,h|h,i|a,o|h,c|n,o|u];c=1<<21,o=1<<26,i=c|o,n=1<<1,a=1<<11,u=n|a;var b=[c|h,i|n,o|u,h|h,h|a,o|u,c|u,i|a,i|u,c|h,h|h,o|n,h|n,o|h,i|n,h|u,o|a,c|u,c|n,o|a,o|n,i|h,i|a,c|n,i|h,h|a,h|u,i|u,c|a,h|n,o|h,c|a,o|h,c|a,c|h,o|u,o|u,i|n,i|n,h|n,c|n,o|h,o|a,c|h,i|a,h|u,c|u,i|a,h|u,o|n,i|u,i|h,c|a,h|h,h|n,i|u,h|h,c|u,i|h,h|a,o|n,o|a,h|a,c|n];c=1<<18,o=1<<28,i=c|o,n=1<<6,a=1<<12,u=n|a;var w=[o|u,h|a,c|h,i|u,o|h,o|u,h|n,o|h,c|n,i|h,i|u,c|a,i|a,c|u,h|a,h|n,i|h,o|n,o|a,h|u,c|a,c|n,i|n,i|a,h|u,h|h,h|h,i|n,o|n,o|a,c|u,c|h,c|u,c|h,i|a,h|a,h|n,i|n,h|a,c|u,o|a,h|n,o|n,i|h,i|n,o|h,c|h,o|u,h|h,i|u,c|n,o|n,i|h,o|a,o|u,h|h,i|u,c|a,c|a,h|u,h|u,c|n,o|h,i|a],E=function(){function S(x){g(this,S),this.keys=[];for(var T=[],L=[],y=[],C=0,O=56;C<56;++C,O-=8){O+=O<-5?65:O<-3?31:O<-1?63:O===27?35:0;var N=O&7;T[C]=(x[O>>>3]&1<<N)!==0?1:0}for(var k=0;k<16;++k){var F=k<<1,B=F+1;y[F]=y[B]=0;for(var H=28;H<59;H+=28)for(var W=H-28;W<H;++W){var R=W+v[k];L[W]=R<H?T[R]:T[R-28]}for(var U=0;U<24;++U)L[m[U]]!==0&&(y[F]|=1<<23-U),L[m[U+24]]!==0&&(y[B]|=1<<23-U)}for(var j=0,P=0,K=0;j<16;++j){var V=y[P++],z=y[P++];this.keys[K]=(V&16515072)<<6,this.keys[K]|=(V&4032)<<10,this.keys[K]|=(z&16515072)>>>10,this.keys[K]|=(z&4032)>>>6,++K,this.keys[K]=(V&258048)<<12,this.keys[K]|=(V&63)<<16,this.keys[K]|=(z&258048)>>>4,this.keys[K]|=z&63,++K}}return A(S,[{key:"enc8",value:function(T){var L=T.slice(),y=0,C,O,N;C=L[y++]<<24|L[y++]<<16|L[y++]<<8|L[y++],O=L[y++]<<24|L[y++]<<16|L[y++]<<8|L[y++],N=(C>>>4^O)&252645135,O^=N,C^=N<<4,N=(C>>>16^O)&65535,O^=N,C^=N<<16,N=(O>>>2^C)&858993459,C^=N,O^=N<<2,N=(O>>>8^C)&16711935,C^=N,O^=N<<8,O=O<<1|O>>>31&1,N=(C^O)&2863311530,C^=N,O^=N,C=C<<1|C>>>31&1;for(var k=0,F=0;k<8;++k){N=O<<28|O>>>4,N^=this.keys[F++];var B=b[N&63];B|=d[N>>>8&63],B|=t[N>>>16&63],B|=r[N>>>24&63],N=O^this.keys[F++],B|=w[N&63],B|=p[N>>>8&63],B|=s[N>>>16&63],B|=l[N>>>24&63],C^=B,N=C<<28|C>>>4,N^=this.keys[F++],B=b[N&63],B|=d[N>>>8&63],B|=t[N>>>16&63],B|=r[N>>>24&63],N=C^this.keys[F++],B|=w[N&63],B|=p[N>>>8&63],B|=s[N>>>16&63],B|=l[N>>>24&63],O^=B}for(O=O<<31|O>>>1,N=(C^O)&2863311530,C^=N,O^=N,C=C<<31|C>>>1,N=(C>>>8^O)&16711935,O^=N,C^=N<<8,N=(C>>>2^O)&858993459,O^=N,C^=N<<2,N=(O>>>16^C)&65535,C^=N,O^=N<<16,N=(O>>>4^C)&252645135,C^=N,O^=N<<4,N=[O,C],y=0;y<8;y++)L[y]=(N[y>>>2]>>>8*(3-y%4))%256,L[y]<0&&(L[y]+=256);return L}},{key:"encrypt",value:function(T){return this.enc8(T.slice(0,8)).concat(this.enc8(T.slice(8,16)))}}]),S}();_.default=E},iXHM:function(D,_){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var g={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};D.exports=g},iXp4:function(D,_,e){var g=e("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function A(m){return g.browser.ie&&g.browser.version>=11?function(){var v=this.__clipPaths,h=this.style,c;if(v)for(var o=0;o<v.length;o++){var i=v[o],n=i&&i.shape,a=i&&i.type;if(n&&(a==="sector"&&n.startAngle===n.endAngle||a==="rect"&&(!n.width||!n.height))){for(var u=0;u<f.length;u++)f[u][2]=h[f[u][0]],h[f[u][0]]=f[u][1];c=!0;break}}if(m.apply(this,arguments),c)for(var u=0;u<f.length;u++)h[f[u][0]]=f[u][2]}:m}D.exports=A},iYpf:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("ZLWo")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="FolderOpenOutlined";var c=A.forwardRef(h);_.default=c},ieMj:function(D,_,e){var g=e("OELB"),f=e("7aKB"),A=e("4NgU"),m=e("lE7J"),v=g.round,h=A.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(o,i){var n=this._extent;isNaN(o)||(n[0]=parseFloat(o)),isNaN(i)||(n[1]=parseFloat(i))},unionExtent:function(o){var i=this._extent;o[0]<i[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1]),h.prototype.setExtent.call(this,i[0],i[1])},getInterval:function(){return this._interval},setInterval:function(o){this._interval=o,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(o)},getTicks:function(o){var i=this._interval,n=this._extent,a=this._niceExtent,u=this._intervalPrecision,r=[];if(!i)return r;var l=1e4;n[0]<a[0]&&(o?r.push(v(a[0]-i,u)):r.push(n[0]));for(var t=a[0];t<=a[1]&&!(r.push(t),t=v(t+i,u),t===r[r.length-1]);)if(r.length>l)return[];var s=r.length?r[r.length-1]:a[1];return n[1]>s&&(o?r.push(v(s+i,u)):r.push(n[1])),r},getMinorTicks:function(o){for(var i=this.getTicks(!0),n=[],a=this.getExtent(),u=1;u<i.length;u++){for(var r=i[u],l=i[u-1],t=0,s=[],d=r-l,p=d/o;t<o-1;){var b=g.round(l+(t+1)*p);b>a[0]&&b<a[1]&&s.push(b),t++}n.push(s)}return n},getLabel:function(o,i){if(o==null)return"";var n=i&&i.precision;return n==null?n=g.getPrecisionSafe(o)||0:n==="auto"&&(n=this._intervalPrecision),o=v(o,n,!0),f.addCommas(o)},niceTicks:function(o,i,n){o=o||5;var a=this._extent,u=a[1]-a[0];if(!isFinite(u))return;u<0&&(u=-u,a.reverse());var r=m.intervalScaleNiceTicks(a,o,i,n);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent},niceExtent:function(o){var i=this._extent;if(i[0]===i[1])if(i[0]!==0){var n=i[0];o.fixMax||(i[1]+=n/2),i[0]-=n/2}else i[1]=1;var a=i[1]-i[0];isFinite(a)||(i[0]=0,i[1]=1),this.niceTicks(o.splitNumber,o.minInterval,o.maxInterval);var u=this._interval;o.fixMin||(i[0]=v(Math.floor(i[0]/u)*u)),o.fixMax||(i[1]=v(Math.ceil(i[1]/u)*u))}});h.create=function(){return new h};var c=h;D.exports=c},j5sG:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=f(e("NohK"));function f(m){return m&&m.__esModule?m:{default:m}}var A=function(v){var h=void 0,c=[],o=(0,g.default)(function(){c.forEach(function(r){r(v)})}),i=function(){var l=new ResizeObserver(o);return l.observe(v),o(),l},n=function(l){h||(h=i()),c.indexOf(l)===-1&&c.push(l)},a=function(){h.disconnect(),c=[],h=void 0},u=function(l){var t=c.indexOf(l);t!==-1&&c.splice(t,1),c.length===0&&h&&a()};return{element:v,bind:n,destroy:a,unbind:u}};_.createSensor=A},jCWc:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("1GLa")},jCoz:function(D,_,e){var g=e("bYtY"),f=e("4NgU"),A=e("OELB"),m=e("ieMj"),v=f.prototype,h=m.prototype,c=A.getPrecisionSafe,o=A.round,i=Math.floor,n=Math.ceil,a=Math.pow,u=Math.log,r=f.extend({type:"log",base:10,$constructor:function(){f.apply(this,arguments),this._originalScale=new m},getTicks:function(s){var d=this._originalScale,p=this._extent,b=d.getExtent();return g.map(h.getTicks.call(this,s),function(w){var E=A.round(a(this.base,w));return E=w===p[0]&&d.__fixMin?l(E,b[0]):E,E=w===p[1]&&d.__fixMax?l(E,b[1]):E,E},this)},getMinorTicks:h.getMinorTicks,getLabel:h.getLabel,scale:function(s){return s=v.scale.call(this,s),a(this.base,s)},setExtent:function(s,d){var p=this.base;s=u(s)/u(p),d=u(d)/u(p),h.setExtent.call(this,s,d)},getExtent:function(){var s=this.base,d=v.getExtent.call(this);d[0]=a(s,d[0]),d[1]=a(s,d[1]);var p=this._originalScale,b=p.getExtent();return p.__fixMin&&(d[0]=l(d[0],b[0])),p.__fixMax&&(d[1]=l(d[1],b[1])),d},unionExtent:function(s){this._originalScale.unionExtent(s);var d=this.base;s[0]=u(s[0])/u(d),s[1]=u(s[1])/u(d),v.unionExtent.call(this,s)},unionExtentFromData:function(s,d){this.unionExtent(s.getApproximateExtent(d))},niceTicks:function(s){s=s||10;var d=this._extent,p=d[1]-d[0];if(p===Infinity||p<=0)return;var b=A.quantity(p),w=s/p*b;for(w<=.5&&(b*=10);!isNaN(b)&&Math.abs(b)<1&&Math.abs(b)>0;)b*=10;var E=[A.round(n(d[0]/b)*b),A.round(i(d[1]/b)*b)];this._interval=b,this._niceExtent=E},niceExtent:function(s){h.niceExtent.call(this,s);var d=this._originalScale;d.__fixMin=s.fixMin,d.__fixMax=s.fixMax}});g.each(["contain","normalize"],function(s){r.prototype[s]=function(d){return d=u(d)/u(this.base),v[s].call(this,d)}}),r.create=function(){return new r};function l(s,d){return o(s,c(d))}var t=r;D.exports=t},jN4g:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="CloseCircleFilled";var h=_.a=g.forwardRef(v)},jO45:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="CheckCircleFilled";var h=_.a=g.forwardRef(v)},jTL6:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,v){var h=v.cx,c=v.cy,o=Math.max(v.r,0),i=v.startAngle,n=v.endAngle,a=v.clockwise,u=Math.cos(i),r=Math.sin(i);m.moveTo(u*o+h,r*o+c),m.arc(h,c,o,i,n,!a)}});D.exports=f},je13:function(D,_,e){var g=e("5nXd"),f=e("gRFJ"),A=[e("uQRt")];D.exports=g.createStore(f,A)},jett:function(D,_,e){var g=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var f=e("mOdp"),A=e("f5Yq"),m=e("hw6D"),v=e("0/Rx"),h=e("eJH7");g.registerVisual(f("radar")),g.registerVisual(A("radar","circle")),g.registerLayout(m),g.registerProcessor(v("radar")),g.registerPreprocessor(h)},jhfD:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="ArrowLeftOutlined";var h=_.a=g.forwardRef(v)},jkPA:function(D,_,e){var g=e("bYtY"),f=g.createHashMap,A=g.isObject,m=g.map;function v(n){this.categories=n.categories||[],this._needCollect=n.needCollect,this._deduplication=n.deduplication,this._map}v.createByAxisModel=function(n){var a=n.option,u=a.data,r=u&&m(u,o);return new v({categories:r,needCollect:!r,deduplication:a.dedplication!==!1})};var h=v.prototype;h.getOrdinal=function(n){return c(this).get(n)},h.parseAndCollect=function(n){var a,u=this._needCollect;if(typeof n!="string"&&!u)return n;if(u&&!this._deduplication)return a=this.categories.length,this.categories[a]=n,a;var r=c(this);return a=r.get(n),a==null&&(u?(a=this.categories.length,this.categories[a]=n,r.set(n,a)):a=NaN),a};function c(n){return n._map||(n._map=f(n.categories))}function o(n){return A(n)&&n.value!=null?n.value:n+""}var i=v;D.exports=i},jndi:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),A=e("YXkt"),m=e("OELB"),v=e("IwbS"),h=e("kj2x"),c=e("iPDy"),o=function(t,s,d,p){var b=h.dataTransform(t,p[0]),w=h.dataTransform(t,p[1]),E=g.retrieve,S=b.coord,x=w.coord;S[0]=E(S[0],-Infinity),S[1]=E(S[1],-Infinity),x[0]=E(x[0],Infinity),x[1]=E(x[1],Infinity);var T=g.mergeAll([{},b,w]);return T.coord=[b.coord,w.coord],T.x0=b.x,T.y0=b.y,T.x1=w.x,T.y1=w.y,T};function i(t){return!isNaN(t)&&!isFinite(t)}function n(t,s,d,p){var b=1-t;return i(s[b])&&i(d[b])}function a(t,s){var d=s.coord[0],p=s.coord[1];return t.type==="cartesian2d"&&(d&&p&&(n(1,d,p,t)||n(0,d,p,t)))?!0:h.dataFilter(t,{coord:d,x:s.x0,y:s.y0})||h.dataFilter(t,{coord:p,x:s.x1,y:s.y1})}function u(t,s,d,p,b){var w=p.coordinateSystem,E=t.getItemModel(s),S,x=m.parsePercent(E.get(d[0]),b.getWidth()),T=m.parsePercent(E.get(d[1]),b.getHeight());if(!isNaN(x)&&!isNaN(T))S=[x,T];else{if(p.getMarkerPosition)S=p.getMarkerPosition(t.getValues(d,s));else{var L=t.get(d[0],s),y=t.get(d[1],s),C=[L,y];w.clampData&&w.clampData(C,C),S=w.dataToPoint(C,!0)}if(w.type==="cartesian2d"){var O=w.getAxis("x"),N=w.getAxis("y"),L=t.get(d[0],s),y=t.get(d[1],s);i(L)?S[0]=O.toGlobalCoord(O.getExtent()[d[0]==="x0"?0:1]):i(y)&&(S[1]=N.toGlobalCoord(N.getExtent()[d[1]==="y0"?0:1]))}isNaN(x)||(S[0]=x),isNaN(T)||(S[1]=T)}return S}var r=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(t,s,d){s.eachSeries(function(p){var b=p.markAreaModel;if(b){var w=b.getData();w.each(function(E){var S=g.map(r,function(T){return u(w,E,T,p,d)});w.setItemLayout(E,S);var x=w.getItemGraphicEl(E);x.setShape("points",S)})}},this)},renderSeries:function(t,s,d,p){var b=t.coordinateSystem,w=t.id,E=t.getData(),S=this.markerGroupMap,x=S.get(w)||S.set(w,{group:new v.Group});this.group.add(x.group),x.__keep=!0;var T=l(b,t,s);s.setData(T),T.each(function(L){T.setItemLayout(L,g.map(r,function(y){return u(T,L,y,t,p)})),T.setItemVisual(L,{color:E.getVisual("color")})}),T.diff(x.__data).add(function(L){var y=new v.Polygon({shape:{points:T.getItemLayout(L)}});T.setItemGraphicEl(L,y),x.group.add(y)}).update(function(L,y){var C=x.__data.getItemGraphicEl(y);v.updateProps(C,{shape:{points:T.getItemLayout(L)}},s,L),x.group.add(C),T.setItemGraphicEl(L,C)}).remove(function(L){var y=x.__data.getItemGraphicEl(L);x.group.remove(y)}).execute(),T.eachItemGraphicEl(function(L,y){var C=T.getItemModel(y),O=C.getModel("label"),N=C.getModel("emphasis.label"),k=T.getItemVisual(y,"color");L.useStyle(g.defaults(C.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(k,.4),stroke:k})),L.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(L.style,L.hoverStyle,O,N,{labelFetcher:s,labelDataIndex:y,defaultText:T.getName(y)||"",isRectText:!0,autoColor:k}),v.setHoverStyle(L,{}),L.dataModel=s}),x.__data=T,x.group.silent=s.get("silent")||t.get("silent")}});function l(t,s,d){var p,b,w=["x0","y0","x1","y1"];t?(p=g.map(t&&t.dimensions,function(x){var T=s.getData(),L=T.getDimensionInfo(T.mapDimension(x))||{};return g.defaults({name:x},L)}),b=new A(g.map(w,function(x,T){return{name:x,type:p[T%2].type}}),d)):(p=[{name:"value",type:"float"}],b=new A(p,d));var E=g.map(d.get("data"),g.curry(o,s,t,d));t&&(E=g.filter(E,g.curry(a,t)));var S=t?function(x,T,L,y){return x.coord[Math.floor(y/2)][y%2]}:function(x){return x.value};return b.initData(E,null,S),b.hasItemOption=!0,b}},"jsU+":function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("IUWy"),m=g.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),f.each(this.option.feature,function(h,c){var o=A.get(c);o&&f.merge(h,o.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),v=m;D.exports=v},jtI2:function(D,_,e){e("SMc4");var g=e("bLfw"),f=g.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});D.exports=f},juDX:function(D,_,e){e("P47w");var g=e("aX58"),f=g.registerPainter,A=e("3CBa");f("svg",A)},"k+1r":function(D,_,e){var g=e("QkVE");function f(A){var m=g(this,A).delete(A);return this.size-=m?1:0,m}D.exports=f},k5C7:function(D,_,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(D,_){var e="original",g="arrayRows",f="objectRows",A="keyedColumns",m="unknown",v="typedArray",h="column",c="row";_.SOURCE_FORMAT_ORIGINAL=e,_.SOURCE_FORMAT_ARRAY_ROWS=g,_.SOURCE_FORMAT_OBJECT_ROWS=f,_.SOURCE_FORMAT_KEYED_COLUMNS=A,_.SOURCE_FORMAT_UNKNOWN=m,_.SOURCE_FORMAT_TYPED_ARRAY=v,_.SERIES_LAYOUT_BY_COLUMN=h,_.SERIES_LAYOUT_BY_ROW=c},kDyi:function(D,_){function e(g){var f=g.findComponents({mainType:"legend"});f&&f.length&&g.filterSeries(function(A){for(var m=0;m<f.length;m++)if(!f[m].isSelected(A.name))return!1;return!0})}D.exports=e},kGiB:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("ABKa"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},kMLO:function(D,_,e){var g=e("XxSj"),f=e("Qe9p"),A=e("bYtY"),m=A.isArray,v="itemStyle",h={seriesType:"treemap",reset:function(t,s,d,p){var b=t.getData().tree,w=b.root,E=t.getModel(v);if(w.isRemoved())return;var S=A.map(b.levelModels,function(x){return x?x.get(v):null});c(w,{},S,E,t.getViewRoot().getAncestors(),t)}};function c(t,s,d,p,b,w){var E=t.getModel(),S=t.getLayout();if(!S||S.invisible||!S.isInView)return;var x=t.getModel(v),T=d[t.depth],L=o(x,s,T,p),y=x.get("borderColor"),C=x.get("borderColorSaturation"),O;C!=null&&(O=i(L,t),y=n(C,O)),t.setVisual("borderColor",y);var N=t.viewChildren;if(!N||!N.length)O=i(L,t),t.setVisual("color",O);else{var k=u(t,E,S,x,L,N);A.each(N,function(F,B){if(F.depth>=b.length||F===b[F.depth]){var H=l(E,L,F,B,k,w);c(F,H,d,p,b,w)}})}}function o(t,s,d,p){var b=A.extend({},s);return A.each(["color","colorAlpha","colorSaturation"],function(w){var E=t.get(w,!0);E==null&&d&&(E=d[w]),E==null&&(E=s[w]),E==null&&(E=p.get(w)),E!=null&&(b[w]=E)}),b}function i(t){var s=a(t,"color");if(s){var d=a(t,"colorAlpha"),p=a(t,"colorSaturation");return p&&(s=f.modifyHSL(s,null,null,p)),d&&(s=f.modifyAlpha(s,d)),s}}function n(t,s){return s!=null?f.modifyHSL(s,null,null,t):null}function a(t,s){var d=t[s];if(d!=null&&d!=="none")return d}function u(t,s,d,p,b,w){if(!w||!w.length)return;var E=r(s,"color")||b.color!=null&&b.color!=="none"&&(r(s,"colorAlpha")||r(s,"colorSaturation"));if(!E)return;var S=s.get("visualMin"),x=s.get("visualMax"),T=d.dataExtent.slice();S!=null&&S<T[0]&&(T[0]=S),x!=null&&x>T[1]&&(T[1]=x);var L=s.get("colorMappingBy"),y={type:E.name,dataExtent:T,visual:E.range};y.type==="color"&&(L==="index"||L==="id")?(y.mappingMethod="category",y.loop=!0):y.mappingMethod="linear";var C=new g(y);return C.__drColorMappingBy=L,C}function r(t,s){var d=t.get(s);return m(d)&&d.length?{name:s,range:d}:null}function l(t,s,d,p,b,w){var E=A.extend({},s);if(b){var S=b.type,x=S==="color"&&b.__drColorMappingBy,T=x==="index"?p:x==="id"?w.mapIdToIndex(d.getId()):d.getValue(t.get("visualDimension"));E[S]=b.mapValueToVisual(T)}return E}D.exports=h},kPKH:function(D,_,e){"use strict";var g=e("/kpp");_.a=g.a},kaz8:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),o=e.n(c),i=e("PJYZ"),n=e.n(i),a=e("7W2i"),u=e.n(a),r=e("LQ03"),l=e.n(r),t=e("q1tI"),s=e("TSYQ"),d=e.n(s),p=e("+6Fa"),b=e("RIqP"),w=e.n(b),E=e("BGR+"),S=e("H84U"),x=function(B,H){var W={};for(var R in B)Object.prototype.hasOwnProperty.call(B,R)&&H.indexOf(R)<0&&(W[R]=B[R]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,R=Object.getOwnPropertySymbols(B);U<R.length;U++)H.indexOf(R[U])<0&&Object.prototype.propertyIsEnumerable.call(B,R[U])&&(W[R[U]]=B[R[U]]);return W},T=t.createContext(null),L=function(B){u()(W,B);var H=l()(W);function W(R){var U;return h()(this,W),U=H.call(this,R),U.cancelValue=function(j){U.setState(function(P){var K=P.registeredValues;return{registeredValues:K.filter(function(V){return V!==j})}})},U.registerValue=function(j){U.setState(function(P){var K=P.registeredValues;return{registeredValues:[].concat(w()(K),[j])}})},U.toggleOption=function(j){var P=U.state.registeredValues,K=U.state.value.indexOf(j.value),V=w()(U.state.value);K===-1?V.push(j.value):V.splice(K,1),"value"in U.props||U.setState({value:V});var z=U.props.onChange;if(z){var X=U.getOptions();z(V.filter(function(G){return P.indexOf(G)!==-1}).sort(function(G,le){var Y=X.findIndex(function(we){return we.value===G}),me=X.findIndex(function(we){return we.value===le});return Y-me}))}},U.renderGroup=function(j){var P=j.getPrefixCls,K=j.direction,V=n()(U),z=V.props,X=V.state,G=z.prefixCls,le=z.className,Y=z.style,me=z.options,we=x(z,["prefixCls","className","style","options"]),pe=P("checkbox",G),Fe="".concat(pe,"-group"),Xe=Object(E.default)(we,["children","defaultValue","value","onChange","disabled"]),dt=z.children;me&&me.length>0&&(dt=U.getOptions().map(function(at){return t.createElement(k,{prefixCls:pe,key:at.value.toString(),disabled:"disabled"in at?at.disabled:z.disabled,value:at.value,checked:X.value.indexOf(at.value)!==-1,onChange:at.onChange,className:"".concat(Fe,"-item"),style:at.style},at.label)}));var Ee={toggleOption:U.toggleOption,value:U.state.value,disabled:U.props.disabled,name:U.props.name,registerValue:U.registerValue,cancelValue:U.cancelValue},Se=d()(Fe,le,f()({},"".concat(Fe,"-rtl"),K==="rtl"));return t.createElement("div",m()({className:Se,style:Y},Xe),t.createElement(T.Provider,{value:Ee},dt))},U.state={value:R.value||R.defaultValue||[],registeredValues:[]},U}return o()(W,[{key:"getOptions",value:function(){var U=this.props.options;return U.map(function(j){return typeof j=="string"?{label:j,value:j}:j})}},{key:"render",value:function(){return t.createElement(S.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(U){return"value"in U?{value:U.value||[]}:null}}]),W}(t.PureComponent);L.defaultProps={options:[]};var y=L,C=e("uaoM"),O=function(B,H){var W={};for(var R in B)Object.prototype.hasOwnProperty.call(B,R)&&H.indexOf(R)<0&&(W[R]=B[R]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,R=Object.getOwnPropertySymbols(B);U<R.length;U++)H.indexOf(R[U])<0&&Object.prototype.propertyIsEnumerable.call(B,R[U])&&(W[R[U]]=B[R[U]]);return W},N=function(B){u()(W,B);var H=l()(W);function W(){var R;return h()(this,W),R=H.apply(this,arguments),R.saveCheckbox=function(U){R.rcCheckbox=U},R.renderCheckbox=function(U){var j,P=U.getPrefixCls,K=U.direction,V=n()(R),z=V.props,X=V.context,G=z.prefixCls,le=z.className,Y=z.children,me=z.indeterminate,we=z.style,pe=z.onMouseEnter,Fe=z.onMouseLeave,Xe=O(z,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),dt=X,Ee=P("checkbox",G),Se=m()({},Xe);dt&&(Se.onChange=function(){Xe.onChange&&Xe.onChange.apply(Xe,arguments),dt.toggleOption({label:Y,value:z.value})},Se.name=dt.name,Se.checked=dt.value.indexOf(z.value)!==-1,Se.disabled=z.disabled||dt.disabled);var at=d()(le,(j={},f()(j,"".concat(Ee,"-wrapper"),!0),f()(j,"".concat(Ee,"-rtl"),K==="rtl"),f()(j,"".concat(Ee,"-wrapper-checked"),Se.checked),f()(j,"".concat(Ee,"-wrapper-disabled"),Se.disabled),j)),_e=d()(f()({},"".concat(Ee,"-indeterminate"),me));return t.createElement("label",{className:at,style:we,onMouseEnter:pe,onMouseLeave:Fe},t.createElement(p.a,m()({},Se,{prefixCls:Ee,className:_e,ref:R.saveCheckbox})),Y!==void 0&&t.createElement("span",null,Y))},R}return o()(W,[{key:"componentDidMount",value:function(){var U,j=this.props.value;(U=this.context)===null||U===void 0||U.registerValue(j),Object(C.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(U){var j=U.value,P,K,V=this.props.value;V!==j&&((P=this.context)===null||P===void 0||P.cancelValue(j),(K=this.context)===null||K===void 0||K.registerValue(V))}},{key:"componentWillUnmount",value:function(){var U,j=this.props.value;(U=this.context)===null||U===void 0||U.cancelValue(j)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return t.createElement(S.a,null,this.renderCheckbox)}}]),W}(t.PureComponent);N.__ANT_CHECKBOX=!0,N.defaultProps={indeterminate:!1},N.contextType=T;var k=N;k.Group=y;var F=_.a=k},kekF:function(D,_){function e(g,f){return function(A){return g(f(A))}}D.exports=e},kj2x:function(D,_,e){var g=e("bYtY"),f=e("OELB"),A=e("7hqr"),m=A.isDimensionStacked,v=g.indexOf;function h(d){return!(isNaN(parseFloat(d.x))&&isNaN(parseFloat(d.y)))}function c(d){return!isNaN(parseFloat(d.x))&&!isNaN(parseFloat(d.y))}function o(d,p,b,w,E,S){var x=[],T=m(p,w),L=T?p.getCalculationInfo("stackResultDimension"):w,y=s(p,L,d),C=p.indicesOfNearest(L,y)[0];x[E]=p.get(b,C),x[S]=p.get(L,C);var O=p.get(w,C),N=f.getPrecision(p.get(w,C));return N=Math.min(N,20),N>=0&&(x[S]=+x[S].toFixed(N)),[x,O]}var i=g.curry,n={min:i(o,"min"),max:i(o,"max"),average:i(o,"average")};function a(d,p){var b=d.getData(),w=d.coordinateSystem;if(p&&!c(p)&&!g.isArray(p.coord)&&w){var E=w.dimensions,S=u(p,b,w,d);if(p=g.clone(p),p.type&&n[p.type]&&S.baseAxis&&S.valueAxis){var x=v(E,S.baseAxis.dim),T=v(E,S.valueAxis.dim),L=n[p.type](b,S.baseDataDim,S.valueDataDim,x,T);p.coord=L[0],p.value=L[1]}else{for(var y=[p.xAxis!=null?p.xAxis:p.radiusAxis,p.yAxis!=null?p.yAxis:p.angleAxis],C=0;C<2;C++)n[y[C]]&&(y[C]=s(b,b.mapDimension(E[C]),y[C]));p.coord=y}}return p}function u(d,p,b,w){var E={};return d.valueIndex!=null||d.valueDim!=null?(E.valueDataDim=d.valueIndex!=null?p.getDimension(d.valueIndex):d.valueDim,E.valueAxis=b.getAxis(r(w,E.valueDataDim)),E.baseAxis=b.getOtherAxis(E.valueAxis),E.baseDataDim=p.mapDimension(E.baseAxis.dim)):(E.baseAxis=w.getBaseAxis(),E.valueAxis=b.getOtherAxis(E.baseAxis),E.baseDataDim=p.mapDimension(E.baseAxis.dim),E.valueDataDim=p.mapDimension(E.valueAxis.dim)),E}function r(d,p){var b=d.getData(),w=b.dimensions;p=b.getDimension(p);for(var E=0;E<w.length;E++){var S=b.getDimensionInfo(w[E]);if(S.name===p)return S.coordDim}}function l(d,p){return d&&d.containData&&p.coord&&!h(p)?d.containData(p.coord):!0}function t(d,p,b,w){return w<2?d.coord&&d.coord[w]:d.value}function s(d,p,b){if(b==="average"){var w=0,E=0;return d.each(p,function(S,x){isNaN(S)||(w+=S,E++)}),w/E}else return b==="median"?d.getMedian(p):d.getDataExtent(p,!0)[b==="max"?1:0]}_.dataTransform=a,_.getAxisInfo=u,_.dataFilter=l,_.dimValueGetter=t,_.numCalculate=s},knOB:function(D,_,e){var g=e("bYtY"),f=e("hM6l");function A(v,h){f.call(this,"radius",v,h),this.type="category"}A.prototype={constructor:A,pointToData:function(v,h){return this.polar.pointToData(v,h)[this.dim==="radius"?0:1]},dataToRadius:f.prototype.dataToCoord,radiusToData:f.prototype.coordToData},g.inherits(A,f);var m=A;D.exports=m},ko1b:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),A=e("Bsck"),m=e("Qxkt"),v=e("7aKB"),h=v.encodeHTML,c=v.addCommas,o=e("VaxA"),i=o.wrapTreePathInfo,n=f.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(r,l){var t={name:r.name,children:r.data};a(t);var s=r.levels||[];s=r.levels=u(s,l);var d=g.map(s||[],function(w){return new m(w,this,l)},this),p=A.createTree(t,this,null,b);function b(w){w.wrapMethod("getItemModel",function(E,S){var x=p.getNodeByDataIndex(S),T=d[x.depth];return T&&(E.parentModel=T),E})}return p.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(r){var l=this.getData(),t=this.getRawValue(r),s=g.isArray(t)?c(t[0]):c(t),d=l.getName(r);return h(d+": "+s)},getDataParams:function(r){var l=f.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(r);return l.treePathInfo=i(t,this),l},setLayoutInfo:function(r){this.layoutInfo=this.layoutInfo||{},g.extend(this.layoutInfo,r)},mapIdToIndex:function(r){var l=this._idIndexMap;l||(l=this._idIndexMap=g.createHashMap(),this._idIndexMapCount=0);var t=l.get(r);return t==null&&l.set(r,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(r){r?this._viewRoot=r:r=this._viewRoot;var l=this.getRawData().tree.root;(!r||r!==l&&!l.contains(r))&&(this._viewRoot=l)}});function a(r){var l=0;g.each(r.children,function(s){a(s);var d=s.value;g.isArray(d)&&(d=d[0]),l+=d});var t=r.value;g.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=l),t<0&&(t=0),g.isArray(r.value)?r.value[0]=t:r.value=t}function u(r,l){var t=l.get("color");if(!t)return;r=r||[];var s;if(g.each(r,function(p){var b=new m(p),w=b.get("color");(b.get("itemStyle.color")||w&&w!=="none")&&(s=!0)}),!s){var d=r[0]||(r[0]={});d.color=t.slice()}return r}D.exports=n},kzFp:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g=_.pick=function(A,m){var v={};return m.forEach(function(h){v[h]=A[h]}),v}},kzvK:function(D,_,e){var g=e("sS/r"),f=g.extend({type:"timeline"});D.exports=f},"l+S1":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="SearchOutlined";var h=_.a=g.forwardRef(v)},lE7J:function(D,_,e){var g=e("OELB"),f=g.round;function A(c,o,i,n){var a={},u=c[1]-c[0],r=a.interval=g.nice(u/o,!0);i!=null&&r<i&&(r=a.interval=i),n!=null&&r>n&&(r=a.interval=n);var l=a.intervalPrecision=m(r),t=a.niceTickExtent=[f(Math.ceil(c[0]/r)*r,l),f(Math.floor(c[1]/r)*r,l)];return h(t,c),a}function m(c){return g.getPrecisionSafe(c)+2}function v(c,o,i){c[o]=Math.max(Math.min(c[o],i[1]),i[0])}function h(c,o){!isFinite(c[0])&&(c[0]=o[0]),!isFinite(c[1])&&(c[1]=o[1]),v(c,0,o),v(c,1,o),c[0]>c[1]&&(c[0]=c[1])}_.intervalScaleNiceTicks=A,_.getIntervalPrecision=m,_.fixExtent=h},lELe:function(D,_,e){var g=e("bYtY");function f(A){var m=[];g.each(A.series,function(v){v&&v.type==="map"&&(m.push(v),v.map=v.map||v.mapType,g.defaults(v,v.mapLocation))})}D.exports=f},lLGD:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("nVfU"),m=A.layout,v=A.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),g.registerLayout(g.PRIORITY.VISUAL.LAYOUT,f.curry(m,"bar")),g.registerLayout(g.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),g.registerVisual({seriesType:"bar",reset:function(h){h.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(D,_,e){"use strict";function g(ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(ht){return typeof ht}:g=function(ht){return ht&&typeof Symbol=="function"&&ht.constructor===Symbol&&ht!==Symbol.prototype?"symbol":typeof ht},g(ye)}Object.defineProperty(_,"__esModule",{value:!0}),_.deflateInit=Ve,_.deflateInit2=lt,_.deflateReset=et,_.deflateResetKeep=Ge,_.deflateSetHeader=rt,_.deflate=ie,_.deflateEnd=$,_.deflateSetDictionary=it,_.deflateInfo=_.Z_DEFLATED=_.Z_UNKNOWN=_.Z_DEFAULT_STRATEGY=_.Z_FIXED=_.Z_RLE=_.Z_HUFFMAN_ONLY=_.Z_FILTERED=_.Z_DEFAULT_COMPRESSION=_.Z_BUF_ERROR=_.Z_DATA_ERROR=_.Z_STREAM_ERROR=_.Z_STREAM_END=_.Z_OK=_.Z_BLOCK=_.Z_FINISH=_.Z_FULL_FLUSH=_.Z_PARTIAL_FLUSH=_.Z_NO_FLUSH=void 0;var f=i(e("6BzB")),A=i(e("c5fP")),m=c(e("xlC8")),v=c(e("QV2g")),h=c(e("xSIq"));function c(ye){return ye&&ye.__esModule?ye:{default:ye}}function o(){if(typeof WeakMap!="function")return null;var ye=new WeakMap;return o=function(){return ye},ye}function i(ye){if(ye&&ye.__esModule)return ye;if(ye===null||g(ye)!=="object"&&typeof ye!="function")return{default:ye};var Zt=o();if(Zt&&Zt.has(ye))return Zt.get(ye);var ht={},ct=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var yt in ye)if(Object.prototype.hasOwnProperty.call(ye,yt)){var It=ct?Object.getOwnPropertyDescriptor(ye,yt):null;It&&(It.get||It.set)?Object.defineProperty(ht,yt,It):ht[yt]=ye[yt]}return ht.default=ye,Zt&&Zt.set(ye,ht),ht}var n=0;_.Z_NO_FLUSH=n;var a=1;_.Z_PARTIAL_FLUSH=a;var u=3;_.Z_FULL_FLUSH=u;var r=4;_.Z_FINISH=r;var l=5;_.Z_BLOCK=l;var t=0;_.Z_OK=t;var s=1;_.Z_STREAM_END=s;var d=-2;_.Z_STREAM_ERROR=d;var p=-3;_.Z_DATA_ERROR=p;var b=-5;_.Z_BUF_ERROR=b;var w=-1;_.Z_DEFAULT_COMPRESSION=w;var E=1;_.Z_FILTERED=E;var S=2;_.Z_HUFFMAN_ONLY=S;var x=3;_.Z_RLE=x;var T=4;_.Z_FIXED=T;var L=0;_.Z_DEFAULT_STRATEGY=L;var y=2;_.Z_UNKNOWN=y;var C=8;_.Z_DEFLATED=C;var O=9,N=15,k=8,F=29,B=256,H=B+1+F,W=30,R=19,U=2*H+1,j=15,P=3,K=258,V=K+P+1,z=32,X=42,G=69,le=73,Y=91,me=103,we=113,pe=666,Fe=1,Xe=2,dt=3,Ee=4,Se=3;function at(ye,Zt){return ye.msg=h.default[Zt],Zt}function _e(ye){return(ye<<1)-(ye>4?9:0)}function ce(ye){for(var Zt=ye.length;--Zt>=0;)ye[Zt]=0}function ee(ye){var Zt=ye.state,ht=Zt.pending;if(ht>ye.avail_out&&(ht=ye.avail_out),ht===0)return;f.arraySet(ye.output,Zt.pending_buf,Zt.pending_out,ht,ye.next_out),ye.next_out+=ht,Zt.pending_out+=ht,ye.total_out+=ht,ye.avail_out-=ht,Zt.pending-=ht,Zt.pending===0&&(Zt.pending_out=0)}function se(ye,Zt){A._tr_flush_block(ye,ye.block_start>=0?ye.block_start:-1,ye.strstart-ye.block_start,Zt),ye.block_start=ye.strstart,ee(ye.strm)}function ke(ye,Zt){ye.pending_buf[ye.pending++]=Zt}function Ce(ye,Zt){ye.pending_buf[ye.pending++]=Zt>>>8&255,ye.pending_buf[ye.pending++]=Zt&255}function ze(ye,Zt,ht,ct){var yt=ye.avail_in;return yt>ct&&(yt=ct),yt===0?0:(ye.avail_in-=yt,f.arraySet(Zt,ye.input,ye.next_in,yt,ht),ye.state.wrap===1?ye.adler=(0,m.default)(ye.adler,Zt,yt,ht):ye.state.wrap===2&&(ye.adler=(0,v.default)(ye.adler,Zt,yt,ht)),ye.next_in+=yt,ye.total_in+=yt,yt)}function Oe(ye,Zt){var ht=ye.max_chain_length,ct=ye.strstart,yt,It,or=ye.prev_length,Bt=ye.nice_match,Ae=ye.strstart>ye.w_size-V?ye.strstart-(ye.w_size-V):0,ve=ye.window,fe=ye.w_mask,ue=ye.prev,Ne=ye.strstart+K,je=ve[ct+or-1],Ke=ve[ct+or];ye.prev_length>=ye.good_match&&(ht>>=2),Bt>ye.lookahead&&(Bt=ye.lookahead);do{if(yt=Zt,ve[yt+or]!==Ke||ve[yt+or-1]!==je||ve[yt]!==ve[ct]||ve[++yt]!==ve[ct+1])continue;ct+=2,yt++;do;while(ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ct<Ne);if(It=K-(Ne-ct),ct=Ne-K,It>or){if(ye.match_start=Zt,or=It,It>=Bt)break;je=ve[ct+or-1],Ke=ve[ct+or]}}while((Zt=ue[Zt&fe])>Ae&&--ht!==0);return or<=ye.lookahead?or:ye.lookahead}function ae(ye){var Zt=ye.w_size,ht,ct,yt,It,or;do{if(It=ye.window_size-ye.lookahead-ye.strstart,ye.strstart>=Zt+(Zt-V)){f.arraySet(ye.window,ye.window,Zt,Zt,0),ye.match_start-=Zt,ye.strstart-=Zt,ye.block_start-=Zt,ct=ye.hash_size,ht=ct;do yt=ye.head[--ht],ye.head[ht]=yt>=Zt?yt-Zt:0;while(--ct);ct=Zt,ht=ct;do yt=ye.prev[--ht],ye.prev[ht]=yt>=Zt?yt-Zt:0;while(--ct);It+=Zt}if(ye.strm.avail_in===0)break;if(ct=ze(ye.strm,ye.window,ye.strstart+ye.lookahead,It),ye.lookahead+=ct,ye.lookahead+ye.insert>=P)for(or=ye.strstart-ye.insert,ye.ins_h=ye.window[or],ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[or+1])&ye.hash_mask;ye.insert&&!(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[or+P-1])&ye.hash_mask,ye.prev[or&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=or,or++,ye.insert--,ye.lookahead+ye.insert<P););}while(ye.lookahead<V&&ye.strm.avail_in!==0)}function ge(ye,Zt){var ht=65535;for(ht>ye.pending_buf_size-5&&(ht=ye.pending_buf_size-5);;){if(ye.lookahead<=1){if(ae(ye),ye.lookahead===0&&Zt===n)return Fe;if(ye.lookahead===0)break}ye.strstart+=ye.lookahead,ye.lookahead=0;var ct=ye.block_start+ht;if((ye.strstart===0||ye.strstart>=ct)&&(ye.lookahead=ye.strstart-ct,ye.strstart=ct,se(ye,!1),ye.strm.avail_out===0))return Fe;if(ye.strstart-ye.block_start>=ye.w_size-V&&(se(ye,!1),ye.strm.avail_out===0))return Fe}return ye.insert=0,Zt===r?(se(ye,!0),ye.strm.avail_out===0?dt:Ee):(ye.strstart>ye.block_start&&(se(ye,!1),ye.strm.avail_out===0),Fe)}function Le(ye,Zt){for(var ht,ct;;){if(ye.lookahead<V){if(ae(ye),ye.lookahead<V&&Zt===n)return Fe;if(ye.lookahead===0)break}if(ht=0,ye.lookahead>=P&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+P-1])&ye.hash_mask,ht=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart),ht!==0&&ye.strstart-ht<=ye.w_size-V&&(ye.match_length=Oe(ye,ht)),ye.match_length>=P)if(ct=A._tr_tally(ye,ye.strstart-ye.match_start,ye.match_length-P),ye.lookahead-=ye.match_length,ye.match_length<=ye.max_lazy_match&&ye.lookahead>=P){ye.match_length--;do ye.strstart++,ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+P-1])&ye.hash_mask,ht=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart;while(--ye.match_length!==0);ye.strstart++}else ye.strstart+=ye.match_length,ye.match_length=0,ye.ins_h=ye.window[ye.strstart],ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+1])&ye.hash_mask;else ct=A._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++;if(ct&&(se(ye,!1),ye.strm.avail_out===0))return Fe}return ye.insert=ye.strstart<P-1?ye.strstart:P-1,Zt===r?(se(ye,!0),ye.strm.avail_out===0?dt:Ee):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Fe:Xe}function Ze(ye,Zt){for(var ht,ct,yt;;){if(ye.lookahead<V){if(ae(ye),ye.lookahead<V&&Zt===n)return Fe;if(ye.lookahead===0)break}if(ht=0,ye.lookahead>=P&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+P-1])&ye.hash_mask,ht=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart),ye.prev_length=ye.match_length,ye.prev_match=ye.match_start,ye.match_length=P-1,ht!==0&&ye.prev_length<ye.max_lazy_match&&ye.strstart-ht<=ye.w_size-V&&(ye.match_length=Oe(ye,ht),ye.match_length<=5&&(ye.strategy===E||ye.match_length===P&&ye.strstart-ye.match_start>4096)&&(ye.match_length=P-1)),ye.prev_length>=P&&ye.match_length<=ye.prev_length){yt=ye.strstart+ye.lookahead-P,ct=A._tr_tally(ye,ye.strstart-1-ye.prev_match,ye.prev_length-P),ye.lookahead-=ye.prev_length-1,ye.prev_length-=2;do++ye.strstart<=yt&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+P-1])&ye.hash_mask,ht=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart);while(--ye.prev_length!==0);if(ye.match_available=0,ye.match_length=P-1,ye.strstart++,ct&&(se(ye,!1),ye.strm.avail_out===0))return Fe}else if(ye.match_available){if(ct=A._tr_tally(ye,0,ye.window[ye.strstart-1]),ct&&se(ye,!1),ye.strstart++,ye.lookahead--,ye.strm.avail_out===0)return Fe}else ye.match_available=1,ye.strstart++,ye.lookahead--}return ye.match_available&&(ct=A._tr_tally(ye,0,ye.window[ye.strstart-1]),ye.match_available=0),ye.insert=ye.strstart<P-1?ye.strstart:P-1,Zt===r?(se(ye,!0),ye.strm.avail_out===0?dt:Ee):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Fe:Xe}function vt(ye,Zt){for(var ht,ct,yt,It,or=ye.window;;){if(ye.lookahead<=K){if(ae(ye),ye.lookahead<=K&&Zt===n)return Fe;if(ye.lookahead===0)break}if(ye.match_length=0,ye.lookahead>=P&&ye.strstart>0&&(yt=ye.strstart-1,ct=or[yt],ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt])){It=ye.strstart+K;do;while(ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&yt<It);ye.match_length=K-(It-yt),ye.match_length>ye.lookahead&&(ye.match_length=ye.lookahead)}if(ye.match_length>=P?(ht=A._tr_tally(ye,1,ye.match_length-P),ye.lookahead-=ye.match_length,ye.strstart+=ye.match_length,ye.match_length=0):(ht=A._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++),ht&&(se(ye,!1),ye.strm.avail_out===0))return Fe}return ye.insert=0,Zt===r?(se(ye,!0),ye.strm.avail_out===0?dt:Ee):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Fe:Xe}function Ct(ye,Zt){for(var ht;;){if(ye.lookahead===0&&(ae(ye),ye.lookahead===0)){if(Zt===n)return Fe;break}if(ye.match_length=0,ht=A._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++,ht&&(se(ye,!1),ye.strm.avail_out===0))return Fe}return ye.insert=0,Zt===r?(se(ye,!0),ye.strm.avail_out===0?dt:Ee):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Fe:Xe}function Be(ye,Zt,ht,ct,yt){this.good_length=ye,this.max_lazy=Zt,this.nice_length=ht,this.max_chain=ct,this.func=yt}var Rt;Rt=[new Be(0,0,0,0,ge),new Be(4,4,8,4,Le),new Be(4,5,16,8,Le),new Be(4,6,32,32,Le),new Be(4,4,16,16,Ze),new Be(8,16,32,32,Ze),new Be(8,16,128,128,Ze),new Be(8,32,128,256,Ze),new Be(32,128,258,1024,Ze),new Be(32,258,258,4096,Ze)];function He(ye){ye.window_size=2*ye.w_size,ce(ye.head),ye.max_lazy_match=Rt[ye.level].max_lazy,ye.good_match=Rt[ye.level].good_length,ye.nice_match=Rt[ye.level].nice_length,ye.max_chain_length=Rt[ye.level].max_chain,ye.strstart=0,ye.block_start=0,ye.lookahead=0,ye.insert=0,ye.match_length=ye.prev_length=P-1,ye.match_available=0,ye.ins_h=0}function wt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new f.Buf16(U*2),this.dyn_dtree=new f.Buf16((2*W+1)*2),this.bl_tree=new f.Buf16((2*R+1)*2),ce(this.dyn_ltree),ce(this.dyn_dtree),ce(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(j+1),this.heap=new f.Buf16(2*H+1),ce(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*H+1),ce(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 Ge(ye){var Zt;return!ye||!ye.state?at(ye,d):(ye.total_in=ye.total_out=0,ye.data_type=y,Zt=ye.state,Zt.pending=0,Zt.pending_out=0,Zt.wrap<0&&(Zt.wrap=-Zt.wrap),Zt.status=Zt.wrap?X:we,ye.adler=Zt.wrap===2?0:1,Zt.last_flush=n,A._tr_init(Zt),t)}function et(ye){var Zt=Ge(ye);return Zt===t&&He(ye.state),Zt}function rt(ye,Zt){return!ye||!ye.state||ye.state.wrap!==2?d:(ye.state.gzhead=Zt,t)}function lt(ye,Zt,ht,ct,yt,It){if(!ye)return d;var or=1;if(Zt===w&&(Zt=6),ct<0?(or=0,ct=-ct):ct>15&&(or=2,ct-=16),yt<1||yt>O||ht!==C||ct<8||ct>15||Zt<0||Zt>9||It<0||It>T)return at(ye,d);ct===8&&(ct=9);var Bt=new wt;return ye.state=Bt,Bt.strm=ye,Bt.wrap=or,Bt.gzhead=null,Bt.w_bits=ct,Bt.w_size=1<<Bt.w_bits,Bt.w_mask=Bt.w_size-1,Bt.hash_bits=yt+7,Bt.hash_size=1<<Bt.hash_bits,Bt.hash_mask=Bt.hash_size-1,Bt.hash_shift=~~((Bt.hash_bits+P-1)/P),Bt.window=new f.Buf8(Bt.w_size*2),Bt.head=new f.Buf16(Bt.hash_size),Bt.prev=new f.Buf16(Bt.w_size),Bt.lit_bufsize=1<<yt+6,Bt.pending_buf_size=Bt.lit_bufsize*4,Bt.pending_buf=new f.Buf8(Bt.pending_buf_size),Bt.d_buf=1*Bt.lit_bufsize,Bt.l_buf=(1+2)*Bt.lit_bufsize,Bt.level=Zt,Bt.strategy=It,Bt.method=ht,et(ye)}function Ve(ye,Zt){return lt(ye,Zt,C,N,k,L)}function ie(ye,Zt){var ht,ct,yt,It;if(!ye||!ye.state||Zt>l||Zt<0)return ye?at(ye,d):d;if(ct=ye.state,!ye.output||!ye.input&&ye.avail_in!==0||ct.status===pe&&Zt!==r)return at(ye,ye.avail_out===0?b:d);if(ct.strm=ye,ht=ct.last_flush,ct.last_flush=Zt,ct.status===X)if(ct.wrap===2)ye.adler=0,ke(ct,31),ke(ct,139),ke(ct,8),ct.gzhead?(ke(ct,(ct.gzhead.text?1:0)+(ct.gzhead.hcrc?2:0)+(ct.gzhead.extra?4:0)+(ct.gzhead.name?8:0)+(ct.gzhead.comment?16:0)),ke(ct,ct.gzhead.time&255),ke(ct,ct.gzhead.time>>8&255),ke(ct,ct.gzhead.time>>16&255),ke(ct,ct.gzhead.time>>24&255),ke(ct,ct.level===9?2:ct.strategy>=S||ct.level<2?4:0),ke(ct,ct.gzhead.os&255),ct.gzhead.extra&&ct.gzhead.extra.length&&(ke(ct,ct.gzhead.extra.length&255),ke(ct,ct.gzhead.extra.length>>8&255)),ct.gzhead.hcrc&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending,0)),ct.gzindex=0,ct.status=G):(ke(ct,0),ke(ct,0),ke(ct,0),ke(ct,0),ke(ct,0),ke(ct,ct.level===9?2:ct.strategy>=S||ct.level<2?4:0),ke(ct,Se),ct.status=we);else{var or=C+(ct.w_bits-8<<4)<<8,Bt=-1;ct.strategy>=S||ct.level<2?Bt=0:ct.level<6?Bt=1:ct.level===6?Bt=2:Bt=3,or|=Bt<<6,ct.strstart!==0&&(or|=z),or+=31-or%31,ct.status=we,Ce(ct,or),ct.strstart!==0&&(Ce(ct,ye.adler>>>16),Ce(ct,ye.adler&65535)),ye.adler=1}if(ct.status===G)if(ct.gzhead.extra){for(yt=ct.pending;ct.gzindex<(ct.gzhead.extra.length&65535)&&!(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ee(ye),yt=ct.pending,ct.pending===ct.pending_buf_size));)ke(ct,ct.gzhead.extra[ct.gzindex]&255),ct.gzindex++;ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ct.gzindex===ct.gzhead.extra.length&&(ct.gzindex=0,ct.status=le)}else ct.status=le;if(ct.status===le)if(ct.gzhead.name){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ee(ye),yt=ct.pending,ct.pending===ct.pending_buf_size)){It=1;break}ct.gzindex<ct.gzhead.name.length?It=ct.gzhead.name.charCodeAt(ct.gzindex++)&255:It=0,ke(ct,It)}while(It!==0);ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),It===0&&(ct.gzindex=0,ct.status=Y)}else ct.status=Y;if(ct.status===Y)if(ct.gzhead.comment){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ee(ye),yt=ct.pending,ct.pending===ct.pending_buf_size)){It=1;break}ct.gzindex<ct.gzhead.comment.length?It=ct.gzhead.comment.charCodeAt(ct.gzindex++)&255:It=0,ke(ct,It)}while(It!==0);ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),It===0&&(ct.status=me)}else ct.status=me;if(ct.status===me&&(ct.gzhead.hcrc?(ct.pending+2>ct.pending_buf_size&&ee(ye),ct.pending+2<=ct.pending_buf_size&&(ke(ct,ye.adler&255),ke(ct,ye.adler>>8&255),ye.adler=0,ct.status=we)):ct.status=we),ct.pending!==0){if(ee(ye),ye.avail_out===0)return ct.last_flush=-1,t}else if(ye.avail_in===0&&_e(Zt)<=_e(ht)&&Zt!==r)return at(ye,b);if(ct.status===pe&&ye.avail_in!==0)return at(ye,b);if(ye.avail_in!==0||ct.lookahead!==0||Zt!==n&&ct.status!==pe){var Ae=ct.strategy===S?Ct(ct,Zt):ct.strategy===x?vt(ct,Zt):Rt[ct.level].func(ct,Zt);if((Ae===dt||Ae===Ee)&&(ct.status=pe),Ae===Fe||Ae===dt)return ye.avail_out===0&&(ct.last_flush=-1),t;if(Ae===Xe&&(Zt===a?A._tr_align(ct):Zt!==l&&(A._tr_stored_block(ct,0,0,!1),Zt===u&&(ce(ct.head),ct.lookahead===0&&(ct.strstart=0,ct.block_start=0,ct.insert=0))),ee(ye),ye.avail_out===0))return ct.last_flush=-1,t}return Zt!==r?t:ct.wrap<=0?s:(ct.wrap===2?(ke(ct,ye.adler&255),ke(ct,ye.adler>>8&255),ke(ct,ye.adler>>16&255),ke(ct,ye.adler>>24&255),ke(ct,ye.total_in&255),ke(ct,ye.total_in>>8&255),ke(ct,ye.total_in>>16&255),ke(ct,ye.total_in>>24&255)):(Ce(ct,ye.adler>>>16),Ce(ct,ye.adler&65535)),ee(ye),ct.wrap>0&&(ct.wrap=-ct.wrap),ct.pending!==0?t:s)}function $(ye){var Zt;return!ye||!ye.state?d:(Zt=ye.state.status,Zt!==X&&Zt!==G&&Zt!==le&&Zt!==Y&&Zt!==me&&Zt!==we&&Zt!==pe?at(ye,d):(ye.state=null,Zt===we?at(ye,p):t))}function it(ye,Zt){var ht=Zt.length,ct,yt,It,or,Bt,Ae,ve,fe;if(!ye||!ye.state)return d;if(ct=ye.state,or=ct.wrap,or===2||or===1&&ct.status!==X||ct.lookahead)return d;for(or===1&&(ye.adler=(0,m.default)(ye.adler,Zt,ht,0)),ct.wrap=0,ht>=ct.w_size&&(or===0&&(ce(ct.head),ct.strstart=0,ct.block_start=0,ct.insert=0),fe=new f.Buf8(ct.w_size),f.arraySet(fe,Zt,ht-ct.w_size,ct.w_size,0),Zt=fe,ht=ct.w_size),Bt=ye.avail_in,Ae=ye.next_in,ve=ye.input,ye.avail_in=ht,ye.next_in=0,ye.input=Zt,ae(ct);ct.lookahead>=P;){yt=ct.strstart,It=ct.lookahead-(P-1);do ct.ins_h=(ct.ins_h<<ct.hash_shift^ct.window[yt+P-1])&ct.hash_mask,ct.prev[yt&ct.w_mask]=ct.head[ct.ins_h],ct.head[ct.ins_h]=yt,yt++;while(--It);ct.strstart=yt,ct.lookahead=P-1,ae(ct)}return ct.strstart+=ct.lookahead,ct.block_start=ct.strstart,ct.insert=ct.lookahead,ct.lookahead=0,ct.match_length=ct.prev_length=P-1,ct.match_available=0,ye.next_in=Ae,ye.input=ve,ye.avail_in=Bt,ct.wrap=or,t}var Qe="pako deflate (from Nodeca project)";_.deflateInfo=Qe},lOQZ:function(D,_,e){var g=e("QBsz"),f=e("U/Mo"),A=f.getSymbolSize,m=f.getNodeGlobalScale,v=Math.PI,h=[];function c(i,n){var a=i.coordinateSystem;if(a&&a.type!=="view")return;var u=a.getBoundingRect(),r=i.getData(),l=r.graph,t=u.width/2+u.x,s=u.height/2+u.y,d=Math.min(u.width,u.height)/2,p=r.count();if(r.setLayout({cx:t,cy:s}),!p)return;o[n](i,a,l,r,d,t,s,p),l.eachEdge(function(b){var w=b.getModel().get("lineStyle.curveness")||0,E=g.clone(b.node1.getLayout()),S=g.clone(b.node2.getLayout()),x,T=(E[0]+S[0])/2,L=(E[1]+S[1])/2;+w&&(w*=3,x=[t*w+T*(1-w),s*w+L*(1-w)]),b.setLayout([E,S,x])})}var o={value:function(i,n,a,u,r,l,t,s){var d=0,p=u.getSum("value"),b=Math.PI*2/(p||s);a.eachNode(function(w){var E=w.getValue("value"),S=b*(p?E:1)/2;d+=S,w.setLayout([r*Math.cos(d)+l,r*Math.sin(d)+t]),d+=S})},symbolSize:function(i,n,a,u,r,l,t,s){var d=0;h.length=s;var p=m(i);a.eachNode(function(E){var S=A(E);isNaN(S)&&(S=2),S<0&&(S=0),S*=p;var x=Math.asin(S/2/r);isNaN(x)&&(x=v/2),h[E.dataIndex]=x,d+=x*2});var b=(2*v-d)/s/2,w=0;a.eachNode(function(E){var S=b+h[E.dataIndex];w+=S,E.setLayout([r*Math.cos(w)+l,r*Math.sin(w)+t]),w+=S})}};_.circularLayout=c},lSCD:function(D,_,e){var g=e("NykK"),f=e("GoyQ"),A="[object AsyncFunction]",m="[object Function]",v="[object GeneratorFunction]",h="[object Proxy]";function c(o){if(!f(o))return!1;var i=g(o);return i==m||i==v||i==A||i==h}D.exports=c},lUTK:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("x54q"),m=e.n(A),v=e("5Dmo")},lZu9:function(D,_,e){(function(g){g(e("VrN/"),e("1eCo"),e("8EBN"))})(function(g){"use strict";g.defineMode("markdown",function(f,A){var m=g.getMode(f,"text/html"),v=m.name=="null";function h(j){if(g.findModeByName){var P=g.findModeByName(j);P&&(j=P.mime||P.mimes[0])}var K=g.getMode(f,j);return K.name=="null"?null:K}A.highlightFormatting===void 0&&(A.highlightFormatting=!1),A.maxBlockquoteDepth===void 0&&(A.maxBlockquoteDepth=0),A.taskLists===void 0&&(A.taskLists=!1),A.strikethrough===void 0&&(A.strikethrough=!1),A.emoji===void 0&&(A.emoji=!1),A.fencedCodeBlockHighlighting===void 0&&(A.fencedCodeBlockHighlighting=!0),A.fencedCodeBlockDefaultMode===void 0&&(A.fencedCodeBlockDefaultMode="text/plain"),A.xml===void 0&&(A.xml=!0),A.tokenTypeOverrides===void 0&&(A.tokenTypeOverrides={});var c={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var o in c)c.hasOwnProperty(o)&&A.tokenTypeOverrides[o]&&(c[o]=A.tokenTypeOverrides[o]);var i=/^([*\-_])(?:\s*\1){2,}\s*$/,n=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,a=/^\[(x| )\](?=\s)/i,u=A.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,r=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,d=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,p=" ";function b(j,P,K){return P.f=P.inline=K,K(j,P)}function w(j,P,K){return P.f=P.block=K,K(j,P)}function E(j){return!j||!/\S/.test(j.string)}function S(j){if(j.linkTitle=!1,j.linkHref=!1,j.linkText=!1,j.em=!1,j.strong=!1,j.strikethrough=!1,j.quote=0,j.indentedCode=!1,j.f==T){var P=v;if(!P){var K=g.innerMode(m,j.htmlState);P=K.mode.name=="xml"&&K.state.tagStart===null&&!K.state.context&&K.state.tokenize.isInText}P&&(j.f=O,j.block=x,j.htmlState=null)}return j.trailingSpace=0,j.trailingSpaceNewLine=!1,j.prevLine=j.thisLine,j.thisLine={stream:null},null}function x(j,P){var K=j.column()===P.indentation,V=E(P.prevLine.stream),z=P.indentedCode,X=P.prevLine.hr,G=P.list!==!1,le=(P.listStack[P.listStack.length-1]||0)+3;P.indentedCode=!1;var Y=P.indentation;if(P.indentationDiff===null&&(P.indentationDiff=P.indentation,G)){for(P.list=null;Y<P.listStack[P.listStack.length-1];)P.listStack.pop(),P.listStack.length?P.indentation=P.listStack[P.listStack.length-1]:P.list=!1;P.list!==!1&&(P.indentationDiff=Y-P.listStack[P.listStack.length-1])}var me=!V&&!X&&!P.prevLine.header&&(!G||!z)&&!P.prevLine.fencedCodeEnd,we=(P.list===!1||X||V)&&P.indentation<=le&&j.match(i),pe=null;if(P.indentationDiff>=4&&(z||P.prevLine.fencedCodeEnd||P.prevLine.header||V))return j.skipToEnd(),P.indentedCode=!0,c.code;if(j.eatSpace())return null;if(K&&P.indentation<=le&&(pe=j.match(u))&&pe[1].length<=6)return P.quote=0,P.header=pe[1].length,P.thisLine.header=!0,A.highlightFormatting&&(P.formatting="header"),P.f=P.inline,y(P);if(P.indentation<=le&&j.eat(">"))return P.quote=K?1:P.quote+1,A.highlightFormatting&&(P.formatting="quote"),j.eatSpace(),y(P);if(!we&&!P.setext&&K&&P.indentation<=le&&(pe=j.match(n))){var Fe=pe[1]?"ol":"ul";return P.indentation=Y+j.current().length,P.list=!0,P.quote=0,P.listStack.push(P.indentation),P.em=!1,P.strong=!1,P.code=!1,P.strikethrough=!1,A.taskLists&&j.match(a,!1)&&(P.taskList=!0),P.f=P.inline,A.highlightFormatting&&(P.formatting=["list","list-"+Fe]),y(P)}else{if(K&&P.indentation<=le&&(pe=j.match(t,!0)))return P.quote=0,P.fencedEndRE=new RegExp(pe[1]+"+ *$"),P.localMode=A.fencedCodeBlockHighlighting&&h(pe[2]||A.fencedCodeBlockDefaultMode),P.localMode&&(P.localState=g.startState(P.localMode)),P.f=P.block=L,A.highlightFormatting&&(P.formatting="code-block"),P.code=-1,y(P);if(P.setext||(!me||!G)&&!P.quote&&P.list===!1&&!P.code&&!we&&!s.test(j.string)&&(pe=j.lookAhead(1))&&(pe=pe.match(r)))return P.setext?(P.header=P.setext,P.setext=0,j.skipToEnd(),A.highlightFormatting&&(P.formatting="header")):(P.header=pe[0].charAt(0)=="="?1:2,P.setext=P.header),P.thisLine.header=!0,P.f=P.inline,y(P);if(we)return j.skipToEnd(),P.hr=!0,P.thisLine.hr=!0,c.hr;if(j.peek()==="[")return b(j,P,H)}return b(j,P,P.inline)}function T(j,P){var K=m.token(j,P.htmlState);if(!v){var V=g.innerMode(m,P.htmlState);(V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText||P.md_inside&&j.current().indexOf(">")>-1)&&(P.f=O,P.block=x,P.htmlState=null)}return K}function L(j,P){var K=P.listStack[P.listStack.length-1]||0,V=P.indentation<K,z=K+3;if(P.fencedEndRE&&P.indentation<=z&&(V||j.match(P.fencedEndRE))){A.highlightFormatting&&(P.formatting="code-block");var X;return V||(X=y(P)),P.localMode=P.localState=null,P.block=x,P.f=O,P.fencedEndRE=null,P.code=0,P.thisLine.fencedCodeEnd=!0,V?w(j,P,P.block):X}else return P.localMode?P.localMode.token(j,P.localState):(j.skipToEnd(),c.code)}function y(j){var P=[];if(j.formatting){P.push(c.formatting),typeof j.formatting=="string"&&(j.formatting=[j.formatting]);for(var K=0;K<j.formatting.length;K++)P.push(c.formatting+"-"+j.formatting[K]),j.formatting[K]==="header"&&P.push(c.formatting+"-"+j.formatting[K]+"-"+j.header),j.formatting[K]==="quote"&&(!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=j.quote?P.push(c.formatting+"-"+j.formatting[K]+"-"+j.quote):P.push("error"))}if(j.taskOpen)return P.push("meta"),P.length?P.join(" "):null;if(j.taskClosed)return P.push("property"),P.length?P.join(" "):null;if(j.linkHref?P.push(c.linkHref,"url"):(j.strong&&P.push(c.strong),j.em&&P.push(c.em),j.strikethrough&&P.push(c.strikethrough),j.emoji&&P.push(c.emoji),j.linkText&&P.push(c.linkText),j.code&&P.push(c.code),j.image&&P.push(c.image),j.imageAltText&&P.push(c.imageAltText,"link"),j.imageMarker&&P.push(c.imageMarker)),j.header&&P.push(c.header,c.header+"-"+j.header),j.quote&&(P.push(c.quote),!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=j.quote?P.push(c.quote+"-"+j.quote):P.push(c.quote+"-"+A.maxBlockquoteDepth)),j.list!==!1){var V=(j.listStack.length-1)%3;V?V===1?P.push(c.list2):P.push(c.list3):P.push(c.list1)}return j.trailingSpaceNewLine?P.push("trailing-space-new-line"):j.trailingSpace&&P.push("trailing-space-"+(j.trailingSpace%2?"a":"b")),P.length?P.join(" "):null}function C(j,P){return j.match(l,!0)?y(P):void 0}function O(j,P){var K=P.text(j,P);if(typeof K!="undefined")return K;if(P.list)return P.list=null,y(P);if(P.taskList){var V=j.match(a,!0)[1]===" ";return V?P.taskOpen=!0:P.taskClosed=!0,A.highlightFormatting&&(P.formatting="task"),P.taskList=!1,y(P)}if(P.taskOpen=!1,P.taskClosed=!1,P.header&&j.match(/^#+$/,!0))return A.highlightFormatting&&(P.formatting="header"),y(P);var z=j.next();if(P.linkTitle){P.linkTitle=!1;var X=z;z==="("&&(X=")"),X=(X+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var G="^\\s*(?:[^"+X+"\\\\]+|\\\\\\\\|\\\\.)"+X;if(j.match(new RegExp(G),!0))return c.linkHref}if(z==="`"){var le=P.formatting;A.highlightFormatting&&(P.formatting="code"),j.eatWhile("`");var Y=j.current().length;if(P.code==0&&(!P.quote||Y==1))return P.code=Y,y(P);if(Y==P.code){var me=y(P);return P.code=0,me}else return P.formatting=le,y(P)}else if(P.code)return y(P);if(z==="\\"&&(j.next(),A.highlightFormatting)){var we=y(P),pe=c.formatting+"-escape";return we?we+" "+pe:pe}if(z==="!"&&j.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return P.imageMarker=!0,P.image=!0,A.highlightFormatting&&(P.formatting="image"),y(P);if(z==="["&&P.imageMarker&&j.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return P.imageMarker=!1,P.imageAltText=!0,A.highlightFormatting&&(P.formatting="image"),y(P);if(z==="]"&&P.imageAltText){A.highlightFormatting&&(P.formatting="image");var we=y(P);return P.imageAltText=!1,P.image=!1,P.inline=P.f=k,we}if(z==="["&&!P.image)return P.linkText&&j.match(/^.*?\]/)||(P.linkText=!0,A.highlightFormatting&&(P.formatting="link")),y(P);if(z==="]"&&P.linkText){A.highlightFormatting&&(P.formatting="link");var we=y(P);return P.linkText=!1,P.inline=P.f=j.match(/\(.*?\)| ?\[.*?\]/,!1)?k:O,we}if(z==="<"&&j.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){P.f=P.inline=N,A.highlightFormatting&&(P.formatting="link");var we=y(P);return we?we+=" ":we="",we+c.linkInline}if(z==="<"&&j.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){P.f=P.inline=N,A.highlightFormatting&&(P.formatting="link");var we=y(P);return we?we+=" ":we="",we+c.linkEmail}if(A.xml&&z==="<"&&j.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Fe=j.string.indexOf(">",j.pos);if(Fe!=-1){var Xe=j.string.substring(j.start,Fe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Xe)&&(P.md_inside=!0)}return j.backUp(1),P.htmlState=g.startState(m),w(j,P,T)}if(A.xml&&z==="<"&&j.match(/^\/\w*?>/))return P.md_inside=!1,"tag";if(z==="*"||z==="_"){for(var dt=1,Ee=j.pos==1?" ":j.string.charAt(j.pos-2);dt<3&&j.eat(z);)dt++;var Se=j.peek()||" ",at=!/\s/.test(Se)&&(!d.test(Se)||/\s/.test(Ee)||d.test(Ee)),_e=!/\s/.test(Ee)&&(!d.test(Ee)||/\s/.test(Se)||d.test(Se)),ce=null,ee=null;if(dt%2&&(!P.em&&at&&(z==="*"||!_e||d.test(Ee))?ce=!0:P.em==z&&_e&&(z==="*"||!at||d.test(Se))&&(ce=!1)),dt>1&&(!P.strong&&at&&(z==="*"||!_e||d.test(Ee))?ee=!0:P.strong==z&&_e&&(z==="*"||!at||d.test(Se))&&(ee=!1)),ee!=null||ce!=null){A.highlightFormatting&&(P.formatting=ce==null?"strong":ee==null?"em":"strong em"),ce===!0&&(P.em=z),ee===!0&&(P.strong=z);var me=y(P);return ce===!1&&(P.em=!1),ee===!1&&(P.strong=!1),me}}else if(z===" "&&(j.eat("*")||j.eat("_"))){if(j.peek()===" ")return y(P);j.backUp(1)}if(A.strikethrough){if(z==="~"&&j.eatWhile(z)){if(P.strikethrough){A.highlightFormatting&&(P.formatting="strikethrough");var me=y(P);return P.strikethrough=!1,me}else if(j.match(/^[^\s]/,!1))return P.strikethrough=!0,A.highlightFormatting&&(P.formatting="strikethrough"),y(P)}else if(z===" "&&j.match(/^~~/,!0)){if(j.peek()===" ")return y(P);j.backUp(2)}}if(A.emoji&&z===":"&&j.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){P.emoji=!0,A.highlightFormatting&&(P.formatting="emoji");var se=y(P);return P.emoji=!1,se}return z===" "&&(j.match(/^ +$/,!1)?P.trailingSpace++:P.trailingSpace&&(P.trailingSpaceNewLine=!0)),y(P)}function N(j,P){var K=j.next();if(K===">"){P.f=P.inline=O,A.highlightFormatting&&(P.formatting="link");var V=y(P);return V?V+=" ":V="",V+c.linkInline}return j.match(/^[^>]+/,!0),c.linkInline}function k(j,P){if(j.eatSpace())return null;var K=j.next();return K==="("||K==="["?(P.f=P.inline=B(K==="("?")":"]"),A.highlightFormatting&&(P.formatting="link-string"),P.linkHref=!0,y(P)):"error"}var F={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function B(j){return function(P,K){var V=P.next();if(V===j){K.f=K.inline=O,A.highlightFormatting&&(K.formatting="link-string");var z=y(K);return K.linkHref=!1,z}return P.match(F[j]),K.linkHref=!0,y(K)}}function H(j,P){return j.match(/^([^\]\\]|\\.)*\]:/,!1)?(P.f=W,j.next(),A.highlightFormatting&&(P.formatting="link"),P.linkText=!0,y(P)):b(j,P,O)}function W(j,P){if(j.match(/^\]:/,!0)){P.f=P.inline=R,A.highlightFormatting&&(P.formatting="link");var K=y(P);return P.linkText=!1,K}return j.match(/^([^\]\\]|\\.)+/,!0),c.linkText}function R(j,P){return j.eatSpace()?null:(j.match(/^[^\s]+/,!0),j.peek()===void 0?P.linkTitle=!0:j.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),P.f=P.inline=O,c.linkHref+" url")}var U={startState:function(){return{f:x,prevLine:{stream:null},thisLine:{stream:null},block:x,htmlState:null,indentation:0,inline:O,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(P){return{f:P.f,prevLine:P.prevLine,thisLine:P.thisLine,block:P.block,htmlState:P.htmlState&&g.copyState(m,P.htmlState),indentation:P.indentation,localMode:P.localMode,localState:P.localMode?g.copyState(P.localMode,P.localState):null,inline:P.inline,text:P.text,formatting:!1,linkText:P.linkText,linkTitle:P.linkTitle,linkHref:P.linkHref,code:P.code,em:P.em,strong:P.strong,strikethrough:P.strikethrough,emoji:P.emoji,header:P.header,setext:P.setext,hr:P.hr,taskList:P.taskList,list:P.list,listStack:P.listStack.slice(0),quote:P.quote,indentedCode:P.indentedCode,trailingSpace:P.trailingSpace,trailingSpaceNewLine:P.trailingSpaceNewLine,md_inside:P.md_inside,fencedEndRE:P.fencedEndRE}},token:function(P,K){if(K.formatting=!1,P!=K.thisLine.stream){if(K.header=0,K.hr=!1,P.match(/^\s*$/,!0))return S(K),null;if(K.prevLine=K.thisLine,K.thisLine={stream:P},K.taskList=!1,K.trailingSpace=0,K.trailingSpaceNewLine=!1,!K.localState&&(K.f=K.block,K.f!=T)){var V=P.match(/^\s*/,!0)[0].replace(/\t/g,p).length;if(K.indentation=V,K.indentationDiff=null,V>0)return null}}return K.f(P,K)},innerMode:function(P){return P.block==T?{state:P.htmlState,mode:m}:P.localState?{state:P.localState,mode:P.localMode}:{state:P,mode:U}},indent:function(P,K,V){return P.block==T&&m.indent?m.indent(P.htmlState,K,V):P.localState&&P.localMode.indent?P.localMode.indent(P.localState,K,V):g.Pass},blankLine:S,getType:y,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),g.defineMIME("text/markdown","markdown"),g.defineMIME("text/x-markdown","markdown")})},laiN:function(D,_,e){var g=e("ProS");e("GVMX"),e("MH26"),g.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},ljhN:function(D,_){function e(g,f){return g===f||g!==g&&f!==f}D.exports=e},lnY3:function(D,_,e){},loD1:function(D,_){function e(g,f,A,m,v,h,c){if(v===0)return!1;var o=v,i=0,n=g;if(c>f+o&&c>m+o||c<f-o&&c<m-o||h>g+o&&h>A+o||h<g-o&&h<A-o)return!1;if(g!==A)i=(f-m)/(g-A),n=(g*m-A*f)/(g-A);else return Math.abs(h-g)<=o/2;var a=i*h-c+n,u=a*a/(i*i+1);return u<=o/2*o/2}_.containStroke=e},lrIw:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("cDf5"),m=e.n(A),v=e("J4zp"),h=e.n(v),c=e("q1tI"),o=e.n(c),i=e("Zm9Q"),n=e("TSYQ"),a=e.n(n),u=e("BGR+"),r=e("2fM7"),l=e("H84U"),t=e("uaoM"),s=e("0n0R"),d=r.a.Option,p=r.a;function b(S){return S&&S.type&&(S.type.isSelectOption||S.type.isSelectOptGroup)}var w=function(x,T){var L=x.prefixCls,y=x.className,C=x.children,O=x.dataSource,N=Object(i.a)(C),k=c.useRef();c.useImperativeHandle(T,function(){return k.current});var F;if(N.length===1&&Object(s.b)(N[0])&&!b(N[0])){var B=h()(N,1);F=B[0]}var H=function(){return F},W;return N.length&&b(N[0])?W=C:W=O?O.map(function(R){if(Object(s.b)(R))return R;switch(m()(R)){case"string":return c.createElement(d,{key:R,value:R},R);case"object":{var U=R.value;return c.createElement(d,{key:U,value:U},R.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],c.useEffect(function(){Object(t.a)(!("dataSource"in x),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!F||!("size"in x),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),c.createElement(l.a,null,function(R){var U=R.getPrefixCls,j=U("select",L);return c.createElement(p,f()({ref:k},Object(u.default)(x,["dataSource"]),{prefixCls:j,className:a()(y,"".concat(j,"-auto-complete")),mode:r.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:H}),W)})},E=c.forwardRef(w);E.Option=d,_.a=E},lwQL:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("9wZj"),m=e("c8qY"),v=e("SgGq"),h=e("Ae+d"),c=e("xSat"),o=c.onIrrelevantElement,i=e("IwbS"),n=e("SA8n"),a=e("U/Mo"),u=a.getNodeGlobalScale,r="__focusNodeAdjacency",l="__unfocusNodeAdjacency",t=["itemStyle","opacity"],s=["lineStyle","opacity"];function d(E,S){var x=E.getVisual("opacity");return x!=null?x:E.getModel().get(S)}function p(E,S,x){var T=E.getGraphicEl(),L=d(E,S);x!=null&&(L==null&&(L=1),L*=x),T.downplay&&T.downplay(),T.traverse(function(y){if(!y.isGroup){var C=y.lineLabelOriginalOpacity;(C==null||x!=null)&&(C=L),y.setStyle("opacity",C)}})}function b(E,S){var x=d(E,S),T=E.getGraphicEl();T.traverse(function(L){!L.isGroup&&L.setStyle("opacity",x)}),T.highlight&&T.highlight()}var w=g.extendChartView({type:"graph",init:function(E,S){var x=new A,T=new m,L=this.group;this._controller=new v(S.getZr()),this._controllerHost={target:L},L.add(x.group),L.add(T.group),this._symbolDraw=x,this._lineDraw=T,this._firstRender=!0},render:function(E,S,x){var T=this,L=E.coordinateSystem;this._model=E;var y=this._symbolDraw,C=this._lineDraw,O=this.group;if(L.type==="view"){var N={position:L.position,scale:L.scale};this._firstRender?O.attr(N):i.updateProps(O,N,E)}n(E.getGraph(),u(E));var k=E.getData();y.updateData(k);var F=E.getEdgeData();C.updateData(F),this._updateNodeAndLinkScale(),this._updateController(E,S,x),clearTimeout(this._layoutTimeout);var B=E.forceLayout,H=E.get("force.layoutAnimation");B&&this._startForceLayoutIteration(B,H),k.eachItemGraphicEl(function(j,P){var K=k.getItemModel(P);j.off("drag").off("dragend");var V=K.get("draggable");V&&j.on("drag",function(){B&&(B.warmUp(),!this._layouting&&this._startForceLayoutIteration(B,H),B.setFixed(P),k.setItemLayout(P,j.position))},this).on("dragend",function(){B&&B.setUnfixed(P)},this),j.setDraggable(V&&B),j[r]&&j.off("mouseover",j[r]),j[l]&&j.off("mouseout",j[l]),K.get("focusNodeAdjacency")&&(j.on("mouseover",j[r]=function(){T._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,dataIndex:j.dataIndex})}),j.on("mouseout",j[l]=function(){T._dispatchUnfocus(x)}))},this),k.graph.eachEdge(function(j){var P=j.getGraphicEl();P[r]&&P.off("mouseover",P[r]),P[l]&&P.off("mouseout",P[l]),j.getModel().get("focusNodeAdjacency")&&(P.on("mouseover",P[r]=function(){T._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,edgeDataIndex:j.dataIndex})}),P.on("mouseout",P[l]=function(){T._dispatchUnfocus(x)}))});var W=E.get("layout")==="circular"&&E.get("circular.rotateLabel"),R=k.getLayout("cx"),U=k.getLayout("cy");k.eachItemGraphicEl(function(j,P){var K=k.getItemModel(P),V=K.get("label.rotate")||0,z=j.getSymbolPath();if(W){var X=k.getItemLayout(P),G=Math.atan2(X[1]-U,X[0]-R);G<0&&(G=Math.PI*2+G);var le=X[0]<R;le&&(G=G-Math.PI);var Y=le?"left":"right";i.modifyLabelStyle(z,{textRotation:-G,textPosition:Y,textOrigin:"center"},{textPosition:Y})}else i.modifyLabelStyle(z,{textRotation:V*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(E,S){var x=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){x._unfocusDelayTimer=null,E.dispatchAction({type:"unfocusNodeAdjacency",seriesId:x._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(E,S,x,T){var L=E.getData(),y=L.graph,C=T.dataIndex,O=T.edgeDataIndex,N=y.getNodeByIndex(C),k=y.getEdgeByIndex(O);if(!N&&!k)return;y.eachNode(function(F){p(F,t,.1)}),y.eachEdge(function(F){p(F,s,.1)}),N&&(b(N,t),f.each(N.edges,function(F){if(F.dataIndex<0)return;b(F,s),b(F.node1,t),b(F.node2,t)})),k&&(b(k,s),b(k.node1,t),b(k.node2,t))},unfocusNodeAdjacency:function(E,S,x,T){var L=E.getData().graph;L.eachNode(function(y){p(y,t)}),L.eachEdge(function(y){p(y,s)})},_startForceLayoutIteration:function(E,S){var x=this;(function T(){E.step(function(L){x.updateLayout(x._model),(x._layouting=!L)&&(S?x._layoutTimeout=setTimeout(T,16):T())})})()},_updateController:function(E,S,x){var T=this._controller,L=this._controllerHost,y=this.group;if(T.setPointerChecker(function(C,O,N){var k=y.getBoundingRect();return k.applyTransform(y.transform),k.contain(O,N)&&!o(C,x,E)}),E.coordinateSystem.type!=="view"){T.disable();return}T.enable(E.get("roam")),L.zoomLimit=E.get("scaleLimit"),L.zoom=E.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(C){h.updateViewOnPan(L,C.dx,C.dy),x.dispatchAction({seriesId:E.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){h.updateViewOnZoom(L,C.scale,C.originX,C.originY),x.dispatchAction({seriesId:E.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),n(E.getGraph(),u(E)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var E=this._model,S=E.getData(),x=u(E),T=[x,x];S.eachItemGraphicEl(function(L,y){L.attr("scale",T)})},updateLayout:function(E){n(E.getGraph(),u(E)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(E,S){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});D.exports=w},m9t5:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),A={getAreaStyle:function(m,v){return f(this,m,v)}};D.exports=A},mFDi:function(D,_,e){var g=e("QBsz"),f=e("Fofx"),A=g.applyTransform,m=Math.min,v=Math.max;function h(o,i,n,a){n<0&&(o=o+n,n=-n),a<0&&(i=i+a,a=-a),this.x=o,this.y=i,this.width=n,this.height=a}h.prototype={constructor:h,union:function(i){var n=m(i.x,this.x),a=m(i.y,this.y);this.width=v(i.x+i.width,this.x+this.width)-n,this.height=v(i.y+i.height,this.y+this.height)-a,this.x=n,this.y=a},applyTransform:function(){var o=[],i=[],n=[],a=[];return function(u){if(!u)return;o[0]=n[0]=this.x,o[1]=a[1]=this.y,i[0]=a[0]=this.x+this.width,i[1]=n[1]=this.y+this.height,A(o,o,u),A(i,i,u),A(n,n,u),A(a,a,u),this.x=m(o[0],i[0],n[0],a[0]),this.y=m(o[1],i[1],n[1],a[1]);var r=v(o[0],i[0],n[0],a[0]),l=v(o[1],i[1],n[1],a[1]);this.width=r-this.x,this.height=l-this.y}}(),calculateTransform:function(i){var n=this,a=i.width/n.width,u=i.height/n.height,r=f.create();return f.translate(r,r,[-n.x,-n.y]),f.scale(r,r,[a,u]),f.translate(r,r,[i.x,i.y]),r},intersect:function(i){if(!i)return!1;i instanceof h||(i=h.create(i));var n=this,a=n.x,u=n.x+n.width,r=n.y,l=n.y+n.height,t=i.x,s=i.x+i.width,d=i.y,p=i.y+i.height;return!(u<t||s<a||l<d||p<r)},contain:function(i,n){var a=this;return i>=a.x&&i<=a.x+a.width&&n>=a.y&&n<=a.y+a.height},clone:function(){return new h(this.x,this.y,this.width,this.height)},copy:function(i){this.x=i.x,this.y=i.y,this.width=i.width,this.height=i.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},h.create=function(o){return new h(o.x,o.y,o.width,o.height)};var c=h;D.exports=c},mHUz:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};_.default=g},mLcG:function(D,_){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(g){setTimeout(g,16)};D.exports=e},"mO/d":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("I9Y+"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},mOdp:function(D,_,e){var g=e("bYtY"),f=g.createHashMap;function A(m){return{getTargetSeries:function(v){var h={},c=f();return v.eachSeriesByType(m,function(o){o.__paletteScope=h,c.set(o.uid,o)}),c},reset:function(v,h){var c=v.getRawData(),o={},i=v.getData();i.each(function(n){var a=i.getRawIndex(n);o[a]=n}),c.each(function(n){var a=o[n],u=a!=null&&i.getItemVisual(a,"color",!0),r=a!=null&&i.getItemVisual(a,"borderColor",!0),l;if((!u||!r)&&(l=c.getItemModel(n)),!u){var t=l.get("itemStyle.color")||v.getColorFromPalette(c.getName(n)||n+"",v.__paletteScope,c.count());a!=null&&i.setItemVisual(a,"color",t)}if(!r){var s=l.get("itemStyle.borderColor");a!=null&&i.setItemVisual(a,"borderColor",s)}})}}}D.exports=A},mTgk:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("mHUz"));function f(o){return o&&o.__esModule?o:{default:o}}var A={};function m(o,i){if(i===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in A)throw new Error('Duplicate entry for key "'+o+'"');A[o]=[i,i,i,i]}function v(o,i,n){if(i===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in A)throw new Error('Duplicate entry for key "'+o+'"');A[o]=[i,i,n,i]}function h(o,i,n){if(i===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in A)throw new Error('Duplicate entry for key "'+o+'"');A[o]=[i,i,i,n]}v("Alt",g.default.XK_Alt_L,g.default.XK_Alt_R),m("AltGraph",g.default.XK_ISO_Level3_Shift),m("CapsLock",g.default.XK_Caps_Lock),v("Control",g.default.XK_Control_L,g.default.XK_Control_R),v("Meta",g.default.XK_Super_L,g.default.XK_Super_R),m("NumLock",g.default.XK_Num_Lock),m("ScrollLock",g.default.XK_Scroll_Lock),v("Shift",g.default.XK_Shift_L,g.default.XK_Shift_R),h("Enter",g.default.XK_Return,g.default.XK_KP_Enter),m("Tab",g.default.XK_Tab),h(" ",g.default.XK_space,g.default.XK_KP_Space),h("ArrowDown",g.default.XK_Down,g.default.XK_KP_Down),h("ArrowUp",g.default.XK_Up,g.default.XK_KP_Up),h("ArrowLeft",g.default.XK_Left,g.default.XK_KP_Left),h("ArrowRight",g.default.XK_Right,g.default.XK_KP_Right),h("End",g.default.XK_End,g.default.XK_KP_End),h("Home",g.default.XK_Home,g.default.XK_KP_Home),h("PageDown",g.default.XK_Next,g.default.XK_KP_Next),h("PageUp",g.default.XK_Prior,g.default.XK_KP_Prior),m("Backspace",g.default.XK_BackSpace),h("Clear",g.default.XK_Clear,g.default.XK_KP_Begin),m("Copy",g.default.XF86XK_Copy),m("Cut",g.default.XF86XK_Cut),h("Delete",g.default.XK_Delete,g.default.XK_KP_Delete),h("Insert",g.default.XK_Insert,g.default.XK_KP_Insert),m("Paste",g.default.XF86XK_Paste),m("Redo",g.default.XK_Redo),m("Undo",g.default.XK_Undo),m("Cancel",g.default.XK_Cancel),m("ContextMenu",g.default.XK_Menu),m("Escape",g.default.XK_Escape),m("Execute",g.default.XK_Execute),m("Find",g.default.XK_Find),m("Help",g.default.XK_Help),m("Pause",g.default.XK_Pause),m("Select",g.default.XK_Select),m("ZoomIn",g.default.XF86XK_ZoomIn),m("ZoomOut",g.default.XF86XK_ZoomOut),m("BrightnessDown",g.default.XF86XK_MonBrightnessDown),m("BrightnessUp",g.default.XF86XK_MonBrightnessUp),m("Eject",g.default.XF86XK_Eject),m("LogOff",g.default.XF86XK_LogOff),m("Power",g.default.XF86XK_PowerOff),m("PowerOff",g.default.XF86XK_PowerDown),m("PrintScreen",g.default.XK_Print),m("Hibernate",g.default.XF86XK_Hibernate),m("Standby",g.default.XF86XK_Standby),m("WakeUp",g.default.XF86XK_WakeUp),m("AllCandidates",g.default.XK_MultipleCandidate),m("Alphanumeric",g.default.XK_Eisu_Shift),m("CodeInput",g.default.XK_Codeinput),m("Compose",g.default.XK_Multi_key),m("Convert",g.default.XK_Henkan),m("GroupFirst",g.default.XK_ISO_First_Group),m("GroupLast",g.default.XK_ISO_Last_Group),m("GroupNext",g.default.XK_ISO_Next_Group),m("GroupPrevious",g.default.XK_ISO_Prev_Group),m("NonConvert",g.default.XK_Muhenkan),m("PreviousCandidate",g.default.XK_PreviousCandidate),m("SingleCandidate",g.default.XK_SingleCandidate),m("HangulMode",g.default.XK_Hangul),m("HanjaMode",g.default.XK_Hangul_Hanja),m("JunjuaMode",g.default.XK_Hangul_Jeonja),m("Eisu",g.default.XK_Eisu_toggle),m("Hankaku",g.default.XK_Hankaku),m("Hiragana",g.default.XK_Hiragana),m("HiraganaKatakana",g.default.XK_Hiragana_Katakana),m("KanaMode",g.default.XK_Kana_Shift),m("KanjiMode",g.default.XK_Kanji),m("Katakana",g.default.XK_Katakana),m("Romaji",g.default.XK_Romaji),m("Zenkaku",g.default.XK_Zenkaku),m("ZenkakuHanaku",g.default.XK_Zenkaku_Hankaku),m("F1",g.default.XK_F1),m("F2",g.default.XK_F2),m("F3",g.default.XK_F3),m("F4",g.default.XK_F4),m("F5",g.default.XK_F5),m("F6",g.default.XK_F6),m("F7",g.default.XK_F7),m("F8",g.default.XK_F8),m("F9",g.default.XK_F9),m("F10",g.default.XK_F10),m("F11",g.default.XK_F11),m("F12",g.default.XK_F12),m("F13",g.default.XK_F13),m("F14",g.default.XK_F14),m("F15",g.default.XK_F15),m("F16",g.default.XK_F16),m("F17",g.default.XK_F17),m("F18",g.default.XK_F18),m("F19",g.default.XK_F19),m("F20",g.default.XK_F20),m("F21",g.default.XK_F21),m("F22",g.default.XK_F22),m("F23",g.default.XK_F23),m("F24",g.default.XK_F24),m("F25",g.default.XK_F25),m("F26",g.default.XK_F26),m("F27",g.default.XK_F27),m("F28",g.default.XK_F28),m("F29",g.default.XK_F29),m("F30",g.default.XK_F30),m("F31",g.default.XK_F31),m("F32",g.default.XK_F32),m("F33",g.default.XK_F33),m("F34",g.default.XK_F34),m("F35",g.default.XK_F35),m("Close",g.default.XF86XK_Close),m("MailForward",g.default.XF86XK_MailForward),m("MailReply",g.default.XF86XK_Reply),m("MailSend",g.default.XF86XK_Send),m("MediaFastForward",g.default.XF86XK_AudioForward),m("MediaPause",g.default.XF86XK_AudioPause),m("MediaPlay",g.default.XF86XK_AudioPlay),m("MediaRecord",g.default.XF86XK_AudioRecord),m("MediaRewind",g.default.XF86XK_AudioRewind),m("MediaStop",g.default.XF86XK_AudioStop),m("MediaTrackNext",g.default.XF86XK_AudioNext),m("MediaTrackPrevious",g.default.XF86XK_AudioPrev),m("New",g.default.XF86XK_New),m("Open",g.default.XF86XK_Open),m("Print",g.default.XK_Print),m("Save",g.default.XF86XK_Save),m("SpellCheck",g.default.XF86XK_Spell),m("AudioVolumeDown",g.default.XF86XK_AudioLowerVolume),m("AudioVolumeUp",g.default.XF86XK_AudioRaiseVolume),m("AudioVolumeMute",g.default.XF86XK_AudioMute),m("MicrophoneVolumeMute",g.default.XF86XK_AudioMicMute),m("LaunchApplication1",g.default.XF86XK_MyComputer),m("LaunchApplication2",g.default.XF86XK_Calculator),m("LaunchCalendar",g.default.XF86XK_Calendar),m("LaunchMail",g.default.XF86XK_Mail),m("LaunchMediaPlayer",g.default.XF86XK_AudioMedia),m("LaunchMusicPlayer",g.default.XF86XK_Music),m("LaunchPhone",g.default.XF86XK_Phone),m("LaunchScreenSaver",g.default.XF86XK_ScreenSaver),m("LaunchSpreadsheet",g.default.XF86XK_Excel),m("LaunchWebBrowser",g.default.XF86XK_WWW),m("LaunchWebCam",g.default.XF86XK_WebCam),m("LaunchWordProcessor",g.default.XF86XK_Word),m("BrowserBack",g.default.XF86XK_Back),m("BrowserFavorites",g.default.XF86XK_Favorites),m("BrowserForward",g.default.XF86XK_Forward),m("BrowserHome",g.default.XF86XK_HomePage),m("BrowserRefresh",g.default.XF86XK_Refresh),m("BrowserSearch",g.default.XF86XK_Search),m("BrowserStop",g.default.XF86XK_Stop),m("Dimmer",g.default.XF86XK_BrightnessAdjust),m("MediaAudioTrack",g.default.XF86XK_AudioCycleTrack),m("RandomToggle",g.default.XF86XK_AudioRandomPlay),m("SplitScreenToggle",g.default.XF86XK_SplitScreen),m("Subtitle",g.default.XF86XK_Subtitle),m("VideoModeNext",g.default.XF86XK_Next_VMode),h("=",g.default.XK_equal,g.default.XK_KP_Equal),h("+",g.default.XK_plus,g.default.XK_KP_Add),h("-",g.default.XK_minus,g.default.XK_KP_Subtract),h("*",g.default.XK_asterisk,g.default.XK_KP_Multiply),h("/",g.default.XK_slash,g.default.XK_KP_Divide),h(".",g.default.XK_period,g.default.XK_KP_Decimal),h(",",g.default.XK_comma,g.default.XK_KP_Separator),h("0",g.default.XK_0,g.default.XK_KP_0),h("1",g.default.XK_1,g.default.XK_KP_1),h("2",g.default.XK_2,g.default.XK_KP_2),h("3",g.default.XK_3,g.default.XK_KP_3),h("4",g.default.XK_4,g.default.XK_KP_4),h("5",g.default.XK_5,g.default.XK_KP_5),h("6",g.default.XK_6,g.default.XK_KP_6),h("7",g.default.XK_7,g.default.XK_KP_7),h("8",g.default.XK_8,g.default.XK_KP_8),h("9",g.default.XK_9,g.default.XK_KP_9);var c=A;_.default=c},mYwL:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("6GrX"),m=Math.PI;function v(h,c){c=c||{},g.defaults(c,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var o=new f.Group,i=new f.Rect({style:{fill:c.maskColor},zlevel:c.zlevel,z:1e4});o.add(i);var n=c.fontSize+" sans-serif",a=new f.Rect({style:{fill:"none",text:c.text,font:n,textPosition:"right",textDistance:10,textFill:c.textColor},zlevel:c.zlevel,z:10001});if(o.add(a),c.showSpinner){var u=new f.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:c.spinnerRadius},style:{stroke:c.color,lineCap:"round",lineWidth:c.lineWidth},zlevel:c.zlevel,z:10001});u.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),u.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),o.add(u)}return o.resize=function(){var r=A.getWidth(c.text,n),l=c.showSpinner?c.spinnerRadius:0,t=(h.getWidth()-l*2-(c.showSpinner&&r?10:0)-r)/2-(c.showSpinner?0:r/2),s=h.getHeight()/2;c.showSpinner&&u.setShape({cx:t,cy:s}),a.setShape({x:t-l,y:s-l,width:l*2,height:l*2}),i.setShape({x:0,y:0,width:h.getWidth(),height:h.getHeight()})},o.resize(),o}D.exports=v},mdPL:function(D,_,e){(function(g){var f=e("WFqU"),A=_&&!_.nodeType&&_,m=A&&typeof g=="object"&&g&&!g.nodeType&&g,v=m&&m.exports===A,h=v&&f.process,c=function(){try{var o=m&&m.require&&m.require("util").types;return o||h&&h.binding&&h.binding("util")}catch(i){}}();g.exports=c}).call(this,e("YuTi")(D))},mdZa:function(D,_,e){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,A){"use strict";if(f==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(f),v=1;v<arguments.length;v++){var h=arguments[v];if(h!=null)for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(m[c]=h[c])}return m},writable:!0,configurable:!0}),function(){function g(f,A){A=A||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(f,A.bubbles,A.cancelable,A.detail),m}g.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=g)}(),Number.isInteger=Number.isInteger||function(f){return typeof f=="number"&&isFinite(f)&&Math.floor(f)===f}},mmNF:function(D,_){var e={utf8:{stringToBytes:function(f){return e.bin.stringToBytes(unescape(encodeURIComponent(f)))},bytesToString:function(f){return decodeURIComponent(escape(e.bin.bytesToString(f)))}},bin:{stringToBytes:function(f){for(var A=[],m=0;m<f.length;m++)A.push(f.charCodeAt(m)&255);return A},bytesToString:function(f){for(var A=[],m=0;m<f.length;m++)A.push(String.fromCharCode(f[m]));return A.join("")}}};D.exports=e},mr32:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("J4zp"),h=e.n(v),c=e("q1tI"),o=e("TSYQ"),i=e.n(o),n=e("BGR+"),a=e("V/uB"),u=e.n(a),r=e("H84U"),l=function(L,y){var C={};for(var O in L)Object.prototype.hasOwnProperty.call(L,O)&&y.indexOf(O)<0&&(C[O]=L[O]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(L);N<O.length;N++)y.indexOf(O[N])<0&&Object.prototype.propertyIsEnumerable.call(L,O[N])&&(C[O[N]]=L[O[N]]);return C},t=function(y){var C,O=c.useContext(r.b),N=O.getPrefixCls,k=function(P){var K=y.checked,V=y.onChange,z=y.onClick;V&&V(!K),z&&z(P)},F=y.prefixCls,B=y.className,H=y.checked,W=l(y,["prefixCls","className","checked"]),R=N("tag",F),U=i()(R,(C={},f()(C,"".concat(R,"-checkable"),!0),f()(C,"".concat(R,"-checkable-checked"),H),C),B);return delete W.onChange,c.createElement("span",m()({},W,{className:U,onClick:k}))},s=t,d=e("09Wf"),p=e("g0mS"),b=function(L,y){var C={};for(var O in L)Object.prototype.hasOwnProperty.call(L,O)&&y.indexOf(O)<0&&(C[O]=L[O]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(L);N<O.length;N++)y.indexOf(O[N])<0&&Object.prototype.propertyIsEnumerable.call(L,O[N])&&(C[O[N]]=L[O[N]]);return C},w=new RegExp("^(".concat(d.a.join("|"),")(-inverse)?$")),E=new RegExp("^(".concat(d.b.join("|"),")$")),S=function(y,C){var O,N=y.prefixCls,k=y.className,F=y.style,B=y.children,H=y.icon,W=y.color,R=y.onClose,U=y.closeIcon,j=y.closable,P=j===void 0?!1:j,K=b(y,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),V=c.useContext(r.b),z=V.getPrefixCls,X=V.direction,G=c.useState(!0),le=h()(G,2),Y=le[0],me=le[1];c.useEffect(function(){"visible"in K&&me(K.visible)},[K.visible]);var we=function(){return W?w.test(W)||E.test(W):!1},pe=m()({backgroundColor:W&&!we()?W:void 0},F),Fe=we(),Xe=z("tag",N),dt=i()(Xe,(O={},f()(O,"".concat(Xe,"-").concat(W),Fe),f()(O,"".concat(Xe,"-has-color"),W&&!Fe),f()(O,"".concat(Xe,"-hidden"),!Y),f()(O,"".concat(Xe,"-rtl"),X==="rtl"),O),k),Ee=function(Ce){if(Ce.stopPropagation(),R&&R(Ce),Ce.defaultPrevented)return;"visible"in K||me(!1)},Se=function(){return P?U?c.createElement("div",{className:"".concat(Xe,"-close-icon"),onClick:Ee},U):c.createElement(u.a,{className:"".concat(Xe,"-close-icon"),onClick:Ee}):null},at="onClick"in K||B&&B.type==="a",_e=Object(n.default)(K,["visible"]),ce=H||null,ee=ce?c.createElement(c.Fragment,null,ce,c.createElement("span",null,B)):B,se=c.createElement("span",m()({},_e,{ref:C,className:dt,style:pe}),ee,Se());return at?c.createElement(p.a,null,se):se},x=c.forwardRef(S);x.displayName="Tag",x.CheckableTag=s;var T=_.a=x},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(D){if(!0)module.exports=D();else var _})(function(){var define,module,exports;return function(){function D(_,e,g){function f(v,h){if(!e[v]){if(!_[v]){var c=typeof require=="function"&&require;if(!h&&c)return require(v,!0);if(A)return A(v,!0);var o=new Error("Cannot find module '"+v+"'");throw o.code="MODULE_NOT_FOUND",o}var i=e[v]={exports:{}};_[v][0].call(i.exports,function(n){var a=_[v][1][n];return f(a||n)},i,i.exports,D,_,e,g)}return e[v].exports}for(var A=typeof require=="function"&&require,m=0;m<g.length;m++)f(g[m]);return f}return D}()({1:[function(D,_,e){"use strict";var g=D("./browser/client");g.Buffer=D("buffer").Buffer,g.urllib=D("../shims/xhr"),g.version=D("./browser/version").version,_.exports=g},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(D,_,e){(function(g,f){"use strict";var A=D("babel-runtime/core-js/promise"),m=i(A),v=D("babel-runtime/regenerator"),h=i(v),c=D("babel-runtime/core-js/object/assign"),o=i(c);function i(H){return H&&H.__esModule?H:{default:H}}var n=D("debug")("ali-oss"),a=D("copy-to"),u=D("xml2js"),r=D("agentkeepalive"),l=D("merge-descriptors"),t=D("url"),s=D("is-type-of"),d=D("platform"),p=D("utility"),b=D("urllib"),w=D("./version"),E=D("bowser"),S=D("../common/signUtils"),x=D("../common/utils/isIP"),T=x.isIP,L=D("../common/client/initOptions"),y=D("../common/utils/createRequest"),C=y.createRequest,O=new r;function N(){var H=d.name,W=d.version;H&&H.toLowerCase&&H.toLowerCase()==="ie"&&W.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function k(){return location&&location.protocol==="https:"}function F(H,W){if(N(),!(this instanceof F))return new F(H,W);H&&H.inited?this.options=H:this.options=F.initOptions(H),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=b,this.agent=this.options.agent||O),this.ctx=W,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}_.exports=F,F.initOptions=function(W){W.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var R=(0,o.default)({secure:k(),useFetch:!1},W);return L(R)};var B=F.prototype;B.debug=n,l(B,D("./object")),l(B,D("../common/bucket/getBucketWebsite")),l(B,D("../common/bucket/putBucketWebsite")),l(B,D("../common/bucket/deleteBucketWebsite")),l(B,D("../common/bucket/getBucketLifecycle")),l(B,D("../common/bucket/putBucketLifecycle")),l(B,D("../common/bucket/deleteBucketLifecycle")),l(B,D("../common/bucket/putBucketVersioning")),l(B,D("../common/bucket/getBucketVersioning")),l(B,D("./managed-upload")),l(B,D("../common/multipart")),l(B,D("../common/parallel")),B.signature=function(W){return this.debug("authorization stringToSign: %s",W,"info"),S.computeSignature(this.options.accessKeySecret,W)},B.authorization=function(W,R,U,j){var P=S.buildCanonicalString(W.toUpperCase(),R,{headers:j,parameters:U});return S.authorization(this.options.accessKeyId,this.options.accessKeySecret,P)},B.request=function(W){var R,U,j,P,K,V;return h.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:return R=C.call(this,W),this.options.useFetch||(R.params.mode="disable-fetch"),U=void 0,j=void 0,P=!!W.stream,X.prev=5,X.next=8,h.default.awrap(this.urllib.request(R.url,R.params));case 8:U=X.sent,this.debug("response %s %s, got %s, headers: %j",W.method,R.url,U.status,U.headers,"info"),X.next=15;break;case 12:X.prev=12,X.t0=X.catch(5),j=X.t0;case 15:if(K=void 0,!(U&&W.successStatuses&&W.successStatuses.indexOf(U.status)===-1)){X.next=28;break}return X.next=19,h.default.awrap(this.requestError(U));case 19:if(K=X.sent,!(K.code==="RequestTimeTooSkewed"&&!P)){X.next=25;break}return this.options.amendTimeSkewed=+new Date(K.serverTime)-new Date,X.next=24,h.default.awrap(this.request(W));case 24:return X.abrupt("return",X.sent);case 25:K.params=W,X.next=32;break;case 28:if(!j){X.next=32;break}return X.next=31,h.default.awrap(this.requestError(j));case 31:K=X.sent;case 32:if(!K){X.next=34;break}throw K;case 34:if(!W.xmlResponse){X.next=39;break}return X.next=37,h.default.awrap(this.parseXML(U.data));case 37:V=X.sent,U.data=V;case 39:return X.abrupt("return",U);case 40:case"end":return X.stop()}},null,this,[[5,12]])},B._getResource=function(W){var R="/";return W.bucket&&(R+=W.bucket+"/"),W.object&&(R+=W.object),R},B._isIP=T,B._escape=function(W){return p.encodeURIComponent(W).replace(/%2F/g,"/")},B._getReqUrl=function(W){var R={};a(this.options.endpoint).to(R);var U=this._isIP(R.hostname),j=this.options.cname;W.bucket&&!j&&!U&&(R.host=W.bucket+"."+R.host);var P="/";W.bucket&&U&&(P+=W.bucket+"/"),W.object&&(P+=this._escape(W.object).replace(/\+/g,"%2B")),R.pathname=P;var K={};if(W.query&&l(K,W.query),W.subres){var V={};s.string(W.subres)?V[W.subres]="":s.array(W.subres)?W.subres.forEach(function(z){V[z]=""}):V=W.subres,l(K,V)}return R.query=K,t.format(R)},B._getUserAgent=function(){var W=f&&f.browser?"js":"nodejs",R="aliyun-sdk-"+W+"/"+w.version,U=d.description;return!U&&f&&(U="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(R+" "+U)},B._checkUserAgent=function(W){var R=W.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return R},B.checkBrowserAndVersion=function(W,R){return E.name===W&&E.version.split(".")[0]===R},B.parseXML=function(W){return new m.default(function(R,U){g.isBuffer(W)&&(W=W.toString()),u.parseString(W,{explicitRoot:!1,explicitArray:!1},function(j,P){j?U(j):R(P)})})},B.requestError=function(W){var R,U,j,P;return h.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(R=null,!(!W.data||!W.data.length)){V.next=5;break}W.status===-1||W.status===-2?(R=new Error(W.message),R.name=W.name,R.status=W.status,R.code=W.name):(W.status===404?(R=new Error("Object not exists"),R.name="NoSuchKeyError",R.status=404,R.code="NoSuchKey"):W.status===412?(R=new Error("Pre condition failed"),R.name="PreconditionFailedError",R.status=412,R.code="PreconditionFailed"):(R=new Error("Unknow error, status: "+W.status),R.name="UnknowError",R.status=W.status),R.requestId=W.headers["x-oss-request-id"],R.host=""),V.next=33;break;case 5:return U=String(W.data),this.debug("request response error data: %s",U,"error"),j=void 0,V.prev=8,V.next=11,h.default.awrap(this.parseXML(U));case 11:if(V.t0=V.sent,V.t0){V.next=14;break}V.t0={};case 14:j=V.t0,V.next=24;break;case 17:return V.prev=17,V.t1=V.catch(8),this.debug(U,"error"),V.t1.message+=`
raw xml: `+U,V.t1.status=W.status,V.t1.requestId=W.headers["x-oss-request-id"],V.abrupt("return",V.t1);case 24:P=j.Message||"unknow request error, status: "+W.status,j.Condition&&(P+=" (condition: "+j.Condition+")"),R=new Error(P),R.name=j.Code?j.Code+"Error":"UnknowError",R.status=W.status,R.code=j.Code,R.requestId=j.RequestId,R.hostId=j.HostId,R.serverTime=j.ServerTime;case 33:return this.debug("generate error %j",R,"error"),V.abrupt("return",R);case 35:case"end":return V.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:D("../../node_modules/is-buffer/index.js")},D("_process"))},{"../../node_modules/is-buffer/index.js":197,"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketVersioning":9,"../common/bucket/getBucketWebsite":10,"../common/bucket/putBucketLifecycle":11,"../common/bucket/putBucketVersioning":12,"../common/bucket/putBucketWebsite":13,"../common/client/initOptions":15,"../common/multipart":18,"../common/parallel":33,"../common/signUtils":34,"../common/utils/createRequest":38,"../common/utils/isIP":45,"./managed-upload":3,"./object":4,"./version":5,_process:208,agentkeepalive:48,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,bowser:70,"copy-to":76,debug:288,"is-type-of":289,"merge-descriptors":200,platform:206,url:238,urllib:291,utility:290,xml2js:249}],3:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/array/from"),A=o(f),m=D("babel-runtime/core-js/promise"),v=o(m),h=D("babel-runtime/regenerator"),c=o(h);function o(S){return S&&S.__esModule?S:{default:S}}var i=D("is-type-of"),n=D("util"),a=D("path"),u=D("mime"),r=D("copy-to"),l=D("../common/utils/isBlob"),t=l.isBlob,s=D("../common/utils/isFile"),d=s.isFile,p=e;p.multipartUpload=function(x,T,L){var y,C,O,N,k,F,B,H,W;return c.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(this.resetCancelFlag(),L=L||{},!(L.checkpoint&&L.checkpoint.uploadId)){U.next=6;break}return U.next=5,c.default.awrap(this._resumeMultipart(L.checkpoint,L));case 5:return U.abrupt("return",U.sent);case 6:return y=100*1024,L.mime||(d(T)?L.mime=u.getType(a.extname(T.name)):t(T)?L.mime=T.type:L.mime=u.getType(a.extname(T))),L.headers=L.headers||{},this._convertMetaToHeaders(L.meta,L.headers),U.next=12,c.default.awrap(this._getFileSize(T));case 12:if(C=U.sent,!(C<y)){U.next=25;break}return O=this._createStream(T,0,C),L.contentLength=C,U.next=18,c.default.awrap(this.putStream(x,O,L));case 18:if(N=U.sent,!(L&&L.progress)){U.next=22;break}return U.next=22,c.default.awrap(L.progress(1));case 22:return k={res:N.res,bucket:this.options.bucket,name:x,etag:N.res.headers.etag},(L.headers&&L.headers["x-oss-callback"]||L.callback)&&(k.data=N.data),U.abrupt("return",k);case 25:if(!(L.partSize&&!(parseInt(L.partSize,10)===L.partSize))){U.next=27;break}throw new Error("partSize must be int number");case 27:if(!(L.partSize&&L.partSize<y)){U.next=29;break}throw new Error("partSize must not be smaller than "+y);case 29:return U.next=31,c.default.awrap(this.initMultipartUpload(x,L));case 31:if(F=U.sent,B=F.uploadId,H=this._getPartSize(C,L.partSize),W={file:T,name:x,fileSize:C,partSize:H,uploadId:B,doneParts:[]},!(L&&L.progress)){U.next=38;break}return U.next=38,c.default.awrap(L.progress(0,W,F.res));case 38:return U.next=40,c.default.awrap(this._resumeMultipart(W,L));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},p._resumeMultipart=function(x,T){var L,y,C,O,N,k,F,B,H,W,R,U,j,P,K,V,z,X;return c.default.async(function(le){for(;;)switch(le.prev=le.next){case 0:if(L=this,!this.isCancel()){le.next=3;break}throw this._makeCancelEvent();case 3:return y=x.file,C=x.fileSize,O=x.partSize,N=x.uploadId,k=x.doneParts,F=x.name,B=[],k.length>0&&r(k).to(B),H=this._divideParts(C,O),W=H.length,R=!1,U=function(me,we){var pe=this;return new v.default(function(Xe,dt){var Ee,Se,at,_e;return c.default.async(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(ee.prev=0,me.isCancel()){ee.next=18;break}return Ee=H[we-1],Se={stream:me._createStream(y,Ee.start,Ee.end),size:Ee.end-Ee.start},ee.next=6,c.default.awrap(me._uploadPart(F,N,we,Se));case 6:if(at=ee.sent,!(!me.isCancel()&&!R)){ee.next=15;break}if(x.doneParts.push({number:we,etag:at.res.headers.etag}),!T.progress){ee.next=12;break}return ee.next=12,c.default.awrap(T.progress(k.length/W,x,at.res));case 12:Xe({number:we,etag:at.res.headers.etag}),ee.next=16;break;case 15:Xe();case 16:ee.next=19;break;case 18:Xe();case 19:ee.next=30;break;case 21:ee.prev=21,ee.t0=ee.catch(0),_e=new Error,_e.name=ee.t0.name,_e.message=ee.t0.message,_e.stack=ee.t0.stack,_e.partNum=we,r(ee.t0).to(_e),dt(_e);case 30:case"end":return ee.stop()}},null,pe,[[0,21]])})},j=(0,A.default)(new Array(W),function(Y,me){return me+1}),P=B.map(function(Y){return Y.number}),K=j.filter(function(Y){return P.indexOf(Y)<0}),V=5,z=T.parallel||V,le.next=17,c.default.awrap(this._parallel(K,z,function(Y){return new v.default(function(me,we){U(L,Y).then(function(pe){pe&&B.push(pe),me()}).catch(function(pe){we(pe)})})}));case 17:if(X=le.sent,R=!0,!this.isCancel()){le.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!(X&&X.length>0)){le.next=25;break}throw X[0].message="Failed to upload some parts with error: "+X[0].toString()+" part_num: "+X[0].partNum,X[0];case 25:return le.next=27,c.default.awrap(this.completeMultipartUpload(F,N,B,T));case 27:return le.abrupt("return",le.sent);case 28:case"end":return le.stop()}},null,this)},p._getFileSize=function(x){return c.default.async(function(L){for(;;)switch(L.prev=L.next){case 0:if(!i.buffer(x)){L.next=4;break}return L.abrupt("return",x.length);case 4:if(!(t(x)||d(x))){L.next=6;break}return L.abrupt("return",x.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return L.stop()}},null,this)};var b=D("stream"),w=b.Readable;function E(S,x){if(!(this instanceof E))return new E(S,x);w.call(this,x),this.file=S,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}n.inherits(E,w),E.prototype.readFileAndPush=function(x){if(this.fileBuffer)for(var T=!0;T&&this.fileBuffer&&this.start<this.fileBuffer.length;){var L=this.start,y=L+x;y=y>this.fileBuffer.length?this.fileBuffer.length:y,this.start=y,T=this.push(this.fileBuffer.slice(L,y))}},E.prototype._read=function(x){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var T=16*1024;x=x||T;var L=this;this.reader.onload=function(C){L.fileBuffer=g.from(new Uint8Array(C.target.result)),L.file=null,L.readFileAndPush(x)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(x)},p._createStream=function(x,T,L){if(t(x)||d(x))return new E(x.slice(T,L));throw new Error("_createStream requires File/Blob.")},p._getPartSize=function(x,T){var L=10*1e3,y=1024*1024;return T?Math.max(Math.ceil(x/L),T):y},p._divideParts=function(x,T){for(var L=Math.ceil(x/T),y=[],C=0;C<L;C++){var O=T*C,N=Math.min(O+T,x);y.push({start:O,end:N})}return y}}).call(this,D("buffer").Buffer)},{"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/array/from":52,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,buffer:73,"copy-to":76,"is-type-of":289,mime:202,path:205,stream:230,util:243}],4:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),A=D("babel-runtime/core-js/object/keys"),m=i(A),v=D("babel-runtime/core-js/object/assign"),h=i(v),c=D("babel-runtime/regenerator"),o=i(c);function i(L){return L&&L.__esModule?L:{default:L}}var n=D("utility"),a=D("fs"),u=D("is-type-of"),r=D("url"),l=D("copy-to"),t=D("path"),s=D("mime"),d=D("../common/callback"),p=D("../common/signUtils"),b=D("merge-descriptors"),w=D("../common/utils/isBlob"),E=w.isBlob,S=D("../common/utils/isFile"),x=S.isFile,T=e;T.append=function(y,C,O){var N;return o.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return O=O||{},O.position===void 0&&(O.position="0"),O.subres={append:"",position:O.position},O.method="POST",F.next=6,o.default.awrap(this.put(y,C,O));case 6:return N=F.sent,N.nextAppendPosition=N.res.headers["x-oss-next-append-position"],F.abrupt("return",N);case 9:case"end":return F.stop()}},null,this)},T.put=function(y,C,O){var N,k,F,B,H,W,R;return o.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(N=void 0,O=O||{},y=this._objectName(y),!u.buffer(C)){j.next=7;break}N=C,j.next=33;break;case 7:if(!(E(C)||x(C))){j.next=32;break}return O.mime||(x(C)?O.mime=s.getType(t.extname(C.name)):O.mime=C.type),k=this._createStream(C,0,C.size),j.next=12,o.default.awrap(this._getFileSize(C));case 12:return O.contentLength=j.sent,j.prev=13,j.next=16,o.default.awrap(this.putStream(y,k,O));case 16:return F=j.sent,j.abrupt("return",F);case 20:if(j.prev=20,j.t0=j.catch(13),!(j.t0.code==="RequestTimeTooSkewed")){j.next=29;break}return this.options.amendTimeSkewed=+new Date(j.t0.serverTime)-new Date,j.next=26,o.default.awrap(this.put(y,C,O));case 26:return j.abrupt("return",j.sent);case 29:throw j.t0;case 30:j.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return O.headers=O.headers||{},this._convertMetaToHeaders(O.meta,O.headers),B=O.method||"PUT",H=this._objectRequestParams(B,y,O),d.encodeCallback(H,O),H.mime=O.mime,H.content=N,H.successStatuses=[200],j.next=43,o.default.awrap(this.request(H));case 43:return W=j.sent,R={name:y,url:this._objectUrl(y),res:W.res},H.headers&&H.headers["x-oss-callback"]&&(R.data=JSON.parse(W.data.toString())),j.abrupt("return",R);case 47:case"end":return j.stop()}},null,this,[[13,20]])},T.putStream=function(y,C,O){var N,k,F,B;return o.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return O=O||{},O.headers=O.headers||{},y=this._objectName(y),O.contentLength?O.headers["Content-Length"]=O.contentLength:O.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(O.meta,O.headers),N=O.method||"PUT",k=this._objectRequestParams(N,y,O),d.encodeCallback(k,O),k.mime=O.mime,k.stream=C,k.successStatuses=[200],W.next=13,o.default.awrap(this.request(k));case 13:return F=W.sent,B={name:y,url:this._objectUrl(y),res:F.res},k.headers&&k.headers["x-oss-callback"]&&(B.data=JSON.parse(F.data.toString())),W.abrupt("return",B);case 17:case"end":return W.stop()}},null,this)},b(T,D("../common/object/copyObject")),b(T,D("../common/object/getObjectTagging")),b(T,D("../common/object/putObjectTagging")),b(T,D("../common/object/deleteObjectTagging")),b(T,D("../common/image")),b(T,D("../common/object/getBucketVersions")),b(T,D("../common/object/getACL")),b(T,D("../common/object/putACL")),b(T,D("../common/object/head")),b(T,D("../common/object/delete")),b(T,D("../common/object/get")),b(T,D("../common/object/putSymlink")),b(T,D("../common/object/getSymlink")),b(T,D("../common/object/deleteMulti")),b(T,D("../common/object/getObjectMeta")),T.putMeta=function(y,C,O){var N;return o.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,o.default.awrap(this.copy(y,y,{meta:C||{},timeout:O&&O.timeout,ctx:O&&O.ctx}));case 2:return N=F.sent,F.abrupt("return",N);case 4:case"end":return F.stop()}},null,this)},T.list=function(y,C){var O,N,k,F,B;return o.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return O=this._objectRequestParams("GET","",C),O.query=y,O.xmlResponse=!0,O.successStatuses=[200],W.next=6,o.default.awrap(this.request(O));case 6:return N=W.sent,k=N.data.Contents,F=this,k&&(Array.isArray(k)||(k=[k]),k=k.map(function(R){return{name:R.Key,url:F._objectUrl(R.Key),lastModified:R.LastModified,etag:R.ETag,type:R.Type,size:Number(R.Size),storageClass:R.StorageClass,owner:{id:R.Owner.ID,displayName:R.Owner.DisplayName}}})),B=N.data.CommonPrefixes||null,B&&(Array.isArray(B)||(B=[B]),B=B.map(function(R){return R.Prefix})),W.abrupt("return",{res:N.res,objects:k,prefixes:B,nextMarker:N.data.NextMarker||null,isTruncated:N.data.IsTruncated==="true"});case 13:case"end":return W.stop()}},null,this)},T.restore=function(y,C){var O,N;return o.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return C=C||{},C.subres=(0,h.default)({restore:""},C.subres),C.versionId&&(C.subres.versionId=C.versionId),O=this._objectRequestParams("POST",y,C),O.successStatuses=[202],F.next=7,o.default.awrap(this.request(O));case 7:return N=F.sent,F.abrupt("return",{res:N.res});case 9:case"end":return F.stop()}},null,this)},T.signatureUrl=function(y,C){C=C||{},y=this._objectName(y),C.method=C.method||"GET";var O=n.timestamp()+(C.expires||1800),N={bucket:this.options.bucket,object:y},k=this._getResource(N);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var F=p._signatureForURL(this.options.accessKeySecret,C,k,O),B=r.parse(this._getReqUrl(N));return B.query={OSSAccessKeyId:this.options.accessKeyId,Expires:O,Signature:F.Signature},l(F.subResource).to(B.query),B.format()},T.getObjectUrl=function(y,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(y))},T._objectUrl=function(y){return this._getReqUrl({bucket:this.options.bucket,object:y})},T.generateObjectUrl=function(L,y){if(y)y[y.length-1]!=="/"&&(y+="/");else{y=this.options.endpoint.format();var C=r.parse(y),O=this.options.bucket;C.hostname=O+"."+C.hostname,C.host=O+"."+C.host,y=C.format()}return y+this._escape(this._objectName(L))},T._objectRequestParams=function(y,C,O){if(!this.options.bucket)throw new Error("Please create a bucket first");O=O||{},C=this._objectName(C);var N={object:C,bucket:this.options.bucket,method:y,subres:O&&O.subres,timeout:O&&O.timeout,ctx:O&&O.ctx};return O.headers&&(N.headers={},l(O.headers).to(N.headers)),N},T._objectName=function(y){return y.replace(/^\/+/,"")},T._convertMetaToHeaders=function(y,C){if(!y)return;(0,m.default)(y).forEach(function(O){C["x-oss-meta-"+O]=y[O]})},T._deleteFileSafe=function(y){var C=this;return new f.default(function(O){a.exists(y,function(N){N?a.unlink(y,function(k){k&&C.debug("unlink %j error: %s",y,k,"error"),O()}):O()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(D,_,e){"use strict";e.version="6.10.0"},{}],6:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.deleteBucketLifecycle=function(o,i){var n,a;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(o),n=this._bucketRequestParams("DELETE",o,"lifecycle",i),n.successStatuses=[204],r.next=5,f.default.awrap(this.request(n));case 5:return a=r.sent,r.abrupt("return",{res:a.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.deleteBucketWebsite=function(o,i){var n,a;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(o),n=this._bucketRequestParams("DELETE",o,"website",i),n.successStatuses=[204],r.next=5,f.default.awrap(this.request(n));case 5:return a=r.sent,r.abrupt("return",{res:a.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(a){return a&&a.__esModule?a:{default:a}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isArray"),c=h.isArray,o=D("../utils/formatObjKey"),i=o.formatObjKey,n=e;n.getBucketLifecycle=function(u,r){var l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return v(u),l=this._bucketRequestParams("GET",u,"lifecycle",r),l.successStatuses=[200],l.xmlResponse=!0,p.next=6,f.default.awrap(this.request(l));case 6:return t=p.sent,s=t.data.Rule||null,s&&(c(s)||(s=[s]),s=s.map(function(b){return b.ID&&(b.id=b.ID,delete b.ID),b.Tag&&!c(b.Tag)&&(b.Tag=[b.Tag]),i(b,"firstLowerCase")})),p.abrupt("return",{rules:s,res:t.res});case 10:case"end":return p.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.getBucketVersioning=function(o,i){var n,a,u;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return v(o),n=this._bucketRequestParams("GET",o,"versioning",i),n.xmlResponse=!0,n.successStatuses=[200],l.next=6,f.default.awrap(this.request(n));case 6:return a=l.sent,u=a.data.Status,l.abrupt("return",{status:a.status,versionStatus:u,res:a.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(i){return i&&i.__esModule?i:{default:i}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isObject"),c=h.isObject,o=e;o.getBucketWebsite=function(n,a){var u,r,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return v(n),u=this._bucketRequestParams("GET",n,"website",a),u.successStatuses=[200],u.xmlResponse=!0,s.next=6,f.default.awrap(this.request(u));case 6:return r=s.sent,l=[],r.data.RoutingRules&&r.data.RoutingRules.RoutingRule&&(c(r.data.RoutingRules.RoutingRule)?l=[r.data.RoutingRules.RoutingRule]:l=r.data.RoutingRules.RoutingRule),s.abrupt("return",{index:r.data.IndexDocument&&r.data.IndexDocument.Suffix||"",supportSubDir:r.data.IndexDocument&&r.data.IndexDocument.SupportSubDir||"false",type:r.data.IndexDocument&&r.data.IndexDocument.Type,routingRules:l,error:r.data.ErrorDocument&&r.data.ErrorDocument.Key||null,res:r.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(x){return x&&x.__esModule?x:{default:x}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isArray"),c=h.isArray,o=D("../utils/deepCopy"),i=o.deepCopy,n=D("../utils/isObject"),a=n.isObject,u=D("../utils/obj2xml"),r=u.obj2xml,l=D("../utils/checkObjectTag"),t=l.checkObjectTag,s=D("../utils/getStrBytesCount"),d=s.getStrBytesCount,p=e;p.putBucketLifecycle=function(T,L,y){var C,O,N,k,F;return f.default.async(function(H){for(;;)switch(H.prev=H.next){case 0:if(v(T),c(L)){H.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",T,"lifecycle",y),O=[],N={LifecycleConfiguration:{Rule:O}},L.forEach(function(W){b(W),S(W),W.id&&(W.ID=W.id,delete W.id),O.push(W)}),k=r(N,{headers:!0,firstUpperCase:!0}),C.content=k,C.mime="xml",C.successStatuses=[200],H.next=13,f.default.awrap(this.request(C));case 13:return F=H.sent,H.abrupt("return",{res:F.res});case 15:case"end":return H.stop()}},null,this)};function b(x){x.days&&(x.expiration={days:x.days}),x.date&&(x.expiration={createdBeforeDate:x.date})}function w(x,T){var L=x.days,y=x.createdBeforeDate;if(!L&&!y)throw new Error(T+" must includes days or createdBeforeDate");if(L&&!/^[1-9][0-9]*$/.test(L))throw new Error("days must be a positive integer");if(y&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(y))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function E(x){if(!c(x)&&!a(x))throw new Error("tag must be Object or Array");x=a(x)?[x]:x;var T={},L=i(x);L.forEach(function(y){T[y.key]=y.value}),t(T)}function S(x){if(x.id&&d(x.id)>255)throw new Error("ID is composed of 255 bytes at most");if(x.prefix===""||x.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(x.status))throw new Error("Status must be Enabled or Disabled");if(x.transition){if(!["IA","Archive"].includes(x.transition.storageClass))throw new Error("StorageClass must be IA or Archive");w(x.transition,"Transition")}if(x.expiration){if(!x.expiration.expiredObjectDeleteMarker)w(x.expiration,"Expiration");else if(x.expiration.days||x.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(x.abortMultipartUpload&&w(x.abortMultipartUpload,"AbortMultipartUpload"),!x.expiration&&!x.abortMultipartUpload&&!x.transition&&!x.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(x.tag){if(x.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");E(x.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(i){return i&&i.__esModule?i:{default:i}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/obj2xml"),c=h.obj2xml,o=e;o.putBucketVersioning=function(n,a){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,l,t;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:if(v(n),["Enabled","Suspended"].includes(a)){d.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return r=this._bucketRequestParams("PUT",n,"versioning",u),l={VersioningConfiguration:{Status:a}},r.mime="xml",r.content=c(l,{headers:!0}),d.next=9,f.default.awrap(this.request(r));case 9:return t=d.sent,d.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return d.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(a){return a&&a.__esModule?a:{default:a}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/obj2xml"),c=h.obj2xml,o=D("../utils/isArray"),i=o.isArray,n=e;n.putBucketWebsite=function(u){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],t,s,d,p,b;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(v(u),t=this._bucketRequestParams("PUT",u,"website",l),s={Suffix:r.index||"index.html"},d={IndexDocument:s},p={WebsiteConfiguration:d},r.supportSubDir&&(s.SupportSubDir=r.supportSubDir),r.type&&(s.Type=r.type),r.error&&(d.ErrorDocument={Key:r.error}),!(r.routingRules!==void 0)){E.next=12;break}if(i(r.routingRules)){E.next=11;break}throw new Error("RoutingRules must be Array");case 11:d.RoutingRules={RoutingRule:r.routingRules};case 12:return p=c(p),t.content=p,t.mime="xml",t.successStatuses=[200],E.next=18,f.default.awrap(this.request(t));case 18:return b=E.sent,E.abrupt("return",{res:b.res});case 20:case"end":return E.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/keys"),A=h(f),m=D("babel-runtime/core-js/json/stringify"),v=h(m);function h(c){return c&&c.__esModule?c:{default:c}}e.encodeCallback=function(o,i){if(o.headers=o.headers||{},!Object.prototype.hasOwnProperty.call(o.headers,"x-oss-callback")&&i.callback){var n={callbackUrl:encodeURI(i.callback.url),callbackBody:i.callback.body};i.callback.host&&(n.callbackHost=i.callback.host),i.callback.contentType&&(n.callbackBodyType=i.callback.contentType);var a=g.from((0,v.default)(n)).toString("base64");if(o.headers["x-oss-callback"]=a,i.callback.customValue){var u={};(0,A.default)(i.callback.customValue).forEach(function(r){u["x:"+r]=i.callback.customValue[r]}),o.headers["x-oss-callback-var"]=g.from((0,v.default)(u)).toString("base64")}}}}).call(this,D("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/assign"),f=A(g);function A(n){return n&&n.__esModule?n:{default:n}}var m=D("humanize-ms"),v=D("url"),h=D("../utils/checkBucketName"),c=h.checkBucketName;function o(n,a){var u=v.parse(n);if(u.protocol||(u=v.parse("http"+(a?"s":"")+"://"+n)),u.protocol!=="http:"&&u.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return u}function i(n,a,u){var r=u?"https://":"http://",l=a?"-internal.aliyuncs.com":".aliyuncs.com",t="vpc100-oss-cn-";return n.substr(0,t.length)===t&&(l=".aliyuncs.com"),v.parse(r+n+l)}_.exports=function(n){if(!n||!n.accessKeyId||!n.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");n.bucket&&c(n.bucket);var a=(0,f.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},n);if(a.accessKeyId=a.accessKeyId.trim(),a.accessKeySecret=a.accessKeySecret.trim(),a.timeout&&(a.timeout=m(a.timeout)),a.endpoint)a.endpoint=o(a.endpoint,a.secure);else if(a.region)a.endpoint=i(a.region,a.internal,a.secure);else throw new Error("require options.endpoint or options.region");return a.inited=!0,a}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(D,_,e){"use strict";var g=D("merge-descriptors"),f=e;g(f,D("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(a){return a&&a.__esModule?a:{default:a}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("querystring"),c=D("js-base64"),o=c.Base64.encode,i=e;i.processObjectSave=function(u,r,l,t){var s,d,p,b;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return n(u,"sourceObject"),n(r,"targetObject"),n(l,"process"),r=this._objectName(r),t&&v(t),s=this._objectRequestParams("POST",u,{subres:"x-oss-process"}),d=t?",b_"+o(t):"",r=o(r),p={"x-oss-process":l+"|sys/saveas,o_"+r+d},s.content=h.stringify(p),E.next=12,f.default.awrap(this.request(s));case 12:return b=E.sent,E.abrupt("return",{res:b.res,status:b.res.status});case 14:case"end":return E.stop()}},null,this)};function n(a,u){if(!a)throw new Error(u+" is required");if(typeof a!="string")throw new Error(u+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=A(g);function A(i){return i&&i.__esModule?i:{default:i}}var m=D("copy-to"),v=D("./callback"),h=D("./utils/deepCopy"),c=h.deepCopy,o=e;o.listUploads=function(n,a){var u,r,l,t;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return a=a||{},u={},m(a).to(u),u.subres="uploads",r=this._objectRequestParams("GET","",u),r.query=n,r.xmlResponse=!0,r.successStatuses=[200],d.next=10,f.default.awrap(this.request(r));case 10:return l=d.sent,t=l.data.Upload||[],Array.isArray(t)||(t=[t]),t=t.map(function(p){return{name:p.Key,uploadId:p.UploadId,initiated:p.Initiated}}),d.abrupt("return",{res:l.res,uploads:t,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return d.stop()}},null,this)},o.listParts=function(n,a,u,r){var l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return r=r||{},l={},m(r).to(l),l.subres={uploadId:a},t=this._objectRequestParams("GET",n,l),t.query=u,t.xmlResponse=!0,t.successStatuses=[200],p.next=10,f.default.awrap(this.request(t));case 10:return s=p.sent,p.abrupt("return",{res:s.res,uploadId:s.data.UploadId,bucket:s.data.Bucket,name:s.data.Key,partNumberMarker:s.data.PartNumberMarker,nextPartNumberMarker:s.data.NextPartNumberMarker,maxParts:s.data.MaxParts,isTruncated:s.data.IsTruncated,parts:s.data.Part||[]});case 12:case"end":return p.stop()}},null,this)},o.abortMultipartUpload=function(n,a,u){var r,l,t;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return this._stop(),u=u||{},r={},m(u).to(r),r.subres={uploadId:a},l=this._objectRequestParams("DELETE",n,r),l.successStatuses=[204],d.next=9,f.default.awrap(this.request(l));case 9:return t=d.sent,d.abrupt("return",{res:t.res});case 11:case"end":return d.stop()}},null,this)},o.initMultipartUpload=function(n,a){var u,r,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a=a||{},u={},m(a).to(u),u.headers=u.headers||{},this._convertMetaToHeaders(a.meta,u.headers),u.subres="uploads",r=this._objectRequestParams("POST",n,u),r.mime=a.mime,r.xmlResponse=!0,r.successStatuses=[200],s.next=12,f.default.awrap(this.request(r));case 12:return l=s.sent,s.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return s.stop()}},null,this)},o.uploadPart=function(n,a,u,r,l,t,s){var d;return f.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return d={stream:this._createStream(r,l,t),size:t-l},b.next=3,f.default.awrap(this._uploadPart(n,a,u,d,s));case 3:return b.abrupt("return",b.sent);case 4:case"end":return b.stop()}},null,this)},o.completeMultipartUpload=function(n,a,u,r){var l,t,s,d,p,b,w,E;return f.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:for(l=u.concat().sort(function(T,L){return T.number-L.number}).filter(function(T,L,y){return!L||T.number!==y[L-1].number}),t=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,s=0;s<l.length;s++)d=l[s],t+=`<Part>
`,t+="<PartNumber>"+d.number+`</PartNumber>
`,t+="<ETag>"+d.etag+`</ETag>
`,t+=`</Part>
`;return t+="</CompleteMultipartUpload>",r=r||{},p={},p=c(r),p.headers&&delete p.headers["x-oss-server-side-encryption"],p.subres={uploadId:a},b=this._objectRequestParams("POST",n,p),v.encodeCallback(b,p),b.mime="xml",b.content=t,b.headers&&b.headers["x-oss-callback"]||(b.xmlResponse=!0),b.successStatuses=[200],x.next=17,f.default.awrap(this.request(b));case 17:return w=x.sent,E={res:w.res,bucket:b.bucket,name:n,etag:w.res.headers.etag},b.headers&&b.headers["x-oss-callback"]&&(E.data=JSON.parse(w.data.toString())),x.abrupt("return",E);case 21:case"end":return x.stop()}},null,this)},o._uploadPart=function(n,a,u,r,l){var t,s,d;return f.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return l=l||{},t={},m(l).to(t),t.headers={"Content-Length":r.size},t.subres={partNumber:u,uploadId:a},s=this._objectRequestParams("PUT",n,t),s.mime=t.mime,s.stream=r.stream,s.successStatuses=[200],b.next=11,f.default.awrap(this.request(s));case 11:if(d=b.sent,d.res.headers.etag){b.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 14:return r.stream=null,s.stream=null,b.abrupt("return",{name:n,etag:d.res.headers.etag,res:d.res});case 17:case"end":return b.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),A=D("babel-runtime/core-js/object/keys"),m=c(A),v=D("babel-runtime/helpers/typeof"),h=c(v);function c(a){return a&&a.__esModule?a:{default:a}}var o=D("../utils/checkBucketName"),i=o.checkBucketName,n=e;n.copy=function(u,r,l,t){var s,d,p;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return(typeof l=="undefined"?"undefined":(0,h.default)(l))==="object"&&(t=l),t=t||{},t.headers=t.headers||{},(0,m.default)(t.headers).forEach(function(E){t.headers["x-oss-copy-source-"+E.toLowerCase()]=t.headers[E]}),t.meta&&(t.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(t.meta,t.headers),r=this._getSourceName(r,l),t.versionId&&(r=r+"?versionId="+t.versionId),t.headers["x-oss-copy-source"]=r,s=this._objectRequestParams("PUT",u,t),s.xmlResponse=!0,s.successStatuses=[200,304],w.next=14,f.default.awrap(this.request(s));case 14:return d=w.sent,p=d.data,p&&(p={etag:p.ETag,lastModified:p.LastModified}),w.abrupt("return",{data:p,res:d.res});case 18:case"end":return w.stop()}},null,this)},n._getSourceName=function(u,r){return typeof r=="string"?u=this._objectName(u):u[0]!=="/"?r=this.options.bucket:(r=u.replace(/\/(.+?)(\/.*)/,"$1"),u=u.replace(/(\/.+?\/)(.*)/,"$2")),i(r),u=encodeURI(u),u="/"+r+"/"+u,u}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.delete=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,a;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return i.subres=(0,m.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),n=this._objectRequestParams("DELETE",o,i),n.successStatuses=[204],r.next=6,f.default.awrap(this.request(n));case 6:return a=r.sent,r.abrupt("return",{res:a.res});case 8:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(n){return n&&n.__esModule?n:{default:n}}var h=D("utility"),c=D("../utils/obj2xml"),o=c.obj2xml,i=e;i.deleteMulti=function(a){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,l,t,s,d,p,b,w,E,S,x,T;return f.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:if(r=[],!(!a||!a.length)){y.next=3;break}throw new Error("names is required");case 3:for(l=0;l<a.length;l++)t={},typeof a[l]=="string"?t.Key=h.escape(this._objectName(a[l])):(s=a[l],d=s.key,p=s.versionId,t.Key=h.escape(this._objectName(d)),t.VersionId=p),r.push(t);return b={Delete:{Quiet:!!u.quiet,Object:r}},w=o(b,{headers:!0}),u.subres=(0,m.default)({delete:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),E=this._objectRequestParams("POST","",u),E.mime="xml",E.content=w,E.xmlResponse=!0,E.successStatuses=[200],y.next=15,f.default.awrap(this.request(E));case 15:return S=y.sent,x=S.data,T=x&&x.Deleted||null,T&&(Array.isArray(T)||(T=[T])),y.abrupt("return",{res:S.res,deleted:T||[]});case 20:case"end":return y.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.deleteObjectTagging=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,a;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return i.subres=(0,m.default)({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),o=this._objectName(o),n=this._objectRequestParams("DELETE",o,i),n.successStatuses=[204],r.next=7,f.default.awrap(this.request(n));case 7:return a=r.sent,r.abrupt("return",{status:a.status,res:a.res});case 9:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(i){return i&&i.__esModule?i:{default:i}}var h=D("fs"),c=D("is-type-of"),o=e;o.get=function(n,a){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return r=null,l=!1,c.writableStream(a)?r=a:c.string(a)?(r=h.createWriteStream(a),l=!0):u=a,u=u||{},u.subres=(0,m.default)({},u.subres),u.versionId&&(u.subres.versionId=u.versionId),u.process&&(u.subres["x-oss-process"]=u.process),t=void 0,p.prev=8,s=this._objectRequestParams("GET",n,u),s.writeStream=r,s.successStatuses=[200,206,304],p.next=14,f.default.awrap(this.request(s));case 14:t=p.sent,l&&r.destroy(),p.next=25;break;case 18:if(p.prev=18,p.t0=p.catch(8),!l){p.next=24;break}return r.destroy(),p.next=24,f.default.awrap(this._deleteFileSafe(a));case 24:throw p.t0;case 25:return p.abrupt("return",{res:t.res,content:t.data});case 26:case"end":return p.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getACL=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,a;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return i.subres=(0,m.default)({acl:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),o=this._objectName(o),n=this._objectRequestParams("GET",o,i),n.successStatuses=[200],n.xmlResponse=!0,r.next=8,f.default.awrap(this.request(n));case 8:return a=r.sent,r.abrupt("return",{acl:a.data.AccessControlList.Grant,owner:{id:a.data.Owner.ID,displayName:a.data.Owner.DisplayName},res:a.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=c(g),A=D("babel-runtime/regenerator"),m=c(A),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(s){return s&&s.__esModule?s:{default:s}}var o=e,i=D("../utils/isObject"),n=i.isObject,a=D("../utils/isArray"),u=a.isArray;o.getBucketVersions=r,o.listObjectVersions=r;function r(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p,b,w,E,S,x;return m.default.async(function(L){for(;;)switch(L.prev=L.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){L.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return d.subres=(0,h.default)({versions:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),p=this._objectRequestParams("GET","",d),p.xmlResponse=!0,p.successStatuses=[200],p.query=t(s),L.next=10,m.default.awrap(this.request(p));case 10:return b=L.sent,w=b.data.Version||[],E=b.data.DeleteMarker||[],S=this,w&&(Array.isArray(w)||(w=[w]),w=w.map(function(y){return{name:y.Key,url:S._objectUrl(y.Key),lastModified:y.LastModified,isLatest:y.IsLatest==="true",versionId:y.VersionId,etag:y.ETag,type:y.Type,size:Number(y.Size),storageClass:y.StorageClass,owner:{id:y.Owner.ID,displayName:y.Owner.DisplayName}}})),E&&(u(E)||(E=[E]),E=E.map(function(y){return{name:y.Key,lastModified:y.LastModified,versionId:y.VersionId,owner:{id:y.Owner.ID,displayName:y.Owner.DisplayName}}})),x=b.data.CommonPrefixes||null,x&&(u(x)||(x=[x]),x=x.map(function(y){return y.Prefix})),L.abrupt("return",{res:b.res,objects:w,deleteMarker:E,prefixes:x,nextMarker:b.data.NextMarker||null,NextVersionIdMarker:b.data.NextVersionIdMarker||null,isTruncated:b.data.IsTruncated==="true"});case 19:case"end":return L.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d={};return n(s)&&(0,f.default)(s).forEach(function(p){d[l(p)]=s[p]}),d}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getObjectMeta=function(o,i){var n,a;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return i=i||{},o=this._objectName(o),i.subres=(0,m.default)({objectMeta:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),n=this._objectRequestParams("HEAD",o,i),n.successStatuses=[200],r.next=8,f.default.awrap(this.request(n));case 8:return a=r.sent,r.abrupt("return",{status:a.status,res:a.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(i){return i&&i.__esModule?i:{default:i}}var h=e,c=D("../utils/isObject"),o=c.isObject;h.getObjectTagging=function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u,r,l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return a.subres=(0,m.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),n=this._objectName(n),u=this._objectRequestParams("GET",n,a),u.successStatuses=[200],p.next=7,f.default.awrap(this.request(u));case 7:return r=p.sent,p.next=10,f.default.awrap(this.parseXML(r.data));case 10:return l=p.sent,t=l.TagSet.Tag,t=t&&o(t)?[t]:t||[],s={},t.forEach(function(b){s[b.Key]=b.Value}),p.abrupt("return",{status:r.status,res:r.res,tag:s});case 16:case"end":return p.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getSymlink=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,a,u;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return i.subres=(0,m.default)({symlink:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),o=this._objectName(o),n=this._objectRequestParams("GET",o,i),n.successStatuses=[200],l.next=7,f.default.awrap(this.request(n));case 7:return a=l.sent,u=a.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(u),res:a.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),A=D("babel-runtime/core-js/object/keys"),m=c(A),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(i){return i&&i.__esModule?i:{default:i}}var o=e;o.head=function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u,r,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a.subres=(0,h.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),u=this._objectRequestParams("HEAD",n,a),u.successStatuses=[200,304],s.next=6,f.default.awrap(this.request(u));case 6:return r=s.sent,l={meta:null,res:r.res,status:r.status},r.status===200&&(0,m.default)(r.headers).forEach(function(d){d.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[d.substring(11)]=r.headers[d])}),s.abrupt("return",l);case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.putACL=function(o,i,n){var a,u;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=n||{},n.subres=(0,m.default)({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.headers=n.headers||{},n.headers["x-oss-object-acl"]=i,o=this._objectName(o),a=this._objectRequestParams("PUT",o,n),a.successStatuses=[200],l.next=10,f.default.awrap(this.request(a));case 10:return u=l.sent,l.abrupt("return",{res:u.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),A=D("babel-runtime/core-js/object/keys"),m=c(A),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(r){return r&&r.__esModule?r:{default:r}}var o=D("../utils/obj2xml"),i=o.obj2xml,n=D("../utils/checkObjectTag"),a=n.checkObjectTag,u=e;u.putObjectTagging=function(l,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d,p,b;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return a(t),s.subres=(0,h.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),l=this._objectName(l),d=this._objectRequestParams("PUT",l,s),d.successStatuses=[200],t=(0,m.default)(t).map(function(S){return{Key:S,Value:t[S]}}),p={Tagging:{TagSet:{Tag:t}}},d.mime="xml",d.content=i(p),E.next=12,f.default.awrap(this.request(d));case 12:return b=E.sent,E.abrupt("return",{res:b.res,status:b.status});case 14:case"end":return E.stop()}},null,this)}},{"../utils/checkObjectTag":36,"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],32:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/object/assign"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.putSymlink=function(o,i,n){var a,u;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=n||{},n.headers=n.headers||{},i=this._escape(this._objectName(i)),this._convertMetaToHeaders(n.meta,n.headers),n.headers["x-oss-symlink-target"]=i,n.subres=(0,m.default)({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.storageClass&&(n.headers["x-oss-storage-class"]=n.storageClass),o=this._objectName(o),a=this._objectRequestParams("PUT",o,n),a.successStatuses=[200],l.next=13,f.default.awrap(this.request(a));case 13:return u=l.sent,l.abrupt("return",{res:u.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),A=D("babel-runtime/core-js/promise"),m=v(A);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h._parallelNode=function(o,i,n,a){var u,r,l,t,s,d,p,b;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:u=this,r=[],l=[],t=o.length/i,s=o.length%i,d=s===0?t:(o.length-s)/i+1,p=1,b=0;case 8:if(!(b<o.length)){E.next=26;break}if(!u.isCancel()){E.next=11;break}return E.abrupt("break",26);case 11:if(a?l.push(n(u,o[b],a)):l.push(n(u,o[b])),!(l.length===i||p===d&&b===o.length-1)){E.next=23;break}return E.prev=13,p+=1,E.next=17,f.default.awrap(m.default.all(l));case 17:E.next=22;break;case 19:E.prev=19,E.t0=E.catch(13),r.push(E.t0);case 22:l=[];case 23:b++,E.next=8;break;case 26:return E.abrupt("return",r);case 27:case"end":return E.stop()}},null,this,[[13,19]])},h._parallel=function(o,i,n){var a=this;return new m.default(function(u){var r=[];if(i<=0||!o){u(r);return}function l(x){return function(){if(x===null)throw new Error("Callback was already called.");var T=x;x=null;for(var L=arguments.length,y=Array(L),C=0;C<L;C++)y[C]=arguments[C];T.apply(this,y)}}function t(x){var T=-1,L=x.length;return function(){return++T<L&&!a.isCancel()?{value:x[T],key:T}:null}}var s=t(o),d=!1,p=0,b=!1;function w(x,T){p-=1,x?(d=!0,r.push(x),u(r)):T==={}||d&&p<=0?(d=!0,u(r)):b||(a.isCancel()?u(r):S())}function E(x,T){n(x).then(function(L){T(null,L)}).catch(function(L){T(L)})}function S(){for(b=!0;p<i&&!d&&!a.isCancel();){var x=s();if(x===null||r.length>0){d=!0,p<=0&&u(r);return}p+=1,E(x.value,l(w))}b=!1}S()})},h.cancel=function(o){this.options.cancelFlag=!0,o&&this.abortMultipartUpload(o.name,o.uploadId,o.options)},h.isCancel=function(){return this.options.cancelFlag},h.resetCancelFlag=function(){this.options.cancelFlag=!1},h._stop=function(){this.options.cancelFlag=!0},h._makeCancelEvent=function(){var o={status:0,name:"cancel"};return o}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/json/stringify"),A=h(f),m=D("babel-runtime/core-js/object/keys"),v=h(m);function h(i){return i&&i.__esModule?i:{default:i}}var c=D("./../../shims/crypto/crypto.js"),o=D("is-type-of");e.buildCanonicalizedResource=function(n,a){var u=""+n,r="?";if(o.string(a)&&a.trim()!=="")u+=r+a;else if(o.array(a))a.sort(),u+=r+a.join("&");else if(a){var l=function(d,p){return d[0]>p[0]?1:d[0]<p[0]?-1:0},t=function(d){u+=r+d,a[d]&&(u+="="+a[d]),r="&"};(0,v.default)(a).sort(l).forEach(t)}return u},e.buildCanonicalString=function(n,a,u,r){u=u||{};var l=u.headers||{},t="x-oss-",s=[],d={},p=[n.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],r||l["x-oss-date"]];return(0,v.default)(l).forEach(function(b){var w=b.toLowerCase();w.indexOf(t)===0&&(d[w]=String(l[b]).trim())}),(0,v.default)(d).sort().forEach(function(b){s.push(b+":"+d[b])}),p=p.concat(s),p.push(this.buildCanonicalizedResource(a,u.parameters)),p.join(`
`)},e.computeSignature=function(n,a){var u=c.createHmac("sha1",n);return u.update(g.from(a,"utf8")).digest("base64")},e.authorization=function(n,a,u){return"OSS "+n+":"+this.computeSignature(a,u)},e._signatureForURL=function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments[2],r=arguments[3],l={},t=a.subResource,s=t===void 0?{}:t;if(a.process){var d="x-oss-process";s[d]=a.process}if(a.trafficLimit){var p="x-oss-traffic-limit";s[p]=a.trafficLimit}if(a.response&&(0,v.default)(a.response).forEach(function(S){var x="response-"+S.toLowerCase();s[x]=a.response[S]}),(0,v.default)(a).forEach(function(S){var x=S.toLowerCase(),T=a[S];x.indexOf("x-oss-")===0?l[x]=T:(x.indexOf("content-md5")===0||x.indexOf("content-type")===0)&&(l[S]=T)}),Object.prototype.hasOwnProperty.call(a,"security-token")&&(s["security-token"]=a["security-token"]),Object.prototype.hasOwnProperty.call(a,"callback")){var b={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};if(a.callback.host&&(b.callbackHost=a.callback.host),a.callback.contentType&&(b.callbackBodyType=a.callback.contentType),s.callback=g.from((0,A.default)(b)).toString("base64"),a.callback.customValue){var w={};(0,v.default)(a.callback.customValue).forEach(function(S){w["x:"+S]=a.callback.customValue[S]}),s["callback-var"]=g.from((0,A.default)(w)).toString("base64")}}var E=this.buildCanonicalString(a.method,u,{headers:l,parameters:s},r.toString());return{Signature:this.computeSignature(n,E),subResource:s}}}).call(this,D("buffer").Buffer)},{"./../../shims/crypto/crypto.js":284,"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73,"is-type-of":289}],35:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBucketName=void 0,e.checkBucketName=function(g,f){var A=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!A.test(g))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/entries"),f=A(g);function A(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.checkObjectTag=void 0;var m=D("./checkValid"),v=m.checkValid,h=D("./isObject"),c=h.isObject,o=[{validator:function(u){if(typeof u!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],i={key:[].concat(o,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(o,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function n(a){if(!c(a))throw new Error("tag must be Object");var u=(0,f.default)(a);if(u.length>10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];u.forEach(function(l){l.forEach(function(t,s){v(t,i[r[s]])})})}e.checkObjectTag=n},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkValid=void 0;function g(f,A){A.forEach(function(m){if(m.validator)m.validator(f);else if(m.pattern&&!m.pattern.test(f))throw new Error(m.msg)})}e.checkValid=g},{}],38:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/assign"),A=m(f);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(e,"__esModule",{value:!0}),e.createRequest=void 0;var v=D("./../../../shims/crypto/crypto.js"),h=D("debug")("ali-oss"),c=D("mime"),o=D("dateformat"),i=D("copy-to"),n=D("path");function a(l,t){return l[t]||l[t.toLowerCase()]}function u(l,t){delete l[t],delete l[t.toLowerCase()]}function r(l){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":o(t,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(s["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,A.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),i(l.headers).to(s),a(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=c.getType(l.mime||n.extname(l.object||""))),a(s,"Content-Type")||u(s,"Content-Type"),l.content&&(s["Content-Md5"]=v.createHash("md5").update(g.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var d=this._getResource(l);s.authorization=this.authorization(l.method,d,l.subres,s);var p=this._getReqUrl(l);h("request %s %s, with headers %j, !!stream: %s",l.method,p,s,!!l.stream);var b=l.timeout||this.options.timeout,w={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:b,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(w.agent=this.agent),this.httpsAgent&&(w.httpsAgent=this.httpsAgent),{url:p,params:w}}e.createRequest=r}).call(this,D("buffer").Buffer)},{"./../../../shims/crypto/crypto.js":284,"babel-runtime/core-js/object/assign":54,buffer:73,"copy-to":76,dateformat:190,debug:288,mime:202,path:205}],39:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),A=D("babel-runtime/helpers/typeof"),m=v(A);function v(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(e,"__esModule",{value:!0}),e.deepCopy=void 0,e.deepCopy=function(h){if(h===null||(typeof h=="undefined"?"undefined":(0,m.default)(h))!=="object")return h;var c=Array.isArray(h)?[]:{};return(0,f.default)(h).forEach(function(o){c[o]=e.deepCopy(h[o])}),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),A=D("babel-runtime/helpers/typeof"),m=v(A);function v(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatObjKey=void 0;function h(o,i){if(o===null||(typeof o=="undefined"?"undefined":(0,m.default)(o))!=="object")return o;var n=void 0;if(Array.isArray(o)){n=[];for(var a=0;a<o.length;a++)n.push(h(o[a],i))}else n={},(0,f.default)(o).forEach(function(u){n[c(u,i)]=h(o[u],i)});return n}e.formatObjKey=h;function c(o,i){return i==="firstUpperCase"?o=o.replace(/^./,function(n){return n.toUpperCase()}):i==="firstLowerCase"&&(o=o.replace(/^./,function(n){return n.toLowerCase()})),o}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrBytesCount=void 0;function g(f){for(var A=0,m=0;m<f.length;m++){var v=f.charAt(m);/^[\u00-\uff]$/.test(v)?A+=1:A+=2}return A}e.getStrBytesCount=g},{}],42:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=void 0,e.isArray=function(g){return Object.prototype.toString.call(g)==="[object Array]"}},{}],43:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBlob=void 0;function g(f){return typeof Blob!="undefined"&&f instanceof Blob}e.isBlob=g},{}],44:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFile=void 0,e.isFile=function(g){return typeof File!="undefined"&&g instanceof File}},{}],45:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIP=void 0,e.isIP=function(g){var f=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,A=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return f.test(g)||A.test(g)}},{}],46:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=void 0,e.isObject=function(g){return Object.prototype.toString.call(g)==="[object Object]"}},{}],47:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(e,"__esModule",{value:!0}),e.obj2xml=void 0;var m=D("./formatObjKey");function v(c){return Object.prototype.toString.call(c).replace(/(.*? |])/g,"").toLowerCase()}function h(c,o){var i="";return o&&o.headers&&(i=`<?xml version="1.0" encoding="UTF-8"?>
`),o&&o.firstUpperCase&&(c=m.formatObjKey(c,"firstUpperCase")),v(c)==="object"?(0,f.default)(c).forEach(function(n){v(c[n])==="string"||v(c[n])==="number"?i+="<"+n+">"+c[n]+"</"+n+">":v(c[n])==="object"?i+="<"+n+">"+h(c[n])+"</"+n+">":v(c[n])==="array"?i+=c[n].map(function(a){return"<"+n+">"+h(a)+"</"+n+">"}).join(""):i+="<"+n+">"+c[n].toString()+"</"+n+">"}):i+=c.toString(),i}e.obj2xml=h},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(D,_,e){_.exports=g,_.exports.HttpsAgent=g;function g(){}},{}],49:[function(D,_,e){_.exports=D("./register")().Promise},{"./register":51}],50:[function(D,_,e){"use strict";var g="@@any-promise/REGISTRATION",f=null;_.exports=function(A,m){return function(h,c){h=h||null,c=c||{};var o=c.global!==!1;if(f===null&&o&&(f=A[g]||null),f!==null&&h!==null&&f.implementation!==h)throw new Error('any-promise already defined as "'+f.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return f===null&&(h!==null&&typeof c.Promise!="undefined"?f={Promise:c.Promise,implementation:h}:f=m(h),o&&(A[g]=f)),f}}},{}],51:[function(D,_,e){"use strict";_.exports=D("./loader")(window,g);function g(){if(typeof window.Promise=="undefined")throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}},{"./loader":50}],52:[function(D,_,e){_.exports={default:D("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(D,_,e){_.exports={default:D("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(D,_,e){_.exports={default:D("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(D,_,e){_.exports={default:D("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(D,_,e){_.exports={default:D("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(D,_,e){"use strict";e.__esModule=!0;var g=D("../core-js/symbol/iterator"),f=h(g),A=D("../core-js/symbol"),m=h(A),v=typeof m.default=="function"&&typeof f.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c};function h(c){return c&&c.__esModule?c:{default:c}}e.default=typeof m.default=="function"&&v(f.default)==="symbol"?function(c){return typeof c=="undefined"?"undefined":v(c)}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c=="undefined"?"undefined":v(c)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(D,_,e){_.exports=D("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(D,_,e){"use strict";e.byteLength=o,e.toByteArray=n,e.fromByteArray=r;for(var g=[],f=[],A=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,h=m.length;v<h;++v)g[v]=m[v],f[m.charCodeAt(v)]=v;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function c(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=t);var d=s===t?0:4-s%4;return[s,d]}function o(l){var t=c(l),s=t[0],d=t[1];return(s+d)*3/4-d}function i(l,t,s){return(t+s)*3/4-s}function n(l){var t,s=c(l),d=s[0],p=s[1],b=new A(i(l,d,p)),w=0,E=p>0?d-4:d,S;for(S=0;S<E;S+=4)t=f[l.charCodeAt(S)]<<18|f[l.charCodeAt(S+1)]<<12|f[l.charCodeAt(S+2)]<<6|f[l.charCodeAt(S+3)],b[w++]=t>>16&255,b[w++]=t>>8&255,b[w++]=t&255;return p===2&&(t=f[l.charCodeAt(S)]<<2|f[l.charCodeAt(S+1)]>>4,b[w++]=t&255),p===1&&(t=f[l.charCodeAt(S)]<<10|f[l.charCodeAt(S+1)]<<4|f[l.charCodeAt(S+2)]>>2,b[w++]=t>>8&255,b[w++]=t&255),b}function a(l){return g[l>>18&63]+g[l>>12&63]+g[l>>6&63]+g[l&63]}function u(l,t,s){for(var d,p=[],b=t;b<s;b+=3)d=(l[b]<<16&16711680)+(l[b+1]<<8&65280)+(l[b+2]&255),p.push(a(d));return p.join("")}function r(l){for(var t,s=l.length,d=s%3,p=[],b=16383,w=0,E=s-d;w<E;w+=b)p.push(u(l,w,w+b>E?E:w+b));return d===1?(t=l[s-1],p.push(g[t>>2]+g[t<<4&63]+"==")):d===2&&(t=(l[s-2]<<8)+l[s-1],p.push(g[t>>10]+g[t>>4&63]+g[t<<2&63]+"=")),p.join("")}},{}],70:[function(D,_,e){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(g,f,A){typeof _!="undefined"&&_.exports?_.exports=A():typeof define=="function"&&define.amd?define(f,A):g[f]=A()}(this,"bowser",function(){var g=!0;function f(i){function n(U){var j=i.match(U);return j&&j.length>1&&j[1]||""}function a(U){var j=i.match(U);return j&&j.length>1&&j[2]||""}var u=n(/(ipod|iphone|ipad)/i).toLowerCase(),r=/like android/i.test(i),l=!r&&/android/i.test(i),t=/nexus\s*[0-6]\s*/i.test(i),s=!t&&/nexus\s*[0-9]+/i.test(i),d=/CrOS/.test(i),p=/silk/i.test(i),b=/sailfish/i.test(i),w=/tizen/i.test(i),E=/(web|hpw)(o|0)s/i.test(i),S=/windows phone/i.test(i),x=/SamsungBrowser/i.test(i),T=!S&&/windows/i.test(i),L=!u&&!p&&/macintosh/i.test(i),y=!l&&!b&&!w&&!E&&/linux/i.test(i),C=a(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),O=n(/version\/(\d+(\.\d+)?)/i),N=/tablet/i.test(i)&&!/tablet pc/i.test(i),k=!N&&/[^-]mobi/i.test(i),F=/xbox/i.test(i),B;/opera/i.test(i)?B={name:"Opera",opera:g,version:O||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(i)?B={name:"Opera",opera:g,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||O}:/SamsungBrowser/i.test(i)?B={name:"Samsung Internet for Android",samsungBrowser:g,version:O||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(i)?B={name:"NAVER Whale browser",whale:g,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(i)?B={name:"MZ Browser",mzbrowser:g,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(i)?B={name:"Opera Coast",coast:g,version:O||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(i)?B={name:"Focus",focus:g,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(i)?B={name:"Yandex Browser",yandexbrowser:g,version:O||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(i)?B={name:"UC Browser",ucbrowser:g,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(i)?B={name:"Maxthon",maxthon:g,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(i)?B={name:"Epiphany",epiphany:g,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(i)?B={name:"Puffin",puffin:g,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(i)?B={name:"Sleipnir",sleipnir:g,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(i)?B={name:"K-Meleon",kMeleon:g,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:S?(B={name:"Windows Phone",osname:"Windows Phone",windowsphone:g},C?(B.msedge=g,B.version=C):(B.msie=g,B.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(i)?B={name:"Internet Explorer",msie:g,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:d?B={name:"Chrome",osname:"Chrome OS",chromeos:g,chromeBook:g,chrome:g,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(i)?B={name:"Microsoft Edge",msedge:g,version:C}:/vivaldi/i.test(i)?B={name:"Vivaldi",vivaldi:g,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||O}:b?B={name:"Sailfish",osname:"Sailfish OS",sailfish:g,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(i)?B={name:"SeaMonkey",seamonkey:g,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(i)?(B={name:"Firefox",firefox:g,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(i)&&(B.firefoxos=g,B.osname="Firefox OS")):p?B={name:"Amazon Silk",silk:g,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(i)?B={name:"PhantomJS",phantom:g,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(i)?B={name:"SlimerJS",slimer:g,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(i)||/rim\stablet/i.test(i)?B={name:"BlackBerry",osname:"BlackBerry OS",blackberry:g,version:O||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:E?(B={name:"WebOS",osname:"WebOS",webos:g,version:O||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(i)&&(B.touchpad=g)):/bada/i.test(i)?B={name:"Bada",osname:"Bada",bada:g,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:w?B={name:"Tizen",osname:"Tizen",tizen:g,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O}:/qupzilla/i.test(i)?B={name:"QupZilla",qupzilla:g,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||O}:/chromium/i.test(i)?B={name:"Chromium",chromium:g,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||O}:/chrome|crios|crmo/i.test(i)?B={name:"Chrome",chrome:g,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?B={name:"Android",version:O}:/safari|applewebkit/i.test(i)?(B={name:"Safari",safari:g},O&&(B.version=O)):u?(B={name:u=="iphone"?"iPhone":u=="ipad"?"iPad":"iPod"},O&&(B.version=O)):/googlebot/i.test(i)?B={name:"Googlebot",googlebot:g,version:n(/googlebot\/(\d+(\.\d+))/i)||O}:B={name:n(/^(.*)\/(.*) /),version:a(/^(.*)\/(.*) /)},!B.msedge&&/(apple)?webkit/i.test(i)?(/(apple)?webkit\/537\.36/i.test(i)?(B.name=B.name||"Blink",B.blink=g):(B.name=B.name||"Webkit",B.webkit=g),!B.version&&O&&(B.version=O)):!B.opera&&/gecko\//i.test(i)&&(B.name=B.name||"Gecko",B.gecko=g,B.version=B.version||n(/gecko\/(\d+(\.\d+)?)/i)),!B.windowsphone&&(l||B.silk)?(B.android=g,B.osname="Android"):!B.windowsphone&&u?(B[u]=g,B.ios=g,B.osname="iOS"):L?(B.mac=g,B.osname="macOS"):F?(B.xbox=g,B.osname="Xbox"):T?(B.windows=g,B.osname="Windows"):y&&(B.linux=g,B.osname="Linux");function H(U){switch(U){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var W="";B.windows?W=H(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):B.windowsphone?W=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):B.mac?(W=n(/Mac OS X (\d+([_\.\s]\d+)*)/i),W=W.replace(/[_\s]/g,".")):u?(W=n(/os (\d+([_\s]\d+)*) like mac os x/i),W=W.replace(/[_\s]/g,".")):l?W=n(/android[ \/-](\d+(\.\d+)*)/i):B.webos?W=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):B.blackberry?W=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):B.bada?W=n(/bada\/(\d+(\.\d+)*)/i):B.tizen&&(W=n(/tizen[\/\s](\d+(\.\d+)*)/i)),W&&(B.osversion=W);var R=!B.windows&&W.split(".")[0];return N||s||u=="ipad"||l&&(R==3||R>=4&&!k)||B.silk?B.tablet=g:(k||u=="iphone"||u=="ipod"||l||t||B.blackberry||B.webos||B.bada)&&(B.mobile=g),B.msedge||B.msie&&B.version>=10||B.yandexbrowser&&B.version>=15||B.vivaldi&&B.version>=1||B.chrome&&B.version>=20||B.samsungBrowser&&B.version>=4||B.whale&&h([B.version,"1.0"])===1||B.mzbrowser&&h([B.version,"6.0"])===1||B.focus&&h([B.version,"1.0"])===1||B.firefox&&B.version>=20||B.safari&&B.version>=6||B.opera&&B.version>=10||B.ios&&B.osversion&&B.osversion.split(".")[0]>=6||B.blackberry&&B.version>=10.1||B.chromium&&B.version>=20?B.a=g:B.msie&&B.version<10||B.chrome&&B.version<20||B.firefox&&B.version<20||B.safari&&B.version<6||B.opera&&B.version<10||B.ios&&B.osversion&&B.osversion.split(".")[0]<6||B.chromium&&B.version<20?B.c=g:B.x=g,B}var A=f(typeof navigator!="undefined"&&navigator.userAgent||"");A.test=function(i){for(var n=0;n<i.length;++n){var a=i[n];if(typeof a=="string"&&a in A)return!0}return!1};function m(i){return i.split(".").length}function v(i,n){var a=[],u;if(Array.prototype.map)return Array.prototype.map.call(i,n);for(u=0;u<i.length;u++)a.push(n(i[u]));return a}function h(i){for(var n=Math.max(m(i[0]),m(i[1])),a=v(i,function(u){var r=n-m(u);return u=u+new Array(r+1).join(".0"),v(u.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--n>=0;){if(a[0][n]>a[1][n])return 1;if(a[0][n]===a[1][n]){if(n===0)return 0}else return-1}}function c(i,n,a){var u=A;typeof n=="string"&&(a=n,n=void 0),n===void 0&&(n=!1),a&&(u=f(a));var r=""+u.version;for(var l in i)if(i.hasOwnProperty(l)&&u[l]){if(typeof i[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(i));return h([r,i[l]])<0}return n}function o(i,n,a){return!c(i,n,a)}return A.isUnsupportedBrowser=c,A.compareVersions=h,A.check=o,A._detect=f,A.detect=f,A})},{}],71:[function(D,_,e){},{}],72:[function(D,_,e){var g=D("buffer").Buffer,f=g.isEncoding||function(o){switch(o&&o.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(o){if(o&&!f(o))throw new Error("Unknown encoding: "+o)}var m=e.StringDecoder=function(o){this.encoding=(o||"utf8").toLowerCase().replace(/[-_]/,""),A(o);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=h;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=c;break;default:this.write=v;return}this.charBuffer=new g(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(o){for(var i="";this.charLength;){var n=o.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:o.length;if(o.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";o=o.slice(n,o.length),i=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var u=i.charCodeAt(i.length-1);if(u>=55296&&u<=56319){this.charLength+=this.surrogateSize,i="";continue}if(this.charReceived=this.charLength=0,o.length===0)return i;break}this.detectIncompleteChar(o);var a=o.length;this.charLength&&(o.copy(this.charBuffer,0,o.length-this.charReceived,a),a-=this.charReceived),i+=o.toString(this.encoding,0,a);var a=i.length-1,u=i.charCodeAt(a);if(u>=55296&&u<=56319){var r=this.surrogateSize;return this.charLength+=r,this.charReceived+=r,this.charBuffer.copy(this.charBuffer,r,0,r),o.copy(this.charBuffer,0,0,r),i.substring(0,a)}return i},m.prototype.detectIncompleteChar=function(o){for(var i=o.length>=3?3:o.length;i>0;i--){var n=o[o.length-i];if(i==1&&n>>5==6){this.charLength=2;break}if(i<=2&&n>>4==14){this.charLength=3;break}if(i<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=i},m.prototype.end=function(o){var i="";if(o&&o.length&&(i=this.write(o)),this.charReceived){var n=this.charReceived,a=this.charBuffer,u=this.encoding;i+=a.slice(0,n).toString(u)}return i};function v(o){return o.toString(this.encoding)}function h(o){this.charReceived=o.length%2,this.charLength=this.charReceived?2:0}function c(o){this.charReceived=o.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(D,_,e){(function(g,f){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var A=D("base64-js"),m=D("ieee754"),v=D("isarray");e.Buffer=f,e.SlowBuffer=p,e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:h(),e.kMaxLength=c();function h(){try{var _e=new Uint8Array(1);return _e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},_e.foo()===42&&typeof _e.subarray=="function"&&_e.subarray(1,1).byteLength===0}catch(ce){return!1}}function c(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(_e,ce){if(c()<ce)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(_e=new Uint8Array(ce),_e.__proto__=f.prototype):(_e===null&&(_e=new f(ce)),_e.length=ce),_e}function f(_e,ce,ee){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(_e,ce,ee);if(typeof _e=="number"){if(typeof ce=="string")throw new Error("If encoding is specified then the first argument must be a string");return u(this,_e)}return i(this,_e,ce,ee)}f.poolSize=8192,f._augment=function(_e){return _e.__proto__=f.prototype,_e};function i(_e,ce,ee,se){if(typeof ce=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&ce instanceof ArrayBuffer?t(_e,ce,ee,se):typeof ce=="string"?r(_e,ce,ee):s(_e,ce)}f.from=function(_e,ce,ee){return i(null,_e,ce,ee)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0}));function n(_e){if(typeof _e!="number")throw new TypeError('"size" argument must be a number');if(_e<0)throw new RangeError('"size" argument must not be negative')}function a(_e,ce,ee,se){return n(ce),ce<=0?o(_e,ce):ee!==void 0?typeof se=="string"?o(_e,ce).fill(ee,se):o(_e,ce).fill(ee):o(_e,ce)}f.alloc=function(_e,ce,ee){return a(null,_e,ce,ee)};function u(_e,ce){if(n(ce),_e=o(_e,ce<0?0:d(ce)|0),!f.TYPED_ARRAY_SUPPORT)for(var ee=0;ee<ce;++ee)_e[ee]=0;return _e}f.allocUnsafe=function(_e){return u(null,_e)},f.allocUnsafeSlow=function(_e){return u(null,_e)};function r(_e,ce,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!f.isEncoding(ee))throw new TypeError('"encoding" must be a valid string encoding');var se=b(ce,ee)|0;_e=o(_e,se);var ke=_e.write(ce,ee);return ke!==se&&(_e=_e.slice(0,ke)),_e}function l(_e,ce){var ee=ce.length<0?0:d(ce.length)|0;_e=o(_e,ee);for(var se=0;se<ee;se+=1)_e[se]=ce[se]&255;return _e}function t(_e,ce,ee,se){if(ce.byteLength,ee<0||ce.byteLength<ee)throw new RangeError("'offset' is out of bounds");if(ce.byteLength<ee+(se||0))throw new RangeError("'length' is out of bounds");return ee===void 0&&se===void 0?ce=new Uint8Array(ce):se===void 0?ce=new Uint8Array(ce,ee):ce=new Uint8Array(ce,ee,se),f.TYPED_ARRAY_SUPPORT?(_e=ce,_e.__proto__=f.prototype):_e=l(_e,ce),_e}function s(_e,ce){if(f.isBuffer(ce)){var ee=d(ce.length)|0;return _e=o(_e,ee),_e.length===0||ce.copy(_e,0,0,ee),_e}if(ce){if(typeof ArrayBuffer!="undefined"&&ce.buffer instanceof ArrayBuffer||"length"in ce)return typeof ce.length!="number"||at(ce.length)?o(_e,0):l(_e,ce);if(ce.type==="Buffer"&&v(ce.data))return l(_e,ce.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(_e){if(_e>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return _e|0}function p(_e){return+_e!=_e&&(_e=0),f.alloc(+_e)}f.isBuffer=function(ce){return!!(ce!=null&&ce._isBuffer)},f.compare=function(ce,ee){if(!f.isBuffer(ce)||!f.isBuffer(ee))throw new TypeError("Arguments must be Buffers");if(ce===ee)return 0;for(var se=ce.length,ke=ee.length,Ce=0,ze=Math.min(se,ke);Ce<ze;++Ce)if(ce[Ce]!==ee[Ce]){se=ce[Ce],ke=ee[Ce];break}return se<ke?-1:ke<se?1:0},f.isEncoding=function(ce){switch(String(ce).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(ce,ee){if(!v(ce))throw new TypeError('"list" argument must be an Array of Buffers');if(ce.length===0)return f.alloc(0);var se;if(ee===void 0)for(ee=0,se=0;se<ce.length;++se)ee+=ce[se].length;var ke=f.allocUnsafe(ee),Ce=0;for(se=0;se<ce.length;++se){var ze=ce[se];if(!f.isBuffer(ze))throw new TypeError('"list" argument must be an Array of Buffers');ze.copy(ke,Ce),Ce+=ze.length}return ke};function b(_e,ce){if(f.isBuffer(_e))return _e.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(_e)||_e instanceof ArrayBuffer))return _e.byteLength;typeof _e!="string"&&(_e=""+_e);var ee=_e.length;if(ee===0)return 0;for(var se=!1;;)switch(ce){case"ascii":case"latin1":case"binary":return ee;case"utf8":case"utf-8":case void 0:return Fe(_e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee*2;case"hex":return ee>>>1;case"base64":return Ee(_e).length;default:if(se)return Fe(_e).length;ce=(""+ce).toLowerCase(),se=!0}}f.byteLength=b;function w(_e,ce,ee){var se=!1;if((ce===void 0||ce<0)&&(ce=0),ce>this.length)return"";if((ee===void 0||ee>this.length)&&(ee=this.length),ee<=0)return"";if(ee>>>=0,ce>>>=0,ee<=ce)return"";for(_e||(_e="utf8");;)switch(_e){case"hex":return U(this,ce,ee);case"utf8":case"utf-8":return F(this,ce,ee);case"ascii":return W(this,ce,ee);case"latin1":case"binary":return R(this,ce,ee);case"base64":return k(this,ce,ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,ce,ee);default:if(se)throw new TypeError("Unknown encoding: "+_e);_e=(_e+"").toLowerCase(),se=!0}}f.prototype._isBuffer=!0;function E(_e,ce,ee){var se=_e[ce];_e[ce]=_e[ee],_e[ee]=se}f.prototype.swap16=function(){var ce=this.length;if(ce%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ee=0;ee<ce;ee+=2)E(this,ee,ee+1);return this},f.prototype.swap32=function(){var ce=this.length;if(ce%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ee=0;ee<ce;ee+=4)E(this,ee,ee+3),E(this,ee+1,ee+2);return this},f.prototype.swap64=function(){var ce=this.length;if(ce%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ee=0;ee<ce;ee+=8)E(this,ee,ee+7),E(this,ee+1,ee+6),E(this,ee+2,ee+5),E(this,ee+3,ee+4);return this},f.prototype.toString=function(){var ce=this.length|0;return ce===0?"":arguments.length===0?F(this,0,ce):w.apply(this,arguments)},f.prototype.equals=function(ce){if(!f.isBuffer(ce))throw new TypeError("Argument must be a Buffer");return this===ce?!0:f.compare(this,ce)===0},f.prototype.inspect=function(){var ce="",ee=e.INSPECT_MAX_BYTES;return this.length>0&&(ce=this.toString("hex",0,ee).match(/.{2}/g).join(" "),this.length>ee&&(ce+=" ... ")),"<Buffer "+ce+">"},f.prototype.compare=function(ce,ee,se,ke,Ce){if(!f.isBuffer(ce))throw new TypeError("Argument must be a Buffer");if(ee===void 0&&(ee=0),se===void 0&&(se=ce?ce.length:0),ke===void 0&&(ke=0),Ce===void 0&&(Ce=this.length),ee<0||se>ce.length||ke<0||Ce>this.length)throw new RangeError("out of range index");if(ke>=Ce&&ee>=se)return 0;if(ke>=Ce)return-1;if(ee>=se)return 1;if(ee>>>=0,se>>>=0,ke>>>=0,Ce>>>=0,this===ce)return 0;for(var ze=Ce-ke,Oe=se-ee,ae=Math.min(ze,Oe),ge=this.slice(ke,Ce),Le=ce.slice(ee,se),Ze=0;Ze<ae;++Ze)if(ge[Ze]!==Le[Ze]){ze=ge[Ze],Oe=Le[Ze];break}return ze<Oe?-1:Oe<ze?1:0};function S(_e,ce,ee,se,ke){if(_e.length===0)return-1;if(typeof ee=="string"?(se=ee,ee=0):ee>2147483647?ee=2147483647:ee<-2147483648&&(ee=-2147483648),ee=+ee,isNaN(ee)&&(ee=ke?0:_e.length-1),ee<0&&(ee=_e.length+ee),ee>=_e.length){if(ke)return-1;ee=_e.length-1}else if(ee<0)if(ke)ee=0;else return-1;if(typeof ce=="string"&&(ce=f.from(ce,se)),f.isBuffer(ce))return ce.length===0?-1:x(_e,ce,ee,se,ke);if(typeof ce=="number")return ce=ce&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ke?Uint8Array.prototype.indexOf.call(_e,ce,ee):Uint8Array.prototype.lastIndexOf.call(_e,ce,ee):x(_e,[ce],ee,se,ke);throw new TypeError("val must be string, number or Buffer")}function x(_e,ce,ee,se,ke){var Ce=1,ze=_e.length,Oe=ce.length;if(se!==void 0&&(se=String(se).toLowerCase(),se==="ucs2"||se==="ucs-2"||se==="utf16le"||se==="utf-16le")){if(_e.length<2||ce.length<2)return-1;Ce=2,ze/=2,Oe/=2,ee/=2}function ae(Ct,Be){return Ce===1?Ct[Be]:Ct.readUInt16BE(Be*Ce)}var ge;if(ke){var Le=-1;for(ge=ee;ge<ze;ge++)if(ae(_e,ge)===ae(ce,Le===-1?0:ge-Le)){if(Le===-1&&(Le=ge),ge-Le+1===Oe)return Le*Ce}else Le!==-1&&(ge-=ge-Le),Le=-1}else for(ee+Oe>ze&&(ee=ze-Oe),ge=ee;ge>=0;ge--){for(var Ze=!0,vt=0;vt<Oe;vt++)if(ae(_e,ge+vt)!==ae(ce,vt)){Ze=!1;break}if(Ze)return ge}return-1}f.prototype.includes=function(ce,ee,se){return this.indexOf(ce,ee,se)!==-1},f.prototype.indexOf=function(ce,ee,se){return S(this,ce,ee,se,!0)},f.prototype.lastIndexOf=function(ce,ee,se){return S(this,ce,ee,se,!1)};function T(_e,ce,ee,se){ee=Number(ee)||0;var ke=_e.length-ee;se?(se=Number(se),se>ke&&(se=ke)):se=ke;var Ce=ce.length;if(Ce%2!==0)throw new TypeError("Invalid hex string");se>Ce/2&&(se=Ce/2);for(var ze=0;ze<se;++ze){var Oe=parseInt(ce.substr(ze*2,2),16);if(isNaN(Oe))return ze;_e[ee+ze]=Oe}return ze}function L(_e,ce,ee,se){return Se(Fe(ce,_e.length-ee),_e,ee,se)}function y(_e,ce,ee,se){return Se(Xe(ce),_e,ee,se)}function C(_e,ce,ee,se){return y(_e,ce,ee,se)}function O(_e,ce,ee,se){return Se(Ee(ce),_e,ee,se)}function N(_e,ce,ee,se){return Se(dt(ce,_e.length-ee),_e,ee,se)}f.prototype.write=function(ce,ee,se,ke){if(ee===void 0)ke="utf8",se=this.length,ee=0;else if(se===void 0&&typeof ee=="string")ke=ee,se=this.length,ee=0;else if(isFinite(ee))ee=ee|0,isFinite(se)?(se=se|0,ke===void 0&&(ke="utf8")):(ke=se,se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ce=this.length-ee;if((se===void 0||se>Ce)&&(se=Ce),ce.length>0&&(se<0||ee<0)||ee>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var ze=!1;;)switch(ke){case"hex":return T(this,ce,ee,se);case"utf8":case"utf-8":return L(this,ce,ee,se);case"ascii":return y(this,ce,ee,se);case"latin1":case"binary":return C(this,ce,ee,se);case"base64":return O(this,ce,ee,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,ce,ee,se);default:if(ze)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),ze=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(_e,ce,ee){return ce===0&&ee===_e.length?A.fromByteArray(_e):A.fromByteArray(_e.slice(ce,ee))}function F(_e,ce,ee){ee=Math.min(_e.length,ee);for(var se=[],ke=ce;ke<ee;){var Ce=_e[ke],ze=null,Oe=Ce>239?4:Ce>223?3:Ce>191?2:1;if(ke+Oe<=ee){var ae,ge,Le,Ze;switch(Oe){case 1:Ce<128&&(ze=Ce);break;case 2:ae=_e[ke+1],(ae&192)===128&&(Ze=(Ce&31)<<6|ae&63,Ze>127&&(ze=Ze));break;case 3:ae=_e[ke+1],ge=_e[ke+2],(ae&192)===128&&(ge&192)===128&&(Ze=(Ce&15)<<12|(ae&63)<<6|ge&63,Ze>2047&&(Ze<55296||Ze>57343)&&(ze=Ze));break;case 4:ae=_e[ke+1],ge=_e[ke+2],Le=_e[ke+3],(ae&192)===128&&(ge&192)===128&&(Le&192)===128&&(Ze=(Ce&15)<<18|(ae&63)<<12|(ge&63)<<6|Le&63,Ze>65535&&Ze<1114112&&(ze=Ze))}}ze===null?(ze=65533,Oe=1):ze>65535&&(ze-=65536,se.push(ze>>>10&1023|55296),ze=56320|ze&1023),se.push(ze),ke+=Oe}return H(se)}var B=4096;function H(_e){var ce=_e.length;if(ce<=B)return String.fromCharCode.apply(String,_e);for(var ee="",se=0;se<ce;)ee+=String.fromCharCode.apply(String,_e.slice(se,se+=B));return ee}function W(_e,ce,ee){var se="";ee=Math.min(_e.length,ee);for(var ke=ce;ke<ee;++ke)se+=String.fromCharCode(_e[ke]&127);return se}function R(_e,ce,ee){var se="";ee=Math.min(_e.length,ee);for(var ke=ce;ke<ee;++ke)se+=String.fromCharCode(_e[ke]);return se}function U(_e,ce,ee){var se=_e.length;(!ce||ce<0)&&(ce=0),(!ee||ee<0||ee>se)&&(ee=se);for(var ke="",Ce=ce;Ce<ee;++Ce)ke+=pe(_e[Ce]);return ke}function j(_e,ce,ee){for(var se=_e.slice(ce,ee),ke="",Ce=0;Ce<se.length;Ce+=2)ke+=String.fromCharCode(se[Ce]+se[Ce+1]*256);return ke}f.prototype.slice=function(ce,ee){var se=this.length;ce=~~ce,ee=ee===void 0?se:~~ee,ce<0?(ce+=se,ce<0&&(ce=0)):ce>se&&(ce=se),ee<0?(ee+=se,ee<0&&(ee=0)):ee>se&&(ee=se),ee<ce&&(ee=ce);var ke;if(f.TYPED_ARRAY_SUPPORT)ke=this.subarray(ce,ee),ke.__proto__=f.prototype;else{var Ce=ee-ce;ke=new f(Ce,void 0);for(var ze=0;ze<Ce;++ze)ke[ze]=this[ze+ce]}return ke};function P(_e,ce,ee){if(_e%1!==0||_e<0)throw new RangeError("offset is not uint");if(_e+ce>ee)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(ce,ee,se){ce=ce|0,ee=ee|0,se||P(ce,ee,this.length);for(var ke=this[ce],Ce=1,ze=0;++ze<ee&&(Ce*=256);)ke+=this[ce+ze]*Ce;return ke},f.prototype.readUIntBE=function(ce,ee,se){ce=ce|0,ee=ee|0,se||P(ce,ee,this.length);for(var ke=this[ce+--ee],Ce=1;ee>0&&(Ce*=256);)ke+=this[ce+--ee]*Ce;return ke},f.prototype.readUInt8=function(ce,ee){return ee||P(ce,1,this.length),this[ce]},f.prototype.readUInt16LE=function(ce,ee){return ee||P(ce,2,this.length),this[ce]|this[ce+1]<<8},f.prototype.readUInt16BE=function(ce,ee){return ee||P(ce,2,this.length),this[ce]<<8|this[ce+1]},f.prototype.readUInt32LE=function(ce,ee){return ee||P(ce,4,this.length),(this[ce]|this[ce+1]<<8|this[ce+2]<<16)+this[ce+3]*16777216},f.prototype.readUInt32BE=function(ce,ee){return ee||P(ce,4,this.length),this[ce]*16777216+(this[ce+1]<<16|this[ce+2]<<8|this[ce+3])},f.prototype.readIntLE=function(ce,ee,se){ce=ce|0,ee=ee|0,se||P(ce,ee,this.length);for(var ke=this[ce],Ce=1,ze=0;++ze<ee&&(Ce*=256);)ke+=this[ce+ze]*Ce;return Ce*=128,ke>=Ce&&(ke-=Math.pow(2,8*ee)),ke},f.prototype.readIntBE=function(ce,ee,se){ce=ce|0,ee=ee|0,se||P(ce,ee,this.length);for(var ke=ee,Ce=1,ze=this[ce+--ke];ke>0&&(Ce*=256);)ze+=this[ce+--ke]*Ce;return Ce*=128,ze>=Ce&&(ze-=Math.pow(2,8*ee)),ze},f.prototype.readInt8=function(ce,ee){return ee||P(ce,1,this.length),this[ce]&128?(255-this[ce]+1)*-1:this[ce]},f.prototype.readInt16LE=function(ce,ee){ee||P(ce,2,this.length);var se=this[ce]|this[ce+1]<<8;return se&32768?se|4294901760:se},f.prototype.readInt16BE=function(ce,ee){ee||P(ce,2,this.length);var se=this[ce+1]|this[ce]<<8;return se&32768?se|4294901760:se},f.prototype.readInt32LE=function(ce,ee){return ee||P(ce,4,this.length),this[ce]|this[ce+1]<<8|this[ce+2]<<16|this[ce+3]<<24},f.prototype.readInt32BE=function(ce,ee){return ee||P(ce,4,this.length),this[ce]<<24|this[ce+1]<<16|this[ce+2]<<8|this[ce+3]},f.prototype.readFloatLE=function(ce,ee){return ee||P(ce,4,this.length),m.read(this,ce,!0,23,4)},f.prototype.readFloatBE=function(ce,ee){return ee||P(ce,4,this.length),m.read(this,ce,!1,23,4)},f.prototype.readDoubleLE=function(ce,ee){return ee||P(ce,8,this.length),m.read(this,ce,!0,52,8)},f.prototype.readDoubleBE=function(ce,ee){return ee||P(ce,8,this.length),m.read(this,ce,!1,52,8)};function K(_e,ce,ee,se,ke,Ce){if(!f.isBuffer(_e))throw new TypeError('"buffer" argument must be a Buffer instance');if(ce>ke||ce<Ce)throw new RangeError('"value" argument is out of bounds');if(ee+se>_e.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(ce,ee,se,ke){if(ce=+ce,ee=ee|0,se=se|0,!ke){var Ce=Math.pow(2,8*se)-1;K(this,ce,ee,se,Ce,0)}var ze=1,Oe=0;for(this[ee]=ce&255;++Oe<se&&(ze*=256);)this[ee+Oe]=ce/ze&255;return ee+se},f.prototype.writeUIntBE=function(ce,ee,se,ke){if(ce=+ce,ee=ee|0,se=se|0,!ke){var Ce=Math.pow(2,8*se)-1;K(this,ce,ee,se,Ce,0)}var ze=se-1,Oe=1;for(this[ee+ze]=ce&255;--ze>=0&&(Oe*=256);)this[ee+ze]=ce/Oe&255;return ee+se},f.prototype.writeUInt8=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,1,255,0),f.TYPED_ARRAY_SUPPORT||(ce=Math.floor(ce)),this[ee]=ce&255,ee+1};function V(_e,ce,ee,se){ce<0&&(ce=65535+ce+1);for(var ke=0,Ce=Math.min(_e.length-ee,2);ke<Ce;++ke)_e[ee+ke]=(ce&255<<8*(se?ke:1-ke))>>>(se?ke:1-ke)*8}f.prototype.writeUInt16LE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=ce&255,this[ee+1]=ce>>>8):V(this,ce,ee,!0),ee+2},f.prototype.writeUInt16BE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=ce>>>8,this[ee+1]=ce&255):V(this,ce,ee,!1),ee+2};function z(_e,ce,ee,se){ce<0&&(ce=4294967295+ce+1);for(var ke=0,Ce=Math.min(_e.length-ee,4);ke<Ce;++ke)_e[ee+ke]=ce>>>(se?ke:3-ke)*8&255}f.prototype.writeUInt32LE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ee+3]=ce>>>24,this[ee+2]=ce>>>16,this[ee+1]=ce>>>8,this[ee]=ce&255):z(this,ce,ee,!0),ee+4},f.prototype.writeUInt32BE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=ce>>>24,this[ee+1]=ce>>>16,this[ee+2]=ce>>>8,this[ee+3]=ce&255):z(this,ce,ee,!1),ee+4},f.prototype.writeIntLE=function(ce,ee,se,ke){if(ce=+ce,ee=ee|0,!ke){var Ce=Math.pow(2,8*se-1);K(this,ce,ee,se,Ce-1,-Ce)}var ze=0,Oe=1,ae=0;for(this[ee]=ce&255;++ze<se&&(Oe*=256);)ce<0&&ae===0&&this[ee+ze-1]!==0&&(ae=1),this[ee+ze]=(ce/Oe>>0)-ae&255;return ee+se},f.prototype.writeIntBE=function(ce,ee,se,ke){if(ce=+ce,ee=ee|0,!ke){var Ce=Math.pow(2,8*se-1);K(this,ce,ee,se,Ce-1,-Ce)}var ze=se-1,Oe=1,ae=0;for(this[ee+ze]=ce&255;--ze>=0&&(Oe*=256);)ce<0&&ae===0&&this[ee+ze+1]!==0&&(ae=1),this[ee+ze]=(ce/Oe>>0)-ae&255;return ee+se},f.prototype.writeInt8=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,1,127,-128),f.TYPED_ARRAY_SUPPORT||(ce=Math.floor(ce)),ce<0&&(ce=255+ce+1),this[ee]=ce&255,ee+1},f.prototype.writeInt16LE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ee]=ce&255,this[ee+1]=ce>>>8):V(this,ce,ee,!0),ee+2},f.prototype.writeInt16BE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ee]=ce>>>8,this[ee+1]=ce&255):V(this,ce,ee,!1),ee+2},f.prototype.writeInt32LE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[ee]=ce&255,this[ee+1]=ce>>>8,this[ee+2]=ce>>>16,this[ee+3]=ce>>>24):z(this,ce,ee,!0),ee+4},f.prototype.writeInt32BE=function(ce,ee,se){return ce=+ce,ee=ee|0,se||K(this,ce,ee,4,2147483647,-2147483648),ce<0&&(ce=4294967295+ce+1),f.TYPED_ARRAY_SUPPORT?(this[ee]=ce>>>24,this[ee+1]=ce>>>16,this[ee+2]=ce>>>8,this[ee+3]=ce&255):z(this,ce,ee,!1),ee+4};function X(_e,ce,ee,se,ke,Ce){if(ee+se>_e.length)throw new RangeError("Index out of range");if(ee<0)throw new RangeError("Index out of range")}function G(_e,ce,ee,se,ke){return ke||X(_e,ce,ee,4,34028234663852886e22,-34028234663852886e22),m.write(_e,ce,ee,se,23,4),ee+4}f.prototype.writeFloatLE=function(ce,ee,se){return G(this,ce,ee,!0,se)},f.prototype.writeFloatBE=function(ce,ee,se){return G(this,ce,ee,!1,se)};function le(_e,ce,ee,se,ke){return ke||X(_e,ce,ee,8,17976931348623157e292,-17976931348623157e292),m.write(_e,ce,ee,se,52,8),ee+8}f.prototype.writeDoubleLE=function(ce,ee,se){return le(this,ce,ee,!0,se)},f.prototype.writeDoubleBE=function(ce,ee,se){return le(this,ce,ee,!1,se)},f.prototype.copy=function(ce,ee,se,ke){if(se||(se=0),!ke&&ke!==0&&(ke=this.length),ee>=ce.length&&(ee=ce.length),ee||(ee=0),ke>0&&ke<se&&(ke=se),ke===se)return 0;if(ce.length===0||this.length===0)return 0;if(ee<0)throw new RangeError("targetStart out of bounds");if(se<0||se>=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),ce.length-ee<ke-se&&(ke=ce.length-ee+se);var Ce=ke-se,ze;if(this===ce&&se<ee&&ee<ke)for(ze=Ce-1;ze>=0;--ze)ce[ze+ee]=this[ze+se];else if(Ce<1e3||!f.TYPED_ARRAY_SUPPORT)for(ze=0;ze<Ce;++ze)ce[ze+ee]=this[ze+se];else Uint8Array.prototype.set.call(ce,this.subarray(se,se+Ce),ee);return Ce},f.prototype.fill=function(ce,ee,se,ke){if(typeof ce=="string"){if(typeof ee=="string"?(ke=ee,ee=0,se=this.length):typeof se=="string"&&(ke=se,se=this.length),ce.length===1){var Ce=ce.charCodeAt(0);Ce<256&&(ce=Ce)}if(ke!==void 0&&typeof ke!="string")throw new TypeError("encoding must be a string");if(typeof ke=="string"&&!f.isEncoding(ke))throw new TypeError("Unknown encoding: "+ke)}else typeof ce=="number"&&(ce=ce&255);if(ee<0||this.length<ee||this.length<se)throw new RangeError("Out of range index");if(se<=ee)return this;ee=ee>>>0,se=se===void 0?this.length:se>>>0,ce||(ce=0);var ze;if(typeof ce=="number")for(ze=ee;ze<se;++ze)this[ze]=ce;else{var Oe=f.isBuffer(ce)?ce:Fe(new f(ce,ke).toString()),ae=Oe.length;for(ze=0;ze<se-ee;++ze)this[ze+ee]=Oe[ze%ae]}return this};var Y=/[^+\/0-9A-Za-z-_]/g;function me(_e){if(_e=we(_e).replace(Y,""),_e.length<2)return"";for(;_e.length%4!==0;)_e=_e+"=";return _e}function we(_e){return _e.trim?_e.trim():_e.replace(/^\s+|\s+$/g,"")}function pe(_e){return _e<16?"0"+_e.toString(16):_e.toString(16)}function Fe(_e,ce){ce=ce||Infinity;for(var ee,se=_e.length,ke=null,Ce=[],ze=0;ze<se;++ze){if(ee=_e.charCodeAt(ze),ee>55295&&ee<57344){if(!ke){if(ee>56319){(ce-=3)>-1&&Ce.push(239,191,189);continue}else if(ze+1===se){(ce-=3)>-1&&Ce.push(239,191,189);continue}ke=ee;continue}if(ee<56320){(ce-=3)>-1&&Ce.push(239,191,189),ke=ee;continue}ee=(ke-55296<<10|ee-56320)+65536}else ke&&((ce-=3)>-1&&Ce.push(239,191,189));if(ke=null,ee<128){if((ce-=1)<0)break;Ce.push(ee)}else if(ee<2048){if((ce-=2)<0)break;Ce.push(ee>>6|192,ee&63|128)}else if(ee<65536){if((ce-=3)<0)break;Ce.push(ee>>12|224,ee>>6&63|128,ee&63|128)}else if(ee<1114112){if((ce-=4)<0)break;Ce.push(ee>>18|240,ee>>12&63|128,ee>>6&63|128,ee&63|128)}else throw new Error("Invalid code point")}return Ce}function Xe(_e){for(var ce=[],ee=0;ee<_e.length;++ee)ce.push(_e.charCodeAt(ee)&255);return ce}function dt(_e,ce){for(var ee,se,ke,Ce=[],ze=0;ze<_e.length&&!((ce-=2)<0);++ze)ee=_e.charCodeAt(ze),se=ee>>8,ke=ee%256,Ce.push(ke),Ce.push(se);return Ce}function Ee(_e){return A.toByteArray(me(_e))}function Se(_e,ce,ee,se){for(var ke=0;ke<se&&!(ke+ee>=ce.length||ke>=_e.length);++ke)ce[ke+ee]=_e[ke];return ke}function at(_e){return _e!==_e}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(D,_,e){_.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(D,_,e){_.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(D,_,e){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var g=Array.prototype.slice;_.exports=f;function f(m,v){if(!(this instanceof f))return new f(m,v);this.src=m,this._withAccess=v}f.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},f.prototype.pick=function(m){return Array.isArray(m)||(m=g.call(arguments)),m.length&&(this.keys=m),this},f.prototype.to=function(m){if(m=m||{},!this.src)return m;var v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var h=0;h<v.length;h++){if(c=v[h],m[c]!==void 0)continue;m[c]=this.src[c]}return m}for(var h=0;h<v.length;h++){var c=v[h];if(!A(m,c))continue;var o=this.src.__lookupGetter__(c),i=this.src.__lookupSetter__(c);o&&m.__defineGetter__(c,o),i&&m.__defineSetter__(c,i),!o&&!i&&(m[c]=this.src[c])}return m},f.prototype.toCover=function(m){for(var v=this.keys||Object.keys(this.src),h=0;h<v.length;h++){var c=v[h];delete m[c];var o=this.src.__lookupGetter__(c),i=this.src.__lookupSetter__(c);o&&m.__defineGetter__(c,o),i&&m.__defineSetter__(c,i),!o&&!i&&(m[c]=this.src[c])}},f.prototype.override=f.prototype.toCover,f.prototype.and=function(m){var v={};return this.to(v),this.src=m,this.to(v),this.src=v,this};function A(m,v){return m[v]===void 0&&m.__lookupGetter__(v)===void 0&&m.__lookupSetter__(v)===void 0}},{}],77:[function(D,_,e){D("../../modules/es6.string.iterator"),D("../../modules/es6.array.from"),_.exports=D("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(D,_,e){var g=D("../../modules/_core"),f=g.JSON||(g.JSON={stringify:JSON.stringify});_.exports=function(m){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(D,_,e){D("../../modules/es6.object.assign"),_.exports=D("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(D,_,e){D("../../modules/es6.object.create");var g=D("../../modules/_core").Object;_.exports=function(A,m){return g.create(A,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(D,_,e){D("../../modules/es6.object.define-property");var g=D("../../modules/_core").Object;_.exports=function(A,m,v){return g.defineProperty(A,m,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(D,_,e){D("../../modules/es7.object.entries"),_.exports=D("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(D,_,e){D("../../modules/es6.object.get-own-property-names");var g=D("../../modules/_core").Object;_.exports=function(A){return g.getOwnPropertyNames(A)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(D,_,e){D("../../modules/es6.object.get-prototype-of"),_.exports=D("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(D,_,e){D("../../modules/es6.object.keys"),_.exports=D("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(D,_,e){D("../modules/es6.object.to-string"),D("../modules/es6.string.iterator"),D("../modules/web.dom.iterable"),D("../modules/es6.promise"),D("../modules/es7.promise.finally"),D("../modules/es7.promise.try"),_.exports=D("../modules/_core").Promise},{"../modules/_core":99,"../modules/es6.object.to-string":177,"../modules/es6.promise":178,"../modules/es6.string.iterator":180,"../modules/es7.promise.finally":183,"../modules/es7.promise.try":184,"../modules/web.dom.iterable":187}],87:[function(D,_,e){D("../modules/web.immediate"),_.exports=D("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(D,_,e){D("../../modules/es6.string.from-code-point"),_.exports=D("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(D,_,e){D("../../modules/es6.function.has-instance"),_.exports=D("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(D,_,e){D("../../modules/es6.symbol"),D("../../modules/es6.object.to-string"),D("../../modules/es7.symbol.async-iterator"),D("../../modules/es7.symbol.observable"),_.exports=D("../../modules/_core").Symbol},{"../../modules/_core":99,"../../modules/es6.object.to-string":177,"../../modules/es6.symbol":181,"../../modules/es7.symbol.async-iterator":185,"../../modules/es7.symbol.observable":186}],91:[function(D,_,e){D("../../modules/es6.string.iterator"),D("../../modules/web.dom.iterable"),_.exports=D("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(D,_,e){_.exports=function(g){if(typeof g!="function")throw TypeError(g+" is not a function!");return g}},{}],93:[function(D,_,e){_.exports=function(){}},{}],94:[function(D,_,e){_.exports=function(g,f,A,m){if(!(g instanceof f)||m!==void 0&&m in g)throw TypeError(A+": incorrect invocation!");return g}},{}],95:[function(D,_,e){var g=D("./_is-object");_.exports=function(f){if(!g(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(D,_,e){var g=D("./_to-iobject"),f=D("./_to-length"),A=D("./_to-absolute-index");_.exports=function(m){return function(v,h,c){var o=g(v),i=f(o.length),n=A(c,i),a;if(m&&h!=h){for(;i>n;)if(a=o[n++],a!=a)return!0}else for(;i>n;n++)if((m||n in o)&&o[n]===h)return m||n||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(D,_,e){var g=D("./_cof"),f=D("./_wks")("toStringTag"),A=g(function(){return arguments}())=="Arguments",m=function(h,c){try{return h[c]}catch(o){}};_.exports=function(v){var h,c,o;return v===void 0?"Undefined":v===null?"Null":typeof(c=m(h=Object(v),f))=="string"?c:A?g(h):(o=g(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},{"./_cof":98,"./_wks":166}],98:[function(D,_,e){var g={}.toString;_.exports=function(f){return g.call(f).slice(8,-1)}},{}],99:[function(D,_,e){var g=_.exports={version:"2.6.11"};typeof __e=="number"&&(__e=g)},{}],100:[function(D,_,e){"use strict";var g=D("./_object-dp"),f=D("./_property-desc");_.exports=function(A,m,v){m in A?g.f(A,m,f(0,v)):A[m]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(D,_,e){var g=D("./_a-function");_.exports=function(f,A,m){if(g(f),A===void 0)return f;switch(m){case 1:return function(v){return f.call(A,v)};case 2:return function(v,h){return f.call(A,v,h)};case 3:return function(v,h,c){return f.call(A,v,h,c)}}return function(){return f.apply(A,arguments)}}},{"./_a-function":92}],102:[function(D,_,e){_.exports=function(g){if(g==null)throw TypeError("Can't call method on "+g);return g}},{}],103:[function(D,_,e){_.exports=!D("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(D,_,e){var g=D("./_is-object"),f=D("./_global").document,A=g(f)&&g(f.createElement);_.exports=function(m){return A?f.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(D,_,e){_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(D,_,e){var g=D("./_object-keys"),f=D("./_object-gops"),A=D("./_object-pie");_.exports=function(m){var v=g(m),h=f.f;if(h)for(var c=h(m),o=A.f,i=0,n;c.length>i;)o.call(m,n=c[i++])&&v.push(n);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(D,_,e){var g=D("./_global"),f=D("./_core"),A=D("./_ctx"),m=D("./_hide"),v=D("./_has"),h="prototype",c=function o(i,n,a){var u=i&o.F,r=i&o.G,l=i&o.S,t=i&o.P,s=i&o.B,d=i&o.W,p=r?f:f[n]||(f[n]={}),b=p[h],w=r?g:l?g[n]:(g[n]||{})[h],E,S,x;r&&(a=n);for(E in a){if(S=!u&&w&&w[E]!==void 0,S&&v(p,E))continue;x=S?w[E]:a[E],p[E]=r&&typeof w[E]!="function"?a[E]:s&&S?A(x,g):d&&w[E]==x?function(T){var L=function(C,O,N){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(C);case 2:return new T(C,O)}return new T(C,O,N)}return T.apply(this,arguments)};return L[h]=T[h],L}(x):t&&typeof x=="function"?A(Function.call,x):x,t&&((p.virtual||(p.virtual={}))[E]=x,i&o.R&&b&&!b[E]&&m(b,E,x))}};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,_.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(D,_,e){_.exports=function(g){try{return!!g()}catch(f){return!0}}},{}],109:[function(D,_,e){var g=D("./_ctx"),f=D("./_iter-call"),A=D("./_is-array-iter"),m=D("./_an-object"),v=D("./_to-length"),h=D("./core.get-iterator-method"),c={},o={},e=_.exports=function(i,n,a,u,r){var l=r?function(){return i}:h(i),t=g(a,u,n?2:1),s=0,d,p,b,w;if(typeof l!="function")throw TypeError(i+" is not iterable!");if(A(l)){for(d=v(i.length);d>s;s++)if(w=n?t(m(p=i[s])[0],p[1]):t(i[s]),w===c||w===o)return w}else for(b=l.call(i);!(p=b.next()).done;)if(w=f(b,t,p.value,n),w===c||w===o)return w};e.BREAK=c,e.RETURN=o},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(D,_,e){var g=_.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=g)},{}],111:[function(D,_,e){var g={}.hasOwnProperty;_.exports=function(f,A){return g.call(f,A)}},{}],112:[function(D,_,e){var g=D("./_object-dp"),f=D("./_property-desc");_.exports=D("./_descriptors")?function(A,m,v){return g.f(A,m,f(1,v))}:function(A,m,v){return A[m]=v,A}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(D,_,e){var g=D("./_global").document;_.exports=g&&g.documentElement},{"./_global":110}],114:[function(D,_,e){_.exports=!D("./_descriptors")&&!D("./_fails")(function(){return Object.defineProperty(D("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(D,_,e){_.exports=function(g,f,A){var m=A===void 0;switch(f.length){case 0:return m?g():g.call(A);case 1:return m?g(f[0]):g.call(A,f[0]);case 2:return m?g(f[0],f[1]):g.call(A,f[0],f[1]);case 3:return m?g(f[0],f[1],f[2]):g.call(A,f[0],f[1],f[2]);case 4:return m?g(f[0],f[1],f[2],f[3]):g.call(A,f[0],f[1],f[2],f[3])}return g.apply(A,f)}},{}],116:[function(D,_,e){var g=D("./_cof");_.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return g(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(D,_,e){var g=D("./_iterators"),f=D("./_wks")("iterator"),A=Array.prototype;_.exports=function(m){return m!==void 0&&(g.Array===m||A[f]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(D,_,e){var g=D("./_cof");_.exports=Array.isArray||function(A){return g(A)=="Array"}},{"./_cof":98}],119:[function(D,_,e){_.exports=function(g){return typeof g=="object"?g!==null:typeof g=="function"}},{}],120:[function(D,_,e){var g=D("./_an-object");_.exports=function(f,A,m,v){try{return v?A(g(m)[0],m[1]):A(m)}catch(c){var h=f.return;throw h!==void 0&&g(h.call(f)),c}}},{"./_an-object":95}],121:[function(D,_,e){"use strict";var g=D("./_object-create"),f=D("./_property-desc"),A=D("./_set-to-string-tag"),m={};D("./_hide")(m,D("./_wks")("iterator"),function(){return this}),_.exports=function(v,h,c){v.prototype=g(m,{next:f(1,c)}),A(v,h+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(D,_,e){"use strict";var g=D("./_library"),f=D("./_export"),A=D("./_redefine"),m=D("./_hide"),v=D("./_iterators"),h=D("./_iter-create"),c=D("./_set-to-string-tag"),o=D("./_object-gpo"),i=D("./_wks")("iterator"),n=!([].keys&&"next"in[].keys()),a="@@iterator",u="keys",r="values",l=function(){return this};_.exports=function(t,s,d,p,b,w,E){h(d,s,p);var S=function(R){if(!n&&R in y)return y[R];switch(R){case u:return function(){return new d(this,R)};case r:return function(){return new d(this,R)}}return function(){return new d(this,R)}},x=s+" Iterator",T=b==r,L=!1,y=t.prototype,C=y[i]||y[a]||b&&y[b],O=C||S(b),N=b?T?S("entries"):O:void 0,k=s=="Array"&&y.entries||C,F,B,H;if(k&&(H=o(k.call(new t)),H!==Object.prototype&&H.next&&(c(H,x,!0),!g&&typeof H[i]!="function"&&m(H,i,l))),T&&C&&C.name!==r&&(L=!0,O=function(){return C.call(this)}),(!g||E)&&(n||L||!y[i])&&m(y,i,O),v[s]=O,v[x]=l,b)if(F={values:T?O:S(r),keys:w?O:S(u),entries:N},E)for(B in F)B in y||A(y,B,F[B]);else f(f.P+f.F*(n||L),s,F);return F}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(D,_,e){var g=D("./_wks")("iterator"),f=!1;try{var A=[7][g]();A.return=function(){f=!0},Array.from(A,function(){throw 2})}catch(m){}_.exports=function(m,v){if(!v&&!f)return!1;var h=!1;try{var c=[7],o=c[g]();o.next=function(){return{done:h=!0}},c[g]=function(){return o},m(c)}catch(i){}return h}},{"./_wks":166}],124:[function(D,_,e){_.exports=function(g,f){return{value:f,done:!!g}}},{}],125:[function(D,_,e){_.exports={}},{}],126:[function(D,_,e){_.exports=!0},{}],127:[function(D,_,e){var g=D("./_uid")("meta"),f=D("./_is-object"),A=D("./_has"),m=D("./_object-dp").f,v=0,h=Object.isExtensible||function(){return!0},c=!D("./_fails")(function(){return h(Object.preventExtensions({}))}),o=function(l){m(l,g,{value:{i:"O"+ ++v,w:{}}})},i=function(l,t){if(!f(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!A(l,g)){if(!h(l))return"F";if(!t)return"E";o(l)}return l[g].i},n=function(l,t){if(!A(l,g)){if(!h(l))return!0;if(!t)return!1;o(l)}return l[g].w},a=function(l){return c&&u.NEED&&h(l)&&!A(l,g)&&o(l),l},u=_.exports={KEY:g,NEED:!1,fastKey:i,getWeak:n,onFreeze:a}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(D,_,e){var g=D("./_global"),f=D("./_task").set,A=g.MutationObserver||g.WebKitMutationObserver,m=g.process,v=g.Promise,h=D("./_cof")(m)=="process";_.exports=function(){var c,o,i,n=function(){var t,s;for(h&&(t=m.domain)&&t.exit();c;){s=c.fn,c=c.next;try{s()}catch(d){throw c?i():o=void 0,d}}o=void 0,t&&t.enter()};if(h)i=function(){m.nextTick(n)};else if(A&&!(g.navigator&&g.navigator.standalone)){var a=!0,u=document.createTextNode("");new A(n).observe(u,{characterData:!0}),i=function(){u.data=a=!a}}else if(v&&v.resolve){var r=v.resolve(void 0);i=function(){r.then(n)}}else i=function(){f.call(g,n)};return function(l){var t={fn:l,next:void 0};o&&(o.next=t),c||(c=t,i()),o=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(D,_,e){"use strict";var g=D("./_a-function");function f(A){var m,v;this.promise=new A(function(h,c){if(m!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");m=h,v=c}),this.resolve=g(m),this.reject=g(v)}_.exports.f=function(A){return new f(A)}},{"./_a-function":92}],130:[function(D,_,e){"use strict";var g=D("./_descriptors"),f=D("./_object-keys"),A=D("./_object-gops"),m=D("./_object-pie"),v=D("./_to-object"),h=D("./_iobject"),c=Object.assign;_.exports=!c||D("./_fails")(function(){var o={},i={},n=Symbol(),a="abcdefghijklmnopqrst";return o[n]=7,a.split("").forEach(function(u){i[u]=u}),c({},o)[n]!=7||Object.keys(c({},i)).join("")!=a})?function(i,n){for(var a=v(i),u=arguments.length,r=1,l=A.f,t=m.f;u>r;)for(var s=h(arguments[r++]),d=l?f(s).concat(l(s)):f(s),p=d.length,b=0,w;p>b;)w=d[b++],(!g||t.call(s,w))&&(a[w]=s[w]);return a}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(D,_,e){var g=D("./_an-object"),f=D("./_object-dps"),A=D("./_enum-bug-keys"),m=D("./_shared-key")("IE_PROTO"),v=function(){},h="prototype",c=function(){var i=D("./_dom-create")("iframe"),n=A.length,a="<",u=">",r;for(i.style.display="none",D("./_html").appendChild(i),i.src="javascript:",r=i.contentWindow.document,r.open(),r.write(a+"script"+u+"document.F=Object"+a+"/script"+u),r.close(),c=r.F;n--;)delete c[h][A[n]];return c()};_.exports=Object.create||function(i,n){var a;return i!==null?(v[h]=g(i),a=new v,v[h]=null,a[m]=i):a=c(),n===void 0?a:f(a,n)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(D,_,e){var g=D("./_an-object"),f=D("./_ie8-dom-define"),A=D("./_to-primitive"),m=Object.defineProperty;e.f=D("./_descriptors")?Object.defineProperty:function(h,c,o){if(g(h),c=A(c,!0),g(o),f)try{return m(h,c,o)}catch(i){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(h[c]=o.value),h}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(D,_,e){var g=D("./_object-dp"),f=D("./_an-object"),A=D("./_object-keys");_.exports=D("./_descriptors")?Object.defineProperties:function(v,h){f(v);for(var c=A(h),o=c.length,i=0,n;o>i;)g.f(v,n=c[i++],h[n]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(D,_,e){var g=D("./_object-pie"),f=D("./_property-desc"),A=D("./_to-iobject"),m=D("./_to-primitive"),v=D("./_has"),h=D("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;e.f=D("./_descriptors")?c:function(i,n){if(i=A(i),n=m(n,!0),h)try{return c(i,n)}catch(a){}if(v(i,n))return f(!g.f.call(i,n),i[n])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(D,_,e){var g=D("./_to-iobject"),f=D("./_object-gopn").f,A={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(c){try{return f(c)}catch(o){return m.slice()}};_.exports.f=function(c){return m&&A.call(c)=="[object Window]"?v(c):f(g(c))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(D,_,e){var g=D("./_object-keys-internal"),f=D("./_enum-bug-keys").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(D,_,e){e.f=Object.getOwnPropertySymbols},{}],138:[function(D,_,e){var g=D("./_has"),f=D("./_to-object"),A=D("./_shared-key")("IE_PROTO"),m=Object.prototype;_.exports=Object.getPrototypeOf||function(v){return v=f(v),g(v,A)?v[A]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(D,_,e){var g=D("./_has"),f=D("./_to-iobject"),A=D("./_array-includes")(!1),m=D("./_shared-key")("IE_PROTO");_.exports=function(v,h){var c=f(v),o=0,i=[],n;for(n in c)n!=m&&(g(c,n)&&i.push(n));for(;h.length>o;)g(c,n=h[o++])&&(~A(i,n)||i.push(n));return i}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(D,_,e){var g=D("./_object-keys-internal"),f=D("./_enum-bug-keys");_.exports=Object.keys||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(D,_,e){e.f={}.propertyIsEnumerable},{}],142:[function(D,_,e){var g=D("./_export"),f=D("./_core"),A=D("./_fails");_.exports=function(m,v){var h=(f.Object||{})[m]||Object[m],c={};c[m]=v(h),g(g.S+g.F*A(function(){h(1)}),"Object",c)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(D,_,e){var g=D("./_descriptors"),f=D("./_object-keys"),A=D("./_to-iobject"),m=D("./_object-pie").f;_.exports=function(v){return function(h){for(var c=A(h),o=f(c),i=o.length,n=0,a=[],u;i>n;)u=o[n++],(!g||m.call(c,u))&&a.push(v?[u,c[u]]:c[u]);return a}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(D,_,e){_.exports=function(g){try{return{e:!1,v:g()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(D,_,e){var g=D("./_an-object"),f=D("./_is-object"),A=D("./_new-promise-capability");_.exports=function(m,v){if(g(m),f(v)&&v.constructor===m)return v;var h=A.f(m),c=h.resolve;return c(v),h.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(D,_,e){_.exports=function(g,f){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:f}}},{}],147:[function(D,_,e){var g=D("./_hide");_.exports=function(f,A,m){for(var v in A)m&&f[v]?f[v]=A[v]:g(f,v,A[v]);return f}},{"./_hide":112}],148:[function(D,_,e){_.exports=D("./_hide")},{"./_hide":112}],149:[function(D,_,e){"use strict";var g=D("./_global"),f=D("./_core"),A=D("./_object-dp"),m=D("./_descriptors"),v=D("./_wks")("species");_.exports=function(h){var c=typeof f[h]=="function"?f[h]:g[h];m&&c&&!c[v]&&A.f(c,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(D,_,e){var g=D("./_object-dp").f,f=D("./_has"),A=D("./_wks")("toStringTag");_.exports=function(m,v,h){m&&!f(m=h?m:m.prototype,A)&&g(m,A,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(D,_,e){var g=D("./_shared")("keys"),f=D("./_uid");_.exports=function(A){return g[A]||(g[A]=f(A))}},{"./_shared":152,"./_uid":162}],152:[function(D,_,e){var g=D("./_core"),f=D("./_global"),A="__core-js_shared__",m=f[A]||(f[A]={});(_.exports=function(v,h){return m[v]||(m[v]=h!==void 0?h:{})})("versions",[]).push({version:g.version,mode:D("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(D,_,e){var g=D("./_an-object"),f=D("./_a-function"),A=D("./_wks")("species");_.exports=function(m,v){var h=g(m).constructor,c;return h===void 0||(c=g(h)[A])==null?v:f(c)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(D,_,e){var g=D("./_to-integer"),f=D("./_defined");_.exports=function(A){return function(m,v){var h=String(f(m)),c=g(v),o=h.length,i,n;return c<0||c>=o?A?"":void 0:(i=h.charCodeAt(c),i<55296||i>56319||c+1===o||(n=h.charCodeAt(c+1))<56320||n>57343?A?h.charAt(c):i:A?h.slice(c,c+2):(i-55296<<10)+(n-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(D,_,e){var g=D("./_ctx"),f=D("./_invoke"),A=D("./_html"),m=D("./_dom-create"),v=D("./_global"),h=v.process,c=v.setImmediate,o=v.clearImmediate,i=v.MessageChannel,n=v.Dispatch,a=0,u={},r="onreadystatechange",l,t,s,d=function(){var w=+this;if(u.hasOwnProperty(w)){var E=u[w];delete u[w],E()}},p=function(w){d.call(w.data)};(!c||!o)&&(c=function(w){for(var E=[],S=1;arguments.length>S;)E.push(arguments[S++]);return u[++a]=function(){f(typeof w=="function"?w:Function(w),E)},l(a),a},o=function(w){delete u[w]},D("./_cof")(h)=="process"?l=function(w){h.nextTick(g(d,w,1))}:n&&n.now?l=function(w){n.now(g(d,w,1))}:i?(t=new i,s=t.port2,t.port1.onmessage=p,l=g(s.postMessage,s,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(l=function(w){v.postMessage(w+"","*")},v.addEventListener("message",p,!1)):r in m("script")?l=function(w){A.appendChild(m("script"))[r]=function(){A.removeChild(this),d.call(w)}}:l=function(w){setTimeout(g(d,w,1),0)}),_.exports={set:c,clear:o}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(D,_,e){var g=D("./_to-integer"),f=Math.max,A=Math.min;_.exports=function(m,v){return m=g(m),m<0?f(m+v,0):A(m,v)}},{"./_to-integer":157}],157:[function(D,_,e){var g=Math.ceil,f=Math.floor;_.exports=function(A){return isNaN(A=+A)?0:(A>0?f:g)(A)}},{}],158:[function(D,_,e){var g=D("./_iobject"),f=D("./_defined");_.exports=function(A){return g(f(A))}},{"./_defined":102,"./_iobject":116}],159:[function(D,_,e){var g=D("./_to-integer"),f=Math.min;_.exports=function(A){return A>0?f(g(A),9007199254740991):0}},{"./_to-integer":157}],160:[function(D,_,e){var g=D("./_defined");_.exports=function(f){return Object(g(f))}},{"./_defined":102}],161:[function(D,_,e){var g=D("./_is-object");_.exports=function(f,A){if(!g(f))return f;var m,v;if(A&&typeof(m=f.toString)=="function"&&!g(v=m.call(f)))return v;if(typeof(m=f.valueOf)=="function"&&!g(v=m.call(f)))return v;if(!A&&typeof(m=f.toString)=="function"&&!g(v=m.call(f)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(D,_,e){var g=0,f=Math.random();_.exports=function(A){return"Symbol(".concat(A===void 0?"":A,")_",(++g+f).toString(36))}},{}],163:[function(D,_,e){var g=D("./_global"),f=g.navigator;_.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(D,_,e){var g=D("./_global"),f=D("./_core"),A=D("./_library"),m=D("./_wks-ext"),v=D("./_object-dp").f;_.exports=function(h){var c=f.Symbol||(f.Symbol=A?{}:g.Symbol||{});h.charAt(0)!="_"&&!(h in c)&&v(c,h,{value:m.f(h)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(D,_,e){e.f=D("./_wks")},{"./_wks":166}],166:[function(D,_,e){var g=D("./_shared")("wks"),f=D("./_uid"),A=D("./_global").Symbol,m=typeof A=="function",v=_.exports=function(h){return g[h]||(g[h]=m&&A[h]||(m?A:f)("Symbol."+h))};v.store=g},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(D,_,e){var g=D("./_classof"),f=D("./_wks")("iterator"),A=D("./_iterators");_.exports=D("./_core").getIteratorMethod=function(m){if(m!=null)return m[f]||m["@@iterator"]||A[g(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(D,_,e){"use strict";var g=D("./_ctx"),f=D("./_export"),A=D("./_to-object"),m=D("./_iter-call"),v=D("./_is-array-iter"),h=D("./_to-length"),c=D("./_create-property"),o=D("./core.get-iterator-method");f(f.S+f.F*!D("./_iter-detect")(function(i){Array.from(i)}),"Array",{from:function(n){var a=A(n),u=typeof this=="function"?this:Array,r=arguments.length,l=r>1?arguments[1]:void 0,t=l!==void 0,s=0,d=o(a),p,b,w,E;if(t&&(l=g(l,r>2?arguments[2]:void 0,2)),d!=null&&!(u==Array&&v(d)))for(E=d.call(a),b=new u;!(w=E.next()).done;s++)c(b,s,t?m(E,l,[w.value,s],!0):w.value);else for(p=h(a.length),b=new u(p);p>s;s++)c(b,s,t?l(a[s],s):a[s]);return b.length=s,b}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(D,_,e){"use strict";var g=D("./_add-to-unscopables"),f=D("./_iter-step"),A=D("./_iterators"),m=D("./_to-iobject");_.exports=D("./_iter-define")(Array,"Array",function(v,h){this._t=m(v),this._i=0,this._k=h},function(){var v=this._t,h=this._k,c=this._i++;return!v||c>=v.length?(this._t=void 0,f(1)):h=="keys"?f(0,c):h=="values"?f(0,v[c]):f(0,[c,v[c]])},"values"),A.Arguments=A.Array,g("keys"),g("values"),g("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(D,_,e){"use strict";var g=D("./_is-object"),f=D("./_object-gpo"),A=D("./_wks")("hasInstance"),m=Function.prototype;A in m||D("./_object-dp").f(m,A,{value:function(h){if(typeof this!="function"||!g(h))return!1;if(!g(this.prototype))return h instanceof this;for(;h=f(h);)if(this.prototype===h)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(D,_,e){var g=D("./_export");g(g.S+g.F,"Object",{assign:D("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(D,_,e){var g=D("./_export");g(g.S,"Object",{create:D("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(D,_,e){var g=D("./_export");g(g.S+g.F*!D("./_descriptors"),"Object",{defineProperty:D("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(D,_,e){D("./_object-sap")("getOwnPropertyNames",function(){return D("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(D,_,e){var g=D("./_to-object"),f=D("./_object-gpo");D("./_object-sap")("getPrototypeOf",function(){return function(m){return f(g(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(D,_,e){var g=D("./_to-object"),f=D("./_object-keys");D("./_object-sap")("keys",function(){return function(m){return f(g(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(D,_,e){arguments[4][71][0].apply(e,arguments)},{dup:71}],178:[function(D,_,e){"use strict";var g=D("./_library"),f=D("./_global"),A=D("./_ctx"),m=D("./_classof"),v=D("./_export"),h=D("./_is-object"),c=D("./_a-function"),o=D("./_an-instance"),i=D("./_for-of"),n=D("./_species-constructor"),a=D("./_task").set,u=D("./_microtask")(),r=D("./_new-promise-capability"),l=D("./_perform"),t=D("./_user-agent"),s=D("./_promise-resolve"),d="Promise",p=f.TypeError,b=f.process,w=b&&b.versions,E=w&&w.v8||"",S=f[d],x=m(b)=="process",T=function(){},L,y,C,O,N=y=r.f,k=!!function(){try{var P=S.resolve(1),K=(P.constructor={})[D("./_wks")("species")]=function(V){V(T,T)};return(x||typeof PromiseRejectionEvent=="function")&&P.then(T)instanceof K&&E.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(V){}}(),F=function(K){var V;return h(K)&&typeof(V=K.then)=="function"?V:!1},B=function(K,V){if(K._n)return;K._n=!0;var z=K._c;u(function(){for(var X=K._v,G=K._s==1,le=0,Y=function(we){var pe=G?we.ok:we.fail,Fe=we.resolve,Xe=we.reject,dt=we.domain,Ee,Se,at;try{pe?(G||(K._h==2&&R(K),K._h=1),pe===!0?Ee=X:(dt&&dt.enter(),Ee=pe(X),dt&&(dt.exit(),at=!0)),Ee===we.promise?Xe(p("Promise-chain cycle")):(Se=F(Ee))?Se.call(Ee,Fe,Xe):Fe(Ee)):Xe(X)}catch(_e){dt&&!at&&dt.exit(),Xe(_e)}};z.length>le;)Y(z[le++]);K._c=[],K._n=!1,V&&!K._h&&H(K)})},H=function(K){a.call(f,function(){var V=K._v,z=W(K),X,G,le;if(z&&(X=l(function(){x?b.emit("unhandledRejection",V,K):(G=f.onunhandledrejection)?G({promise:K,reason:V}):(le=f.console)&&le.error&&le.error("Unhandled promise rejection",V)}),K._h=x||W(K)?2:1),K._a=void 0,z&&X.e)throw X.v})},W=function(K){return K._h!==1&&(K._a||K._c).length===0},R=function(K){a.call(f,function(){var V;x?b.emit("rejectionHandled",K):(V=f.onrejectionhandled)&&V({promise:K,reason:K._v})})},U=function(K){var V=this;if(V._d)return;V._d=!0,V=V._w||V,V._v=K,V._s=2,V._a||(V._a=V._c.slice()),B(V,!0)},j=function P(K){var V=this,z;if(V._d)return;V._d=!0,V=V._w||V;try{if(V===K)throw p("Promise can't be resolved itself");(z=F(K))?u(function(){var X={_w:V,_d:!1};try{z.call(K,A(P,X,1),A(U,X,1))}catch(G){U.call(X,G)}}):(V._v=K,V._s=1,B(V,!1))}catch(X){U.call({_w:V,_d:!1},X)}};k||(S=function(K){o(this,S,d,"_h"),c(K),L.call(this);try{K(A(j,this,1),A(U,this,1))}catch(V){U.call(this,V)}},L=function(K){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},L.prototype=D("./_redefine-all")(S.prototype,{then:function(K,V){var z=N(n(this,S));return z.ok=typeof K=="function"?K:!0,z.fail=typeof V=="function"&&V,z.domain=x?b.domain:void 0,this._c.push(z),this._a&&this._a.push(z),this._s&&B(this,!1),z.promise},catch:function(K){return this.then(void 0,K)}}),C=function(){var K=new L;this.promise=K,this.resolve=A(j,K,1),this.reject=A(U,K,1)},r.f=N=function(K){return K===S||K===O?new C(K):y(K)}),v(v.G+v.W+v.F*!k,{Promise:S}),D("./_set-to-string-tag")(S,d),D("./_set-species")(d),O=D("./_core")[d],v(v.S+v.F*!k,d,{reject:function(K){var V=N(this),z=V.reject;return z(K),V.promise}}),v(v.S+v.F*(g||!k),d,{resolve:function(K){return s(g&&this===O?S:this,K)}}),v(v.S+v.F*!(k&&D("./_iter-detect")(function(P){S.all(P).catch(T)})),d,{all:function(K){var V=this,z=N(V),X=z.resolve,G=z.reject,le=l(function(){var Y=[],me=0,we=1;i(K,!1,function(pe){var Fe=me++,Xe=!1;Y.push(void 0),we++,V.resolve(pe).then(function(dt){if(Xe)return;Xe=!0,Y[Fe]=dt,--we||X(Y)},G)}),--we||X(Y)});return le.e&&G(le.v),z.promise},race:function(K){var V=this,z=N(V),X=z.reject,G=l(function(){i(K,!1,function(le){V.resolve(le).then(z.resolve,X)})});return G.e&&X(G.v),z.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(D,_,e){var g=D("./_export"),f=D("./_to-absolute-index"),A=String.fromCharCode,m=String.fromCodePoint;g(g.S+g.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(h){for(var c=[],o=arguments.length,i=0,n;o>i;){if(n=+arguments[i++],f(n,1114111)!==n)throw RangeError(n+" is not a valid code point");c.push(n<65536?A(n):A(((n-=65536)>>10)+55296,n%1024+56320))}return c.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(D,_,e){"use strict";var g=D("./_string-at")(!0);D("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,A=this._i,m;return A>=f.length?{value:void 0,done:!0}:(m=g(f,A),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(D,_,e){"use strict";var g=D("./_global"),f=D("./_has"),A=D("./_descriptors"),m=D("./_export"),v=D("./_redefine"),h=D("./_meta").KEY,c=D("./_fails"),o=D("./_shared"),i=D("./_set-to-string-tag"),n=D("./_uid"),a=D("./_wks"),u=D("./_wks-ext"),r=D("./_wks-define"),l=D("./_enum-keys"),t=D("./_is-array"),s=D("./_an-object"),d=D("./_is-object"),p=D("./_to-object"),b=D("./_to-iobject"),w=D("./_to-primitive"),E=D("./_property-desc"),S=D("./_object-create"),x=D("./_object-gopn-ext"),T=D("./_object-gopd"),L=D("./_object-gops"),y=D("./_object-dp"),C=D("./_object-keys"),O=T.f,N=y.f,k=x.f,F=g.Symbol,B=g.JSON,H=B&&B.stringify,W="prototype",R=a("_hidden"),U=a("toPrimitive"),j={}.propertyIsEnumerable,P=o("symbol-registry"),K=o("symbols"),V=o("op-symbols"),z=Object[W],X=typeof F=="function"&&!!L.f,G=g.QObject,le=!G||!G[W]||!G[W].findChild,Y=A&&c(function(){return S(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a!=7})?function(Ce,ze,Oe){var ae=O(z,ze);ae&&delete z[ze],N(Ce,ze,Oe),ae&&Ce!==z&&N(z,ze,ae)}:N,me=function(ze){var Oe=K[ze]=S(F[W]);return Oe._k=ze,Oe},we=X&&typeof F.iterator=="symbol"?function(Ce){return typeof Ce=="symbol"}:function(Ce){return Ce instanceof F},pe=function(ze,Oe,ae){return ze===z&&pe(V,Oe,ae),s(ze),Oe=w(Oe,!0),s(ae),f(K,Oe)?(ae.enumerable?(f(ze,R)&&ze[R][Oe]&&(ze[R][Oe]=!1),ae=S(ae,{enumerable:E(0,!1)})):(f(ze,R)||N(ze,R,E(1,{})),ze[R][Oe]=!0),Y(ze,Oe,ae)):N(ze,Oe,ae)},Fe=function(ze,Oe){s(ze);for(var ae=l(Oe=b(Oe)),ge=0,Le=ae.length,Ze;Le>ge;)pe(ze,Ze=ae[ge++],Oe[Ze]);return ze},Xe=function(ze,Oe){return Oe===void 0?S(ze):Fe(S(ze),Oe)},dt=function(ze){var Oe=j.call(this,ze=w(ze,!0));return this===z&&f(K,ze)&&!f(V,ze)?!1:Oe||!f(this,ze)||!f(K,ze)||f(this,R)&&this[R][ze]?Oe:!0},Ee=function(ze,Oe){if(ze=b(ze),Oe=w(Oe,!0),ze===z&&f(K,Oe)&&!f(V,Oe))return;var ae=O(ze,Oe);return ae&&f(K,Oe)&&!(f(ze,R)&&ze[R][Oe])&&(ae.enumerable=!0),ae},Se=function(ze){for(var Oe=k(b(ze)),ae=[],ge=0,Le;Oe.length>ge;)!f(K,Le=Oe[ge++])&&Le!=R&&Le!=h&&ae.push(Le);return ae},at=function(ze){for(var Oe=ze===z,ae=k(Oe?V:b(ze)),ge=[],Le=0,Ze;ae.length>Le;)f(K,Ze=ae[Le++])&&(Oe?f(z,Ze):!0)&&ge.push(K[Ze]);return ge};X||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var ze=n(arguments.length>0?arguments[0]:void 0),Oe=function ae(ge){this===z&&ae.call(V,ge),f(this,R)&&f(this[R],ze)&&(this[R][ze]=!1),Y(this,ze,E(1,ge))};return A&&le&&Y(z,ze,{configurable:!0,set:Oe}),me(ze)},v(F[W],"toString",function(){return this._k}),T.f=Ee,y.f=pe,D("./_object-gopn").f=x.f=Se,D("./_object-pie").f=dt,L.f=at,A&&!D("./_library")&&v(z,"propertyIsEnumerable",dt,!0),u.f=function(Ce){return me(a(Ce))}),m(m.G+m.W+m.F*!X,{Symbol:F});for(var _e="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ce=0;_e.length>ce;)a(_e[ce++]);for(var ee=C(a.store),se=0;ee.length>se;)r(ee[se++]);m(m.S+m.F*!X,"Symbol",{for:function(ze){return f(P,ze+="")?P[ze]:P[ze]=F(ze)},keyFor:function(ze){if(!we(ze))throw TypeError(ze+" is not a symbol!");for(var Oe in P)if(P[Oe]===ze)return Oe},useSetter:function(){le=!0},useSimple:function(){le=!1}}),m(m.S+m.F*!X,"Object",{create:Xe,defineProperty:pe,defineProperties:Fe,getOwnPropertyDescriptor:Ee,getOwnPropertyNames:Se,getOwnPropertySymbols:at});var ke=c(function(){L.f(1)});m(m.S+m.F*ke,"Object",{getOwnPropertySymbols:function(ze){return L.f(p(ze))}}),B&&m(m.S+m.F*(!X||c(function(){var Ce=F();return H([Ce])!="[null]"||H({a:Ce})!="{}"||H(Object(Ce))!="{}"})),"JSON",{stringify:function(ze){for(var Oe=[ze],ae=1,ge,Le;arguments.length>ae;)Oe.push(arguments[ae++]);return Le=ge=Oe[1],!d(ge)&&ze===void 0||we(ze)?void 0:(t(ge)||(ge=function(vt,Ct){if(typeof Le=="function"&&(Ct=Le.call(this,vt,Ct)),!we(Ct))return Ct}),Oe[1]=ge,H.apply(B,Oe))}}),F[W][U]||D("./_hide")(F[W],U,F[W].valueOf),i(F,"Symbol"),i(Math,"Math",!0),i(g.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(D,_,e){var g=D("./_export"),f=D("./_object-to-array")(!0);g(g.S,"Object",{entries:function(m){return f(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(D,_,e){"use strict";var g=D("./_export"),f=D("./_core"),A=D("./_global"),m=D("./_species-constructor"),v=D("./_promise-resolve");g(g.P+g.R,"Promise",{finally:function(c){var o=m(this,f.Promise||A.Promise),i=typeof c=="function";return this.then(i?function(n){return v(o,c()).then(function(){return n})}:c,i?function(n){return v(o,c()).then(function(){throw n})}:c)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(D,_,e){"use strict";var g=D("./_export"),f=D("./_new-promise-capability"),A=D("./_perform");g(g.S,"Promise",{try:function(v){var h=f.f(this),c=A(v);return(c.e?h.reject:h.resolve)(c.v),h.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(D,_,e){D("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(D,_,e){D("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(D,_,e){D("./es6.array.iterator");for(var g=D("./_global"),f=D("./_hide"),A=D("./_iterators"),m=D("./_wks")("toStringTag"),v="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),h=0;h<v.length;h++){var c=v[h],o=g[c],i=o&&o.prototype;i&&!i[m]&&f(i,m,c),A[c]=A.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(D,_,e){var g=D("./_export"),f=D("./_task");g(g.G+g.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),A=m(f);function m(w){return w&&w.__esModule?w:{default:w}}function v(w){return Array.isArray?Array.isArray(w):b(w)==="[object Array]"}e.isArray=v;function h(w){return typeof w=="boolean"}e.isBoolean=h;function c(w){return w===null}e.isNull=c;function o(w){return w==null}e.isNullOrUndefined=o;function i(w){return typeof w=="number"}e.isNumber=i;function n(w){return typeof w=="string"}e.isString=n;function a(w){return(typeof w=="undefined"?"undefined":(0,A.default)(w))==="symbol"}e.isSymbol=a;function u(w){return w===void 0}e.isUndefined=u;function r(w){return b(w)==="[object RegExp]"}e.isRegExp=r;function l(w){return(typeof w=="undefined"?"undefined":(0,A.default)(w))==="object"&&w!==null}e.isObject=l;function t(w){return b(w)==="[object Date]"}e.isDate=t;function s(w){return b(w)==="[object Error]"||w instanceof Error}e.isError=s;function d(w){return typeof w=="function"}e.isFunction=d;function p(w){return w===null||typeof w=="boolean"||typeof w=="number"||typeof w=="string"||(typeof w=="undefined"?"undefined":(0,A.default)(w))==="symbol"||typeof w=="undefined"}e.isPrimitive=p,e.isBuffer=g.isBuffer;function b(w){return Object.prototype.toString.call(w)}}).call(this,{isBuffer:D("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(D,_,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var v=function(){var n=/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,u=/[^-+\dA-Z]/g;return function(r,l,t,s){if(arguments.length===1&&i(r)==="string"&&!/\d/.test(r)&&(l=r,r=void 0),r=r||new Date,r instanceof Date||(r=new Date(r)),isNaN(r))throw TypeError("Invalid date");l=String(v.masks[l]||l||v.masks.default);var d=l.slice(0,4);(d==="UTC:"||d==="GMT:")&&(l=l.slice(4),t=!0,d==="GMT:"&&(s=!0));var p=t?"getUTC":"get",b=r[p+"Date"](),w=r[p+"Day"](),E=r[p+"Month"](),S=r[p+"FullYear"](),x=r[p+"Hours"](),T=r[p+"Minutes"](),L=r[p+"Seconds"](),y=r[p+"Milliseconds"](),C=t?0:r.getTimezoneOffset(),O=c(r),N=o(r),k={d:b,dd:h(b),ddd:v.i18n.dayNames[w],dddd:v.i18n.dayNames[w+7],m:E+1,mm:h(E+1),mmm:v.i18n.monthNames[E],mmmm:v.i18n.monthNames[E+12],yy:String(S).slice(2),yyyy:S,h:x%12||12,hh:h(x%12||12),H:x,HH:h(x),M:T,MM:h(T),s:L,ss:h(L),l:h(y,3),L:h(Math.round(y/10)),t:x<12?"a":"p",tt:x<12?"am":"pm",T:x<12?"A":"P",TT:x<12?"AM":"PM",Z:s?"GMT":t?"UTC":(String(r).match(a)||[""]).pop().replace(u,""),o:(C>0?"-":"+")+h(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][b%10>3?0:(b%100-b%10!=10)*b%10],W:O,N};return l.replace(n,function(F){return F in k?k[F]:F.slice(1,F.length-1)})}}();v.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},v.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function h(n,a){for(n=String(n),a=a||2;n.length<a;)n="0"+n;return n}function c(n){var a=new Date(n.getFullYear(),n.getMonth(),n.getDate());a.setDate(a.getDate()-(a.getDay()+6)%7+3);var u=new Date(a.getFullYear(),0,4);u.setDate(u.getDate()-(u.getDay()+6)%7+3);var r=a.getTimezoneOffset()-u.getTimezoneOffset();a.setHours(a.getHours()-r);var l=(a-u)/(864e5*7);return 1+Math.floor(l)}function o(n){var a=n.getDay();return a===0&&(a=7),a}function i(n){return n===null?"null":n===void 0?"undefined":(typeof n=="undefined"?"undefined":(0,f.default)(n))!=="object"?typeof n=="undefined"?"undefined":(0,f.default)(n):Array.isArray(n)?"array":{}.toString.call(n).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return v}):(typeof e=="undefined"?"undefined":(0,f.default)(e))==="object"?_.exports=v:m.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(D,_,e){/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var g=/["'&<>]/;_.exports=f;function f(A){var m=""+A,v=g.exec(m);if(!v)return m;var h,c="",o=0,i=0;for(o=v.index;o<m.length;o++){switch(m.charCodeAt(o)){case 34:h="&quot;";break;case 38:h="&amp;";break;case 39:h="&#39;";break;case 60:h="&lt;";break;case 62:h="&gt;";break;default:continue}i!==o&&(c+=m.substring(i,o)),i=o+1,c+=h}return i!==o?c+m.substring(i,o):c}},{}],192:[function(D,_,e){function g(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}_.exports=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.prototype.setMaxListeners=function(h){if(!A(h)||h<0||isNaN(h))throw TypeError("n must be a positive number");return this._maxListeners=h,this},g.prototype.emit=function(h){var c,o,i,n,a,u;if(this._events||(this._events={}),h==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(c=arguments[1],c instanceof Error)throw c;var r=new Error('Uncaught, unspecified "error" event. ('+c+")");throw r.context=c,r}if(o=this._events[h],v(o))return!1;if(f(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:n=Array.prototype.slice.call(arguments,1),o.apply(this,n)}else if(m(o))for(n=Array.prototype.slice.call(arguments,1),u=o.slice(),i=u.length,a=0;a<i;a++)u[a].apply(this,n);return!0},g.prototype.addListener=function(h,c){var o;if(!f(c))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",h,f(c.listener)?c.listener:c),this._events[h]?m(this._events[h])?this._events[h].push(c):this._events[h]=[this._events[h],c]:this._events[h]=c,m(this._events[h])&&!this._events[h].warned&&(v(this._maxListeners)?o=g.defaultMaxListeners:o=this._maxListeners,o&&o>0&&this._events[h].length>o&&(this._events[h].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[h].length),typeof console.trace=="function"&&console.trace())),this},g.prototype.on=g.prototype.addListener,g.prototype.once=function(h,c){if(!f(c))throw TypeError("listener must be a function");var o=!1;function i(){this.removeListener(h,i),o||(o=!0,c.apply(this,arguments))}return i.listener=c,this.on(h,i),this},g.prototype.removeListener=function(h,c){var o,i,n,a;if(!f(c))throw TypeError("listener must be a function");if(!this._events||!this._events[h])return this;if(o=this._events[h],n=o.length,i=-1,o===c||f(o.listener)&&o.listener===c)delete this._events[h],this._events.removeListener&&this.emit("removeListener",h,c);else if(m(o)){for(a=n;a-- >0;)if(o[a]===c||o[a].listener&&o[a].listener===c){i=a;break}if(i<0)return this;o.length===1?(o.length=0,delete this._events[h]):o.splice(i,1),this._events.removeListener&&this.emit("removeListener",h,c)}return this},g.prototype.removeAllListeners=function(h){var c,o;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[h]&&delete this._events[h],this;if(arguments.length===0){for(c in this._events){if(c==="removeListener")continue;this.removeAllListeners(c)}return this.removeAllListeners("removeListener"),this._events={},this}if(o=this._events[h],f(o))this.removeListener(h,o);else if(o)for(;o.length;)this.removeListener(h,o[o.length-1]);return delete this._events[h],this},g.prototype.listeners=function(h){var c;return!this._events||!this._events[h]?c=[]:f(this._events[h])?c=[this._events[h]]:c=this._events[h].slice(),c},g.prototype.listenerCount=function(h){if(this._events){var c=this._events[h];if(f(c))return 1;if(c)return c.length}return 0},g.listenerCount=function(h,c){return h.listenerCount(c)};function f(h){return typeof h=="function"}function A(h){return typeof h=="number"}function m(h){return typeof h=="object"&&h!==null}function v(h){return h===void 0}},{}],193:[function(D,_,e){var g=D("http"),f=_.exports;for(var A in g)g.hasOwnProperty(A)&&(f[A]=g[A]);f.request=function(m,v){return m||(m={}),m.scheme="https",m.protocol="https:",g.request.call(this,m,v)}},{http:231}],194:[function(D,_,e){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var g=D("util"),f=D("ms");_.exports=function(A){if(typeof A=="number")return A;var m=f(A);if(m===void 0){var v=new Error(g.format("humanize-ms(%j) result undefined",A));console.warn(v.stack)}return m}},{ms:204,util:243}],195:[function(D,_,e){e.read=function(g,f,A,m,v){var h,c,o=v*8-m-1,i=(1<<o)-1,n=i>>1,a=-7,u=A?v-1:0,r=A?-1:1,l=g[f+u];for(u+=r,h=l&(1<<-a)-1,l>>=-a,a+=o;a>0;h=h*256+g[f+u],u+=r,a-=8);for(c=h&(1<<-a)-1,h>>=-a,a+=m;a>0;c=c*256+g[f+u],u+=r,a-=8);if(h===0)h=1-n;else{if(h===i)return c?NaN:(l?-1:1)*Infinity;c=c+Math.pow(2,m),h=h-n}return(l?-1:1)*c*Math.pow(2,h-m)},e.write=function(g,f,A,m,v,h){var c,o,i,n=h*8-v-1,a=(1<<n)-1,u=a>>1,r=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=m?0:h-1,t=m?1:-1,s=f<0||f===0&&1/f<0?1:0;for(f=Math.abs(f),isNaN(f)||f===Infinity?(o=isNaN(f)?1:0,c=a):(c=Math.floor(Math.log(f)/Math.LN2),f*(i=Math.pow(2,-c))<1&&(c--,i*=2),c+u>=1?f+=r/i:f+=r*Math.pow(2,1-u),f*i>=2&&(c++,i/=2),c+u>=a?(o=0,c=a):c+u>=1?(o=(f*i-1)*Math.pow(2,v),c=c+u):(o=f*Math.pow(2,u-1)*Math.pow(2,v),c=0));v>=8;g[A+l]=o&255,l+=t,o/=256,v-=8);for(c=c<<v|o,n+=v;n>0;g[A+l]=c&255,l+=t,c/=256,n-=8);g[A+l-t]|=s*128}},{}],196:[function(D,_,e){typeof Object.create=="function"?_.exports=function(f,A){A&&(f.super_=A,f.prototype=Object.create(A.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:_.exports=function(f,A){if(A){f.super_=A;var m=function(){};m.prototype=A.prototype,f.prototype=new m,f.prototype.constructor=f}}},{}],197:[function(D,_,e){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/_.exports=function(A){return A!=null&&(g(A)||f(A)||!!A._isBuffer)};function g(A){return!!A.constructor&&typeof A.constructor.isBuffer=="function"&&A.constructor.isBuffer(A)}function f(A){return typeof A.readFloatLE=="function"&&typeof A.slice=="function"&&g(A.slice(0,0))}},{}],198:[function(D,_,e){var g={}.toString;_.exports=Array.isArray||function(f){return g.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(D,_){typeof exports=="object"&&typeof module!="undefined"?module.exports=_(D):typeof define=="function"&&define.amd?define(_):_(D)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(typeof module!="undefined"&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(D){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(D){for(var _={},e=0,g=D.length;e<g;e++)_[D.charAt(e)]=e;return _}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(_){if(_.length<2){var e=_.charCodeAt(0);return e<128?_:e<2048?fromCharCode(192|e>>>6)+fromCharCode(128|e&63):fromCharCode(224|e>>>12&15)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}else{var e=65536+(_.charCodeAt(0)-55296)*1024+(_.charCodeAt(1)-56320);return fromCharCode(240|e>>>18&7)+fromCharCode(128|e>>>12&63)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(_){return _.replace(re_utob,cb_utob)},cb_encode=function(_){var e=[0,2,1][_.length%3],g=_.charCodeAt(0)<<16|(_.length>1?_.charCodeAt(1):0)<<8|(_.length>2?_.charCodeAt(2):0),f=[b64chars.charAt(g>>>18),b64chars.charAt(g>>>12&63),e>=2?"=":b64chars.charAt(g>>>6&63),e>=1?"=":b64chars.charAt(g&63)];return f.join("")},btoa=global.btoa?function(D){return global.btoa(D)}:function(D){return D.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(_){var e=Object.prototype.toString.call(_)==="[object Uint8Array]";return e?_.toString("base64"):btoa(utob(String(_)))},encode=function(_,e){return e?_encode(String(_)).replace(/[+\/]/g,function(g){return g=="+"?"-":"_"}).replace(/=/g,""):_encode(_)},encodeURI=function(_){return encode(_,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(_){switch(_.length){case 4:var e=(7&_.charCodeAt(0))<<18|(63&_.charCodeAt(1))<<12|(63&_.charCodeAt(2))<<6|63&_.charCodeAt(3),g=e-65536;return fromCharCode((g>>>10)+55296)+fromCharCode((g&1023)+56320);case 3:return fromCharCode((15&_.charCodeAt(0))<<12|(63&_.charCodeAt(1))<<6|63&_.charCodeAt(2));default:return fromCharCode((31&_.charCodeAt(0))<<6|63&_.charCodeAt(1))}},btou=function(_){return _.replace(re_btou,cb_btou)},cb_decode=function(_){var e=_.length,g=e%4,f=(e>0?b64tab[_.charAt(0)]<<18:0)|(e>1?b64tab[_.charAt(1)]<<12:0)|(e>2?b64tab[_.charAt(2)]<<6:0)|(e>3?b64tab[_.charAt(3)]:0),A=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return A.length-=[0,0,2,1][g],A.join("")},_atob=global.atob?function(D){return global.atob(D)}:function(D){return D.replace(/\S{1,4}/g,cb_decode)},atob=function(_){return _atob(String(_).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(D){return(D.constructor===buffer.constructor?D:buffer.from(D,"base64")).toString()}:function(D){return(D.constructor===buffer.constructor?D:new buffer(D,"base64")).toString()}:function(D){return btou(_atob(D))},decode=function(_){return _decode(String(_).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var _=global.Base64;return global.Base64=_Base64,_};if(global.Base64={VERSION:version,atob,btoa,fromBase64:decode,toBase64:encode,utob,encode,encodeURI,btou,decode,noConflict,__buffer__:buffer},typeof Object.defineProperty=="function"){var noEnum=function(_){return{value:_,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(D){return encode(this,D)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global.Meteor&&(Base64=global.Base64),typeof module!="undefined"&&module.exports?module.exports.Base64=global.Base64:typeof define=="function"&&define.amd&&define([],function(){return global.Base64}),{Base64:global.Base64}})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],200:[function(D,_,e){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";_.exports=f;var g=Object.prototype.hasOwnProperty;function f(A,m,v){if(!A)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return v===void 0&&(v=!0),Object.getOwnPropertyNames(m).forEach(function(c){if(!v&&g.call(A,c))return;var o=Object.getOwnPropertyDescriptor(m,c);Object.defineProperty(A,c,o)}),A}},{}],201:[function(D,_,e){"use strict";function g(){this._types=Object.create(null),this._extensions=Object.create(null);for(var f=0;f<arguments.length;f++)this.define(arguments[f]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}g.prototype.define=function(f,A){for(var m in f){var v=f[m].map(function(o){return o.toLowerCase()});m=m.toLowerCase();for(var h=0;h<v.length;h++){var c=v[h];if(c[0]=="*")continue;if(!A&&c in this._types)throw new Error('Attempt to change mapping for "'+c+'" extension from "'+this._types[c]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+c+'" from the list of extensions for "'+m+'".');this._types[c]=m}if(A||!this._extensions[m]){var c=v[0];this._extensions[m]=c[0]!="*"?c:c.substr(1)}}},g.prototype.getType=function(f){f=String(f);var A=f.replace(/^.*[/\\]/,"").toLowerCase(),m=A.replace(/^.*\./,"").toLowerCase(),v=A.length<f.length,h=m.length<A.length-1;return(h||!v)&&this._types[m]||null},g.prototype.getExtension=function(f){return f=/^\s*([^;\s]*)/.test(f)&&RegExp.$1,f&&this._extensions[f.toLowerCase()]||null},_.exports=g},{}],202:[function(D,_,e){"use strict";var g=D("./Mime");_.exports=new g(D("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(D,_,e){_.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(D,_,e){var g=1e3,f=g*60,A=f*60,m=A*24,v=m*7,h=m*365.25;_.exports=function(a,u){u=u||{};var r=typeof a;if(r==="string"&&a.length>0)return c(a);if(r==="number"&&isFinite(a))return u.long?i(a):o(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function c(a){if(a=String(a),a.length>100)return;var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!u)return;var r=parseFloat(u[1]),l=(u[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return r*h;case"weeks":case"week":case"w":return r*v;case"days":case"day":case"d":return r*m;case"hours":case"hour":case"hrs":case"hr":case"h":return r*A;case"minutes":case"minute":case"mins":case"min":case"m":return r*f;case"seconds":case"second":case"secs":case"sec":case"s":return r*g;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function o(a){var u=Math.abs(a);return u>=m?Math.round(a/m)+"d":u>=A?Math.round(a/A)+"h":u>=f?Math.round(a/f)+"m":u>=g?Math.round(a/g)+"s":a+"ms"}function i(a){var u=Math.abs(a);return u>=m?n(a,u,m,"day"):u>=A?n(a,u,A,"hour"):u>=f?n(a,u,f,"minute"):u>=g?n(a,u,g,"second"):a+" ms"}function n(a,u,r,l){var t=u>=r*1.5;return Math.round(a/r)+" "+l+(t?"s":"")}},{}],205:[function(D,_,e){(function(g){function f(h,c){for(var o=0,i=h.length-1;i>=0;i--){var n=h[i];n==="."?h.splice(i,1):n===".."?(h.splice(i,1),o++):o&&(h.splice(i,1),o--)}if(c)for(;o--;o)h.unshift("..");return h}e.resolve=function(){for(var h="",c=!1,o=arguments.length-1;o>=-1&&!c;o--){var i=o>=0?arguments[o]:g.cwd();if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;h=i+"/"+h,c=i.charAt(0)==="/"}return h=f(m(h.split("/"),function(n){return!!n}),!c).join("/"),(c?"/":"")+h||"."},e.normalize=function(h){var c=e.isAbsolute(h),o=v(h,-1)==="/";return h=f(m(h.split("/"),function(i){return!!i}),!c).join("/"),!h&&!c&&(h="."),h&&o&&(h+="/"),(c?"/":"")+h},e.isAbsolute=function(h){return h.charAt(0)==="/"},e.join=function(){var h=Array.prototype.slice.call(arguments,0);return e.normalize(m(h,function(c,o){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},e.relative=function(h,c){h=e.resolve(h).substr(1),c=e.resolve(c).substr(1);function o(t){for(var s=0;s<t.length&&!(t[s]!=="");s++);for(var d=t.length-1;d>=0&&!(t[d]!=="");d--);return s>d?[]:t.slice(s,d-s+1)}for(var i=o(h.split("/")),n=o(c.split("/")),a=Math.min(i.length,n.length),u=a,r=0;r<a;r++)if(i[r]!==n[r]){u=r;break}for(var l=[],r=u;r<i.length;r++)l.push("..");return l=l.concat(n.slice(u)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";for(var c=h.charCodeAt(0),o=c===47,i=-1,n=!0,a=h.length-1;a>=1;--a)if(c=h.charCodeAt(a),c===47){if(!n){i=a;break}}else n=!1;return i===-1?o?"/":".":o&&i===1?"/":h.slice(0,i)};function A(h){typeof h!="string"&&(h=h+"");var c=0,o=-1,i=!0,n;for(n=h.length-1;n>=0;--n)if(h.charCodeAt(n)===47){if(!i){c=n+1;break}}else o===-1&&(i=!1,o=n+1);return o===-1?"":h.slice(c,o)}e.basename=function(h,c){var o=A(h);return c&&o.substr(-1*c.length)===c&&(o=o.substr(0,o.length-c.length)),o},e.extname=function(h){typeof h!="string"&&(h=h+"");for(var c=-1,o=0,i=-1,n=!0,a=0,u=h.length-1;u>=0;--u){var r=h.charCodeAt(u);if(r===47){if(!n){o=u+1;break}continue}i===-1&&(n=!1,i=u+1),r===46?c===-1?c=u:a!==1&&(a=1):c!==-1&&(a=-1)}return c===-1||i===-1||a===0||a===1&&c===i-1&&c===o+1?"":h.slice(c,i)};function m(h,c){if(h.filter)return h.filter(c);for(var o=[],i=0;i<h.length;i++)c(h[i],i,h)&&o.push(h[i]);return o}var v="ab".substr(-1)==="b"?function(h,c,o){return h.substr(c,o)}:function(h,c,o){return c<0&&(c=h.length+c),h.substr(c,o)}}).call(this,D("_process"))},{_process:208}],206:[function(D,_,e){(function(g){/*!
* Platform.js <https://mths.be/platform>
* Copyright 2014-2018 Benjamin Tan <https://bnjmnt4n.now.sh/>
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <https://mths.be/mit>
*/(function(){"use strict";var f={function:!0,object:!0},A=f[typeof window]&&window||this,m=A,v=f[typeof e]&&e,h=f[typeof _]&&_&&!_.nodeType&&_,c=v&&h&&typeof g=="object"&&g;c&&(c.global===c||c.window===c||c.self===c)&&(A=c);var o=Math.pow(2,53)-1,i=/\bOpera/,n=this,a=Object.prototype,u=a.hasOwnProperty,r=a.toString;function l(y){return y=String(y),y.charAt(0).toUpperCase()+y.slice(1)}function t(y,C,O){var N={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return C&&O&&/^Win/i.test(y)&&!/^Windows Phone /i.test(y)&&(N=N[/[\d.]+$/.exec(y)])&&(y="Windows "+N),y=String(y),C&&O&&(y=y.replace(RegExp(C,"i"),O)),y=d(y.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),y}function s(y,C){var O=-1,N=y?y.length:0;if(typeof N=="number"&&N>-1&&N<=o)for(;++O<N;)C(y[O],O,y);else p(y,C)}function d(y){return y=x(y),/^(?:webOS|i(?:OS|P))/.test(y)?y:l(y)}function p(y,C){for(var O in y)u.call(y,O)&&C(y[O],O,y)}function b(y){return y==null?l(y):r.call(y).slice(8,-1)}function w(y,C){var O=y!=null?typeof y[C]:"number";return!/^(?:boolean|number|string|undefined)$/.test(O)&&(O=="object"?!!y[C]:!0)}function E(y){return String(y).replace(/([ -])(?!$)/g,"$1?")}function S(y,C){var O=null;return s(y,function(N,k){O=C(O,N,k,y)}),O}function x(y){return String(y).replace(/^ +| +$/g,"")}function T(y){var C=A,O=y&&typeof y=="object"&&b(y)!="String";O&&(C=y,y=null);var N=C.navigator||{},k=N.userAgent||"";y||(y=k);var F=O||n==m,B=O?!!N.likeChrome:/\bChrome\b/.test(y)&&!/internal|\n/i.test(r.toString()),H="Object",W=O?H:"ScriptBridgingProxyObject",R=O?H:"Environment",U=O&&C.java?"JavaPackage":b(C.java),j=O?H:"RuntimeObject",P=/\bJava/.test(U)&&C.java,K=P&&b(C.environment)==R,V=P?"a":"\u03B1",z=P?"b":"\u03B2",X=C.document||{},G=C.operamini||C.opera,le=i.test(le=O&&G?G["[[Class]]"]:b(G))?le:G=null,Y,me=y,we=[],pe=null,Fe=y==k,Xe=Fe&&G&&typeof G.version=="function"&&G.version(),dt,Ee=ee([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Se=ke(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),at=ze([{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"]),_e=se({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),ce=Ce(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function ee(Le){return S(Le,function(Ze,vt){return Ze||RegExp("\\b"+(vt.pattern||E(vt))+"\\b","i").exec(y)&&(vt.label||vt)})}function se(Le){return S(Le,function(Ze,vt,Ct){return Ze||(vt[at]||vt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(at)]||RegExp("\\b"+E(Ct)+"(?:\\b|\\w*\\d)","i").exec(y))&&Ct})}function ke(Le){return S(Le,function(Ze,vt){return Ze||RegExp("\\b"+(vt.pattern||E(vt))+"\\b","i").exec(y)&&(vt.label||vt)})}function Ce(Le){return S(Le,function(Ze,vt){var Ct=vt.pattern||E(vt);return!Ze&&(Ze=RegExp("\\b"+Ct+"(?:/[\\d.]+|[ \\w.]*)","i").exec(y))&&(Ze=t(Ze,Ct,vt.label||vt)),Ze})}function ze(Le){return S(Le,function(Ze,vt){var Ct=vt.pattern||E(vt);return!Ze&&(Ze=RegExp("\\b"+Ct+" *\\d+[.\\w_]*","i").exec(y)||RegExp("\\b"+Ct+" *\\w+-[\\w]*","i").exec(y)||RegExp("\\b"+Ct+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(y))&&((Ze=String(vt.label&&!RegExp(Ct,"i").test(vt.label)?vt.label:Ze).split("/"))[1]&&!/[\d.]+/.test(Ze[0])&&(Ze[0]+=" "+Ze[1]),vt=vt.label||vt,Ze=d(Ze[0].replace(RegExp(Ct,"i"),vt).replace(RegExp("; *(?:"+vt+"[_-])?","i")," ").replace(RegExp("("+vt+")[-_.]?(\\w)","i"),"$1 $2"))),Ze})}function Oe(Le){return S(Le,function(Ze,vt){return Ze||(RegExp(vt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(y)||0)[1]||null})}function ae(){return this.description||""}if(Ee&&(Ee=[Ee]),_e&&!at&&(at=ze([_e])),(Y=/\bGoogle TV\b/.exec(at))&&(at=Y[0]),/\bSimulator\b/i.test(y)&&(at=(at?at+" ":"")+"Simulator"),Se=="Opera Mini"&&/\bOPiOS\b/.test(y)&&we.push("running in Turbo/Uncompressed mode"),Se=="IE"&&/\blike iPhone OS\b/.test(y)?(Y=T(y.replace(/like iPhone OS/,"")),_e=Y.manufacturer,at=Y.product):/^iP/.test(at)?(Se||(Se="Safari"),ce="iOS"+((Y=/ OS ([\d_]+)/i.exec(y))?" "+Y[1].replace(/_/g,"."):"")):Se=="Konqueror"&&!/buntu/i.test(ce)?ce="Kubuntu":_e&&_e!="Google"&&(/Chrome/.test(Se)&&!/\bMobile Safari\b/i.test(y)||/\bVita\b/.test(at))||/\bAndroid\b/.test(ce)&&/^Chrome/.test(Se)&&/\bVersion\//i.test(y)?(Se="Android Browser",ce=/\bAndroid\b/.test(ce)?ce:"Android"):Se=="Silk"?(/\bMobi/i.test(y)||(ce="Android",we.unshift("desktop mode")),/Accelerated *= *true/i.test(y)&&we.unshift("accelerated")):Se=="PaleMoon"&&(Y=/\bFirefox\/([\d.]+)\b/.exec(y))?we.push("identifying as Firefox "+Y[1]):Se=="Firefox"&&(Y=/\b(Mobile|Tablet|TV)\b/i.exec(y))?(ce||(ce="Firefox OS"),at||(at=Y[1])):!Se||(Y=!/\bMinefield\b/i.test(y)&&/\b(?:Firefox|Safari)\b/.exec(Se))?(Se&&!at&&/[\/,]|^[^(]+?\)/.test(y.slice(y.indexOf(Y+"/")+8))&&(Se=null),(Y=at||_e||ce)&&(at||_e||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ce))&&(Se=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ce)?ce:Y)+" Browser")):Se=="Electron"&&(Y=(/\bChrome\/([\d.]+)\b/.exec(y)||0)[1])&&we.push("Chromium "+Y),Xe||(Xe=Oe(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",E(Se),"(?:Firefox|Minefield|NetFront)"])),(Y=Ee=="iCab"&&parseFloat(Xe)>3&&"WebKit"||/\bOpera\b/.test(Se)&&(/\bOPR\b/.test(y)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(y)&&!/^(?:Trident|EdgeHTML)$/.test(Ee)&&"WebKit"||!Ee&&/\bMSIE\b/i.test(y)&&(ce=="Mac OS"?"Tasman":"Trident")||Ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Se)&&"NetFront")&&(Ee=[Y]),Se=="IE"&&(Y=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(y)||0)[1])?(Se+=" Mobile",ce="Windows Phone "+(/\+$/.test(Y)?Y:Y+".x"),we.unshift("desktop mode")):/\bWPDesktop\b/i.test(y)?(Se="IE Mobile",ce="Windows Phone 8.x",we.unshift("desktop mode"),Xe||(Xe=(/\brv:([\d.]+)/.exec(y)||0)[1])):Se!="IE"&&Ee=="Trident"&&(Y=/\brv:([\d.]+)/.exec(y))&&(Se&&we.push("identifying as "+Se+(Xe?" "+Xe:"")),Se="IE",Xe=Y[1]),Fe){if(w(C,"global"))if(P&&(Y=P.lang.System,me=Y.getProperty("os.arch"),ce=ce||Y.getProperty("os.name")+" "+Y.getProperty("os.version")),K){try{Xe=C.require("ringo/engine").version.join("."),Se="RingoJS"}catch(Le){(Y=C.system)&&Y.global.system==C.system&&(Se="Narwhal",ce||(ce=Y[0].os||null))}Se||(Se="Rhino")}else typeof C.process=="object"&&!C.process.browser&&(Y=C.process)&&(typeof Y.versions=="object"&&(typeof Y.versions.electron=="string"?(we.push("Node "+Y.versions.node),Se="Electron",Xe=Y.versions.electron):typeof Y.versions.nw=="string"&&(we.push("Chromium "+Xe,"Node "+Y.versions.node),Se="NW.js",Xe=Y.versions.nw)),Se||(Se="Node.js",me=Y.arch,ce=Y.platform,Xe=/[\d.]+/.exec(Y.version),Xe=Xe?Xe[0]:null));else b(Y=C.runtime)==W?(Se="Adobe AIR",ce=Y.flash.system.Capabilities.os):b(Y=C.phantom)==j?(Se="PhantomJS",Xe=(Y=Y.version||null)&&Y.major+"."+Y.minor+"."+Y.patch):typeof X.documentMode=="number"&&(Y=/\bTrident\/(\d+)/i.exec(y))?(Xe=[Xe,X.documentMode],(Y=+Y[1]+4)!=Xe[1]&&(we.push("IE "+Xe[1]+" mode"),Ee&&(Ee[1]=""),Xe[1]=Y),Xe=Se=="IE"?String(Xe[1].toFixed(1)):Xe[0]):typeof X.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Se)&&(we.push("masking as "+Se+" "+Xe),Se="IE",Xe="11.0",Ee=["Trident"],ce="Windows");ce=ce&&d(ce)}if(Xe&&(Y=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Xe)||/(?:alpha|beta)(?: ?\d)?/i.exec(y+";"+(Fe&&N.appMinorVersion))||/\bMinefield\b/i.test(y)&&"a")&&(pe=/b/i.test(Y)?"beta":"alpha",Xe=Xe.replace(RegExp(Y+"\\+?$"),"")+(pe=="beta"?z:V)+(/\d+\+?/.exec(Y)||"")),Se=="Fennec"||Se=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(ce))Se="Firefox Mobile";else if(Se=="Maxthon"&&Xe)Xe=Xe.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(at))at=="Xbox 360"&&(ce=null),at=="Xbox 360"&&/\bIEMobile\b/.test(y)&&we.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Se)||Se&&!at&&!/Browser|Mobi/.test(Se))&&(ce=="Windows CE"||/Mobi/i.test(y)))Se+=" Mobile";else if(Se=="IE"&&Fe)try{C.external===null&&we.unshift("platform preview")}catch(Le){we.unshift("embedded")}else(/\bBlackBerry\b/.test(at)||/\bBB10\b/.test(y))&&(Y=(RegExp(at.replace(/ +/g," *")+"/([.\\d]+)","i").exec(y)||0)[1]||Xe)?(Y=[Y,/BB10/.test(y)],ce=(Y[1]?(at=null,_e="BlackBerry"):"Device Software")+" "+Y[0],Xe=null):this!=p&&at!="Wii"&&(Fe&&G||/Opera/.test(Se)&&/\b(?:MSIE|Firefox)\b/i.test(y)||Se=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ce)||Se=="IE"&&(ce&&!/^Win/.test(ce)&&Xe>5.5||/\bWindows XP\b/.test(ce)&&Xe>8||Xe==8&&!/\bTrident\b/.test(y)))&&!i.test(Y=T.call(p,y.replace(i,"")+";"))&&Y.name&&(Y="ing as "+Y.name+((Y=Y.version)?" "+Y:""),i.test(Se)?(/\bIE\b/.test(Y)&&ce=="Mac OS"&&(ce=null),Y="identify"+Y):(Y="mask"+Y,le?Se=d(le.replace(/([a-z])([A-Z])/g,"$1 $2")):Se="Opera",/\bIE\b/.test(Y)&&(ce=null),Fe||(Xe=null)),Ee=["Presto"],we.push(Y));(Y=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(y)||0)[1])&&(Y=[parseFloat(Y.replace(/\.(\d)$/,".0$1")),Y],Se=="Safari"&&Y[1].slice(-1)=="+"?(Se="WebKit Nightly",pe="alpha",Xe=Y[1].slice(0,-1)):(Xe==Y[1]||Xe==(Y[2]=(/\bSafari\/([\d.]+\+?)/i.exec(y)||0)[1]))&&(Xe=null),Y[1]=(/\bChrome\/([\d.]+)/i.exec(y)||0)[1],Y[0]==537.36&&Y[2]==537.36&&parseFloat(Y[1])>=28&&Ee=="WebKit"&&(Ee=["Blink"]),!Fe||!B&&!Y[1]?(Ee&&(Ee[1]="like Safari"),Y=(Y=Y[0],Y<400?1:Y<500?2:Y<526?3:Y<533?4:Y<534?"4+":Y<535?5:Y<537?6:Y<538?7:Y<601?8:"8")):(Ee&&(Ee[1]="like Chrome"),Y=Y[1]||(Y=Y[0],Y<530?1:Y<532?2:Y<532.05?3:Y<533?4:Y<534.03?5:Y<534.07?6:Y<534.1?7:Y<534.13?8:Y<534.16?9:Y<534.24?10:Y<534.3?11:Y<535.01?12:Y<535.02?"13+":Y<535.07?15:Y<535.11?16:Y<535.19?17:Y<536.05?18:Y<536.1?19:Y<537.01?20:Y<537.11?"21+":Y<537.13?23:Y<537.18?24:Y<537.24?25:Y<537.36?26:Ee!="Blink"?"27":"28")),Ee&&(Ee[1]+=" "+(Y+=typeof Y=="number"?".x":/[.+]/.test(Y)?"":"+")),Se=="Safari"&&(!Xe||parseInt(Xe)>45)&&(Xe=Y)),Se=="Opera"&&(Y=/\bzbov|zvav$/.exec(ce))?(Se+=" ",we.unshift("desktop mode"),Y=="zvav"?(Se+="Mini",Xe=null):Se+="Mobile",ce=ce.replace(RegExp(" *"+Y+"$"),"")):Se=="Safari"&&/\bChrome\b/.exec(Ee&&Ee[1])&&(we.unshift("desktop mode"),Se="Chrome Mobile",Xe=null,/\bOS X\b/.test(ce)?(_e="Apple",ce="iOS 4.3+"):ce=null),Xe&&Xe.indexOf(Y=/[\d.]+$/.exec(ce))==0&&y.indexOf("/"+Y+"-")>-1&&(ce=x(ce.replace(Y,""))),Ee&&!/\b(?:Avant|Nook)\b/.test(Se)&&(/Browser|Lunascape|Maxthon/.test(Se)||Se!="Safari"&&/^iOS/.test(ce)&&/\bSafari\b/.test(Ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Se)&&Ee[1])&&((Y=Ee[Ee.length-1])&&we.push(Y)),we.length&&(we=["("+we.join("; ")+")"]),_e&&at&&at.indexOf(_e)<0&&we.push("on "+_e),at&&we.push((/^on /.test(we[we.length-1])?"":"on ")+at),ce&&(Y=/ ([\d.+]+)$/.exec(ce),dt=Y&&ce.charAt(ce.length-Y[0].length-1)=="/",ce={architecture:32,family:Y&&!dt?ce.replace(Y[0],""):ce,version:Y?Y[1]:null,toString:function(){var Ze=this.version;return this.family+(Ze&&!dt?" "+Ze:"")+(this.architecture==64?" 64-bit":"")}}),(Y=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(me))&&!/\bi686\b/i.test(me)?(ce&&(ce.architecture=64,ce.family=ce.family.replace(RegExp(" *"+Y),"")),Se&&(/\bWOW64\b/i.test(y)||Fe&&/\w(?:86|32)$/.test(N.cpuClass||N.platform)&&!/\bWin64; x64\b/i.test(y))&&we.unshift("32-bit")):ce&&/^OS X/.test(ce.family)&&Se=="Chrome"&&parseFloat(Xe)>=39&&(ce.architecture=64),y||(y=null);var ge={};return ge.description=y,ge.layout=Ee&&Ee[0],ge.manufacturer=_e,ge.name=Se,ge.prerelease=pe,ge.product=at,ge.ua=y,ge.version=Se&&Xe,ge.os=ce||{architecture:null,family:null,version:null,toString:function(){return"null"}},ge.parse=T,ge.toString=ae,ge.version&&we.unshift(Xe),ge.name&&we.unshift(Se),ce&&Se&&!(ce==String(ce).split(" ")[0]&&(ce==Se.split(" ")[0]||at))&&we.push(at?"("+ce+")":"on "+ce),we.length&&(ge.description=we.join(" ")),ge}var L=T();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(A.platform=L,define(function(){return L})):v&&h?p(L,function(y,C){v[C]=y}):A.platform=L}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(D,_,e){(function(g){"use strict";typeof g=="undefined"||!g.version||g.version.indexOf("v0.")===0||g.version.indexOf("v1.")===0&&g.version.indexOf("v1.8.")!==0?_.exports={nextTick:f}:_.exports=g;function f(A,m,v,h){if(typeof A!="function")throw new TypeError('"callback" argument must be a function');var c=arguments.length,o,i;switch(c){case 0:case 1:return g.nextTick(A);case 2:return g.nextTick(function(){A.call(null,m)});case 3:return g.nextTick(function(){A.call(null,m,v)});case 4:return g.nextTick(function(){A.call(null,m,v,h)});default:for(o=new Array(c-1),i=0;i<o.length;)o[i++]=arguments[i];return g.nextTick(function(){A.apply(null,o)})}}}).call(this,D("_process"))},{_process:208}],208:[function(D,_,e){var g=_.exports={},f,A;function m(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?f=setTimeout:f=m}catch(s){f=m}try{typeof clearTimeout=="function"?A=clearTimeout:A=v}catch(s){A=v}})();function h(s){if(f===setTimeout)return setTimeout(s,0);if((f===m||!f)&&setTimeout)return f=setTimeout,setTimeout(s,0);try{return f(s,0)}catch(d){try{return f.call(null,s,0)}catch(p){return f.call(this,s,0)}}}function c(s){if(A===clearTimeout)return clearTimeout(s);if((A===v||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(s);try{return A(s)}catch(d){try{return A.call(null,s)}catch(p){return A.call(this,s)}}}var o=[],i=!1,n,a=-1;function u(){if(!i||!n)return;i=!1,n.length?o=n.concat(o):a=-1,o.length&&r()}function r(){if(i)return;var s=h(u);i=!0;for(var d=o.length;d;){for(n=o,o=[];++a<d;)n&&n[a].run();a=-1,d=o.length}n=null,i=!1,c(s)}g.nextTick=function(s){var d=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)d[p-1]=arguments[p];o.push(new l(s,d)),o.length===1&&!i&&h(r)};function l(s,d){this.fun=s,this.array=d}l.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={};function t(){}g.on=t,g.addListener=t,g.once=t,g.off=t,g.removeListener=t,g.removeAllListeners=t,g.emit=t,g.prependListener=t,g.prependOnceListener=t,g.listeners=function(s){return[]},g.binding=function(s){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(s){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},{}],209:[function(D,_,e){(function(g){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var A=typeof e=="object"&&e&&!e.nodeType&&e,m=typeof _=="object"&&_&&!_.nodeType&&_,v=typeof g=="object"&&g;(v.global===v||v.window===v||v.self===v)&&(f=v);var h,c=2147483647,o=36,i=1,n=26,a=38,u=700,r=72,l=128,t="-",s=/^xn--/,d=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=o-i,E=Math.floor,S=String.fromCharCode,x;function T(U){throw new RangeError(b[U])}function L(U,j){for(var P=U.length,K=[];P--;)K[P]=j(U[P]);return K}function y(U,j){var P=U.split("@"),K="";P.length>1&&(K=P[0]+"@",U=P[1]),U=U.replace(p,".");var V=U.split("."),z=L(V,j).join(".");return K+z}function C(U){for(var j=[],P=0,K=U.length,V,z;P<K;)V=U.charCodeAt(P++),V>=55296&&V<=56319&&P<K?(z=U.charCodeAt(P++),(z&64512)==56320?j.push(((V&1023)<<10)+(z&1023)+65536):(j.push(V),P--)):j.push(V);return j}function O(U){return L(U,function(j){var P="";return j>65535&&(j-=65536,P+=S(j>>>10&1023|55296),j=56320|j&1023),P+=S(j),P}).join("")}function N(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:o}function k(U,j){return U+22+75*(U<26)-((j!=0)<<5)}function F(U,j,P){var K=0;for(U=P?E(U/u):U>>1,U+=E(U/j);U>w*n>>1;K+=o)U=E(U/w);return E(K+(w+1)*U/(U+a))}function B(U){var j=[],P=U.length,K,V=0,z=l,X=r,G,le,Y,me,we,pe,Fe,Xe,dt;for(G=U.lastIndexOf(t),G<0&&(G=0),le=0;le<G;++le)U.charCodeAt(le)>=128&&T("not-basic"),j.push(U.charCodeAt(le));for(Y=G>0?G+1:0;Y<P;){for(me=V,we=1,pe=o;!(Y>=P&&T("invalid-input"),Fe=N(U.charCodeAt(Y++)),(Fe>=o||Fe>E((c-V)/we))&&T("overflow"),V+=Fe*we,Xe=pe<=X?i:pe>=X+n?n:pe-X,Fe<Xe);pe+=o)dt=o-Xe,we>E(c/dt)&&T("overflow"),we*=dt;K=j.length+1,X=F(V-me,K,me==0),E(V/K)>c-z&&T("overflow"),z+=E(V/K),V%=K,j.splice(V++,0,z)}return O(j)}function H(U){var j,P,K,V,z,X,G,le,Y,me,we,pe=[],Fe,Xe,dt,Ee;for(U=C(U),Fe=U.length,j=l,P=0,z=r,X=0;X<Fe;++X)we=U[X],we<128&&pe.push(S(we));for(K=V=pe.length,V&&pe.push(t);K<Fe;){for(G=c,X=0;X<Fe;++X)we=U[X],we>=j&&we<G&&(G=we);for(Xe=K+1,G-j>E((c-P)/Xe)&&T("overflow"),P+=(G-j)*Xe,j=G,X=0;X<Fe;++X)if(we=U[X],we<j&&++P>c&&T("overflow"),we==j){for(le=P,Y=o;!(me=Y<=z?i:Y>=z+n?n:Y-z,le<me);Y+=o)Ee=le-me,dt=o-me,pe.push(S(k(me+Ee%dt,0))),le=E(Ee/dt);pe.push(S(k(le,0))),z=F(P,Xe,K==V),P=0,++K}++P,++j}return pe.join("")}function W(U){return y(U,function(j){return s.test(j)?B(j.slice(4).toLowerCase()):j})}function R(U){return y(U,function(j){return d.test(j)?"xn--"+H(j):j})}if(h={version:"1.4.1",ucs2:{decode:C,encode:O},decode:B,encode:H,toASCII:R,toUnicode:W},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return h});else if(A&&m)if(_.exports==A)m.exports=h;else for(x in h)h.hasOwnProperty(x)&&(A[x]=h[x]);else f.punycode=h})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(D,_,e){"use strict";function g(A,m){return Object.prototype.hasOwnProperty.call(A,m)}_.exports=function(A,m,v,h){m=m||"&",v=v||"=";var c={};if(typeof A!="string"||A.length===0)return c;var o=/\+/g;A=A.split(m);var i=1e3;h&&typeof h.maxKeys=="number"&&(i=h.maxKeys);var n=A.length;i>0&&n>i&&(n=i);for(var a=0;a<n;++a){var u=A[a].replace(o,"%20"),r=u.indexOf(v),l,t,s,d;r>=0?(l=u.substr(0,r),t=u.substr(r+1)):(l=u,t=""),s=decodeURIComponent(l),d=decodeURIComponent(t),g(c,s)?f(c[s])?c[s].push(d):c[s]=[c[s],d]:c[s]=d}return c};var f=Array.isArray||function(A){return Object.prototype.toString.call(A)==="[object Array]"}},{}],211:[function(D,_,e){"use strict";var g=function(h){switch(typeof h){case"string":return h;case"boolean":return h?"true":"false";case"number":return isFinite(h)?h:"";default:return""}};_.exports=function(v,h,c,o){return h=h||"&",c=c||"=",v===null&&(v=void 0),typeof v=="object"?A(m(v),function(i){var n=encodeURIComponent(g(i))+c;return f(v[i])?A(v[i],function(a){return n+encodeURIComponent(g(a))}).join(h):n+encodeURIComponent(g(v[i]))}).join(h):o?encodeURIComponent(g(o))+c+encodeURIComponent(g(v)):""};var f=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function A(v,h){if(v.map)return v.map(h);for(var c=[],o=0;o<v.length;o++)c.push(h(v[o],o));return c}var m=Object.keys||function(v){var h=[];for(var c in v)Object.prototype.hasOwnProperty.call(v,c)&&h.push(c);return h}},{}],212:[function(D,_,e){"use strict";e.decode=e.parse=D("./decode"),e.encode=e.stringify=D("./encode")},{"./decode":210,"./encode":211}],213:[function(D,_,e){_.exports=D("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=v(g),A=D("babel-runtime/core-js/object/keys"),m=v(A);function v(d){return d&&d.__esModule?d:{default:d}}var h=D("process-nextick-args"),c=m.default||function(d){var p=[];for(var b in d)p.push(b);return p};_.exports=l;var o=(0,f.default)(D("core-util-is"));o.inherits=D("inherits");var i=D("./_stream_readable"),n=D("./_stream_writable");o.inherits(l,i);for(var a=c(n.prototype),u=0;u<a.length;u++){var r=a[u];l.prototype[r]||(l.prototype[r]=n.prototype[r])}function l(d){if(!(this instanceof l))return new l(d);i.call(this,d),n.call(this,d),d&&d.readable===!1&&(this.readable=!1),d&&d.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,d&&d.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){if(this.allowHalfOpen||this._writableState.ended)return;h.nextTick(s,this)}function s(d){d.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(p){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=p,this._writableState.destroyed=p}}),l.prototype._destroy=function(d,p){this.push(null),this.end(),h.nextTick(p,d)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}_.exports=h;var m=D("./_stream_transform"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(h,m);function h(c){if(!(this instanceof h))return new h(c);m.call(this,c)}h.prototype._transform=function(c,o,i){i(null,c)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(D,_,e){(function(g,f){"use strict";var A=D("babel-runtime/core-js/object/get-prototype-of"),m=c(A),v=D("babel-runtime/core-js/object/create"),h=c(v);function c(Ee){return Ee&&Ee.__esModule?Ee:{default:Ee}}var o=D("process-nextick-args");_.exports=C;var i=D("isarray"),n;C.ReadableState=y;var a=D("events").EventEmitter,u=function(Se,at){return Se.listeners(at).length},r=D("./internal/streams/stream"),l=D("safe-buffer").Buffer,t=f.Uint8Array||function(){};function s(Ee){return l.from(Ee)}function d(Ee){return l.isBuffer(Ee)||Ee instanceof t}var p=(0,h.default)(D("core-util-is"));p.inherits=D("inherits");var b=D("util"),w=void 0;b&&b.debuglog?w=b.debuglog("stream"):w=function(){};var E=D("./internal/streams/BufferList"),S=D("./internal/streams/destroy"),x;p.inherits(C,r);var T=["error","close","destroy","pause","resume"];function L(Ee,Se,at){if(typeof Ee.prependListener=="function")return Ee.prependListener(Se,at);!Ee._events||!Ee._events[Se]?Ee.on(Se,at):i(Ee._events[Se])?Ee._events[Se].unshift(at):Ee._events[Se]=[at,Ee._events[Se]]}function y(Ee,Se){n=n||D("./_stream_duplex"),Ee=Ee||{};var at=Se instanceof n;this.objectMode=!!Ee.objectMode,at&&(this.objectMode=this.objectMode||!!Ee.readableObjectMode);var _e=Ee.highWaterMark,ce=Ee.readableHighWaterMark,ee=this.objectMode?16:16*1024;_e||_e===0?this.highWaterMark=_e:at&&(ce||ce===0)?this.highWaterMark=ce:this.highWaterMark=ee,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new E,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ee.encoding&&(x||(x=D("string_decoder/").StringDecoder),this.decoder=new x(Ee.encoding),this.encoding=Ee.encoding)}function C(Ee){if(n=n||D("./_stream_duplex"),!(this instanceof C))return new C(Ee);this._readableState=new y(Ee,this),this.readable=!0,Ee&&(typeof Ee.read=="function"&&(this._read=Ee.read),typeof Ee.destroy=="function"&&(this._destroy=Ee.destroy)),r.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Se){if(!this._readableState)return;this._readableState.destroyed=Se}}),C.prototype.destroy=S.destroy,C.prototype._undestroy=S.undestroy,C.prototype._destroy=function(Ee,Se){this.push(null),Se(Ee)},C.prototype.push=function(Ee,Se){var at=this._readableState,_e;return at.objectMode?_e=!0:typeof Ee=="string"&&(Se=Se||at.defaultEncoding,Se!==at.encoding&&(Ee=l.from(Ee,Se),Se=""),_e=!0),O(this,Ee,Se,!1,_e)},C.prototype.unshift=function(Ee){return O(this,Ee,null,!0,!1)};function O(Ee,Se,at,_e,ce){var ee=Ee._readableState;if(Se===null)ee.reading=!1,R(Ee,ee);else{var se;ce||(se=k(ee,Se)),se?Ee.emit("error",se):ee.objectMode||Se&&Se.length>0?(typeof Se!="string"&&!ee.objectMode&&(0,m.default)(Se)!==l.prototype&&(Se=s(Se)),_e?ee.endEmitted?Ee.emit("error",new Error("stream.unshift() after end event")):N(Ee,ee,Se,!0):ee.ended?Ee.emit("error",new Error("stream.push() after EOF")):(ee.reading=!1,ee.decoder&&!at?(Se=ee.decoder.write(Se),ee.objectMode||Se.length!==0?N(Ee,ee,Se,!1):P(Ee,ee)):N(Ee,ee,Se,!1))):_e||(ee.reading=!1)}return F(ee)}function N(Ee,Se,at,_e){Se.flowing&&Se.length===0&&!Se.sync?(Ee.emit("data",at),Ee.read(0)):(Se.length+=Se.objectMode?1:at.length,_e?Se.buffer.unshift(at):Se.buffer.push(at),Se.needReadable&&U(Ee)),P(Ee,Se)}function k(Ee,Se){var at;return!d(Se)&&typeof Se!="string"&&Se!==void 0&&!Ee.objectMode&&(at=new TypeError("Invalid non-string/buffer chunk")),at}function F(Ee){return!Ee.ended&&(Ee.needReadable||Ee.length<Ee.highWaterMark||Ee.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(Ee){return x||(x=D("string_decoder/").StringDecoder),this._readableState.decoder=new x(Ee),this._readableState.encoding=Ee,this};var B=8388608;function H(Ee){return Ee>=B?Ee=B:(Ee--,Ee|=Ee>>>1,Ee|=Ee>>>2,Ee|=Ee>>>4,Ee|=Ee>>>8,Ee|=Ee>>>16,Ee++),Ee}function W(Ee,Se){return Ee<=0||Se.length===0&&Se.ended?0:Se.objectMode?1:Ee!==Ee?Se.flowing&&Se.length?Se.buffer.head.data.length:Se.length:(Ee>Se.highWaterMark&&(Se.highWaterMark=H(Ee)),Ee<=Se.length?Ee:Se.ended?Se.length:(Se.needReadable=!0,0))}C.prototype.read=function(Ee){w("read",Ee),Ee=parseInt(Ee,10);var Se=this._readableState,at=Ee;if(Ee!==0&&(Se.emittedReadable=!1),Ee===0&&Se.needReadable&&(Se.length>=Se.highWaterMark||Se.ended))return w("read: emitReadable",Se.length,Se.ended),Se.length===0&&Se.ended?Fe(this):U(this),null;if(Ee=W(Ee,Se),Ee===0&&Se.ended)return Se.length===0&&Fe(this),null;var _e=Se.needReadable;w("need readable",_e),(Se.length===0||Se.length-Ee<Se.highWaterMark)&&(_e=!0,w("length less than watermark",_e)),Se.ended||Se.reading?(_e=!1,w("reading or ended",_e)):_e&&(w("do read"),Se.reading=!0,Se.sync=!0,Se.length===0&&(Se.needReadable=!0),this._read(Se.highWaterMark),Se.sync=!1,Se.reading||(Ee=W(at,Se)));var ce;return Ee>0?ce=Y(Ee,Se):ce=null,ce===null?(Se.needReadable=!0,Ee=0):Se.length-=Ee,Se.length===0&&(Se.ended||(Se.needReadable=!0),at!==Ee&&Se.ended&&Fe(this)),ce!==null&&this.emit("data",ce),ce};function R(Ee,Se){if(Se.ended)return;if(Se.decoder){var at=Se.decoder.end();at&&at.length&&(Se.buffer.push(at),Se.length+=Se.objectMode?1:at.length)}Se.ended=!0,U(Ee)}function U(Ee){var Se=Ee._readableState;Se.needReadable=!1,Se.emittedReadable||(w("emitReadable",Se.flowing),Se.emittedReadable=!0,Se.sync?o.nextTick(j,Ee):j(Ee))}function j(Ee){w("emit readable"),Ee.emit("readable"),le(Ee)}function P(Ee,Se){Se.readingMore||(Se.readingMore=!0,o.nextTick(K,Ee,Se))}function K(Ee,Se){for(var at=Se.length;!Se.reading&&!Se.flowing&&!Se.ended&&Se.length<Se.highWaterMark&&!(w("maybeReadMore read 0"),Ee.read(0),at===Se.length);)at=Se.length;Se.readingMore=!1}C.prototype._read=function(Ee){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(Ee,Se){var at=this,_e=this._readableState;switch(_e.pipesCount){case 0:_e.pipes=Ee;break;case 1:_e.pipes=[_e.pipes,Ee];break;default:_e.pipes.push(Ee);break}_e.pipesCount+=1,w("pipe count=%d opts=%j",_e.pipesCount,Se);var ce=(!Se||Se.end!==!1)&&Ee!==g.stdout&&Ee!==g.stderr,ee=ce?ke:Ct;_e.endEmitted?o.nextTick(ee):at.once("end",ee),Ee.on("unpipe",se);function se(Be,Rt){w("onunpipe"),Be===at&&(Rt&&Rt.hasUnpiped===!1&&(Rt.hasUnpiped=!0,Oe()))}function ke(){w("onend"),Ee.end()}var Ce=V(at);Ee.on("drain",Ce);var ze=!1;function Oe(){w("cleanup"),Ee.removeListener("close",Ze),Ee.removeListener("finish",vt),Ee.removeListener("drain",Ce),Ee.removeListener("error",Le),Ee.removeListener("unpipe",se),at.removeListener("end",ke),at.removeListener("end",Ct),at.removeListener("data",ge),ze=!0,_e.awaitDrain&&(!Ee._writableState||Ee._writableState.needDrain)&&Ce()}var ae=!1;at.on("data",ge);function ge(Be){w("ondata"),ae=!1;var Rt=Ee.write(Be);Rt===!1&&!ae&&((_e.pipesCount===1&&_e.pipes===Ee||_e.pipesCount>1&&dt(_e.pipes,Ee)!==-1)&&!ze&&(w("false write response, pause",at._readableState.awaitDrain),at._readableState.awaitDrain++,ae=!0),at.pause())}function Le(Be){w("onerror",Be),Ct(),Ee.removeListener("error",Le),u(Ee,"error")===0&&Ee.emit("error",Be)}L(Ee,"error",Le);function Ze(){Ee.removeListener("finish",vt),Ct()}Ee.once("close",Ze);function vt(){w("onfinish"),Ee.removeListener("close",Ze),Ct()}Ee.once("finish",vt);function Ct(){w("unpipe"),at.unpipe(Ee)}return Ee.emit("pipe",at),_e.flowing||(w("pipe resume"),at.resume()),Ee};function V(Ee){return function(){var Se=Ee._readableState;w("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,Se.awaitDrain===0&&u(Ee,"data")&&(Se.flowing=!0,le(Ee))}}C.prototype.unpipe=function(Ee){var Se=this._readableState,at={hasUnpiped:!1};if(Se.pipesCount===0)return this;if(Se.pipesCount===1)return Ee&&Ee!==Se.pipes?this:(Ee||(Ee=Se.pipes),Se.pipes=null,Se.pipesCount=0,Se.flowing=!1,Ee&&Ee.emit("unpipe",this,at),this);if(!Ee){var _e=Se.pipes,ce=Se.pipesCount;Se.pipes=null,Se.pipesCount=0,Se.flowing=!1;for(var ee=0;ee<ce;ee++)_e[ee].emit("unpipe",this,at);return this}var se=dt(Se.pipes,Ee);return se===-1?this:(Se.pipes.splice(se,1),Se.pipesCount-=1,Se.pipesCount===1&&(Se.pipes=Se.pipes[0]),Ee.emit("unpipe",this,at),this)},C.prototype.on=function(Ee,Se){var at=r.prototype.on.call(this,Ee,Se);if(Ee==="data")this._readableState.flowing!==!1&&this.resume();else if(Ee==="readable"){var _e=this._readableState;!_e.endEmitted&&!_e.readableListening&&(_e.readableListening=_e.needReadable=!0,_e.emittedReadable=!1,_e.reading?_e.length&&U(this):o.nextTick(z,this))}return at},C.prototype.addListener=C.prototype.on;function z(Ee){w("readable nexttick read 0"),Ee.read(0)}C.prototype.resume=function(){var Ee=this._readableState;return Ee.flowing||(w("resume"),Ee.flowing=!0,X(this,Ee)),this};function X(Ee,Se){Se.resumeScheduled||(Se.resumeScheduled=!0,o.nextTick(G,Ee,Se))}function G(Ee,Se){Se.reading||(w("resume read 0"),Ee.read(0)),Se.resumeScheduled=!1,Se.awaitDrain=0,Ee.emit("resume"),le(Ee),Se.flowing&&!Se.reading&&Ee.read(0)}C.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function le(Ee){var Se=Ee._readableState;for(w("flow",Se.flowing);Se.flowing&&Ee.read()!==null;);}C.prototype.wrap=function(Ee){var Se=this,at=this._readableState,_e=!1;Ee.on("end",function(){if(w("wrapped end"),at.decoder&&!at.ended){var se=at.decoder.end();se&&se.length&&Se.push(se)}Se.push(null)}),Ee.on("data",function(se){if(w("wrapped data"),at.decoder&&(se=at.decoder.write(se)),at.objectMode&&se==null)return;if(!at.objectMode&&(!se||!se.length))return;var ke=Se.push(se);ke||(_e=!0,Ee.pause())});for(var ce in Ee)this[ce]===void 0&&typeof Ee[ce]=="function"&&(this[ce]=function(se){return function(){return Ee[se].apply(Ee,arguments)}}(ce));for(var ee=0;ee<T.length;ee++)Ee.on(T[ee],this.emit.bind(this,T[ee]));return this._read=function(se){w("wrapped _read",se),_e&&(_e=!1,Ee.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=Y;function Y(Ee,Se){if(Se.length===0)return null;var at;return Se.objectMode?at=Se.buffer.shift():!Ee||Ee>=Se.length?(Se.decoder?at=Se.buffer.join(""):Se.buffer.length===1?at=Se.buffer.head.data:at=Se.buffer.concat(Se.length),Se.buffer.clear()):at=me(Ee,Se.buffer,Se.decoder),at}function me(Ee,Se,at){var _e;return Ee<Se.head.data.length?(_e=Se.head.data.slice(0,Ee),Se.head.data=Se.head.data.slice(Ee)):Ee===Se.head.data.length?_e=Se.shift():_e=at?we(Ee,Se):pe(Ee,Se),_e}function we(Ee,Se){var at=Se.head,_e=1,ce=at.data;for(Ee-=ce.length;at=at.next;){var ee=at.data,se=Ee>ee.length?ee.length:Ee;if(se===ee.length?ce+=ee:ce+=ee.slice(0,Ee),Ee-=se,Ee===0){se===ee.length?(++_e,at.next?Se.head=at.next:Se.head=Se.tail=null):(Se.head=at,at.data=ee.slice(se));break}++_e}return Se.length-=_e,ce}function pe(Ee,Se){var at=l.allocUnsafe(Ee),_e=Se.head,ce=1;for(_e.data.copy(at),Ee-=_e.data.length;_e=_e.next;){var ee=_e.data,se=Ee>ee.length?ee.length:Ee;if(ee.copy(at,at.length-Ee,0,se),Ee-=se,Ee===0){se===ee.length?(++ce,_e.next?Se.head=_e.next:Se.head=Se.tail=null):(Se.head=_e,_e.data=ee.slice(se));break}++ce}return Se.length-=ce,at}function Fe(Ee){var Se=Ee._readableState;if(Se.length>0)throw new Error('"endReadable()" called on non-empty stream');Se.endEmitted||(Se.ended=!0,o.nextTick(Xe,Se,Ee))}function Xe(Ee,Se){!Ee.endEmitted&&Ee.length===0&&(Ee.endEmitted=!0,Se.readable=!1,Se.emit("end"))}function dt(Ee,Se){for(var at=0,_e=Ee.length;at<_e;at++)if(Ee[at]===Se)return at;return-1}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/BufferList":219,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/get-prototype-of":59,"core-util-is":189,events:192,inherits:196,isarray:198,"process-nextick-args":207,"safe-buffer":228,"string_decoder/":235,util:71}],217:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(n){return n&&n.__esModule?n:{default:n}}_.exports=c;var m=D("./_stream_duplex"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(c,m);function h(n,a){var u=this._transformState;u.transforming=!1;var r=u.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));u.writechunk=null,u.writecb=null,a!=null&&this.push(a),r(n);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function c(n){if(!(this instanceof c))return new c(n);m.call(this,n),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,n&&(typeof n.transform=="function"&&(this._transform=n.transform),typeof n.flush=="function"&&(this._flush=n.flush)),this.on("prefinish",o)}function o(){var n=this;typeof this._flush=="function"?this._flush(function(a,u){i(n,a,u)}):i(this,null,null)}c.prototype.push=function(n,a){return this._transformState.needTransform=!1,m.prototype.push.call(this,n,a)},c.prototype._transform=function(n,a,u){throw new Error("_transform() is not implemented")},c.prototype._write=function(n,a,u){var r=this._transformState;if(r.writecb=u,r.writechunk=n,r.writeencoding=a,!r.transforming){var l=this._readableState;(r.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},c.prototype._read=function(n){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},c.prototype._destroy=function(n,a){var u=this;m.prototype._destroy.call(this,n,function(r){a(r),u.emit("close")})};function i(n,a,u){if(a)return n.emit("error",a);if(u!=null&&n.push(u),n._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(n._transformState.transforming)throw new Error("Calling transform done when still transforming");return n.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(D,_,e){(function(g,f){"use strict";var A=D("babel-runtime/core-js/object/define-property"),m=r(A),v=D("babel-runtime/core-js/symbol/has-instance"),h=r(v),c=D("babel-runtime/core-js/symbol"),o=r(c),i=D("babel-runtime/core-js/object/create"),n=r(i),a=D("babel-runtime/core-js/set-immediate"),u=r(a);function r(pe){return pe&&pe.__esModule?pe:{default:pe}}var l=D("process-nextick-args");_.exports=k;function t(pe,Fe,Xe){this.chunk=pe,this.encoding=Fe,this.callback=Xe,this.next=null}function s(pe){var Fe=this;this.next=null,this.entry=null,this.finish=function(){we(Fe,pe)}}var d=!g.browser&&["v0.10","v0.9."].indexOf(g.version.slice(0,5))>-1?u.default:l.nextTick,p;k.WritableState=O;var b=(0,n.default)(D("core-util-is"));b.inherits=D("inherits");var w={deprecate:D("util-deprecate")},E=D("./internal/streams/stream"),S=D("safe-buffer").Buffer,x=f.Uint8Array||function(){};function T(pe){return S.from(pe)}function L(pe){return S.isBuffer(pe)||pe instanceof x}var y=D("./internal/streams/destroy");b.inherits(k,E);function C(){}function O(pe,Fe){p=p||D("./_stream_duplex"),pe=pe||{};var Xe=Fe instanceof p;this.objectMode=!!pe.objectMode,Xe&&(this.objectMode=this.objectMode||!!pe.writableObjectMode);var dt=pe.highWaterMark,Ee=pe.writableHighWaterMark,Se=this.objectMode?16:16*1024;dt||dt===0?this.highWaterMark=dt:Xe&&(Ee||Ee===0)?this.highWaterMark=Ee:this.highWaterMark=Se,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var at=pe.decodeStrings===!1;this.decodeStrings=!at,this.defaultEncoding=pe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_e){P(Fe,_e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}O.prototype.getBuffer=function(){for(var Fe=this.bufferedRequest,Xe=[];Fe;)Xe.push(Fe),Fe=Fe.next;return Xe},function(){try{Object.defineProperty(O.prototype,"buffer",{get:w.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(pe){}}();var N;typeof o.default=="function"&&h.default&&typeof Function.prototype[h.default]=="function"?(N=Function.prototype[h.default],(0,m.default)(k,h.default,{value:function(Fe){return N.call(this,Fe)?!0:this!==k?!1:Fe&&Fe._writableState instanceof O}})):N=function(Fe){return Fe instanceof this};function k(pe){if(p=p||D("./_stream_duplex"),!N.call(k,this)&&!(this instanceof p))return new k(pe);this._writableState=new O(pe,this),this.writable=!0,pe&&(typeof pe.write=="function"&&(this._write=pe.write),typeof pe.writev=="function"&&(this._writev=pe.writev),typeof pe.destroy=="function"&&(this._destroy=pe.destroy),typeof pe.final=="function"&&(this._final=pe.final)),E.call(this)}k.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function F(pe,Fe){var Xe=new Error("write after end");pe.emit("error",Xe),l.nextTick(Fe,Xe)}function B(pe,Fe,Xe,dt){var Ee=!0,Se=!1;return Xe===null?Se=new TypeError("May not write null values to stream"):typeof Xe!="string"&&Xe!==void 0&&!Fe.objectMode&&(Se=new TypeError("Invalid non-string/buffer chunk")),Se&&(pe.emit("error",Se),l.nextTick(dt,Se),Ee=!1),Ee}k.prototype.write=function(pe,Fe,Xe){var dt=this._writableState,Ee=!1,Se=!dt.objectMode&&L(pe);return Se&&!S.isBuffer(pe)&&(pe=T(pe)),typeof Fe=="function"&&(Xe=Fe,Fe=null),Se?Fe="buffer":Fe||(Fe=dt.defaultEncoding),typeof Xe!="function"&&(Xe=C),dt.ended?F(this,Xe):(Se||B(this,dt,pe,Xe))&&(dt.pendingcb++,Ee=W(this,dt,Se,pe,Fe,Xe)),Ee},k.prototype.cork=function(){var pe=this._writableState;pe.corked++},k.prototype.uncork=function(){var pe=this._writableState;pe.corked&&(pe.corked--,!pe.writing&&!pe.corked&&!pe.finished&&!pe.bufferProcessing&&pe.bufferedRequest&&z(this,pe))},k.prototype.setDefaultEncoding=function(Fe){if(typeof Fe=="string"&&(Fe=Fe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Fe+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Fe);return this._writableState.defaultEncoding=Fe,this};function H(pe,Fe,Xe){return!pe.objectMode&&pe.decodeStrings!==!1&&typeof Fe=="string"&&(Fe=S.from(Fe,Xe)),Fe}Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function W(pe,Fe,Xe,dt,Ee,Se){if(!Xe){var at=H(Fe,dt,Ee);dt!==at&&(Xe=!0,Ee="buffer",dt=at)}var _e=Fe.objectMode?1:dt.length;Fe.length+=_e;var ce=Fe.length<Fe.highWaterMark;if(ce||(Fe.needDrain=!0),Fe.writing||Fe.corked){var ee=Fe.lastBufferedRequest;Fe.lastBufferedRequest={chunk:dt,encoding:Ee,isBuf:Xe,callback:Se,next:null},ee?ee.next=Fe.lastBufferedRequest:Fe.bufferedRequest=Fe.lastBufferedRequest,Fe.bufferedRequestCount+=1}else R(pe,Fe,!1,_e,dt,Ee,Se);return ce}function R(pe,Fe,Xe,dt,Ee,Se,at){Fe.writelen=dt,Fe.writecb=at,Fe.writing=!0,Fe.sync=!0,Xe?pe._writev(Ee,Fe.onwrite):pe._write(Ee,Se,Fe.onwrite),Fe.sync=!1}function U(pe,Fe,Xe,dt,Ee){--Fe.pendingcb,Xe?(l.nextTick(Ee,dt),l.nextTick(Y,pe,Fe),pe._writableState.errorEmitted=!0,pe.emit("error",dt)):(Ee(dt),pe._writableState.errorEmitted=!0,pe.emit("error",dt),Y(pe,Fe))}function j(pe){pe.writing=!1,pe.writecb=null,pe.length-=pe.writelen,pe.writelen=0}function P(pe,Fe){var Xe=pe._writableState,dt=Xe.sync,Ee=Xe.writecb;if(j(Xe),Fe)U(pe,Xe,dt,Fe,Ee);else{var Se=X(Xe);!Se&&!Xe.corked&&!Xe.bufferProcessing&&Xe.bufferedRequest&&z(pe,Xe),dt?d(K,pe,Xe,Se,Ee):K(pe,Xe,Se,Ee)}}function K(pe,Fe,Xe,dt){Xe||V(pe,Fe),Fe.pendingcb--,dt(),Y(pe,Fe)}function V(pe,Fe){Fe.length===0&&Fe.needDrain&&(Fe.needDrain=!1,pe.emit("drain"))}function z(pe,Fe){Fe.bufferProcessing=!0;var Xe=Fe.bufferedRequest;if(pe._writev&&Xe&&Xe.next){var dt=Fe.bufferedRequestCount,Ee=new Array(dt),Se=Fe.corkedRequestsFree;Se.entry=Xe;for(var at=0,_e=!0;Xe;)Ee[at]=Xe,Xe.isBuf||(_e=!1),Xe=Xe.next,at+=1;Ee.allBuffers=_e,R(pe,Fe,!0,Fe.length,Ee,"",Se.finish),Fe.pendingcb++,Fe.lastBufferedRequest=null,Se.next?(Fe.corkedRequestsFree=Se.next,Se.next=null):Fe.corkedRequestsFree=new s(Fe),Fe.bufferedRequestCount=0}else{for(;Xe;){var ce=Xe.chunk,ee=Xe.encoding,se=Xe.callback,ke=Fe.objectMode?1:ce.length;if(R(pe,Fe,!1,ke,ce,ee,se),Xe=Xe.next,Fe.bufferedRequestCount--,Fe.writing)break}Xe===null&&(Fe.lastBufferedRequest=null)}Fe.bufferedRequest=Xe,Fe.bufferProcessing=!1}k.prototype._write=function(pe,Fe,Xe){Xe(new Error("_write() is not implemented"))},k.prototype._writev=null,k.prototype.end=function(pe,Fe,Xe){var dt=this._writableState;typeof pe=="function"?(Xe=pe,pe=null,Fe=null):typeof Fe=="function"&&(Xe=Fe,Fe=null),pe!=null&&this.write(pe,Fe),dt.corked&&(dt.corked=1,this.uncork()),!dt.ending&&!dt.finished&&me(this,dt,Xe)};function X(pe){return pe.ending&&pe.length===0&&pe.bufferedRequest===null&&!pe.finished&&!pe.writing}function G(pe,Fe){pe._final(function(Xe){Fe.pendingcb--,Xe&&pe.emit("error",Xe),Fe.prefinished=!0,pe.emit("prefinish"),Y(pe,Fe)})}function le(pe,Fe){!Fe.prefinished&&!Fe.finalCalled&&(typeof pe._final=="function"?(Fe.pendingcb++,Fe.finalCalled=!0,l.nextTick(G,pe,Fe)):(Fe.prefinished=!0,pe.emit("prefinish")))}function Y(pe,Fe){var Xe=X(Fe);return Xe&&(le(pe,Fe),Fe.pendingcb===0&&(Fe.finished=!0,pe.emit("finish"))),Xe}function me(pe,Fe,Xe){Fe.ending=!0,Y(pe,Fe),Xe&&(Fe.finished?l.nextTick(Xe):pe.once("finish",Xe)),Fe.ended=!0,pe.writable=!1}function we(pe,Fe,Xe){var dt=pe.entry;for(pe.entry=null;dt;){var Ee=dt.callback;Fe.pendingcb--,Ee(Xe),dt=dt.next}Fe.corkedRequestsFree?Fe.corkedRequestsFree.next=pe:Fe.corkedRequestsFree=pe}Object.defineProperty(k.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Fe){if(!this._writableState)return;this._writableState.destroyed=Fe}}),k.prototype.destroy=y.destroy,k.prototype._undestroy=y.undestroy,k.prototype._destroy=function(pe,Fe){this.end(),Fe(pe)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/set-immediate":62,"babel-runtime/core-js/symbol":64,"babel-runtime/core-js/symbol/has-instance":65,"core-util-is":189,inherits:196,"process-nextick-args":207,"safe-buffer":228,"util-deprecate":240}],219:[function(D,_,e){"use strict";function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}var f=D("safe-buffer").Buffer,A=D("util");function m(v,h,c){v.copy(h,c)}_.exports=function(){function v(){g(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(c){var o={data:c,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length},v.prototype.unshift=function(c){var o={data:c,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length},v.prototype.shift=function(){if(this.length===0)return;var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(c){if(this.length===0)return"";for(var o=this.head,i=""+o.data;o=o.next;)i+=c+o.data;return i},v.prototype.concat=function(c){if(this.length===0)return f.alloc(0);if(this.length===1)return this.head.data;for(var o=f.allocUnsafe(c>>>0),i=this.head,n=0;i;)m(i.data,o,n),n+=i.data.length,i=i.next;return o},v}(),A&&A.inspect&&A.inspect.custom&&(_.exports.prototype[A.inspect.custom]=function(){var v=A.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(D,_,e){"use strict";var g=D("process-nextick-args");function f(v,h){var c=this,o=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return o||i?(h?h(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&g.nextTick(m,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(n){!h&&n?(g.nextTick(m,c,n),c._writableState&&(c._writableState.errorEmitted=!0)):h&&h(n)}),this)}function A(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function m(v,h){v.emit("error",h)}_.exports={destroy:f,undestroy:A}},{"process-nextick-args":207}],221:[function(D,_,e){"use strict";_.exports=D("events").EventEmitter},{events:192}],222:[function(D,_,e){_.exports=D("./readable").PassThrough},{"./readable":223}],223:[function(D,_,e){e=_.exports=D("./lib/_stream_readable.js"),e.Stream=e,e.Readable=e,e.Writable=D("./lib/_stream_writable.js"),e.Duplex=D("./lib/_stream_duplex.js"),e.Transform=D("./lib/_stream_transform.js"),e.PassThrough=D("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(D,_,e){_.exports=D("./readable").Transform},{"./readable":223}],225:[function(D,_,e){_.exports=D("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(D,_,e){var g=function(){return this}()||Function("return this")(),f=g.regeneratorRuntime&&Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime")>=0,A=f&&g.regeneratorRuntime;if(g.regeneratorRuntime=void 0,_.exports=D("./runtime"),f)g.regeneratorRuntime=A;else try{delete g.regeneratorRuntime}catch(m){g.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(D,_,e){!function(g){"use strict";var f=Object.prototype,A=f.hasOwnProperty,m,v=typeof Symbol=="function"?Symbol:{},h=v.iterator||"@@iterator",c=v.asyncIterator||"@@asyncIterator",o=v.toStringTag||"@@toStringTag",i=typeof _=="object",n=g.regeneratorRuntime;if(n){i&&(_.exports=n);return}n=g.regeneratorRuntime=i?_.exports:{};function a(W,R,U,j){var P=R&&R.prototype instanceof p?R:p,K=Object.create(P.prototype),V=new F(j||[]);return K._invoke=C(W,U,V),K}n.wrap=a;function u(W,R,U){try{return{type:"normal",arg:W.call(R,U)}}catch(j){return{type:"throw",arg:j}}}var r="suspendedStart",l="suspendedYield",t="executing",s="completed",d={};function p(){}function b(){}function w(){}var E={};E[h]=function(){return this};var S=Object.getPrototypeOf,x=S&&S(S(B([])));x&&x!==f&&A.call(x,h)&&(E=x);var T=w.prototype=p.prototype=Object.create(E);b.prototype=T.constructor=w,w.constructor=b,w[o]=b.displayName="GeneratorFunction";function L(W){["next","throw","return"].forEach(function(R){W[R]=function(U){return this._invoke(R,U)}})}n.isGeneratorFunction=function(W){var R=typeof W=="function"&&W.constructor;return R?R===b||(R.displayName||R.name)==="GeneratorFunction":!1},n.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,w):(W.__proto__=w,o in W||(W[o]="GeneratorFunction")),W.prototype=Object.create(T),W},n.awrap=function(W){return{__await:W}};function y(W){function R(P,K,V,z){var X=u(W[P],W,K);if(X.type==="throw")z(X.arg);else{var G=X.arg,le=G.value;return le&&typeof le=="object"&&A.call(le,"__await")?Promise.resolve(le.__await).then(function(Y){R("next",Y,V,z)},function(Y){R("throw",Y,V,z)}):Promise.resolve(le).then(function(Y){G.value=Y,V(G)},z)}}var U;function j(P,K){function V(){return new Promise(function(z,X){R(P,K,z,X)})}return U=U?U.then(V,V):V()}this._invoke=j}L(y.prototype),y.prototype[c]=function(){return this},n.AsyncIterator=y,n.async=function(W,R,U,j){var P=new y(a(W,R,U,j));return n.isGeneratorFunction(R)?P:P.next().then(function(K){return K.done?K.value:P.next()})};function C(W,R,U){var j=r;return function(K,V){if(j===t)throw new Error("Generator is already running");if(j===s){if(K==="throw")throw V;return H()}for(U.method=K,U.arg=V;;){var z=U.delegate;if(z){var X=O(z,U);if(X){if(X===d)continue;return X}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(j===r)throw j=s,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);j=t;var G=u(W,R,U);if(G.type==="normal"){if(j=U.done?s:l,G.arg===d)continue;return{value:G.arg,done:U.done}}else G.type==="throw"&&(j=s,U.method="throw",U.arg=G.arg)}}}function O(W,R){var U=W.iterator[R.method];if(U===m){if(R.delegate=null,R.method==="throw"){if(W.iterator.return&&(R.method="return",R.arg=m,O(W,R),R.method==="throw"))return d;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var j=u(U,W.iterator,R.arg);if(j.type==="throw")return R.method="throw",R.arg=j.arg,R.delegate=null,d;var P=j.arg;if(!P)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,d;if(P.done)R[W.resultName]=P.value,R.next=W.nextLoc,R.method!=="return"&&(R.method="next",R.arg=m);else return P;return R.delegate=null,d}L(T),T[o]="Generator",T[h]=function(){return this},T.toString=function(){return"[object Generator]"};function N(W){var R={tryLoc:W[0]};1 in W&&(R.catchLoc=W[1]),2 in W&&(R.finallyLoc=W[2],R.afterLoc=W[3]),this.tryEntries.push(R)}function k(W){var R=W.completion||{};R.type="normal",delete R.arg,W.completion=R}function F(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(N,this),this.reset(!0)}n.keys=function(W){var R=[];for(var U in W)R.push(U);return R.reverse(),function j(){for(;R.length;){var P=R.pop();if(P in W)return j.value=P,j.done=!1,j}return j.done=!0,j}};function B(W){if(W){var R=W[h];if(R)return R.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var U=-1,j=function P(){for(;++U<W.length;)if(A.call(W,U))return P.value=W[U],P.done=!1,P;return P.value=m,P.done=!0,P};return j.next=j}}return{next:H}}n.values=B;function H(){return{value:m,done:!0}}F.prototype={constructor:F,reset:function(R){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(k),!R)for(var U in this)U.charAt(0)==="t"&&A.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=m)},stop:function(){this.done=!0;var R=this.tryEntries[0],U=R.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var U=this;function j(G,le){return V.type="throw",V.arg=R,U.next=G,le&&(U.method="next",U.arg=m),!!le}for(var P=this.tryEntries.length-1;P>=0;--P){var K=this.tryEntries[P],V=K.completion;if(K.tryLoc==="root")return j("end");if(K.tryLoc<=this.prev){var z=A.call(K,"catchLoc"),X=A.call(K,"finallyLoc");if(z&&X){if(this.prev<K.catchLoc)return j(K.catchLoc,!0);if(this.prev<K.finallyLoc)return j(K.finallyLoc)}else if(z){if(this.prev<K.catchLoc)return j(K.catchLoc,!0)}else if(X){if(this.prev<K.finallyLoc)return j(K.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,U){for(var j=this.tryEntries.length-1;j>=0;--j){var P=this.tryEntries[j];if(P.tryLoc<=this.prev&&A.call(P,"finallyLoc")&&this.prev<P.finallyLoc){var K=P;break}}K&&(R==="break"||R==="continue")&&K.tryLoc<=U&&U<=K.finallyLoc&&(K=null);var V=K?K.completion:{};return V.type=R,V.arg=U,K?(this.method="next",this.next=K.finallyLoc,d):this.complete(V)},complete:function(R,U){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&U&&(this.next=U),d},finish:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var j=this.tryEntries[U];if(j.finallyLoc===R)return this.complete(j.completion,j.afterLoc),k(j),d}},catch:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var j=this.tryEntries[U];if(j.tryLoc===R){var P=j.completion;if(P.type==="throw"){var K=P.arg;k(j)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(R,U,j){return this.delegate={iterator:B(R),resultName:U,nextLoc:j},this.method==="next"&&(this.arg=m),d}}}(function(){return this}()||Function("return this")())},{}],228:[function(D,_,e){var g=D("buffer"),f=g.Buffer;function A(v,h){for(var c in v)h[c]=v[c]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?_.exports=g:(A(g,e),e.Buffer=m);function m(v,h,c){return f(v,h,c)}A(f,m),m.from=function(v,h,c){if(typeof v=="number")throw new TypeError("Argument must not be a number");return f(v,h,c)},m.alloc=function(v,h,c){if(typeof v!="number")throw new TypeError("Argument must be a number");var o=f(v);return h!==void 0?typeof c=="string"?o.fill(h,c):o.fill(h):o.fill(0),o},m.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return f(v)},m.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return g.SlowBuffer(v)}},{buffer:73}],229:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/string/from-code-point"),A=l(f),m=D("babel-runtime/core-js/json/stringify"),v=l(m),h=D("babel-runtime/helpers/typeof"),c=l(h),o=D("babel-runtime/core-js/object/define-property"),i=l(o),n=D("babel-runtime/core-js/object/keys"),a=l(n),u=D("babel-runtime/core-js/object/create"),r=l(u);function l(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(ee,se){return new d(ee,se)},t.SAXParser=d,t.SAXStream=T,t.createStream=x,t.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function d(ee,se){if(!(this instanceof d))return new d(ee,se);var ke=this;b(ke),ke.q=ke.c="",ke.bufferCheckPosition=t.MAX_BUFFER_LENGTH,ke.opt=se||{},ke.opt.lowercase=ke.opt.lowercase||ke.opt.lowercasetags,ke.looseCase=ke.opt.lowercase?"toLowerCase":"toUpperCase",ke.tags=[],ke.closed=ke.closedRoot=ke.sawRoot=!1,ke.tag=ke.error=null,ke.strict=!!ee,ke.noscript=!!(ee||ke.opt.noscript),ke.state=K.BEGIN,ke.strictEntities=ke.opt.strictEntities,ke.ENTITIES=ke.strictEntities?(0,r.default)(t.XML_ENTITIES):(0,r.default)(t.ENTITIES),ke.attribList=[],ke.opt.xmlns&&(ke.ns=(0,r.default)(N)),ke.trackPosition=ke.opt.position!==!1,ke.trackPosition&&(ke.position=ke.line=ke.column=0),z(ke,"onready")}r.default||(Object.create=function(ee){function se(){}se.prototype=ee;var ke=new se;return ke}),a.default||(Object.keys=function(ee){var se=[];for(var ke in ee)ee.hasOwnProperty(ke)&&se.push(ke);return se});function p(ee){for(var se=Math.max(t.MAX_BUFFER_LENGTH,10),ke=0,Ce=0,ze=s.length;Ce<ze;Ce++){var Oe=ee[s[Ce]].length;if(Oe>se)switch(s[Ce]){case"textNode":G(ee);break;case"cdata":X(ee,"oncdata",ee.cdata),ee.cdata="";break;case"script":X(ee,"onscript",ee.script),ee.script="";break;default:Y(ee,"Max buffer length exceeded: "+s[Ce])}ke=Math.max(ke,Oe)}var ae=t.MAX_BUFFER_LENGTH-ke;ee.bufferCheckPosition=ae+ee.position}function b(ee){for(var se=0,ke=s.length;se<ke;se++)ee[s[se]]=""}function w(ee){G(ee),ee.cdata!==""&&(X(ee,"oncdata",ee.cdata),ee.cdata=""),ee.script!==""&&(X(ee,"onscript",ee.script),ee.script="")}d.prototype={end:function(){me(this)},write:ce,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){w(this)}};var E;try{E=D("stream").Stream}catch(ee){E=function(){}}var S=t.EVENTS.filter(function(ee){return ee!=="error"&&ee!=="end"});function x(ee,se){return new T(ee,se)}function T(ee,se){if(!(this instanceof T))return new T(ee,se);E.apply(this),this._parser=new d(ee,se),this.writable=!0,this.readable=!0;var ke=this;this._parser.onend=function(){ke.emit("end")},this._parser.onerror=function(Ce){ke.emit("error",Ce),ke._parser.error=null},this._decoder=null,S.forEach(function(Ce){(0,i.default)(ke,"on"+Ce,{get:function(){return ke._parser["on"+Ce]},set:function(Oe){if(!Oe)return ke.removeAllListeners(Ce),ke._parser["on"+Ce]=Oe,Oe;ke.on(Ce,Oe)},enumerable:!0,configurable:!1})})}T.prototype=(0,r.default)(E.prototype,{constructor:{value:T}}),T.prototype.write=function(ee){if(typeof g=="function"&&typeof g.isBuffer=="function"&&g.isBuffer(ee)){if(!this._decoder){var se=D("string_decoder").StringDecoder;this._decoder=new se("utf8")}ee=this._decoder.write(ee)}return this._parser.write(ee.toString()),this.emit("data",ee),!0},T.prototype.end=function(ee){return ee&&ee.length&&this.write(ee),this._parser.end(),!0},T.prototype.on=function(ee,se){var ke=this;return!ke._parser["on"+ee]&&S.indexOf(ee)!==-1&&(ke._parser["on"+ee]=function(){var Ce=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Ce.splice(0,0,ee),ke.emit.apply(ke,Ce)}),E.prototype.on.call(ke,ee,se)};var L="[CDATA[",y="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",N={xml:C,xmlns:O},k=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,H=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function W(ee){return ee===" "||ee===`
`||ee==="\r"||ee===" "}function R(ee){return ee==='"'||ee==="'"}function U(ee){return ee===">"||W(ee)}function j(ee,se){return ee.test(se)}function P(ee,se){return!j(ee,se)}var K=0;t.STATE={BEGIN:K++,BEGIN_WHITESPACE:K++,TEXT:K++,TEXT_ENTITY:K++,OPEN_WAKA:K++,SGML_DECL:K++,SGML_DECL_QUOTED:K++,DOCTYPE:K++,DOCTYPE_QUOTED:K++,DOCTYPE_DTD:K++,DOCTYPE_DTD_QUOTED:K++,COMMENT_STARTING:K++,COMMENT:K++,COMMENT_ENDING:K++,COMMENT_ENDED:K++,CDATA:K++,CDATA_ENDING:K++,CDATA_ENDING_2:K++,PROC_INST:K++,PROC_INST_BODY:K++,PROC_INST_ENDING:K++,OPEN_TAG:K++,OPEN_TAG_SLASH:K++,ATTRIB:K++,ATTRIB_NAME:K++,ATTRIB_NAME_SAW_WHITE:K++,ATTRIB_VALUE:K++,ATTRIB_VALUE_QUOTED:K++,ATTRIB_VALUE_CLOSED:K++,ATTRIB_VALUE_UNQUOTED:K++,ATTRIB_VALUE_ENTITY_Q:K++,ATTRIB_VALUE_ENTITY_U:K++,CLOSE_TAG:K++,CLOSE_TAG_SAW_WHITE:K++,SCRIPT:K++,SCRIPT_ENDING:K++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,a.default)(t.ENTITIES).forEach(function(ee){var se=t.ENTITIES[ee],ke=typeof se=="number"?String.fromCharCode(se):se;t.ENTITIES[ee]=ke});for(var V in t.STATE)t.STATE[t.STATE[V]]=V;K=t.STATE;function z(ee,se,ke){ee[se]&&ee[se](ke)}function X(ee,se,ke){ee.textNode&&G(ee),z(ee,se,ke)}function G(ee){ee.textNode=le(ee.opt,ee.textNode),ee.textNode&&z(ee,"ontext",ee.textNode),ee.textNode=""}function le(ee,se){return ee.trim&&(se=se.trim()),ee.normalize&&(se=se.replace(/\s+/g," ")),se}function Y(ee,se){return G(ee),ee.trackPosition&&(se+=`
Line: `+ee.line+`
Column: `+ee.column+`
Char: `+ee.c),se=new Error(se),ee.error=se,z(ee,"onerror",se),ee}function me(ee){return ee.sawRoot&&!ee.closedRoot&&we(ee,"Unclosed root tag"),ee.state!==K.BEGIN&&ee.state!==K.BEGIN_WHITESPACE&&ee.state!==K.TEXT&&Y(ee,"Unexpected end"),G(ee),ee.c="",ee.closed=!0,z(ee,"onend"),d.call(ee,ee.strict,ee.opt),ee}function we(ee,se){if((typeof ee=="undefined"?"undefined":(0,c.default)(ee))!=="object"||!(ee instanceof d))throw new Error("bad call to strictFail");ee.strict&&Y(ee,se)}function pe(ee){ee.strict||(ee.tagName=ee.tagName[ee.looseCase]());var se=ee.tags[ee.tags.length-1]||ee,ke=ee.tag={name:ee.tagName,attributes:{}};ee.opt.xmlns&&(ke.ns=se.ns),ee.attribList.length=0,X(ee,"onopentagstart",ke)}function Fe(ee,se){var ke=ee.indexOf(":"),Ce=ke<0?["",ee]:ee.split(":"),ze=Ce[0],Oe=Ce[1];return se&&ee==="xmlns"&&(ze="xmlns",Oe=""),{prefix:ze,local:Oe}}function Xe(ee){if(ee.strict||(ee.attribName=ee.attribName[ee.looseCase]()),ee.attribList.indexOf(ee.attribName)!==-1||ee.tag.attributes.hasOwnProperty(ee.attribName)){ee.attribName=ee.attribValue="";return}if(ee.opt.xmlns){var se=Fe(ee.attribName,!0),ke=se.prefix,Ce=se.local;if(ke==="xmlns")if(Ce==="xml"&&ee.attribValue!==C)we(ee,"xml: prefix must be bound to "+C+`
Actual: `+ee.attribValue);else if(Ce==="xmlns"&&ee.attribValue!==O)we(ee,"xmlns: prefix must be bound to "+O+`
Actual: `+ee.attribValue);else{var ze=ee.tag,Oe=ee.tags[ee.tags.length-1]||ee;ze.ns===Oe.ns&&(ze.ns=(0,r.default)(Oe.ns)),ze.ns[Ce]=ee.attribValue}ee.attribList.push([ee.attribName,ee.attribValue])}else ee.tag.attributes[ee.attribName]=ee.attribValue,X(ee,"onattribute",{name:ee.attribName,value:ee.attribValue});ee.attribName=ee.attribValue=""}function dt(ee,se){if(ee.opt.xmlns){var ke=ee.tag,Ce=Fe(ee.tagName);ke.prefix=Ce.prefix,ke.local=Ce.local,ke.uri=ke.ns[Ce.prefix]||"",ke.prefix&&!ke.uri&&(we(ee,"Unbound namespace prefix: "+(0,v.default)(ee.tagName)),ke.uri=Ce.prefix);var ze=ee.tags[ee.tags.length-1]||ee;ke.ns&&ze.ns!==ke.ns&&(0,a.default)(ke.ns).forEach(function(wt){X(ee,"onopennamespace",{prefix:wt,uri:ke.ns[wt]})});for(var Oe=0,ae=ee.attribList.length;Oe<ae;Oe++){var ge=ee.attribList[Oe],Le=ge[0],Ze=ge[1],vt=Fe(Le,!0),Ct=vt.prefix,Be=vt.local,Rt=Ct===""?"":ke.ns[Ct]||"",He={name:Le,value:Ze,prefix:Ct,local:Be,uri:Rt};Ct&&Ct!=="xmlns"&&!Rt&&(we(ee,"Unbound namespace prefix: "+(0,v.default)(Ct)),He.uri=Ct),ee.tag.attributes[Le]=He,X(ee,"onattribute",He)}ee.attribList.length=0}ee.tag.isSelfClosing=!!se,ee.sawRoot=!0,ee.tags.push(ee.tag),X(ee,"onopentag",ee.tag),se||(!ee.noscript&&ee.tagName.toLowerCase()==="script"?ee.state=K.SCRIPT:ee.state=K.TEXT,ee.tag=null,ee.tagName=""),ee.attribName=ee.attribValue="",ee.attribList.length=0}function Ee(ee){if(!ee.tagName){we(ee,"Weird empty close tag."),ee.textNode+="</>",ee.state=K.TEXT;return}if(ee.script){if(ee.tagName!=="script"){ee.script+="</"+ee.tagName+">",ee.tagName="",ee.state=K.SCRIPT;return}X(ee,"onscript",ee.script),ee.script=""}var se=ee.tags.length,ke=ee.tagName;ee.strict||(ke=ke[ee.looseCase]());for(var Ce=ke;se--;){var ze=ee.tags[se];if(ze.name!==Ce)we(ee,"Unexpected close tag");else break}if(se<0){we(ee,"Unmatched closing tag: "+ee.tagName),ee.textNode+="</"+ee.tagName+">",ee.state=K.TEXT;return}ee.tagName=ke;for(var Oe=ee.tags.length;Oe-- >se;){var ae=ee.tag=ee.tags.pop();ee.tagName=ee.tag.name,X(ee,"onclosetag",ee.tagName);var ge={};for(var Le in ae.ns)ge[Le]=ae.ns[Le];var Ze=ee.tags[ee.tags.length-1]||ee;ee.opt.xmlns&&ae.ns!==Ze.ns&&(0,a.default)(ae.ns).forEach(function(vt){var Ct=ae.ns[vt];X(ee,"onclosenamespace",{prefix:vt,uri:Ct})})}se===0&&(ee.closedRoot=!0),ee.tagName=ee.attribValue=ee.attribName="",ee.attribList.length=0,ee.state=K.TEXT}function Se(ee){var se=ee.entity,ke=se.toLowerCase(),Ce,ze="";return ee.ENTITIES[se]?ee.ENTITIES[se]:ee.ENTITIES[ke]?ee.ENTITIES[ke]:(se=ke,se.charAt(0)==="#"&&(se.charAt(1)==="x"?(se=se.slice(2),Ce=parseInt(se,16),ze=Ce.toString(16)):(se=se.slice(1),Ce=parseInt(se,10),ze=Ce.toString(10))),se=se.replace(/^0+/,""),isNaN(Ce)||ze.toLowerCase()!==se?(we(ee,"Invalid character entity"),"&"+ee.entity+";"):(0,A.default)(Ce))}function at(ee,se){se==="<"?(ee.state=K.OPEN_WAKA,ee.startTagPosition=ee.position):W(se)||(we(ee,"Non-whitespace before first tag."),ee.textNode=se,ee.state=K.TEXT)}function _e(ee,se){var ke="";return se<ee.length&&(ke=ee.charAt(se)),ke}function ce(ee){var se=this;if(this.error)throw this.error;if(se.closed)return Y(se,"Cannot write after close. Assign an onready handler.");if(ee===null)return me(se);(typeof ee=="undefined"?"undefined":(0,c.default)(ee))==="object"&&(ee=ee.toString());for(var ke=0,Ce="";!(Ce=_e(ee,ke++),se.c=Ce,!Ce);){se.trackPosition&&(se.position++,Ce===`
`?(se.line++,se.column=0):se.column++);switch(se.state){case K.BEGIN:if(se.state=K.BEGIN_WHITESPACE,Ce==="\uFEFF")continue;at(se,Ce);continue;case K.BEGIN_WHITESPACE:at(se,Ce);continue;case K.TEXT:if(se.sawRoot&&!se.closedRoot){for(var ze=ke-1;Ce&&Ce!=="<"&&Ce!=="&";)Ce=_e(ee,ke++),Ce&&se.trackPosition&&(se.position++,Ce===`
`?(se.line++,se.column=0):se.column++);se.textNode+=ee.substring(ze,ke-1)}Ce==="<"&&!(se.sawRoot&&se.closedRoot&&!se.strict)?(se.state=K.OPEN_WAKA,se.startTagPosition=se.position):(!W(Ce)&&(!se.sawRoot||se.closedRoot)&&we(se,"Text data outside of root node."),Ce==="&"?se.state=K.TEXT_ENTITY:se.textNode+=Ce);continue;case K.SCRIPT:Ce==="<"?se.state=K.SCRIPT_ENDING:se.script+=Ce;continue;case K.SCRIPT_ENDING:Ce==="/"?se.state=K.CLOSE_TAG:(se.script+="<"+Ce,se.state=K.SCRIPT);continue;case K.OPEN_WAKA:if(Ce==="!")se.state=K.SGML_DECL,se.sgmlDecl="";else if(!W(Ce))if(j(k,Ce))se.state=K.OPEN_TAG,se.tagName=Ce;else if(Ce==="/")se.state=K.CLOSE_TAG,se.tagName="";else if(Ce==="?")se.state=K.PROC_INST,se.procInstName=se.procInstBody="";else{if(we(se,"Unencoded <"),se.startTagPosition+1<se.position){var Oe=se.position-se.startTagPosition;Ce=new Array(Oe).join(" ")+Ce}se.textNode+="<"+Ce,se.state=K.TEXT}continue;case K.SGML_DECL:(se.sgmlDecl+Ce).toUpperCase()===L?(X(se,"onopencdata"),se.state=K.CDATA,se.sgmlDecl="",se.cdata=""):se.sgmlDecl+Ce==="--"?(se.state=K.COMMENT,se.comment="",se.sgmlDecl=""):(se.sgmlDecl+Ce).toUpperCase()===y?(se.state=K.DOCTYPE,(se.doctype||se.sawRoot)&&we(se,"Inappropriately located doctype declaration"),se.doctype="",se.sgmlDecl=""):Ce===">"?(X(se,"onsgmldeclaration",se.sgmlDecl),se.sgmlDecl="",se.state=K.TEXT):(R(Ce)&&(se.state=K.SGML_DECL_QUOTED),se.sgmlDecl+=Ce);continue;case K.SGML_DECL_QUOTED:Ce===se.q&&(se.state=K.SGML_DECL,se.q=""),se.sgmlDecl+=Ce;continue;case K.DOCTYPE:Ce===">"?(se.state=K.TEXT,X(se,"ondoctype",se.doctype),se.doctype=!0):(se.doctype+=Ce,Ce==="["?se.state=K.DOCTYPE_DTD:R(Ce)&&(se.state=K.DOCTYPE_QUOTED,se.q=Ce));continue;case K.DOCTYPE_QUOTED:se.doctype+=Ce,Ce===se.q&&(se.q="",se.state=K.DOCTYPE);continue;case K.DOCTYPE_DTD:se.doctype+=Ce,Ce==="]"?se.state=K.DOCTYPE:R(Ce)&&(se.state=K.DOCTYPE_DTD_QUOTED,se.q=Ce);continue;case K.DOCTYPE_DTD_QUOTED:se.doctype+=Ce,Ce===se.q&&(se.state=K.DOCTYPE_DTD,se.q="");continue;case K.COMMENT:Ce==="-"?se.state=K.COMMENT_ENDING:se.comment+=Ce;continue;case K.COMMENT_ENDING:Ce==="-"?(se.state=K.COMMENT_ENDED,se.comment=le(se.opt,se.comment),se.comment&&X(se,"oncomment",se.comment),se.comment=""):(se.comment+="-"+Ce,se.state=K.COMMENT);continue;case K.COMMENT_ENDED:Ce!==">"?(we(se,"Malformed comment"),se.comment+="--"+Ce,se.state=K.COMMENT):se.state=K.TEXT;continue;case K.CDATA:Ce==="]"?se.state=K.CDATA_ENDING:se.cdata+=Ce;continue;case K.CDATA_ENDING:Ce==="]"?se.state=K.CDATA_ENDING_2:(se.cdata+="]"+Ce,se.state=K.CDATA);continue;case K.CDATA_ENDING_2:Ce===">"?(se.cdata&&X(se,"oncdata",se.cdata),X(se,"onclosecdata"),se.cdata="",se.state=K.TEXT):Ce==="]"?se.cdata+="]":(se.cdata+="]]"+Ce,se.state=K.CDATA);continue;case K.PROC_INST:Ce==="?"?se.state=K.PROC_INST_ENDING:W(Ce)?se.state=K.PROC_INST_BODY:se.procInstName+=Ce;continue;case K.PROC_INST_BODY:if(!se.procInstBody&&W(Ce))continue;Ce==="?"?se.state=K.PROC_INST_ENDING:se.procInstBody+=Ce;continue;case K.PROC_INST_ENDING:Ce===">"?(X(se,"onprocessinginstruction",{name:se.procInstName,body:se.procInstBody}),se.procInstName=se.procInstBody="",se.state=K.TEXT):(se.procInstBody+="?"+Ce,se.state=K.PROC_INST_BODY);continue;case K.OPEN_TAG:j(F,Ce)?se.tagName+=Ce:(pe(se),Ce===">"?dt(se):Ce==="/"?se.state=K.OPEN_TAG_SLASH:(W(Ce)||we(se,"Invalid character in tag name"),se.state=K.ATTRIB));continue;case K.OPEN_TAG_SLASH:Ce===">"?(dt(se,!0),Ee(se)):(we(se,"Forward-slash in opening tag not followed by >"),se.state=K.ATTRIB);continue;case K.ATTRIB:if(W(Ce))continue;Ce===">"?dt(se):Ce==="/"?se.state=K.OPEN_TAG_SLASH:j(k,Ce)?(se.attribName=Ce,se.attribValue="",se.state=K.ATTRIB_NAME):we(se,"Invalid attribute name");continue;case K.ATTRIB_NAME:Ce==="="?se.state=K.ATTRIB_VALUE:Ce===">"?(we(se,"Attribute without value"),se.attribValue=se.attribName,Xe(se),dt(se)):W(Ce)?se.state=K.ATTRIB_NAME_SAW_WHITE:j(F,Ce)?se.attribName+=Ce:we(se,"Invalid attribute name");continue;case K.ATTRIB_NAME_SAW_WHITE:if(Ce==="=")se.state=K.ATTRIB_VALUE;else{if(W(Ce))continue;we(se,"Attribute without value"),se.tag.attributes[se.attribName]="",se.attribValue="",X(se,"onattribute",{name:se.attribName,value:""}),se.attribName="",Ce===">"?dt(se):j(k,Ce)?(se.attribName=Ce,se.state=K.ATTRIB_NAME):(we(se,"Invalid attribute name"),se.state=K.ATTRIB)}continue;case K.ATTRIB_VALUE:if(W(Ce))continue;R(Ce)?(se.q=Ce,se.state=K.ATTRIB_VALUE_QUOTED):(we(se,"Unquoted attribute value"),se.state=K.ATTRIB_VALUE_UNQUOTED,se.attribValue=Ce);continue;case K.ATTRIB_VALUE_QUOTED:if(Ce!==se.q){Ce==="&"?se.state=K.ATTRIB_VALUE_ENTITY_Q:se.attribValue+=Ce;continue}Xe(se),se.q="",se.state=K.ATTRIB_VALUE_CLOSED;continue;case K.ATTRIB_VALUE_CLOSED:W(Ce)?se.state=K.ATTRIB:Ce===">"?dt(se):Ce==="/"?se.state=K.OPEN_TAG_SLASH:j(k,Ce)?(we(se,"No whitespace between attributes"),se.attribName=Ce,se.attribValue="",se.state=K.ATTRIB_NAME):we(se,"Invalid attribute name");continue;case K.ATTRIB_VALUE_UNQUOTED:if(!U(Ce)){Ce==="&"?se.state=K.ATTRIB_VALUE_ENTITY_U:se.attribValue+=Ce;continue}Xe(se),Ce===">"?dt(se):se.state=K.ATTRIB;continue;case K.CLOSE_TAG:if(se.tagName)Ce===">"?Ee(se):j(F,Ce)?se.tagName+=Ce:se.script?(se.script+="</"+se.tagName,se.tagName="",se.state=K.SCRIPT):(W(Ce)||we(se,"Invalid tagname in closing tag"),se.state=K.CLOSE_TAG_SAW_WHITE);else{if(W(Ce))continue;P(k,Ce)?se.script?(se.script+="</"+Ce,se.state=K.SCRIPT):we(se,"Invalid tagname in closing tag."):se.tagName=Ce}continue;case K.CLOSE_TAG_SAW_WHITE:if(W(Ce))continue;Ce===">"?Ee(se):we(se,"Invalid characters in closing tag");continue;case K.TEXT_ENTITY:case K.ATTRIB_VALUE_ENTITY_Q:case K.ATTRIB_VALUE_ENTITY_U:var ae,ge;switch(se.state){case K.TEXT_ENTITY:ae=K.TEXT,ge="textNode";break;case K.ATTRIB_VALUE_ENTITY_Q:ae=K.ATTRIB_VALUE_QUOTED,ge="attribValue";break;case K.ATTRIB_VALUE_ENTITY_U:ae=K.ATTRIB_VALUE_UNQUOTED,ge="attribValue";break}Ce===";"?(se[ge]+=Se(se),se.entity="",se.state=ae):j(se.entity.length?H:B,Ce)?se.entity+=Ce:(we(se,"Invalid character in entity name"),se[ge]+="&"+se.entity+Ce,se.entity="",se.state=ae);continue;default:throw new Error(se,"Unknown state: "+se.state)}}return se.position>=se.bufferCheckPosition&&p(se),se}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */A.default||function(){var ee=String.fromCharCode,se=Math.floor,ke=function(){var ze=16384,Oe=[],ae,ge,Le=-1,Ze=arguments.length;if(!Ze)return"";for(var vt="";++Le<Ze;){var Ct=Number(arguments[Le]);if(!isFinite(Ct)||Ct<0||Ct>1114111||se(Ct)!==Ct)throw RangeError("Invalid code point: "+Ct);Ct<=65535?Oe.push(Ct):(Ct-=65536,ae=(Ct>>10)+55296,ge=Ct%1024+56320,Oe.push(ae,ge)),(Le+1===Ze||Oe.length>ze)&&(vt+=ee.apply(null,Oe),Oe.length=0)}return vt};i.default?Object.defineProperty(String,"fromCodePoint",{value:ke,configurable:!0,writable:!0}):String.fromCodePoint=ke}()})(typeof e=="undefined"?(void 0).sax={}:e)}).call(this,D("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(D,_,e){_.exports=A;var g=D("events").EventEmitter,f=D("inherits");f(A,g),A.Readable=D("readable-stream/readable.js"),A.Writable=D("readable-stream/writable.js"),A.Duplex=D("readable-stream/duplex.js"),A.Transform=D("readable-stream/transform.js"),A.PassThrough=D("readable-stream/passthrough.js"),A.Stream=A;function A(){g.call(this)}A.prototype.pipe=function(m,v){var h=this;function c(l){m.writable&&(m.write(l)===!1&&h.pause&&h.pause())}h.on("data",c);function o(){h.readable&&h.resume&&h.resume()}m.on("drain",o),!m._isStdio&&(!v||v.end!==!1)&&(h.on("end",n),h.on("close",a));var i=!1;function n(){if(i)return;i=!0,m.end()}function a(){if(i)return;i=!0,typeof m.destroy=="function"&&m.destroy()}function u(l){if(r(),g.listenerCount(this,"error")===0)throw l}h.on("error",u),m.on("error",u);function r(){h.removeListener("data",c),m.removeListener("drain",o),h.removeListener("end",n),h.removeListener("close",a),h.removeListener("error",u),m.removeListener("error",u),h.removeListener("end",r),h.removeListener("close",r),m.removeListener("close",r)}return h.on("end",r),h.on("close",r),m.on("close",r),m.emit("pipe",h),m}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(D,_,e){(function(g){var f=D("./lib/request"),A=D("./lib/response"),m=D("xtend"),v=D("builtin-status-codes"),h=D("url"),c=e;c.request=function(o,i){typeof o=="string"?o=h.parse(o):o=m(o);var n=g.location.protocol.search(/^https?:$/)===-1?"http:":"",a=o.protocol||n,u=o.hostname||o.host,r=o.port,l=o.path||"/";u&&u.indexOf(":")!==-1&&(u="["+u+"]"),o.url=(u?a+"//"+u:"")+(r?":"+r:"")+l,o.method=(o.method||"GET").toUpperCase(),o.headers=o.headers||{};var t=new f(o);return i&&t.on("response",i),t},c.get=function(i,n){var a=c.request(i,n);return a.end(),a},c.ClientRequest=f,c.IncomingMessage=A.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=v,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(D,_,e){(function(g){"use strict";e.fetch=c(g.fetch)&&c(g.ReadableStream),e.writableStream=c(g.WritableStream),e.abortController=c(g.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(o){}var f;function A(){if(f!==void 0)return f;if(g.XMLHttpRequest){f=new g.XMLHttpRequest;try{f.open("GET",g.XDomainRequest?"/":"https://example.com")}catch(o){f=null}}else f=null;return f}function m(o){var i=A();if(!i)return!1;try{return i.responseType=o,i.responseType===o}catch(n){}return!1}var v=typeof g.ArrayBuffer!="undefined",h=v&&c(g.ArrayBuffer.prototype.slice);e.arraybuffer=e.fetch||v&&m("arraybuffer"),e.msstream=!e.fetch&&h&&m("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&v&&m("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(A()?c(A().overrideMimeType):!1),e.vbArray=c(g.VBArray);function c(o){return typeof o=="function"}f=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(D,_,e){(function(g,f,A){"use strict";var m=D("babel-runtime/core-js/object/keys"),v=h(m);function h(p){return p&&p.__esModule?p:{default:p}}var c=D("./capability"),o=D("inherits"),i=D("./response"),n=D("readable-stream"),a=D("to-arraybuffer"),u=i.IncomingMessage,r=i.readyStates;function l(p,b){return c.fetch&&b?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&p?"arraybuffer":c.vbArray&&p?"text:vbarray":"text"}var t=_.exports=function(p){var b=this;n.Writable.call(b),b._opts=p,b._body=[],b._headers={},p.auth&&b.setHeader("Authorization","Basic "+new A(p.auth).toString("base64")),(0,v.default)(p.headers).forEach(function(S){b.setHeader(S,p.headers[S])});var w,E=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!c.abortController)E=!1,w=!0;else if(p.mode==="prefer-streaming")w=!1;else if(p.mode==="allow-wrong-content-type")w=!c.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")w=!0;else throw new Error("Invalid value for opts.mode");b._mode=l(w,E),b._fetchTimer=null,b.on("finish",function(){b._onFinish()})};o(t,n.Writable),t.prototype.setHeader=function(p,b){var w=this,E=p.toLowerCase();if(d.indexOf(E)!==-1)return;w._headers[E]={name:p,value:b}},t.prototype.getHeader=function(p){var b=this._headers[p.toLowerCase()];return b?b.value:null},t.prototype.removeHeader=function(p){var b=this;delete b._headers[p.toLowerCase()]},t.prototype._onFinish=function(){var p=this;if(p._destroyed)return;var b=p._opts,w=p._headers,E=null;b.method!=="GET"&&b.method!=="HEAD"&&(c.arraybuffer?E=a(A.concat(p._body)):c.blobConstructor?E=new f.Blob(p._body.map(function(C){return a(C)}),{type:(w["content-type"]||{}).value||""}):E=A.concat(p._body).toString());var S=[];if((0,v.default)(w).forEach(function(C){var O=w[C].name,N=w[C].value;Array.isArray(N)?N.forEach(function(k){S.push([O,k])}):S.push([O,N])}),p._mode==="fetch"){var x=null,T=null;if(c.abortController){var L=new AbortController;x=L.signal,p._fetchAbortController=L,"requestTimeout"in b&&b.requestTimeout!==0&&(p._fetchTimer=f.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},b.requestTimeout))}f.fetch(p._opts.url,{method:p._opts.method,headers:S,body:E||void 0,mode:"cors",credentials:b.withCredentials?"include":"same-origin",signal:x}).then(function(C){p._fetchResponse=C,p._connect()},function(C){f.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",C)})}else{var y=p._xhr=new f.XMLHttpRequest;try{y.open(p._opts.method,p._opts.url,!0)}catch(C){g.nextTick(function(){p.emit("error",C)});return}"responseType"in y&&(y.responseType=p._mode.split(":")[0]),"withCredentials"in y&&(y.withCredentials=!!b.withCredentials),p._mode==="text"&&"overrideMimeType"in y&&y.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in b&&(y.timeout=b.requestTimeout,y.ontimeout=function(){p.emit("requestTimeout")}),S.forEach(function(C){y.setRequestHeader(C[0],C[1])}),p._response=null,y.onreadystatechange=function(){switch(y.readyState){case r.LOADING:case r.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(y.onprogress=function(){p._onXHRProgress()}),y.onerror=function(){if(p._destroyed)return;p.emit("error",new Error("XHR error"))};try{y.send(E)}catch(C){g.nextTick(function(){p.emit("error",C)});return}}};function s(p){try{var b=p.status;return b!==null&&b!==0}catch(w){return!1}}t.prototype._onXHRProgress=function(){var p=this;if(!s(p._xhr)||p._destroyed)return;p._response||p._connect(),p._response._onXHRProgress()},t.prototype._connect=function(){var p=this;if(p._destroyed)return;p._response=new u(p._xhr,p._fetchResponse,p._mode,p._fetchTimer),p._response.on("error",function(b){p.emit("error",b)}),p.emit("response",p._response)},t.prototype._write=function(p,b,w){var E=this;E._body.push(p),w()},t.prototype.abort=t.prototype.destroy=function(){var p=this;p._destroyed=!0,f.clearTimeout(p._fetchTimer),p._response&&(p._response._destroyed=!0),p._xhr?p._xhr.abort():p._fetchAbortController&&p._fetchAbortController.abort()},t.prototype.end=function(p,b,w){var E=this;typeof p=="function"&&(w=p,p=void 0),n.Writable.prototype.end.call(E,p,b,w)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(D,_,e){(function(g,f,A){"use strict";var m=D("babel-runtime/core-js/promise"),v=h(m);function h(u){return u&&u.__esModule?u:{default:u}}var c=D("./capability"),o=D("inherits"),i=D("readable-stream"),n=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},a=e.IncomingMessage=function(u,r,l,t){var s=this;if(i.Readable.call(s),s._mode=l,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){g.nextTick(function(){s.emit("close")})}),l==="fetch"){var d=function x(){b.read().then(function(T){if(s._destroyed)return;if(T.done){f.clearTimeout(t),s.push(null);return}s.push(new A(T.value)),x()}).catch(function(T){f.clearTimeout(t),s._destroyed||s.emit("error",T)})};if(s._fetchResponse=r,s.url=r.url,s.statusCode=r.status,s.statusMessage=r.statusText,r.headers.forEach(function(x,T){s.headers[T.toLowerCase()]=x,s.rawHeaders.push(T,x)}),c.writableStream){var p=new WritableStream({write:function(T){return new v.default(function(L,y){s._destroyed?y():s.push(new A(T))?L():s._resumeFetch=L})},close:function(){f.clearTimeout(t),s._destroyed||s.push(null)},abort:function(T){s._destroyed||s.emit("error",T)}});try{r.body.pipeTo(p).catch(function(x){f.clearTimeout(t),s._destroyed||s.emit("error",x)});return}catch(x){}}var b=r.body.getReader();d()}else{s._xhr=u,s._pos=0,s.url=u.responseURL,s.statusCode=u.status,s.statusMessage=u.statusText;var w=u.getAllResponseHeaders().split(/\r?\n/);if(w.forEach(function(x){var T=x.match(/^([^:]+):\s*(.*)/);if(T){var L=T[1].toLowerCase();L==="set-cookie"?(s.headers[L]===void 0&&(s.headers[L]=[]),s.headers[L].push(T[2])):s.headers[L]!==void 0?s.headers[L]+=", "+T[2]:s.headers[L]=T[2],s.rawHeaders.push(T[1],T[2])}}),s._charset="x-user-defined",!c.overrideMimeType){var E=s.rawHeaders["mime-type"];if(E){var S=E.match(/;\s*charset=([^;])(;|$)/);S&&(s._charset=S[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};o(a,i.Readable),a.prototype._read=function(){var u=this,r=u._resumeFetch;r&&(u._resumeFetch=null,r())},a.prototype._onXHRProgress=function(){var u=this,r=u._xhr,l=null;switch(u._mode){case"text:vbarray":if(r.readyState!==n.DONE)break;try{l=new f.VBArray(r.responseBody).toArray()}catch(b){}if(l!==null){u.push(new A(l));break}case"text":try{l=r.responseText}catch(b){u._mode="text:vbarray";break}if(l.length>u._pos){var t=l.substr(u._pos);if(u._charset==="x-user-defined"){for(var s=new A(t.length),d=0;d<t.length;d++)s[d]=t.charCodeAt(d)&255;u.push(s)}else u.push(t,u._charset);u._pos=l.length}break;case"arraybuffer":if(r.readyState!==n.DONE||!r.response)break;l=r.response,u.push(new A(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=r.response,r.readyState!==n.LOADING||!l)break;u.push(new A(new Uint8Array(l)));break;case"ms-stream":if(l=r.response,r.readyState!==n.LOADING)break;var p=new f.MSStreamReader;p.onprogress=function(){p.result.byteLength>u._pos&&(u.push(new A(new Uint8Array(p.result.slice(u._pos)))),u._pos=p.result.byteLength)},p.onload=function(){u.push(null)},p.readAsArrayBuffer(l);break}u._xhr.readyState===n.DONE&&u._mode!=="ms-stream"&&u.push(null)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(D,_,e){"use strict";var g=D("safe-buffer").Buffer,f=g.isEncoding||function(p){p=""+p;switch(p&&p.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(p){if(!p)return"utf8";for(var b;;)switch(p){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return p;default:if(b)return;p=(""+p).toLowerCase(),b=!0}}function m(p){var b=A(p);if(typeof b!="string"&&(g.isEncoding===f||!f(p)))throw new Error("Unknown encoding: "+p);return b||p}e.StringDecoder=v;function v(p){this.encoding=m(p);var b;switch(this.encoding){case"utf16le":this.text=u,this.end=r,b=4;break;case"utf8":this.fillLast=i,b=4;break;case"base64":this.text=l,this.end=t,b=3;break;default:this.write=s,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(b)}v.prototype.write=function(p){if(p.length===0)return"";var b,w;if(this.lastNeed){if(b=this.fillLast(p),b===void 0)return"";w=this.lastNeed,this.lastNeed=0}else w=0;return w<p.length?b?b+this.text(p,w):this.text(p,w):b||""},v.prototype.end=a,v.prototype.text=n,v.prototype.fillLast=function(p){if(this.lastNeed<=p.length)return p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,p.length),this.lastNeed-=p.length};function h(p){return p<=127?0:p>>5===6?2:p>>4===14?3:p>>3===30?4:p>>6===2?-1:-2}function c(p,b,w){var E=b.length-1;if(E<w)return 0;var S=h(b[E]);return S>=0?(S>0&&(p.lastNeed=S-1),S):--E<w||S===-2?0:(S=h(b[E]),S>=0?(S>0&&(p.lastNeed=S-2),S):--E<w||S===-2?0:(S=h(b[E]),S>=0?(S>0&&(S===2?S=0:p.lastNeed=S-3),S):0))}function o(p,b,w){if((b[0]&192)!==128)return p.lastNeed=0,"\uFFFD";if(p.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return p.lastNeed=1,"\uFFFD";if(p.lastNeed>2&&b.length>2&&(b[2]&192)!==128)return p.lastNeed=2,"\uFFFD"}}function i(p){var b=this.lastTotal-this.lastNeed,w=o(this,p,b);if(w!==void 0)return w;if(this.lastNeed<=p.length)return p.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,b,0,p.length),this.lastNeed-=p.length}function n(p,b){var w=c(this,p,b);if(!this.lastNeed)return p.toString("utf8",b);this.lastTotal=w;var E=p.length-(w-this.lastNeed);return p.copy(this.lastChar,0,E),p.toString("utf8",b,E)}function a(p){var b=p&&p.length?this.write(p):"";return this.lastNeed?b+"\uFFFD":b}function u(p,b){if((p.length-b)%2===0){var w=p.toString("utf16le",b);if(w){var E=w.charCodeAt(w.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],w.slice(0,-1)}return w}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",b,p.length-1)}function r(p){var b=p&&p.length?this.write(p):"";if(this.lastNeed){var w=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,w)}return b}function l(p,b){var w=(p.length-b)%3;return w===0?p.toString("base64",b):(this.lastNeed=3-w,this.lastTotal=3,w===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString("base64",b,p.length-w))}function t(p){var b=p&&p.length?this.write(p):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function s(p){return p.toString(this.encoding)}function d(p){return p&&p.length?this.write(p):""}},{"safe-buffer":228}],236:[function(D,_,e){(function(g,f){var A=D("process/browser.js").nextTick,m=Function.prototype.apply,v=Array.prototype.slice,h={},c=0;e.setTimeout=function(){return new o(m.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new o(m.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(i){i.close()};function o(i,n){this._id=i,this._clearFn=n}o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(i,n){clearTimeout(i._idleTimeoutId),i._idleTimeout=n},e.unenroll=function(i){clearTimeout(i._idleTimeoutId),i._idleTimeout=-1},e._unrefActive=e.active=function(i){clearTimeout(i._idleTimeoutId);var n=i._idleTimeout;n>=0&&(i._idleTimeoutId=setTimeout(function(){i._onTimeout&&i._onTimeout()},n))},e.setImmediate=typeof g=="function"?g:function(i){var n=c++,a=arguments.length<2?!1:v.call(arguments,1);return h[n]=!0,A(function(){h[n]&&(a?i.apply(null,a):i.call(null),e.clearImmediate(n))}),n},e.clearImmediate=typeof f=="function"?f:function(i){delete h[i]}}).call(this,D("timers").setImmediate,D("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(D,_,e){var g=D("buffer").Buffer;_.exports=function(f){if(f instanceof Uint8Array){if(f.byteOffset===0&&f.byteLength===f.buffer.byteLength)return f.buffer;if(typeof f.buffer.slice=="function")return f.buffer.slice(f.byteOffset,f.byteOffset+f.byteLength)}if(g.isBuffer(f)){for(var A=new Uint8Array(f.length),m=f.length,v=0;v<m;v++)A[v]=f[v];return A.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(D,_,e){"use strict";var g=D("punycode"),f=D("./util");e.parse=b,e.resolve=E,e.resolveObject=S,e.format=w,e.Url=A;function A(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var m=/^([a-z0-9.+-]+:)/i,v=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r",`
`," "],o=["{","}","|","\\","^","`"].concat(c),i=["'"].concat(o),n=["%","/","?",";","#"].concat(i),a=["/","?","#"],u=255,r=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},p=D("querystring");function b(x,T,L){if(x&&f.isObject(x)&&x instanceof A)return x;var y=new A;return y.parse(x,T,L),y}A.prototype.parse=function(x,T,L){if(!f.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var y=x.indexOf("?"),C=y!==-1&&y<x.indexOf("#")?"?":"#",O=x.split(C),N=/\\/g;O[0]=O[0].replace(N,"/"),x=O.join(C);var k=x;if(k=k.trim(),!L&&x.split("#").length===1){var F=h.exec(k);if(F)return this.path=k,this.href=k,this.pathname=F[1],F[2]?(this.search=F[2],T?this.query=p.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search="",this.query={}),this}var B=m.exec(k);if(B){B=B[0];var H=B.toLowerCase();this.protocol=H,k=k.substr(B.length)}if(L||B||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var W=k.substr(0,2)==="//";W&&!(B&&s[B])&&(k=k.substr(2),this.slashes=!0)}if(!s[B]&&(W||B&&!d[B])){for(var R=-1,U=0;U<a.length;U++){var j=k.indexOf(a[U]);j!==-1&&(R===-1||j<R)&&(R=j)}var P,K;R===-1?K=k.lastIndexOf("@"):K=k.lastIndexOf("@",R),K!==-1&&(P=k.slice(0,K),k=k.slice(K+1),this.auth=decodeURIComponent(P)),R=-1;for(var U=0;U<n.length;U++){var j=k.indexOf(n[U]);j!==-1&&(R===-1||j<R)&&(R=j)}R===-1&&(R=k.length),this.host=k.slice(0,R),k=k.slice(R),this.parseHost(),this.hostname=this.hostname||"";var V=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!V)for(var z=this.hostname.split(/\./),U=0,X=z.length;U<X;U++){var G=z[U];if(!G)continue;if(!G.match(r)){for(var le="",Y=0,me=G.length;Y<me;Y++)G.charCodeAt(Y)>127?le+="x":le+=G[Y];if(!le.match(r)){var we=z.slice(0,U),pe=z.slice(U+1),Fe=G.match(l);Fe&&(we.push(Fe[1]),pe.unshift(Fe[2])),pe.length&&(k="/"+pe.join(".")+k),this.hostname=we.join(".");break}}}this.hostname.length>u?this.hostname="":this.hostname=this.hostname.toLowerCase(),V||(this.hostname=g.toASCII(this.hostname));var Xe=this.port?":"+this.port:"",dt=this.hostname||"";this.host=dt+Xe,this.href+=this.host,V&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),k[0]!=="/"&&(k="/"+k))}if(!t[H])for(var U=0,X=i.length;U<X;U++){var Ee=i[U];if(k.indexOf(Ee)===-1)continue;var Se=encodeURIComponent(Ee);Se===Ee&&(Se=escape(Ee)),k=k.split(Ee).join(Se)}var at=k.indexOf("#");at!==-1&&(this.hash=k.substr(at),k=k.slice(0,at));var _e=k.indexOf("?");if(_e!==-1?(this.search=k.substr(_e),this.query=k.substr(_e+1),T&&(this.query=p.parse(this.query)),k=k.slice(0,_e)):T&&(this.search="",this.query={}),k&&(this.pathname=k),d[H]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Xe=this.pathname||"",ce=this.search||"";this.path=Xe+ce}return this.href=this.format(),this};function w(x){return f.isString(x)&&(x=b(x)),x instanceof A?x.format():A.prototype.format.call(x)}A.prototype.format=function(){var x=this.auth||"";x&&(x=encodeURIComponent(x),x=x.replace(/%3A/i,":"),x+="@");var T=this.protocol||"",L=this.pathname||"",y=this.hash||"",C=!1,O="";this.host?C=x+this.host:this.hostname&&(C=x+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(C+=":"+this.port)),this.query&&f.isObject(this.query)&&Object.keys(this.query).length&&(O=p.stringify(this.query));var N=this.search||O&&"?"+O||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||d[T])&&C!==!1?(C="//"+(C||""),L&&L.charAt(0)!=="/"&&(L="/"+L)):C||(C=""),y&&y.charAt(0)!=="#"&&(y="#"+y),N&&N.charAt(0)!=="?"&&(N="?"+N),L=L.replace(/[?#]/g,function(k){return encodeURIComponent(k)}),N=N.replace("#","%23"),T+C+L+N+y};function E(x,T){return b(x,!1,!0).resolve(T)}A.prototype.resolve=function(x){return this.resolveObject(b(x,!1,!0)).format()};function S(x,T){return x?b(x,!1,!0).resolveObject(T):T}A.prototype.resolveObject=function(x){if(f.isString(x)){var T=new A;T.parse(x,!1,!0),x=T}for(var L=new A,y=Object.keys(this),C=0;C<y.length;C++){var O=y[C];L[O]=this[O]}if(L.hash=x.hash,x.href==="")return L.href=L.format(),L;if(x.slashes&&!x.protocol){for(var N=Object.keys(x),k=0;k<N.length;k++){var F=N[k];F!=="protocol"&&(L[F]=x[F])}return d[L.protocol]&&L.hostname&&!L.pathname&&(L.path=L.pathname="/"),L.href=L.format(),L}if(x.protocol&&x.protocol!==L.protocol){if(!d[x.protocol]){for(var B=Object.keys(x),H=0;H<B.length;H++){var W=B[H];L[W]=x[W]}return L.href=L.format(),L}if(L.protocol=x.protocol,!x.host&&!s[x.protocol]){for(var X=(x.pathname||"").split("/");X.length&&!(x.host=X.shift()););x.host||(x.host=""),x.hostname||(x.hostname=""),X[0]!==""&&X.unshift(""),X.length<2&&X.unshift(""),L.pathname=X.join("/")}else L.pathname=x.pathname;if(L.search=x.search,L.query=x.query,L.host=x.host||"",L.auth=x.auth,L.hostname=x.hostname||x.host,L.port=x.port,L.pathname||L.search){var R=L.pathname||"",U=L.search||"";L.path=R+U}return L.slashes=L.slashes||x.slashes,L.href=L.format(),L}var j=L.pathname&&L.pathname.charAt(0)==="/",P=x.host||x.pathname&&x.pathname.charAt(0)==="/",K=P||j||L.host&&x.pathname,V=K,z=L.pathname&&L.pathname.split("/")||[],X=x.pathname&&x.pathname.split("/")||[],G=L.protocol&&!d[L.protocol];if(G&&(L.hostname="",L.port=null,L.host&&(z[0]===""?z[0]=L.host:z.unshift(L.host)),L.host="",x.protocol&&(x.hostname=null,x.port=null,x.host&&(X[0]===""?X[0]=x.host:X.unshift(x.host)),x.host=null),K=K&&(X[0]===""||z[0]==="")),P)L.host=x.host||x.host===""?x.host:L.host,L.hostname=x.hostname||x.hostname===""?x.hostname:L.hostname,L.search=x.search,L.query=x.query,z=X;else if(X.length)z||(z=[]),z.pop(),z=z.concat(X),L.search=x.search,L.query=x.query;else if(!f.isNullOrUndefined(x.search)){if(G){L.hostname=L.host=z.shift();var le=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;le&&(L.auth=le.shift(),L.host=L.hostname=le.shift())}return L.search=x.search,L.query=x.query,(!f.isNull(L.pathname)||!f.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.href=L.format(),L}if(!z.length)return L.pathname=null,L.search?L.path="/"+L.search:L.path=null,L.href=L.format(),L;for(var Y=z.slice(-1)[0],me=(L.host||x.host||z.length>1)&&(Y==="."||Y==="..")||Y==="",we=0,pe=z.length;pe>=0;pe--)Y=z[pe],Y==="."?z.splice(pe,1):Y===".."?(z.splice(pe,1),we++):we&&(z.splice(pe,1),we--);if(!K&&!V)for(;we--;we)z.unshift("..");K&&z[0]!==""&&(!z[0]||z[0].charAt(0)!=="/")&&z.unshift(""),me&&z.join("/").substr(-1)!=="/"&&z.push("");var Fe=z[0]===""||z[0]&&z[0].charAt(0)==="/";if(G){L.hostname=L.host=Fe?"":z.length?z.shift():"";var le=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;le&&(L.auth=le.shift(),L.host=L.hostname=le.shift())}return K=K||L.host&&z.length,K&&!Fe&&z.unshift(""),z.length?L.pathname=z.join("/"):(L.pathname=null,L.path=null),(!f.isNull(L.pathname)||!f.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.auth=x.auth||L.auth,L.slashes=L.slashes||x.slashes,L.href=L.format(),L},A.prototype.parseHost=function(){var x=this.host,T=v.exec(x);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),x=x.substr(0,x.length-T.length)),x&&(this.hostname=x)}},{"./util":239,punycode:209,querystring:212}],239:[function(D,_,e){"use strict";_.exports={isString:function(f){return typeof f=="string"},isObject:function(f){return typeof f=="object"&&f!==null},isNull:function(f){return f===null},isNullOrUndefined:function(f){return f==null}}},{}],240:[function(D,_,e){(function(g){_.exports=f;function f(m,v){if(A("noDeprecation"))return m;var h=!1;function c(){if(!h){if(A("throwDeprecation"))throw new Error(v);A("traceDeprecation")?console.trace(v):console.warn(v),h=!0}return m.apply(this,arguments)}return c}function A(m){try{if(!g.localStorage)return!1}catch(h){return!1}var v=g.localStorage[m];return v==null?!1:String(v).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(D,_,e){typeof Object.create=="function"?_.exports=function(f,A){f.super_=A,f.prototype=Object.create(A.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:_.exports=function(f,A){f.super_=A;var m=function(){};m.prototype=A.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],242:[function(D,_,e){_.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(D,_,e){(function(g,f){var A=/%[sdj%]/g;e.format=function(R){if(!E(R)){for(var U=[],j=0;j<arguments.length;j++)U.push(h(arguments[j]));return U.join(" ")}for(var j=1,P=arguments,K=P.length,V=String(R).replace(A,function(X){if(X==="%%")return"%";if(j>=K)return X;switch(X){case"%s":return String(P[j++]);case"%d":return Number(P[j++]);case"%j":try{return JSON.stringify(P[j++])}catch(G){return"[Circular]"}default:return X}}),z=P[j];j<K;z=P[++j])p(z)||!L(z)?V+=" "+z:V+=" "+h(z);return V},e.deprecate=function(R,U){if(x(f.process))return function(){return e.deprecate(R,U).apply(this,arguments)};if(g.noDeprecation===!0)return R;var j=!1;function P(){if(!j){if(g.throwDeprecation)throw new Error(U);g.traceDeprecation?console.trace(U):console.error(U),j=!0}return R.apply(this,arguments)}return P};var m={},v;e.debuglog=function(R){if(x(v)&&(v=g.env.NODE_DEBUG||""),R=R.toUpperCase(),!m[R])if(new RegExp("\\b"+R+"\\b","i").test(v)){var U=g.pid;m[R]=function(){var j=e.format.apply(e,arguments);console.error("%s %d: %s",R,U,j)}}else m[R]=function(){};return m[R]};function h(R,U){var j={seen:[],stylize:o};return arguments.length>=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),d(U)?j.showHidden=U:U&&e._extend(j,U),x(j.showHidden)&&(j.showHidden=!1),x(j.depth)&&(j.depth=2),x(j.colors)&&(j.colors=!1),x(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=c),n(j,R,j.depth)}e.inspect=h,h.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(R,U){var j=h.styles[U];return j?"["+h.colors[j][0]+"m"+R+"["+h.colors[j][1]+"m":R}function o(R,U){return R}function i(R){var U={};return R.forEach(function(j,P){U[j]=!0}),U}function n(R,U,j){if(R.customInspect&&U&&O(U.inspect)&&U.inspect!==e.inspect&&!(U.constructor&&U.constructor.prototype===U)){var P=U.inspect(j,R);return E(P)||(P=n(R,P,j)),P}var K=a(R,U);if(K)return K;var V=Object.keys(U),z=i(V);if(R.showHidden&&(V=Object.getOwnPropertyNames(U)),C(U)&&(V.indexOf("message")>=0||V.indexOf("description")>=0))return u(U);if(V.length===0){if(O(U)){var X=U.name?": "+U.name:"";return R.stylize("[Function"+X+"]","special")}if(T(U))return R.stylize(RegExp.prototype.toString.call(U),"regexp");if(y(U))return R.stylize(Date.prototype.toString.call(U),"date");if(C(U))return u(U)}var G="",le=!1,Y=["{","}"];if(s(U)&&(le=!0,Y=["[","]"]),O(U)){var me=U.name?": "+U.name:"";G=" [Function"+me+"]"}if(T(U)&&(G=" "+RegExp.prototype.toString.call(U)),y(U)&&(G=" "+Date.prototype.toUTCString.call(U)),C(U)&&(G=" "+u(U)),V.length===0&&(!le||U.length==0))return Y[0]+G+Y[1];if(j<0)return T(U)?R.stylize(RegExp.prototype.toString.call(U),"regexp"):R.stylize("[Object]","special");R.seen.push(U);var we;return le?we=r(R,U,j,z,V):we=V.map(function(pe){return l(R,U,j,z,pe,le)}),R.seen.pop(),t(we,G,Y)}function a(R,U){if(x(U))return R.stylize("undefined","undefined");if(E(U)){var j="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(j,"string")}if(w(U))return R.stylize(""+U,"number");if(d(U))return R.stylize(""+U,"boolean");if(p(U))return R.stylize("null","null")}function u(R){return"["+Error.prototype.toString.call(R)+"]"}function r(R,U,j,P,K){for(var V=[],z=0,X=U.length;z<X;++z)W(U,String(z))?V.push(l(R,U,j,P,String(z),!0)):V.push("");return K.forEach(function(G){G.match(/^\d+$/)||V.push(l(R,U,j,P,G,!0))}),V}function l(R,U,j,P,K,V){var z,X,G;if(G=Object.getOwnPropertyDescriptor(U,K)||{value:U[K]},G.get?G.set?X=R.stylize("[Getter/Setter]","special"):X=R.stylize("[Getter]","special"):G.set&&(X=R.stylize("[Setter]","special")),W(P,K)||(z="["+K+"]"),X||(R.seen.indexOf(G.value)<0?(p(j)?X=n(R,G.value,null):X=n(R,G.value,j-1),X.indexOf(`
`)>-1&&(V?X=X.split(`
`).map(function(le){return" "+le}).join(`
`).substr(2):X=`
`+X.split(`
`).map(function(le){return" "+le}).join(`
`))):X=R.stylize("[Circular]","special")),x(z)){if(V&&K.match(/^\d+$/))return X;z=JSON.stringify(""+K),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.substr(1,z.length-2),z=R.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=R.stylize(z,"string"))}return z+": "+X}function t(R,U,j){var P=0,K=R.reduce(function(V,z){return P++,z.indexOf(`
`)>=0&&P++,V+z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return K>60?j[0]+(U===""?"":U+`
`)+" "+R.join(`,
`)+" "+j[1]:j[0]+U+" "+R.join(", ")+" "+j[1]}function s(R){return Array.isArray(R)}e.isArray=s;function d(R){return typeof R=="boolean"}e.isBoolean=d;function p(R){return R===null}e.isNull=p;function b(R){return R==null}e.isNullOrUndefined=b;function w(R){return typeof R=="number"}e.isNumber=w;function E(R){return typeof R=="string"}e.isString=E;function S(R){return typeof R=="symbol"}e.isSymbol=S;function x(R){return R===void 0}e.isUndefined=x;function T(R){return L(R)&&k(R)==="[object RegExp]"}e.isRegExp=T;function L(R){return typeof R=="object"&&R!==null}e.isObject=L;function y(R){return L(R)&&k(R)==="[object Date]"}e.isDate=y;function C(R){return L(R)&&(k(R)==="[object Error]"||R instanceof Error)}e.isError=C;function O(R){return typeof R=="function"}e.isFunction=O;function N(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R=="undefined"}e.isPrimitive=N,e.isBuffer=D("./support/isBuffer");function k(R){return Object.prototype.toString.call(R)}function F(R){return R<10?"0"+R.toString(10):R.toString(10)}var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H(){var R=new Date,U=[F(R.getHours()),F(R.getMinutes()),F(R.getSeconds())].join(":");return[R.getDate(),B[R.getMonth()],U].join(" ")}e.log=function(){console.log("%s - %s",H(),e.format.apply(e,arguments))},e.inherits=D("inherits"),e._extend=function(R,U){if(!U||!L(U))return R;for(var j=Object.keys(U),P=j.length;P--;)R[j[P]]=U[j[P]];return R};function W(R,U){return Object.prototype.hasOwnProperty.call(R,U)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(D,_,e){"use strict";(function(){"use strict";e.stripBOM=function(g){return g[0]==="\uFEFF"?g.substring(1):g}}).call(void 0)},{}],245:[function(D,_,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=v(g),A=D("babel-runtime/core-js/object/keys"),m=v(A);function v(h){return h&&h.__esModule?h:{default:h}}(function(){"use strict";var h,c,o,i,n,a={}.hasOwnProperty;h=D("xmlbuilder"),c=D("./defaults").defaults,i=function(r){return typeof r=="string"&&(r.indexOf("&")>=0||r.indexOf(">")>=0||r.indexOf("<")>=0)},n=function(r){return"<![CDATA["+o(r)+"]]>"},o=function(r){return r.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function u(r){var l,t,s;this.options={},t=c["0.2"];for(l in t){if(!a.call(t,l))continue;s=t[l],this.options[l]=s}for(l in r){if(!a.call(r,l))continue;s=r[l],this.options[l]=s}}return u.prototype.buildObject=function(r){var l,t,s,d,p;return l=this.options.attrkey,t=this.options.charkey,(0,m.default)(r).length===1&&this.options.rootName===c["0.2"].rootName?(p=(0,m.default)(r)[0],r=r[p]):p=this.options.rootName,s=function(b){return function(w,E){var S,x,T,L,y,C;if((typeof E=="undefined"?"undefined":(0,f.default)(E))!=="object")b.options.cdata&&i(E)?w.raw(n(E)):w.txt(E);else if(Array.isArray(E))for(L in E){if(!a.call(E,L))continue;x=E[L];for(y in x)T=x[y],w=s(w.ele(y),T).up()}else for(y in E){if(!a.call(E,y))continue;if(x=E[y],y===l){if((typeof x=="undefined"?"undefined":(0,f.default)(x))==="object")for(S in x)C=x[S],w=w.att(S,C)}else if(y===t)b.options.cdata&&i(x)?w=w.raw(n(x)):w=w.txt(x);else if(Array.isArray(x))for(L in x){if(!a.call(x,L))continue;T=x[L],typeof T=="string"?b.options.cdata&&i(T)?w=w.ele(y).raw(n(T)).up():w=w.ele(y,T).up():w=s(w.ele(y),T).up()}else(typeof x=="undefined"?"undefined":(0,f.default)(x))==="object"?w=s(w.ele(y),x).up():typeof x=="string"&&b.options.cdata&&i(x)?w=w.ele(y).raw(n(x)).up():(x==null&&(x=""),w=w.ele(y,x.toString()).up())}return w}}(this),d=h.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(d,r).end(this.options.renderOpts)},u}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(D,_,e){"use strict";(function(){e.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),A=D("babel-runtime/core-js/object/get-own-property-names"),m=i(A),v=D("babel-runtime/core-js/object/keys"),h=i(v),c=D("babel-runtime/helpers/typeof"),o=i(c);function i(n){return n&&n.__esModule?n:{default:n}}(function(){"use strict";var n,a,u,r,l,t,s,d,p=function(S,x){return function(){return S.apply(x,arguments)}},b=function(S,x){for(var T in x)w.call(x,T)&&(S[T]=x[T]);function L(){this.constructor=S}return L.prototype=x.prototype,S.prototype=new L,S.__super__=x.prototype,S},w={}.hasOwnProperty;s=D("sax"),u=D("events"),n=D("./bom"),t=D("./processors"),d=D("timers").setImmediate,a=D("./defaults").defaults,r=function(S){return(typeof S=="undefined"?"undefined":(0,o.default)(S))==="object"&&S!=null&&(0,h.default)(S).length===0},l=function(S,x,T){var L,y,C;for(L=0,y=S.length;L<y;L++)C=S[L],x=C(x,T);return x},e.Parser=function(E){b(S,E);function S(x){this.parseStringPromise=p(this.parseStringPromise,this),this.parseString=p(this.parseString,this),this.reset=p(this.reset,this),this.assignOrPush=p(this.assignOrPush,this),this.processAsync=p(this.processAsync,this);var T,L,y;if(!(this instanceof e.Parser))return new e.Parser(x);this.options={},L=a["0.2"];for(T in L){if(!w.call(L,T))continue;y=L[T],this.options[T]=y}for(T in x){if(!w.call(x,T))continue;y=x[T],this.options[T]=y}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(t.normalize)),this.reset()}return S.prototype.processAsync=function(){var x,T;try{return this.remaining.length<=this.options.chunkSize?(x=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(x),this.saxParser.close()):(x=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(x),d(this.processAsync))}catch(L){if(T=L,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(T)}},S.prototype.assignOrPush=function(x,T,L){return T in x?(x[T]instanceof Array||(x[T]=[x[T]]),x[T].push(L)):this.options.explicitArray?x[T]=[L]:x[T]=L},S.prototype.reset=function(){var x,T,L,y;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(C){return function(O){if(C.saxParser.resume(),!C.saxParser.errThrown)return C.saxParser.errThrown=!0,C.emit("error",O)}}(this),this.saxParser.onend=function(C){return function(){if(!C.saxParser.ended)return C.saxParser.ended=!0,C.emit("end",C.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,y=[],x=this.options.attrkey,T=this.options.charkey,this.saxParser.onopentag=function(C){return function(O){var N,k,F,B,H;if(F={},F[T]="",!C.options.ignoreAttrs){H=O.attributes;for(N in H){if(!w.call(H,N))continue;!(x in F)&&!C.options.mergeAttrs&&(F[x]={}),k=C.options.attrValueProcessors?l(C.options.attrValueProcessors,O.attributes[N],N):O.attributes[N],B=C.options.attrNameProcessors?l(C.options.attrNameProcessors,N):N,C.options.mergeAttrs?C.assignOrPush(F,B,k):F[x][B]=k}}return F["#name"]=C.options.tagNameProcessors?l(C.options.tagNameProcessors,O.name):O.name,C.options.xmlns&&(F[C.options.xmlnskey]={uri:O.uri,local:O.local}),y.push(F)}}(this),this.saxParser.onclosetag=function(C){return function(){var O,N,k,F,B,H,W,R,U,j;if(H=y.pop(),B=H["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete H["#name"],H.cdata===!0&&(O=H.cdata,delete H.cdata),U=y[y.length-1],H[T].match(/^\s*$/)&&!O?(N=H[T],delete H[T]):(C.options.trim&&(H[T]=H[T].trim()),C.options.normalize&&(H[T]=H[T].replace(/\s{2,}/g," ").trim()),H[T]=C.options.valueProcessors?l(C.options.valueProcessors,H[T],B):H[T],(0,h.default)(H).length===1&&T in H&&!C.EXPLICIT_CHARKEY&&(H=H[T])),r(H)&&(H=C.options.emptyTag!==""?C.options.emptyTag:N),C.options.validator!=null&&(j="/"+function(){var P,K,V;for(V=[],P=0,K=y.length;P<K;P++)F=y[P],V.push(F["#name"]);return V}().concat(B).join("/"),function(){var P;try{return H=C.options.validator(j,U&&U[B],H)}catch(K){return P=K,C.emit("error",P)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof H=="undefined"?"undefined":(0,o.default)(H))==="object"){if(!C.options.preserveChildrenOrder)F={},C.options.attrkey in H&&(F[C.options.attrkey]=H[C.options.attrkey],delete H[C.options.attrkey]),!C.options.charsAsChildren&&C.options.charkey in H&&(F[C.options.charkey]=H[C.options.charkey],delete H[C.options.charkey]),(0,m.default)(H).length>0&&(F[C.options.childkey]=H),H=F;else if(U){U[C.options.childkey]=U[C.options.childkey]||[],W={};for(k in H){if(!w.call(H,k))continue;W[k]=H[k]}U[C.options.childkey].push(W),delete H["#name"],(0,h.default)(H).length===1&&T in H&&!C.EXPLICIT_CHARKEY&&(H=H[T])}}return y.length>0?C.assignOrPush(U,B,H):(C.options.explicitRoot&&(R=H,H={},H[B]=R),C.resultObject=H,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),L=function(C){return function(O){var N,k;if(k=y[y.length-1],k)return k[T]+=O,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||O.replace(/\\n/g,"").trim()!=="")&&(k[C.options.childkey]=k[C.options.childkey]||[],N={"#name":"__text__"},N[T]=O,C.options.normalize&&(N[T]=N[T].replace(/\s{2,}/g," ").trim()),k[C.options.childkey].push(N)),k}}(this),this.saxParser.ontext=L,this.saxParser.oncdata=function(C){return function(O){var N;if(N=L(O),N)return N.cdata=!0}}(this)},S.prototype.parseString=function(x,T){var L;T!=null&&typeof T=="function"&&(this.on("end",function(y){return this.reset(),T(null,y)}),this.on("error",function(y){return this.reset(),T(y)}));try{return x=x.toString(),x.trim()===""?(this.emit("end",null),!0):(x=n.stripBOM(x),this.options.async?(this.remaining=x,d(this.processAsync),this.saxParser):this.saxParser.write(x).close())}catch(y){if(L=y,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw L}else return this.emit("error",L),this.saxParser.errThrown=!0}},S.prototype.parseStringPromise=function(x){return new f.default(function(T){return function(L,y){return T.parseString(x,function(C,O){return C?y(C):L(O)})}}(this))},S}(u),e.parseString=function(E,S,x){var T,L,y;return x!=null?(typeof x=="function"&&(T=x),(typeof S=="undefined"?"undefined":(0,o.default)(S))==="object"&&(L=S)):(typeof S=="function"&&(T=S),L={}),y=new e.Parser(L),y.parseString(E,T)},e.parseStringPromise=function(E,S){var x,T;return(typeof S=="undefined"?"undefined":(0,o.default)(S))==="object"&&(x=S),T=new e.Parser(x),T.parseStringPromise(E)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(D,_,e){"use strict";(function(){"use strict";var g;g=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(f){return f.toLowerCase()},e.firstCharLowerCase=function(f){return f.charAt(0).toLowerCase()+f.slice(1)},e.stripPrefix=function(f){return f.replace(g,"")},e.parseNumbers=function(f){return isNaN(f)||(f=f%1===0?parseInt(f,10):parseFloat(f)),f},e.parseBooleans=function(f){return/^(?:true|false)$/i.test(f)&&(f=f.toLowerCase()==="true"),f}}).call(void 0)},{}],249:[function(D,_,e){"use strict";(function(){"use strict";var g,f,A,m,v=function(o,i){for(var n in i)h.call(i,n)&&(o[n]=i[n]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;f=D("./defaults"),g=D("./builder"),A=D("./parser"),m=D("./processors"),e.defaults=f.defaults,e.processors=m,e.ValidationError=function(c){v(o,c);function o(i){this.message=i}return o}(Error),e.Builder=g.Builder,e.Parser=A.Parser,e.parseString=A.parseString,e.parseStringPromise=A.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(D,_,e){"use strict";(function(){_.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(D,_,e){"use strict";(function(){_.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/get-prototype-of"),f=c(g),A=D("babel-runtime/helpers/typeof"),m=c(A),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(o){return o&&o.__esModule?o:{default:o}}(function(){var o,i,n,a,u,r,l,t=[].slice,s={}.hasOwnProperty;o=function(){var p,b,w,E,S,x;if(x=arguments[0],S=2<=arguments.length?t.call(arguments,1):[],u(h.default))h.default.apply(null,arguments);else for(p=0,w=S.length;p<w;p++)if(E=S[p],E!=null)for(b in E){if(!s.call(E,b))continue;x[b]=E[b]}return x},u=function(p){return!!p&&Object.prototype.toString.call(p)==="[object Function]"},r=function(p){var b;return!!p&&((b=typeof p=="undefined"?"undefined":(0,m.default)(p))==="function"||b==="object")},n=function(p){return u(Array.isArray)?Array.isArray(p):Object.prototype.toString.call(p)==="[object Array]"},a=function(p){var b;if(n(p))return!p.length;for(b in p){if(!s.call(p,b))continue;return!1}return!0},l=function(p){var b,w;return r(p)&&(w=(0,f.default)(p))&&(b=w.constructor)&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)},i=function(p){return u(p.valueOf)?p.valueOf():p},_.exports.assign=o,_.exports.isFunction=u,_.exports.isObject=r,_.exports.isArray=n,_.exports.isEmpty=a,_.exports.isPlainObject=l,_.exports.getValue=i}).call(void 0)},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/get-prototype-of":59,"babel-runtime/helpers/typeof":67}],253:[function(D,_,e){"use strict";(function(){_.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h;m=D("./NodeType"),h=D("./XMLNode"),_.exports=v=function(){function c(o,i,n){if(this.parent=o,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),i==null)throw new Error("Missing attribute name. "+this.debugInfo(i));this.name=this.stringify.name(i),this.value=this.stringify.attValue(n),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(c.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(c.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(c.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(c.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(c.prototype,"specified",{get:function(){return!0}}),c.prototype.clone=function(){return(0,f.default)(this)},c.prototype.toString=function(o){return this.options.writer.attribute(this,this.options.writer.filterOptions(o))},c.prototype.debugInfo=function(o){return o=o||this.name,o==null?"parent: <"+this.parent.name+">":"attribute: {"+o+"}, parent: <"+this.parent.name+">"},c.prototype.isEqualNode=function(o){return o.namespaceURI!==this.namespaceURI||(o.prefix!==this.prefix||o.localName!==this.localName)?!1:!(o.value!==this.value)},c}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(n,a){for(var u in a)o.call(a,u)&&(n[u]=a[u]);function r(){this.constructor=n}return r.prototype=a.prototype,n.prototype=new r,n.__super__=a.prototype,n},o={}.hasOwnProperty;m=D("./NodeType"),h=D("./XMLCharacterData"),_.exports=v=function(i){c(n,i);function n(a,u){if(n.__super__.constructor.call(this,a),u==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(u)}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},n}(h)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h=function(i,n){for(var a in n)c.call(n,a)&&(i[a]=n[a]);function u(){this.constructor=i}return u.prototype=n.prototype,i.prototype=new u,i.__super__=n.prototype,i},c={}.hasOwnProperty;v=D("./XMLNode"),_.exports=m=function(o){h(i,o);function i(n){i.__super__.constructor.call(this,n),this.value=""}return Object.defineProperty(i.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(i.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),i.prototype.clone=function(){return(0,f.default)(this)},i.prototype.substringData=function(n,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.appendData=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.insertData=function(n,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.deleteData=function(n,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.replaceData=function(n,a,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.isEqualNode=function(n){return i.__super__.isEqualNode.apply(this,arguments).isEqualNode(n)?!(n.data!==this.data):!1},i}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(n,a){for(var u in a)o.call(a,u)&&(n[u]=a[u]);function r(){this.constructor=n}return r.prototype=a.prototype,n.prototype=new r,n.__super__=a.prototype,n},o={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(n,i);function n(a,u){if(n.__super__.constructor.call(this,a),u==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(u)}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},n}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),A=D("babel-runtime/core-js/object/create"),m=v(A);function v(h){return h&&h.__esModule?h:{default:h}}(function(){var h,c,o;c=D("./XMLDOMErrorHandler"),o=D("./XMLDOMStringList"),_.exports=h=function(){function i(){var n;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new c,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=n=(0,m.default)(this.defaultParams)}return Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new o((0,f.default)(this.defaultParams))}}),i.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},i.prototype.canSetParameter=function(n,a){return!0},i.prototype.setParameter=function(n,a){return a!=null?this.params[n]=a:delete this.params[n]},i}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(){}return f.prototype.handleError=function(A){throw new Error(A)},f}()}).call(void 0)},{}],260:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(){}return f.prototype.hasFeature=function(A,m){return!0},f.prototype.createDocumentType=function(A,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(A,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(A){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(A,m){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(A){this.arr=A||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(A){return this.arr[A]||null},f.prototype.contains=function(A){return this.arr.indexOf(A)!==-1},f}()}).call(void 0)},{}],262:[function(D,_,e){"use strict";(function(){var g,f,A,m=function(c,o){for(var i in o)v.call(o,i)&&(c[i]=o[i]);function n(){this.constructor=c}return n.prototype=o.prototype,c.prototype=new n,c.__super__=o.prototype,c},v={}.hasOwnProperty;A=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(o,i,n,a,u,r){if(c.__super__.constructor.call(this,o),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(n==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(i));if(!a)throw new Error("Missing DTD attribute type. "+this.debugInfo(i));if(!u)throw new Error("Missing DTD attribute default. "+this.debugInfo(i));if(u.indexOf("#")!==0&&(u="#"+u),!u.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(i));if(r&&!u.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(i));this.elementName=this.stringify.name(i),this.type=g.AttributeDeclaration,this.attributeName=this.stringify.name(n),this.attributeType=this.stringify.dtdAttType(a),r&&(this.defaultValue=this.stringify.dtdAttDefault(r)),this.defaultValueType=u}return c.prototype.toString=function(o){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(o))},c}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(D,_,e){"use strict";(function(){var g,f,A,m=function(c,o){for(var i in o)v.call(o,i)&&(c[i]=o[i]);function n(){this.constructor=c}return n.prototype=o.prototype,c.prototype=new n,c.__super__=o.prototype,c},v={}.hasOwnProperty;A=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(o,i,n){if(c.__super__.constructor.call(this,o),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.name(i),this.type=g.ElementDeclaration,this.value=this.stringify.dtdElementValue(n)}return c.prototype.toString=function(o){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(o))},c}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(D,_,e){"use strict";(function(){var g,f,A,m,v=function(o,i){for(var n in i)h.call(i,n)&&(o[n]=i[n]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;m=D("./Utility").isObject,A=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(c){v(o,c);function o(i,n,a,u){if(o.__super__.constructor.call(this,i),a==null)throw new Error("Missing DTD entity name. "+this.debugInfo(a));if(u==null)throw new Error("Missing DTD entity value. "+this.debugInfo(a));if(this.pe=!!n,this.name=this.stringify.name(a),this.type=g.EntityDeclaration,!m(u))this.value=this.stringify.dtdEntityValue(u),this.internal=!0;else{if(!u.pubID&&!u.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(a));if(u.pubID&&!u.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(a));if(this.internal=!1,u.pubID!=null&&(this.pubID=this.stringify.dtdPubID(u.pubID)),u.sysID!=null&&(this.sysID=this.stringify.dtdSysID(u.sysID)),u.nData!=null&&(this.nData=this.stringify.dtdNData(u.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(a))}}return Object.defineProperty(o.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(o.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(o.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlVersion",{get:function(){return null}}),o.prototype.toString=function(i){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(i))},o}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(D,_,e){"use strict";(function(){var g,f,A,m=function(c,o){for(var i in o)v.call(o,i)&&(c[i]=o[i]);function n(){this.constructor=c}return n.prototype=o.prototype,c.prototype=new n,c.__super__=o.prototype,c},v={}.hasOwnProperty;A=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(o,i,n){if(c.__super__.constructor.call(this,o),i==null)throw new Error("Missing DTD notation name. "+this.debugInfo(i));if(!n.pubID&&!n.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(i));this.name=this.stringify.name(i),this.type=g.NotationDeclaration,n.pubID!=null&&(this.pubID=this.stringify.dtdPubID(n.pubID)),n.sysID!=null&&(this.sysID=this.stringify.dtdSysID(n.sysID))}return Object.defineProperty(c.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,"systemId",{get:function(){return this.sysID}}),c.prototype.toString=function(o){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(o))},c}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(D,_,e){"use strict";(function(){var g,f,A,m,v=function(o,i){for(var n in i)h.call(i,n)&&(o[n]=i[n]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;m=D("./Utility").isObject,A=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(c){v(o,c);function o(i,n,a,u){var r;o.__super__.constructor.call(this,i),m(n)&&(r=n,n=r.version,a=r.encoding,u=r.standalone),n||(n="1.0"),this.type=g.Declaration,this.version=this.stringify.xmlVersion(n),a!=null&&(this.encoding=this.stringify.xmlEncoding(a)),u!=null&&(this.standalone=this.stringify.xmlStandalone(u))}return o.prototype.toString=function(i){return this.options.writer.declaration(this,this.options.writer.filterOptions(i))},o}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(D,_,e){"use strict";(function(){var g,f,A,m,v,h,c,o,i,n=function(r,l){for(var t in l)a.call(l,t)&&(r[t]=l[t]);function s(){this.constructor=r}return s.prototype=l.prototype,r.prototype=new s,r.__super__=l.prototype,r},a={}.hasOwnProperty;i=D("./Utility").isObject,o=D("./XMLNode"),g=D("./NodeType"),f=D("./XMLDTDAttList"),m=D("./XMLDTDEntity"),A=D("./XMLDTDElement"),v=D("./XMLDTDNotation"),c=D("./XMLNamedNodeMap"),_.exports=h=function(u){n(r,u);function r(l,t,s){var d,p,b,w,E,S;if(r.__super__.constructor.call(this,l),this.type=g.DocType,l.children){for(w=l.children,p=0,b=w.length;p<b;p++)if(d=w[p],d.type===g.Element){this.name=d.name;break}}this.documentObject=l,i(t)&&(E=t,t=E.pubID,s=E.sysID),s==null&&(S=[t,s],s=S[0],t=S[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(r.prototype,"entities",{get:function(){var t,s,d,p,b;for(p={},b=this.children,s=0,d=b.length;s<d;s++)t=b[s],t.type===g.EntityDeclaration&&!t.pe&&(p[t.name]=t);return new c(p)}}),Object.defineProperty(r.prototype,"notations",{get:function(){var t,s,d,p,b;for(p={},b=this.children,s=0,d=b.length;s<d;s++)t=b[s],t.type===g.NotationDeclaration&&(p[t.name]=t);return new c(p)}}),Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(r.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),r.prototype.element=function(l,t){var s;return s=new A(this,l,t),this.children.push(s),this},r.prototype.attList=function(l,t,s,d,p){var b;return b=new f(this,l,t,s,d,p),this.children.push(b),this},r.prototype.entity=function(l,t){var s;return s=new m(this,!1,l,t),this.children.push(s),this},r.prototype.pEntity=function(l,t){var s;return s=new m(this,!0,l,t),this.children.push(s),this},r.prototype.notation=function(l,t){var s;return s=new v(this,l,t),this.children.push(s),this},r.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},r.prototype.ele=function(l,t){return this.element(l,t)},r.prototype.att=function(l,t,s,d,p){return this.attList(l,t,s,d,p)},r.prototype.ent=function(l,t){return this.entity(l,t)},r.prototype.pent=function(l,t){return this.pEntity(l,t)},r.prototype.not=function(l,t){return this.notation(l,t)},r.prototype.up=function(){return this.root()||this.documentObject},r.prototype.isEqualNode=function(l){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},r}(o)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(D,_,e){"use strict";(function(){var g,f,A,m,v,h,c,o,i=function(u,r){for(var l in r)n.call(r,l)&&(u[l]=r[l]);function t(){this.constructor=u}return t.prototype=r.prototype,u.prototype=new t,u.__super__=r.prototype,u},n={}.hasOwnProperty;o=D("./Utility").isPlainObject,A=D("./XMLDOMImplementation"),f=D("./XMLDOMConfiguration"),v=D("./XMLNode"),g=D("./NodeType"),c=D("./XMLStringifier"),h=D("./XMLStringWriter"),_.exports=m=function(a){i(u,a);function u(r){u.__super__.constructor.call(this,null),this.name="#document",this.type=g.Document,this.documentURI=null,this.domConfig=new f,r||(r={}),r.writer||(r.writer=new h),this.options=r,this.stringify=new c(r)}return Object.defineProperty(u.prototype,"implementation",{value:new A}),Object.defineProperty(u.prototype,"doctype",{get:function(){var l,t,s,d;for(d=this.children,t=0,s=d.length;t<s;t++)if(l=d[t],l.type===g.DocType)return l;return null}}),Object.defineProperty(u.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(u.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(u.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(u.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].encoding:null}}),Object.defineProperty(u.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(u.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(u.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(u.prototype,"origin",{get:function(){return null}}),Object.defineProperty(u.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(u.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(u.prototype,"contentType",{get:function(){return null}}),u.prototype.end=function(r){var l;return l={},r?o(r)&&(l=r,r=this.options.writer):r=this.options.writer,r.document(this,r.filterOptions(l))},u.prototype.toString=function(r){return this.options.writer.document(this,this.options.writer.filterOptions(r))},u.prototype.createElement=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createTextNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createComment=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createCDATASection=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createProcessingInstruction=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createAttribute=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createEntityReference=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementsByTagName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.importNode=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createElementNS=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createAttributeNS=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementsByTagNameNS=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementById=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.adoptNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.renameNode=function(r,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementsByClassName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createEvent=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createNodeIterator=function(r,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createTreeWalker=function(r,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},u}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(D,_,e){"use strict";(function(){var g,f,A,m,v,h,c,o,i,n,a,u,r,l,t,s,d,p,b,w,E,S,x,T,L={}.hasOwnProperty;T=D("./Utility"),S=T.isObject,E=T.isFunction,x=T.isPlainObject,w=T.getValue,g=D("./NodeType"),u=D("./XMLDocument"),l=D("./XMLElement"),m=D("./XMLCData"),v=D("./XMLComment"),s=D("./XMLRaw"),b=D("./XMLText"),t=D("./XMLProcessingInstruction"),n=D("./XMLDeclaration"),a=D("./XMLDocType"),h=D("./XMLDTDAttList"),o=D("./XMLDTDEntity"),c=D("./XMLDTDElement"),i=D("./XMLDTDNotation"),A=D("./XMLAttribute"),p=D("./XMLStringifier"),d=D("./XMLStringWriter"),f=D("./WriterState"),_.exports=r=function(){function y(C,O,N){var k;this.name="?xml",this.type=g.Document,C||(C={}),k={},C.writer?x(C.writer)&&(k=C.writer,C.writer=new d):C.writer=new d,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(k),this.stringify=new p(C),this.onDataCallback=O||function(){},this.onEndCallback=N||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return y.prototype.createChildNode=function(C){var O,N,k,F,B,H,W,R;switch(C.type){case g.CData:this.cdata(C.value);break;case g.Comment:this.comment(C.value);break;case g.Element:k={},W=C.attribs;for(N in W){if(!L.call(W,N))continue;O=W[N],k[N]=O.value}this.node(C.name,k);break;case g.Dummy:this.dummy();break;case g.Raw:this.raw(C.value);break;case g.Text:this.text(C.value);break;case g.ProcessingInstruction:this.instruction(C.target,C.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+C.constructor.name)}for(R=C.children,B=0,H=R.length;B<H;B++)F=R[B],this.createChildNode(F),F.type===g.Element&&this.up();return this},y.prototype.dummy=function(){return this},y.prototype.node=function(C,O,N){var k;if(C==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(C));return this.openCurrent(),C=w(C),O==null&&(O={}),O=w(O),S(O)||(k=[O,N],N=k[0],O=k[1]),this.currentNode=new l(this,C,O),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null&&this.text(N),this},y.prototype.element=function(C,O,N){var k,F,B,H,W,R;if(this.currentNode&&this.currentNode.type===g.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||S(C)||E(C))for(H=this.options.noValidation,this.options.noValidation=!0,R=new u(this.options).element("TEMP_ROOT"),R.element(C),this.options.noValidation=H,W=R.children,F=0,B=W.length;F<B;F++)k=W[F],this.createChildNode(k),k.type===g.Element&&this.up();else this.node(C,O,N);return this},y.prototype.attribute=function(C,O){var N,k;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(C));if(C!=null&&(C=w(C)),S(C))for(N in C){if(!L.call(C,N))continue;k=C[N],this.attribute(N,k)}else E(O)&&(O=O.apply()),this.options.keepNullAttributes&&O==null?this.currentNode.attribs[C]=new A(this,C,""):O!=null&&(this.currentNode.attribs[C]=new A(this,C,O));return this},y.prototype.text=function(C){var O;return this.openCurrent(),O=new b(this,C),this.onData(this.writer.text(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.cdata=function(C){var O;return this.openCurrent(),O=new m(this,C),this.onData(this.writer.cdata(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.comment=function(C){var O;return this.openCurrent(),O=new v(this,C),this.onData(this.writer.comment(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.raw=function(C){var O;return this.openCurrent(),O=new s(this,C),this.onData(this.writer.raw(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.instruction=function(C,O){var N,k,F,B,H;if(this.openCurrent(),C!=null&&(C=w(C)),O!=null&&(O=w(O)),Array.isArray(C))for(N=0,B=C.length;N<B;N++)k=C[N],this.instruction(k);else if(S(C))for(k in C){if(!L.call(C,k))continue;F=C[k],this.instruction(k,F)}else E(O)&&(O=O.apply()),H=new t(this,C,O),this.onData(this.writer.processingInstruction(H,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},y.prototype.declaration=function(C,O,N){var k;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return k=new n(this,C,O,N),this.onData(this.writer.declaration(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.doctype=function(C,O,N){if(this.openCurrent(),C==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new a(this,O,N),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},y.prototype.dtdElement=function(C,O){var N;return this.openCurrent(),N=new c(this,C,O),this.onData(this.writer.dtdElement(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.attList=function(C,O,N,k,F){var B;return this.openCurrent(),B=new h(this,C,O,N,k,F),this.onData(this.writer.dtdAttList(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.entity=function(C,O){var N;return this.openCurrent(),N=new o(this,!1,C,O),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.pEntity=function(C,O){var N;return this.openCurrent(),N=new o(this,!0,C,O),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.notation=function(C,O){var N;return this.openCurrent(),N=new i(this,C,O),this.onData(this.writer.dtdNotation(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},y.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},y.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},y.prototype.openNode=function(C){var O,N,k,F;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===g.Element&&(this.root=C),N="",C.type===g.Element){this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,F=C.attribs;for(k in F){if(!L.call(F,k))continue;O=F[k],N+=this.writer.attribute(O,this.writerOptions,this.currentLevel)}N+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID?N+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"':C.sysID&&(N+=' SYSTEM "'+C.sysID+'"'),C.children?(N+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,N+=">"),N+=this.writer.endline(C,this.writerOptions,this.currentLevel);return this.onData(N,this.currentLevel),C.isOpen=!0}},y.prototype.closeNode=function(C){var O;if(!C.isClosed)return O="",this.writerOptions.state=f.CloseTag,C.type===g.Element?O=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel):O=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(O,this.currentLevel),C.isClosed=!0},y.prototype.onData=function(C,O){return this.documentStarted=!0,this.onDataCallback(C,O+1)},y.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},y.prototype.debugInfo=function(C){return C==null?"":"node: <"+C+">"},y.prototype.ele=function(){return this.element.apply(this,arguments)},y.prototype.nod=function(C,O,N){return this.node(C,O,N)},y.prototype.txt=function(C){return this.text(C)},y.prototype.dat=function(C){return this.cdata(C)},y.prototype.com=function(C){return this.comment(C)},y.prototype.ins=function(C,O){return this.instruction(C,O)},y.prototype.dec=function(C,O,N){return this.declaration(C,O,N)},y.prototype.dtd=function(C,O,N){return this.doctype(C,O,N)},y.prototype.e=function(C,O,N){return this.element(C,O,N)},y.prototype.n=function(C,O,N){return this.node(C,O,N)},y.prototype.t=function(C){return this.text(C)},y.prototype.d=function(C){return this.cdata(C)},y.prototype.c=function(C){return this.comment(C)},y.prototype.r=function(C){return this.raw(C)},y.prototype.i=function(C,O){return this.instruction(C,O)},y.prototype.att=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},y.prototype.a=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},y.prototype.ent=function(C,O){return this.entity(C,O)},y.prototype.pent=function(C,O){return this.pEntity(C,O)},y.prototype.not=function(C,O){return this.notation(C,O)},y}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(n,a){for(var u in a)o.call(a,u)&&(n[u]=a[u]);function r(){this.constructor=n}return r.prototype=a.prototype,n.prototype=new r,n.__super__=a.prototype,n},o={}.hasOwnProperty;h=D("./XMLNode"),m=D("./NodeType"),_.exports=v=function(i){c(n,i);function n(a){n.__super__.constructor.call(this,a),this.type=m.Dummy}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(a){return""},n}(h)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c,o,i,n,a,u,r=function(s,d){for(var p in d)l.call(d,p)&&(s[p]=d[p]);function b(){this.constructor=s}return b.prototype=d.prototype,s.prototype=new b,s.__super__=d.prototype,s},l={}.hasOwnProperty;u=D("./Utility"),a=u.isObject,n=u.isFunction,i=u.getValue,o=D("./XMLNode"),m=D("./NodeType"),v=D("./XMLAttribute"),c=D("./XMLNamedNodeMap"),_.exports=h=function(t){r(s,t);function s(d,p,b){var w,E,S,x;if(s.__super__.constructor.call(this,d),p==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(p),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,b!=null&&this.attribute(b),d.type===m.Document&&(this.isRoot=!0,this.documentObject=d,d.rootObject=this,d.children)){for(x=d.children,E=0,S=x.length;E<S;E++)if(w=x[E],w.type===m.DocType){w.name=this.name;break}}}return Object.defineProperty(s.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(s.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(s.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new c(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var d,p,b,w;b=(0,f.default)(this),b.isRoot&&(b.documentObject=null),b.attribs={},w=this.attribs;for(p in w){if(!l.call(w,p))continue;d=w[p],b.attribs[p]=d.clone()}return b.children=[],this.children.forEach(function(E){var S;return S=E.clone(),S.parent=b,b.children.push(S)}),b},s.prototype.attribute=function(d,p){var b,w;if(d!=null&&(d=i(d)),a(d))for(b in d){if(!l.call(d,b))continue;w=d[b],this.attribute(b,w)}else n(p)&&(p=p.apply()),this.options.keepNullAttributes&&p==null?this.attribs[d]=new v(this,d,""):p!=null&&(this.attribs[d]=new v(this,d,p));return this},s.prototype.removeAttribute=function(d){var p,b,w;if(d==null)throw new Error("Missing attribute name. "+this.debugInfo());if(d=i(d),Array.isArray(d))for(b=0,w=d.length;b<w;b++)p=d[b],delete this.attribs[p];else delete this.attribs[d];return this},s.prototype.toString=function(d){return this.options.writer.element(this,this.options.writer.filterOptions(d))},s.prototype.att=function(d,p){return this.attribute(d,p)},s.prototype.a=function(d,p){return this.attribute(d,p)},s.prototype.getAttribute=function(d){return this.attribs.hasOwnProperty(d)?this.attribs[d].value:null},s.prototype.setAttribute=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(d){return this.attribs.hasOwnProperty(d)?this.attribs[d]:null},s.prototype.setAttributeNode=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(d,p,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(d){return this.attribs.hasOwnProperty(d)},s.prototype.hasAttributeNS=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(d,p){return this.attribs.hasOwnProperty(d)?this.attribs[d].isId:p},s.prototype.setIdAttributeNS=function(d,p,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(d,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(d){var p,b,w;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(d))return!1;if(d.namespaceURI!==this.namespaceURI)return!1;if(d.prefix!==this.prefix)return!1;if(d.localName!==this.localName)return!1;if(d.attribs.length!==this.attribs.length)return!1;for(p=b=0,w=this.attribs.length-1;0<=w?b<=w:b>=w;p=0<=w?++b:--b)if(!this.attribs[p].isEqualNode(d.attribs[p]))return!1;return!0},s}(o)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m;_.exports=m=function(){function v(h){this.nodes=h}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,f.default)(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(h){return this.nodes[h]},v.prototype.setNamedItem=function(h){var c;return c=this.nodes[h.nodeName],this.nodes[h.nodeName]=h,c||null},v.prototype.removeNamedItem=function(h){var c;return c=this.nodes[h],delete this.nodes[h],c||null},v.prototype.item=function(h){return this.nodes[(0,f.default)(this.nodes)[h]]||null},v.prototype.getNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(h){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(D,_,e){"use strict";(function(){var g,f,A,m,v,h,c,o,i,n,a,u,r,l,t,s,d,p,b,w={}.hasOwnProperty;b=D("./Utility"),p=b.isObject,d=b.isFunction,s=b.isEmpty,t=b.getValue,o=null,A=null,m=null,v=null,h=null,r=null,l=null,u=null,c=null,f=null,a=null,i=null,g=null,_.exports=n=function(){function E(S){this.parent=S,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,o||(o=D("./XMLElement"),A=D("./XMLCData"),m=D("./XMLComment"),v=D("./XMLDeclaration"),h=D("./XMLDocType"),r=D("./XMLRaw"),l=D("./XMLText"),u=D("./XMLProcessingInstruction"),c=D("./XMLDummy"),f=D("./NodeType"),a=D("./XMLNodeList"),i=D("./XMLNamedNodeMap"),g=D("./DocumentPosition"))}return Object.defineProperty(E.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(E.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(E.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(E.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(E.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new a(this.children)),this.childNodeList}}),Object.defineProperty(E.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(E.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(E.prototype,"previousSibling",{get:function(){var x;return x=this.parent.children.indexOf(this),this.parent.children[x-1]||null}}),Object.defineProperty(E.prototype,"nextSibling",{get:function(){var x;return x=this.parent.children.indexOf(this),this.parent.children[x+1]||null}}),Object.defineProperty(E.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(E.prototype,"textContent",{get:function(){var x,T,L,y,C;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(C="",y=this.children,T=0,L=y.length;T<L;T++)x=y[T],x.textContent&&(C+=x.textContent);return C}else return null},set:function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),E.prototype.setParent=function(S){var x,T,L,y,C;for(this.parent=S,S&&(this.options=S.options,this.stringify=S.stringify),y=this.children,C=[],T=0,L=y.length;T<L;T++)x=y[T],C.push(x.setParent(this));return C},E.prototype.element=function(S,x,T){var L,y,C,O,N,k,F,B,H,W,R;if(k=null,x===null&&T==null&&(H=[{},null],x=H[0],T=H[1]),x==null&&(x={}),x=t(x),p(x)||(W=[x,T],T=W[0],x=W[1]),S!=null&&(S=t(S)),Array.isArray(S))for(C=0,F=S.length;C<F;C++)y=S[C],k=this.element(y);else if(d(S))k=this.element(S.apply());else if(p(S))for(N in S){if(!w.call(S,N))continue;if(R=S[N],d(R)&&(R=R.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)k=this.attribute(N.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R)&&s(R))k=this.dummy();else if(p(R)&&s(R))k=this.element(N);else if(!this.options.keepNullNodes&&R==null)k=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(R))for(O=0,B=R.length;O<B;O++)y=R[O],L={},L[N]=y,k=this.element(L);else p(R)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&N.indexOf(this.stringify.convertTextKey)===0?k=this.element(R):(k=this.element(N),k.element(R)):k=this.element(N,R)}else!this.options.keepNullNodes&&T===null?k=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&S.indexOf(this.stringify.convertTextKey)===0?k=this.text(T):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&S.indexOf(this.stringify.convertCDataKey)===0?k=this.cdata(T):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&S.indexOf(this.stringify.convertCommentKey)===0?k=this.comment(T):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&S.indexOf(this.stringify.convertRawKey)===0?k=this.raw(T):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&S.indexOf(this.stringify.convertPIKey)===0?k=this.instruction(S.substr(this.stringify.convertPIKey.length),T):k=this.node(S,x,T);if(k==null)throw new Error("Could not create any elements with: "+S+". "+this.debugInfo());return k},E.prototype.insertBefore=function(S,x,T){var L,y,C,O,N;if(S!=null?S.type:void 0)return C=S,O=x,C.setParent(this),O?(y=children.indexOf(O),N=children.splice(y),children.push(C),Array.prototype.push.apply(children,N)):children.push(C),C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(S));return y=this.parent.children.indexOf(this),N=this.parent.children.splice(y),L=this.parent.element(S,x,T),Array.prototype.push.apply(this.parent.children,N),L},E.prototype.insertAfter=function(S,x,T){var L,y,C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(S));return y=this.parent.children.indexOf(this),C=this.parent.children.splice(y+1),L=this.parent.element(S,x,T),Array.prototype.push.apply(this.parent.children,C),L},E.prototype.remove=function(){var S,x;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return S=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[S,S-S+1].concat(x=[])),this.parent},E.prototype.node=function(S,x,T){var L,y;return S!=null&&(S=t(S)),x||(x={}),x=t(x),p(x)||(y=[x,T],T=y[0],x=y[1]),L=new o(this,S,x),T!=null&&L.text(T),this.children.push(L),L},E.prototype.text=function(S){var x;return p(S)&&this.element(S),x=new l(this,S),this.children.push(x),this},E.prototype.cdata=function(S){var x;return x=new A(this,S),this.children.push(x),this},E.prototype.comment=function(S){var x;return x=new m(this,S),this.children.push(x),this},E.prototype.commentBefore=function(S){var x,T,L;return T=this.parent.children.indexOf(this),L=this.parent.children.splice(T),x=this.parent.comment(S),Array.prototype.push.apply(this.parent.children,L),this},E.prototype.commentAfter=function(S){var x,T,L;return T=this.parent.children.indexOf(this),L=this.parent.children.splice(T+1),x=this.parent.comment(S),Array.prototype.push.apply(this.parent.children,L),this},E.prototype.raw=function(S){var x;return x=new r(this,S),this.children.push(x),this},E.prototype.dummy=function(){var S;return S=new c(this),S},E.prototype.instruction=function(S,x){var T,L,y,C,O;if(S!=null&&(S=t(S)),x!=null&&(x=t(x)),Array.isArray(S))for(C=0,O=S.length;C<O;C++)T=S[C],this.instruction(T);else if(p(S))for(T in S){if(!w.call(S,T))continue;L=S[T],this.instruction(T,L)}else d(x)&&(x=x.apply()),y=new u(this,S,x),this.children.push(y);return this},E.prototype.instructionBefore=function(S,x){var T,L,y;return L=this.parent.children.indexOf(this),y=this.parent.children.splice(L),T=this.parent.instruction(S,x),Array.prototype.push.apply(this.parent.children,y),this},E.prototype.instructionAfter=function(S,x){var T,L,y;return L=this.parent.children.indexOf(this),y=this.parent.children.splice(L+1),T=this.parent.instruction(S,x),Array.prototype.push.apply(this.parent.children,y),this},E.prototype.declaration=function(S,x,T){var L,y;return L=this.document(),y=new v(L,S,x,T),L.children.length===0?L.children.unshift(y):L.children[0].type===f.Declaration?L.children[0]=y:L.children.unshift(y),L.root()||L},E.prototype.dtd=function(S,x){var T,L,y,C,O,N,k,F,B,H;for(L=this.document(),y=new h(L,S,x),B=L.children,C=O=0,k=B.length;O<k;C=++O)if(T=B[C],T.type===f.DocType)return L.children[C]=y,y;for(H=L.children,C=N=0,F=H.length;N<F;C=++N)if(T=H[C],T.isRoot)return L.children.splice(C,0,y),y;return L.children.push(y),y},E.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},E.prototype.root=function(){var S;for(S=this;S;){if(S.type===f.Document)return S.rootObject;if(S.isRoot)return S;S=S.parent}},E.prototype.document=function(){var S;for(S=this;S;){if(S.type===f.Document)return S;S=S.parent}},E.prototype.end=function(S){return this.document().end(S)},E.prototype.prev=function(){var S;if(S=this.parent.children.indexOf(this),S<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[S-1]},E.prototype.next=function(){var S;if(S=this.parent.children.indexOf(this),S===-1||S===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[S+1]},E.prototype.importDocument=function(S){var x;return x=S.root().clone(),x.parent=this,x.isRoot=!1,this.children.push(x),this},E.prototype.debugInfo=function(S){var x,T;return S=S||this.name,S==null&&!((x=this.parent)!=null?x.name:void 0)?"":S==null?"parent: <"+this.parent.name+">":((T=this.parent)!=null?T.name:void 0)?"node: <"+S+">, parent: <"+this.parent.name+">":"node: <"+S+">"},E.prototype.ele=function(S,x,T){return this.element(S,x,T)},E.prototype.nod=function(S,x,T){return this.node(S,x,T)},E.prototype.txt=function(S){return this.text(S)},E.prototype.dat=function(S){return this.cdata(S)},E.prototype.com=function(S){return this.comment(S)},E.prototype.ins=function(S,x){return this.instruction(S,x)},E.prototype.doc=function(){return this.document()},E.prototype.dec=function(S,x,T){return this.declaration(S,x,T)},E.prototype.e=function(S,x,T){return this.element(S,x,T)},E.prototype.n=function(S,x,T){return this.node(S,x,T)},E.prototype.t=function(S){return this.text(S)},E.prototype.d=function(S){return this.cdata(S)},E.prototype.c=function(S){return this.comment(S)},E.prototype.r=function(S){return this.raw(S)},E.prototype.i=function(S,x){return this.instruction(S,x)},E.prototype.u=function(){return this.up()},E.prototype.importXMLBuilder=function(S){return this.importDocument(S)},E.prototype.replaceChild=function(S,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.removeChild=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.appendChild=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.hasChildNodes=function(){return this.children.length!==0},E.prototype.cloneNode=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isSupported=function(S,x){return!0},E.prototype.hasAttributes=function(){return this.attribs.length!==0},E.prototype.compareDocumentPosition=function(S){var x,T;return x=this,x===S?0:this.document()!==S.document()?(T=g.Disconnected|g.ImplementationSpecific,Math.random()<.5?T|=g.Preceding:T|=g.Following,T):x.isAncestor(S)?g.Contains|g.Preceding:x.isDescendant(S)?g.Contains|g.Following:x.isPreceding(S)?g.Preceding:g.Following},E.prototype.isSameNode=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupPrefix=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isDefaultNamespace=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupNamespaceURI=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isEqualNode=function(S){var x,T,L;if(S.nodeType!==this.nodeType)return!1;if(S.children.length!==this.children.length)return!1;for(x=T=0,L=this.children.length-1;0<=L?T<=L:T>=L;x=0<=L?++T:--T)if(!this.children[x].isEqualNode(S.children[x]))return!1;return!0},E.prototype.getFeature=function(S,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.setUserData=function(S,x,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getUserData=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.contains=function(S){return S?S===this||this.isDescendant(S):!1},E.prototype.isDescendant=function(S){var x,T,L,y,C;for(C=this.children,L=0,y=C.length;L<y;L++){if(x=C[L],S===x)return!0;if(T=x.isDescendant(S),T)return!0}return!1},E.prototype.isAncestor=function(S){return S.isDescendant(this)},E.prototype.isPreceding=function(S){var x,T;return x=this.treePosition(S),T=this.treePosition(this),x===-1||T===-1?!1:x<T},E.prototype.isFollowing=function(S){var x,T;return x=this.treePosition(S),T=this.treePosition(this),x===-1||T===-1?!1:x>T},E.prototype.treePosition=function(S){var x,T;return T=0,x=!1,this.foreachTreeNode(this.document(),function(L){if(T++,!x&&L===S)return x=!0}),x?T:-1},E.prototype.foreachTreeNode=function(S,x){var T,L,y,C,O;for(S||(S=this.document()),C=S.children,L=0,y=C.length;L<y;L++){if(T=C[L],O=x(T))return O;if(O=this.foreachTreeNode(T,x),O)return O}},E}()}).call(void 0)},{"./DocumentPosition":250,"./NodeType":251,"./Utility":252,"./XMLCData":255,"./XMLComment":257,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLNamedNodeMap":272,"./XMLNodeList":274,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],274:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(A){this.nodes=A}return Object.defineProperty(f.prototype,"length",{get:function(){return this.nodes.length||0}}),f.prototype.clone=function(){return this.nodes=null},f.prototype.item=function(A){return this.nodes[A]||null},f}()}).call(void 0)},{}],275:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(n,a){for(var u in a)o.call(a,u)&&(n[u]=a[u]);function r(){this.constructor=n}return r.prototype=a.prototype,n.prototype=new r,n.__super__=a.prototype,n},o={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(n,i);function n(a,u,r){if(n.__super__.constructor.call(this,a),u==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(u),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},n.prototype.isEqualNode=function(a){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)?!(a.target!==this.target):!1},n}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(n,a){for(var u in a)o.call(a,u)&&(n[u]=a[u]);function r(){this.constructor=n}return r.prototype=a.prototype,n.prototype=new r,n.__super__=a.prototype,n},o={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLNode"),_.exports=h=function(i){c(n,i);function n(a,u){if(n.__super__.constructor.call(this,a),u==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(u)}return n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},n}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(D,_,e){"use strict";(function(){var g,f,A,m,v=function(o,i){for(var n in i)h.call(i,n)&&(o[n]=i[n]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;g=D("./NodeType"),m=D("./XMLWriterBase"),f=D("./WriterState"),_.exports=A=function(c){v(o,c);function o(i,n){this.stream=i,o.__super__.constructor.call(this,n)}return o.prototype.endline=function(i,n,a){return i.isLastRootNode&&n.state===f.CloseTag?"":o.__super__.endline.call(this,i,n,a)},o.prototype.document=function(i,n){var a,u,r,l,t,s,d,p,b;for(d=i.children,u=r=0,t=d.length;r<t;u=++r)a=d[u],a.isLastRootNode=u===i.children.length-1;for(n=this.filterOptions(n),p=i.children,b=[],l=0,s=p.length;l<s;l++)a=p[l],b.push(this.writeChildNode(a,n,0));return b},o.prototype.attribute=function(i,n,a){return this.stream.write(o.__super__.attribute.call(this,i,n,a))},o.prototype.cdata=function(i,n,a){return this.stream.write(o.__super__.cdata.call(this,i,n,a))},o.prototype.comment=function(i,n,a){return this.stream.write(o.__super__.comment.call(this,i,n,a))},o.prototype.declaration=function(i,n,a){return this.stream.write(o.__super__.declaration.call(this,i,n,a))},o.prototype.docType=function(i,n,a){var u,r,l,t;if(a||(a=0),this.openNode(i,n,a),n.state=f.OpenTag,this.stream.write(this.indent(i,n,a)),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,n,a)),n.state=f.InsideTag,t=i.children,r=0,l=t.length;r<l;r++)u=t[r],this.writeChildNode(u,n,a+1);n.state=f.CloseTag,this.stream.write("]")}return n.state=f.CloseTag,this.stream.write(n.spaceBeforeSlash+">"),this.stream.write(this.endline(i,n,a)),n.state=f.None,this.closeNode(i,n,a)},o.prototype.element=function(i,n,a){var u,r,l,t,s,d,p,b,w,E;a||(a=0),this.openNode(i,n,a),n.state=f.OpenTag,this.stream.write(this.indent(i,n,a)+"<"+i.name),w=i.attribs;for(p in w){if(!h.call(w,p))continue;u=w[p],this.attribute(u,n,a)}if(l=i.children.length,t=l===0?null:i.children[0],l===0||i.children.every(function(S){return(S.type===g.Text||S.type===g.Raw)&&S.value===""}))n.allowEmpty?(this.stream.write(">"),n.state=f.CloseTag,this.stream.write("</"+i.name+">")):(n.state=f.CloseTag,this.stream.write(n.spaceBeforeSlash+"/>"));else if(n.pretty&&l===1&&(t.type===g.Text||t.type===g.Raw)&&t.value!=null)this.stream.write(">"),n.state=f.InsideTag,n.suppressPrettyCount++,b=!0,this.writeChildNode(t,n,a+1),n.suppressPrettyCount--,b=!1,n.state=f.CloseTag,this.stream.write("</"+i.name+">");else{for(this.stream.write(">"+this.endline(i,n,a)),n.state=f.InsideTag,E=i.children,s=0,d=E.length;s<d;s++)r=E[s],this.writeChildNode(r,n,a+1);n.state=f.CloseTag,this.stream.write(this.indent(i,n,a)+"</"+i.name+">")}return this.stream.write(this.endline(i,n,a)),n.state=f.None,this.closeNode(i,n,a)},o.prototype.processingInstruction=function(i,n,a){return this.stream.write(o.__super__.processingInstruction.call(this,i,n,a))},o.prototype.raw=function(i,n,a){return this.stream.write(o.__super__.raw.call(this,i,n,a))},o.prototype.text=function(i,n,a){return this.stream.write(o.__super__.text.call(this,i,n,a))},o.prototype.dtdAttList=function(i,n,a){return this.stream.write(o.__super__.dtdAttList.call(this,i,n,a))},o.prototype.dtdElement=function(i,n,a){return this.stream.write(o.__super__.dtdElement.call(this,i,n,a))},o.prototype.dtdEntity=function(i,n,a){return this.stream.write(o.__super__.dtdEntity.call(this,i,n,a))},o.prototype.dtdNotation=function(i,n,a){return this.stream.write(o.__super__.dtdNotation.call(this,i,n,a))},o}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(D,_,e){"use strict";(function(){var g,f,A=function(h,c){for(var o in c)m.call(c,o)&&(h[o]=c[o]);function i(){this.constructor=h}return i.prototype=c.prototype,h.prototype=new i,h.__super__=c.prototype,h},m={}.hasOwnProperty;f=D("./XMLWriterBase"),_.exports=g=function(v){A(h,v);function h(c){h.__super__.constructor.call(this,c)}return h.prototype.document=function(c,o){var i,n,a,u,r;for(o=this.filterOptions(o),u="",r=c.children,n=0,a=r.length;n<a;n++)i=r[n],u+=this.writeChildNode(i,o,0);return o.pretty&&u.slice(-o.newline.length)===o.newline&&(u=u.slice(0,-o.newline.length)),u},h}(f)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(D,_,e){"use strict";(function(){var g,f=function(v,h){return function(){return v.apply(h,arguments)}},A={}.hasOwnProperty;_.exports=g=function(){function m(v){this.assertLegalName=f(this.assertLegalName,this),this.assertLegalChar=f(this.assertLegalChar,this);var h,c,o;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),c=v.stringify||{};for(h in c){if(!A.call(c,h))continue;o=c[h],this[h]=o}}return m.prototype.name=function(v){return this.options.noValidation?v:this.assertLegalName(""+v||"")},m.prototype.text=function(v){return this.options.noValidation?v:this.assertLegalChar(this.textEscape(""+v||""))},m.prototype.cdata=function(v){return this.options.noValidation?v:(v=""+v||"",v=v.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(v))},m.prototype.comment=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+v);return this.assertLegalChar(v)},m.prototype.raw=function(v){return this.options.noValidation?v:""+v||""},m.prototype.attValue=function(v){return this.options.noValidation?v:this.assertLegalChar(this.attEscape(v=""+v||""))},m.prototype.insTarget=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.insValue=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/\?>/))throw new Error("Invalid processing instruction value: "+v);return this.assertLegalChar(v)},m.prototype.xmlVersion=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+v);return v},m.prototype.xmlEncoding=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+v);return this.assertLegalChar(v)},m.prototype.xmlStandalone=function(v){return this.options.noValidation?v:v?"yes":"no"},m.prototype.dtdPubID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdSysID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdElementValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttType=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttDefault=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdEntityValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdNData=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.convertAttKey="@",m.prototype.convertPIKey="?",m.prototype.convertTextKey="#text",m.prototype.convertCDataKey="#cdata",m.prototype.convertCommentKey="#comment",m.prototype.convertRawKey="#raw",m.prototype.assertLegalChar=function(v){var h,c;if(this.options.noValidation)return v;if(h="",this.options.version==="1.0"){if(h=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=v.match(h))throw new Error("Invalid character in string: "+v+" at index "+c.index)}else if(this.options.version==="1.1"&&(h=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=v.match(h)))throw new Error("Invalid character in string: "+v+" at index "+c.index);return v},m.prototype.assertLegalName=function(v){var h;if(this.options.noValidation)return v;if(this.assertLegalChar(v),h=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!v.match(h))throw new Error("Invalid character in name");return v},m.prototype.textEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},m.prototype.attEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},m}()}).call(void 0)},{}],280:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(n,a){for(var u in a)o.call(a,u)&&(n[u]=a[u]);function r(){this.constructor=n}return r.prototype=a.prototype,n.prototype=new r,n.__super__=a.prototype,n},o={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(n,i);function n(a,u){if(n.__super__.constructor.call(this,a),u==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(u)}return Object.defineProperty(n.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"wholeText",{get:function(){var u,r,l;for(l="",r=this.previousSibling;r;)l=r.data+l,r=r.previousSibling;for(l+=this.data,u=this.nextSibling;u;)l=l+u.data,u=u.nextSibling;return l}}),n.prototype.clone=function(){return(0,f.default)(this)},n.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},n.prototype.splitText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceWholeText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(D,_,e){"use strict";(function(){var g,f,A,m,v,h,c,o,i,n,a,u,r,l,t,s,d,p={}.hasOwnProperty;d=D("./Utility").assign,g=D("./NodeType"),i=D("./XMLDeclaration"),n=D("./XMLDocType"),A=D("./XMLCData"),m=D("./XMLComment"),u=D("./XMLElement"),l=D("./XMLRaw"),t=D("./XMLText"),r=D("./XMLProcessingInstruction"),a=D("./XMLDummy"),v=D("./XMLDTDAttList"),h=D("./XMLDTDElement"),c=D("./XMLDTDEntity"),o=D("./XMLDTDNotation"),f=D("./WriterState"),_.exports=s=function(){function b(w){var E,S,x;w||(w={}),this.options=w,S=w.writer||{};for(E in S){if(!p.call(S,E))continue;x=S[E],this["_"+E]=this[E],this[E]=x}}return b.prototype.filterOptions=function(w){var E,S,x,T,L,y,C,O;return w||(w={}),w=d({},this.options,w),E={writer:this},E.pretty=w.pretty||!1,E.allowEmpty=w.allowEmpty||!1,E.indent=(S=w.indent)!=null?S:" ",E.newline=(x=w.newline)!=null?x:`
`,E.offset=(T=w.offset)!=null?T:0,E.dontPrettyTextNodes=(L=(y=w.dontPrettyTextNodes)!=null?y:w.dontprettytextnodes)!=null?L:0,E.spaceBeforeSlash=(C=(O=w.spaceBeforeSlash)!=null?O:w.spacebeforeslash)!=null?C:"",E.spaceBeforeSlash===!0&&(E.spaceBeforeSlash=" "),E.suppressPrettyCount=0,E.user={},E.state=f.None,E},b.prototype.indent=function(w,E,S){var x;return!E.pretty||E.suppressPrettyCount?"":E.pretty&&(x=(S||0)+E.offset+1,x>0)?new Array(x).join(E.indent):""},b.prototype.endline=function(w,E,S){return!E.pretty||E.suppressPrettyCount?"":E.newline},b.prototype.attribute=function(w,E,S){var x;return this.openAttribute(w,E,S),x=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,E,S),x},b.prototype.cdata=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<![CDATA[",E.state=f.InsideTag,x+=w.value,E.state=f.CloseTag,x+="]]>"+this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.comment=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<!-- ",E.state=f.InsideTag,x+=w.value,E.state=f.CloseTag,x+=" -->"+this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.declaration=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<?xml",E.state=f.InsideTag,x+=' version="'+w.version+'"',w.encoding!=null&&(x+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(x+=' standalone="'+w.standalone+'"'),E.state=f.CloseTag,x+=E.spaceBeforeSlash+"?>",x+=this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.docType=function(w,E,S){var x,T,L,y,C;if(S||(S=0),this.openNode(w,E,S),E.state=f.OpenTag,y=this.indent(w,E,S),y+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?y+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(y+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(y+=" [",y+=this.endline(w,E,S),E.state=f.InsideTag,C=w.children,T=0,L=C.length;T<L;T++)x=C[T],y+=this.writeChildNode(x,E,S+1);E.state=f.CloseTag,y+="]"}return E.state=f.CloseTag,y+=E.spaceBeforeSlash+">",y+=this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),y},b.prototype.element=function(w,E,S){var x,T,L,y,C,O,N,k,F,B,H,W,R,U;S||(S=0),B=!1,H="",this.openNode(w,E,S),E.state=f.OpenTag,H+=this.indent(w,E,S)+"<"+w.name,W=w.attribs;for(F in W){if(!p.call(W,F))continue;x=W[F],H+=this.attribute(x,E,S)}if(L=w.children.length,y=L===0?null:w.children[0],L===0||w.children.every(function(j){return(j.type===g.Text||j.type===g.Raw)&&j.value===""}))E.allowEmpty?(H+=">",E.state=f.CloseTag,H+="</"+w.name+">"+this.endline(w,E,S)):(E.state=f.CloseTag,H+=E.spaceBeforeSlash+"/>"+this.endline(w,E,S));else if(E.pretty&&L===1&&(y.type===g.Text||y.type===g.Raw)&&y.value!=null)H+=">",E.state=f.InsideTag,E.suppressPrettyCount++,B=!0,H+=this.writeChildNode(y,E,S+1),E.suppressPrettyCount--,B=!1,E.state=f.CloseTag,H+="</"+w.name+">"+this.endline(w,E,S);else{if(E.dontPrettyTextNodes){for(R=w.children,C=0,N=R.length;C<N;C++)if(T=R[C],(T.type===g.Text||T.type===g.Raw)&&T.value!=null){E.suppressPrettyCount++,B=!0;break}}for(H+=">"+this.endline(w,E,S),E.state=f.InsideTag,U=w.children,O=0,k=U.length;O<k;O++)T=U[O],H+=this.writeChildNode(T,E,S+1);E.state=f.CloseTag,H+=this.indent(w,E,S)+"</"+w.name+">",B&&E.suppressPrettyCount--,H+=this.endline(w,E,S),E.state=f.None}return this.closeNode(w,E,S),H},b.prototype.writeChildNode=function(w,E,S){switch(w.type){case g.CData:return this.cdata(w,E,S);case g.Comment:return this.comment(w,E,S);case g.Element:return this.element(w,E,S);case g.Raw:return this.raw(w,E,S);case g.Text:return this.text(w,E,S);case g.ProcessingInstruction:return this.processingInstruction(w,E,S);case g.Dummy:return"";case g.Declaration:return this.declaration(w,E,S);case g.DocType:return this.docType(w,E,S);case g.AttributeDeclaration:return this.dtdAttList(w,E,S);case g.ElementDeclaration:return this.dtdElement(w,E,S);case g.EntityDeclaration:return this.dtdEntity(w,E,S);case g.NotationDeclaration:return this.dtdNotation(w,E,S);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},b.prototype.processingInstruction=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<?",E.state=f.InsideTag,x+=w.target,w.value&&(x+=" "+w.value),E.state=f.CloseTag,x+=E.spaceBeforeSlash+"?>",x+=this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.raw=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S),E.state=f.InsideTag,x+=w.value,E.state=f.CloseTag,x+=this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.text=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S),E.state=f.InsideTag,x+=w.value,E.state=f.CloseTag,x+=this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.dtdAttList=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<!ATTLIST",E.state=f.InsideTag,x+=" "+w.elementName+" "+w.attributeName+" "+w.attributeType,w.defaultValueType!=="#DEFAULT"&&(x+=" "+w.defaultValueType),w.defaultValue&&(x+=' "'+w.defaultValue+'"'),E.state=f.CloseTag,x+=E.spaceBeforeSlash+">"+this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.dtdElement=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<!ELEMENT",E.state=f.InsideTag,x+=" "+w.name+" "+w.value,E.state=f.CloseTag,x+=E.spaceBeforeSlash+">"+this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.dtdEntity=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<!ENTITY",E.state=f.InsideTag,w.pe&&(x+=" %"),x+=" "+w.name,w.value?x+=' "'+w.value+'"':(w.pubID&&w.sysID?x+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(x+=' SYSTEM "'+w.sysID+'"'),w.nData&&(x+=" NDATA "+w.nData)),E.state=f.CloseTag,x+=E.spaceBeforeSlash+">"+this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.dtdNotation=function(w,E,S){var x;return this.openNode(w,E,S),E.state=f.OpenTag,x=this.indent(w,E,S)+"<!NOTATION",E.state=f.InsideTag,x+=" "+w.name,w.pubID&&w.sysID?x+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.pubID?x+=' PUBLIC "'+w.pubID+'"':w.sysID&&(x+=' SYSTEM "'+w.sysID+'"'),E.state=f.CloseTag,x+=E.spaceBeforeSlash+">"+this.endline(w,E,S),E.state=f.None,this.closeNode(w,E,S),x},b.prototype.openNode=function(w,E,S){},b.prototype.closeNode=function(w,E,S){},b.prototype.openAttribute=function(w,E,S){},b.prototype.closeAttribute=function(w,E,S){},b}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(D,_,e){"use strict";(function(){var g,f,A,m,v,h,c,o,i,n;n=D("./Utility"),o=n.assign,i=n.isFunction,A=D("./XMLDOMImplementation"),m=D("./XMLDocument"),v=D("./XMLDocumentCB"),c=D("./XMLStringWriter"),h=D("./XMLStreamWriter"),g=D("./NodeType"),f=D("./WriterState"),_.exports.create=function(a,u,r,l){var t,s;if(a==null)throw new Error("Root element needs a name.");return l=o({},u,r,l),t=new m(l),s=t.element(a),l.headless||(t.declaration(l),(l.pubID!=null||l.sysID!=null)&&t.dtd(l)),s},_.exports.begin=function(a,u,r){var l;return i(a)&&(l=[a,u],u=l[0],r=l[1],a={}),u?new v(a,u,r):new m(a)},_.exports.stringWriter=function(a){return new c(a)},_.exports.streamWriter=function(a,u){return new h(a,u)},_.exports.implementation=new A,_.exports.nodeType=g,_.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(D,_,e){_.exports=f;var g=Object.prototype.hasOwnProperty;function f(){for(var A={},m=0;m<arguments.length;m++){var v=arguments[m];for(var h in v)g.call(v,h)&&(A[h]=v[h])}return A}},{}],284:[function(D,_,e){"use strict";var g=D("buffer").Buffer,f=D("./sha"),A=D("./md5"),m={sha1:f,md5:A},v=64,h=g.alloc(v);h.fill(0);function c(n,a,u){g.isBuffer(a)||(a=g.from(a)),g.isBuffer(u)||(u=g.from(u)),a.length>v?a=n(a):a.length<v&&(a=g.concat([a,h],v));for(var r=g.alloc(v),l=g.alloc(v),t=0;t<v;t++)r[t]=a[t]^54,l[t]=a[t]^92;var s=n(g.concat([r,u]));return n(g.concat([l,s]))}function o(n,a){n=n||"sha1";var u=m[n],r=[],l=0;return u||i("algorithm:",n,"is not yet supported"),{update:function(s){return g.isBuffer(s)||(s=g.from(s)),r.push(s),l+=s.length,this},digest:function(s){var d=g.concat(r),p=a?c(u,a,d):u(d);return r=null,s?p.toString(s):p}}}function i(){var n=[].slice.call(arguments).join(" ");throw new Error([n,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}e.createHash=function(n){return o(n)},e.createHmac=function(n,a){return o(n,a)},e.createCredentials=function(){i("sorry,createCredentials is not implemented yet")},e.createCipher=function(){i("sorry,createCipher is not implemented yet")},e.createCipheriv=function(){i("sorry,createCipheriv is not implemented yet")},e.createDecipher=function(){i("sorry,createDecipher is not implemented yet")},e.createDecipheriv=function(){i("sorry,createDecipheriv is not implemented yet")},e.createSign=function(){i("sorry,createSign is not implemented yet")},e.createVerify=function(){i("sorry,createVerify is not implemented yet")},e.createDiffieHellman=function(){i("sorry,createDiffieHellman is not implemented yet")},e.pbkdf2=function(){i("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(D,_,e){"use strict";var g=D("buffer").Buffer,f=4,A=g.alloc(f);A.fill(0);var m=8;function v(o,i){if(o.length%f!==0){var n=o.length+(f-o.length%f);o=g.concat([o,A],n)}for(var a=[],u=i?o.readInt32BE:o.readInt32LE,r=0;r<o.length;r+=f)a.push(u.call(o,r));return a}function h(o,i,n){for(var a=g.alloc(i),u=n?a.writeInt32BE:a.writeInt32LE,r=0;r<o.length;r++)u.call(a,o[r],r*4,!0);return a}function c(o,i,n,a){g.isBuffer(o)||(o=g.from(o));var u=i(v(o,a),o.length*m);return h(u,n,a)}_.exports={hash:c}},{buffer:73}],286:[function(D,_,e){"use strict";var g=D("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function A(a,u){a[u>>5]|=128<<u%32,a[(u+64>>>9<<4)+14]=u;for(var r=1732584193,l=-271733879,t=-1732584194,s=271733878,d=0;d<a.length;d+=16){var p=r,b=l,w=t,E=s;r=v(r,l,t,s,a[d+0],7,-680876936),s=v(s,r,l,t,a[d+1],12,-389564586),t=v(t,s,r,l,a[d+2],17,606105819),l=v(l,t,s,r,a[d+3],22,-1044525330),r=v(r,l,t,s,a[d+4],7,-176418897),s=v(s,r,l,t,a[d+5],12,1200080426),t=v(t,s,r,l,a[d+6],17,-1473231341),l=v(l,t,s,r,a[d+7],22,-45705983),r=v(r,l,t,s,a[d+8],7,1770035416),s=v(s,r,l,t,a[d+9],12,-1958414417),t=v(t,s,r,l,a[d+10],17,-42063),l=v(l,t,s,r,a[d+11],22,-1990404162),r=v(r,l,t,s,a[d+12],7,1804603682),s=v(s,r,l,t,a[d+13],12,-40341101),t=v(t,s,r,l,a[d+14],17,-1502002290),l=v(l,t,s,r,a[d+15],22,1236535329),r=h(r,l,t,s,a[d+1],5,-165796510),s=h(s,r,l,t,a[d+6],9,-1069501632),t=h(t,s,r,l,a[d+11],14,643717713),l=h(l,t,s,r,a[d+0],20,-373897302),r=h(r,l,t,s,a[d+5],5,-701558691),s=h(s,r,l,t,a[d+10],9,38016083),t=h(t,s,r,l,a[d+15],14,-660478335),l=h(l,t,s,r,a[d+4],20,-405537848),r=h(r,l,t,s,a[d+9],5,568446438),s=h(s,r,l,t,a[d+14],9,-1019803690),t=h(t,s,r,l,a[d+3],14,-187363961),l=h(l,t,s,r,a[d+8],20,1163531501),r=h(r,l,t,s,a[d+13],5,-1444681467),s=h(s,r,l,t,a[d+2],9,-51403784),t=h(t,s,r,l,a[d+7],14,1735328473),l=h(l,t,s,r,a[d+12],20,-1926607734),r=c(r,l,t,s,a[d+5],4,-378558),s=c(s,r,l,t,a[d+8],11,-2022574463),t=c(t,s,r,l,a[d+11],16,1839030562),l=c(l,t,s,r,a[d+14],23,-35309556),r=c(r,l,t,s,a[d+1],4,-1530992060),s=c(s,r,l,t,a[d+4],11,1272893353),t=c(t,s,r,l,a[d+7],16,-155497632),l=c(l,t,s,r,a[d+10],23,-1094730640),r=c(r,l,t,s,a[d+13],4,681279174),s=c(s,r,l,t,a[d+0],11,-358537222),t=c(t,s,r,l,a[d+3],16,-722521979),l=c(l,t,s,r,a[d+6],23,76029189),r=c(r,l,t,s,a[d+9],4,-640364487),s=c(s,r,l,t,a[d+12],11,-421815835),t=c(t,s,r,l,a[d+15],16,530742520),l=c(l,t,s,r,a[d+2],23,-995338651),r=o(r,l,t,s,a[d+0],6,-198630844),s=o(s,r,l,t,a[d+7],10,1126891415),t=o(t,s,r,l,a[d+14],15,-1416354905),l=o(l,t,s,r,a[d+5],21,-57434055),r=o(r,l,t,s,a[d+12],6,1700485571),s=o(s,r,l,t,a[d+3],10,-1894986606),t=o(t,s,r,l,a[d+10],15,-1051523),l=o(l,t,s,r,a[d+1],21,-2054922799),r=o(r,l,t,s,a[d+8],6,1873313359),s=o(s,r,l,t,a[d+15],10,-30611744),t=o(t,s,r,l,a[d+6],15,-1560198380),l=o(l,t,s,r,a[d+13],21,1309151649),r=o(r,l,t,s,a[d+4],6,-145523070),s=o(s,r,l,t,a[d+11],10,-1120210379),t=o(t,s,r,l,a[d+2],15,718787259),l=o(l,t,s,r,a[d+9],21,-343485551),r=i(r,p),l=i(l,b),t=i(t,w),s=i(s,E)}return Array(r,l,t,s)}function m(a,u,r,l,t,s){return i(n(i(i(u,a),i(l,s)),t),r)}function v(a,u,r,l,t,s,d){return m(u&r|~u&l,a,u,t,s,d)}function h(a,u,r,l,t,s,d){return m(u&l|r&~l,a,u,t,s,d)}function c(a,u,r,l,t,s,d){return m(u^r^l,a,u,t,s,d)}function o(a,u,r,l,t,s,d){return m(r^(u|~l),a,u,t,s,d)}function i(a,u){var r=(a&65535)+(u&65535),l=(a>>16)+(u>>16)+(r>>16);return l<<16|r&65535}function n(a,u){return a<<u|a>>>32-u}_.exports=function(u){return g.hash(u,A,16)}},{"./helpers":285}],287:[function(D,_,e){"use strict";var g=D("./helpers");function f(c,o){c[o>>5]|=128<<24-o%32,c[(o+64>>9<<4)+15]=o;for(var i=Array(80),n=1732584193,a=-271733879,u=-1732584194,r=271733878,l=-1009589776,t=0;t<c.length;t+=16){for(var s=n,d=a,p=u,b=r,w=l,E=0;E<80;E++){E<16?i[E]=c[t+E]:i[E]=h(i[E-3]^i[E-8]^i[E-14]^i[E-16],1);var S=v(v(h(n,5),A(E,a,u,r)),v(v(l,i[E]),m(E)));l=r,r=u,u=h(a,30),a=n,n=S}n=v(n,s),a=v(a,d),u=v(u,p),r=v(r,b),l=v(l,w)}return Array(n,a,u,r,l)}function A(c,o,i,n){return c<20?o&i|~o&n:c<40?o^i^n:c<60?o&i|o&n|i&n:o^i^n}function m(c){return c<20?1518500249:c<40?1859775393:c<60?-1894007588:-899497514}function v(c,o){var i=(c&65535)+(o&65535),n=(c>>16)+(o>>16)+(i>>16);return n<<16|i&65535}function h(c,o){return c<<o|c>>>32-o}_.exports=function(o){return g.hash(o,f,20,!0)}},{"./helpers":285}],288:[function(D,_,e){"use strict";_.exports=function(){return function(){}}},{}],289:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),A=m(f);function m(n){return n&&n.__esModule?n:{default:n}}var v=D("stream"),h=v.Stream,c=D("../lib/common/utils/isArray"),o=c.isArray;_.exports.string=function(a){return typeof a=="string"},_.exports.array=o,_.exports.buffer=g.isBuffer;function i(n){return n instanceof h}_.exports.writableStream=function(a){return i(a)&&typeof a._write=="function"&&(0,A.default)(a._writableState)==="object"}}).call(this,{isBuffer:D("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(D,_,e){"use strict";e.encodeURIComponent=function(g){try{return encodeURIComponent(g)}catch(f){return g}},e.escape=D("escape-html"),e.timestamp=function(f){if(f){var A=f;return typeof A=="string"&&(A=Number(A)),String(f).length===10&&(A*=1e3),new Date(A)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(D,_,e){(function(g,f){"use strict";var A=D("babel-runtime/core-js/json/stringify"),m=c(A),v=D("babel-runtime/helpers/typeof"),h=c(v);function c(E){return E&&E.__esModule?E:{default:E}}var o=D("util"),i=D("url"),n=D("http"),a=D("https"),u=D("debug")("urllib"),r=D("humanize-ms"),l,t=0,s=Math.pow(2,31)-10,d=/^https?:\/\//i;function p(E,S){return E===void 0?S:E}function b(E,S){return function(x,T,L){if(x)return S(x);E({data:T,status:L.statusCode,headers:L.headers,res:L})}}e.TIMEOUTS=[r("300s"),r("300s")];var w=["json","text"];e.request=function(S,x,T){return arguments.length===2&&typeof x=="function"&&(T=x,x=null),typeof T=="function"?e.requestWithCallback(S,x,T):(l||(l=D("any-promise")),new l(function(L,y){e.requestWithCallback(S,x,b(L,y))}))},e.requestWithCallback=function(S,x,T){if(!S||typeof S!="string"&&(typeof S=="undefined"?"undefined":(0,h.default)(S))!=="object"){var L=o.format("expect request url to be a string or a http request options, but got %j",S);throw new Error(L)}arguments.length===2&&typeof x=="function"&&(T=x,x=null),x=x||{},t>=s&&(t=0);var y=++t;x.requestUrls=x.requestUrls||[];var C={requestId:y,url:S,args:x,ctx:x.ctx};x.emitter&&x.emitter.emit("request",C),x.timeout=x.timeout||e.TIMEOUTS,x.maxRedirects=x.maxRedirects||10,x.streaming=x.streaming||x.customResponse;var O=Date.now(),N;typeof S=="string"?(d.test(S)||(S="http://"+S),N=i.parse(S)):N=S;var k=(x.type||x.method||N.method||"GET").toUpperCase(),F=N.port||80,B=n,H=p(x.agent,e.agent),W=x.fixJSONCtlChars;N.protocol==="https:"&&(B=a,H=p(x.httpsAgent,e.httpsAgent),N.port||(F=443));var R={host:N.hostname||N.host||"localhost",path:N.path||"/",method:k,port:F,agent:H,headers:x.headers||{},lookup:x.lookup};Array.isArray(x.timeout)?R.requestTimeout=x.timeout[x.timeout.length-1]:typeof x.timeout!="undefined"&&(R.requestTimeout=x.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],j=0;j<U.length;j++){var P=U[j];x.hasOwnProperty(P)&&(R[P]=x[P])}R.rejectUnauthorized===!1&&!R.hasOwnProperty("secureOptions")&&(R.secureOptions=D("constants").SSL_OP_NO_TLSv1_2);var K=x.auth||N.auth;K&&(R.auth=K);var V=x.content||x.data,z=k==="GET"||k==="HEAD"||x.dataAsQueryString;if(!x.content&&(V&&!(typeof V=="string"||f.isBuffer(V))))if(z)V=x.nestedQuerystring?qs.stringify(V):querystring.stringify(V);else{var X=R.headers["Content-Type"]||R.headers["content-type"];X||(x.contentType==="json"?X="application/json":X="application/x-www-form-urlencoded",R.headers["Content-Type"]=X),parseContentType(X).type==="application/json"?V=(0,m.default)(V):V=x.nestedQuerystring?qs.stringify(V):querystring.stringify(V)}z&&V&&(R.path+=(N.query?"&":"?")+V,V=null);var G=0;if(V){var le=V.length;f.isBuffer(V)||(le=f.byteLength(V)),G=R.headers["Content-Length"]=le}x.dataType==="json"&&(R.headers.Accept="application/json"),typeof x.beforeRequest=="function"&&x.beforeRequest(R);var Y=null,me=null,we=null,pe=!1,Fe=!1,Xe=0,dt=-1,Ee=!1,Se="",at="",_e=null;x.timing&&(_e={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function ce(){Y&&(clearTimeout(Y),Y=null)}function ee(){me&&(clearTimeout(me),me=null)}function se(Be,Rt,He){if(ee(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),y,g.pid,R.method,S),Be&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),y,g.pid,Be.name,Be.message,Be.stack);return}var wt=T;T=null;var Ge={};if(He&&(dt=He.statusCode,Ge=He.headers),dt===401&&Ge["www-authenticate"]&&(!x.headers||!x.headers.Authorization)&&x.digestAuth){var et=Ge["www-authenticate"];if(et.indexOf("Digest ")>=0)return u("Request#%d %s: got digest auth header WWW-Authenticate: %s",y,S,et),x.headers=x.headers||{},x.headers.Authorization=digestAuthHeader(R.method,R.path,et,x.digestAuth),u("Request#%d %s: auth with digest header: %s",y,S,x.headers.Authorization),He.headers["set-cookie"]&&(x.headers.Cookie=He.headers["set-cookie"].join(";")),e.requestWithCallback(S,x,wt)}var rt=Date.now()-O;_e&&(_e.contentDownload=rt),u("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",rt,Xe,dt,R.method,R.host,R.path,Fe,_e);var lt={status:dt,statusCode:dt,headers:Ge,size:Xe,aborted:Ee,rt,keepAliveSocket:Fe,data:Rt,requestUrls:x.requestUrls,timing:_e,remoteAddress:Se,remotePort:at};if(Be){var Ve="";H&&typeof H.getCurrentStatus=="function"&&(Ve=", agent status: "+(0,m.default)(H.getCurrentStatus())),Be.message+=", "+R.method+" "+S+" "+dt+" (connected: "+pe+", keepalive socket: "+Fe+Ve+`)
headers: `+(0,m.default)(Ge),Be.data=Rt,Be.path=R.path,Be.status=dt,Be.headers=Ge,Be.res=lt}wt(Be,Rt,x.streaming?He:lt),x.emitter&&(C.url=S,C.socket=vt&&vt.connection,C.options=R,C.size=G,x.emitter.emit("response",{requestId:y,error:Be,ctx:x.ctx,req:C,res:lt}))}function ke(Be){var Rt=null;if(x.followRedirect&&statuses.redirect[Be.statusCode]){x._followRedirectCount=(x._followRedirectCount||0)+1;var He=Be.headers.location;if(!He)Rt=new Error("Got statusCode "+Be.statusCode+" but cannot resolve next location from headers"),Rt.name="FollowRedirectError";else if(x._followRedirectCount>x.maxRedirects)Rt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+S),Rt.name="MaxRedirectError";else{var wt=x.formatRedirectUrl?x.formatRedirectUrl(S,He):i.resolve(S,He);u("Request#%d %s: `redirected` from %s to %s",y,R.path,S,wt),ee(),x.headers&&x.headers.Host&&d.test(He)&&(x.headers.Host=null);var Ge=T;return T=null,e.requestWithCallback(wt,x,Ge),{redirect:!0,error:null}}}return{redirect:!1,error:Rt}}!R.headers["User-Agent"]&&!R.headers["user-agent"]&&(R.headers["User-Agent"]=navigator.userAgent),x.gzip&&(!R.headers["Accept-Encoding"]&&!R.headers["accept-encoding"]&&(R.headers["Accept-Encoding"]="gzip"));function Ce(Be,Rt,He){var wt=Be.headers["content-encoding"];return He(null,Rt,wt)}var ze=x.writeStream;u("Request#%d %s %s with headers %j, options.path: %s",y,k,S,R.headers,R.path),x.requestUrls.push(S);function Oe(Be){if(_e&&(_e.waiting=Date.now()-O),u("Request#%d %s `req response` event emit: status %d, headers: %j",y,S,Be.statusCode,Be.headers),x.streaming){var Rt=ke(Be);if(Rt.redirect){Be.resume();return}return Rt.error?(Be.resume(),se(Rt.error,null,Be)):se(null,null,Be)}if(Be.on("close",function(){u("Request#%d %s: `res close` event emit, total size %d",y,S,Xe)}),Be.on("error",function(){u("Request#%d %s: `res error` event emit, total size %d",y,S,Xe)}),Be.on("aborted",function(){Ee=!0,u("Request#%d %s: `res aborted` event emit, total size %d",y,S,Xe)}),ze){var Rt=ke(Be);if(Rt.redirect){Be.resume();return}return Rt.error?(Be.resume(),ze.end(),se(Rt.error,null,Be)):(x.consumeWriteStream===!1?Be.on("end",se.bind(null,null,null,Be)):isNode010||isNode012?first([[ze,"close"],[Be,"aborted"]],function(Ge,et,rt){u("Request#%d %s: writeStream or res %s event emitted",y,S,rt),se(we||null,null,Be)}):ze.on("close",function(){u("Request#%d %s: writeStream close event emitted",y,S),se(we||null,null,Be)}),Be.pipe(ze))}var He=[];Be.on("data",function(wt){u("Request#%d %s: `res data` event emit, size %d",y,S,wt.length),Xe+=wt.length,He.push(wt)}),Be.on("end",function(){var wt=f.concat(He,Xe);if(u("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",y,S,Xe,Be._dumped),we)return se(we,wt,Be);var Ge=ke(Be);if(Ge.error)return se(Ge.error,wt,Be);if(Ge.redirect)return;Ce(Be,wt,function(et,rt,lt){if(et)return se(et,wt,Be);if(!lt&&w.indexOf(x.dataType)>=0){try{rt=decodeBodyByCharset(rt,Be)}catch(ie){return u("decodeBodyByCharset error: %s",ie),se(null,rt,Be)}if(x.dataType==="json")if(Xe===0)rt=null;else{var Ve=parseJSON(rt,W);Ve.error?et=Ve.error:rt=Ve.data}}Ee&&u("Request#%d %s: Remote socket was terminated before `response.end()` was called",y,S),se(et,rt,Be)})})}var ae,ge;Array.isArray(x.timeout)?(ae=r(x.timeout[0]),ge=r(x.timeout[1])):ae=ge=r(x.timeout),u("ConnectTimeout: %d, ResponseTimeout: %d",ae,ge);function Le(){u("Connect timer ticking, timeout: %d",ae),Y=setTimeout(function(){Y=null,dt===-1&&(dt=-2);var Be="Connect timeout for "+ae+"ms",Rt="ConnectionTimeoutError";vt.socket||(Rt="SocketAssignTimeoutError",Be+=", working sockets is full"),we=new Error(Be),we.name=Rt,we.requestId=y,u("ConnectTimeout: Request#%d %s %s: %s, connected: %s",y,S,we.name,Be,pe),Ct()},ae)}function Ze(){u("Response timer ticking, timeout: %d",ge),me=setTimeout(function(){me=null;var Be="Response timeout for "+ge+"ms",Rt="ResponseTimeoutError";we=new Error(Be),we.name=Rt,we.requestId=y,u("ResponseTimeout: Request#%d %s %s: %s, connected: %s",y,S,we.name,Be,pe),Ct()},ge)}var vt;R.mode=x.mode?x.mode:"";try{vt=B.request(R,Oe)}catch(Be){return se(Be)}typeof window=="undefined"?Le():vt.on("requestTimeout",function(){dt===-1&&(dt=-2);var Be="Connect timeout for "+ae+"ms",Rt="ConnectionTimeoutError";we=new Error(Be),we.name=Rt,we.requestId=y,Ct()});function Ct(){u("Request#%d %s abort, connected: %s",y,S,pe),vt.socket||(we.noSocket=!0,se(we)),vt.abort()}return _e&&vt.on("finish",function(){_e.requestSent=Date.now()-O}),vt.once("socket",function(Be){_e&&(_e.queuing=Date.now()-O),isNode010&&Be.socket&&(Be=Be.socket);var Rt=Be.readyState;if(Rt==="opening"){Be.once("lookup",function(He,wt,Ge){u("Request#%d %s lookup: %s, %s, %s",y,S,He,wt,Ge),_e&&(_e.dnslookup=Date.now()-O),wt&&(Se=wt)}),Be.once("connect",function(){_e&&(_e.connected=Date.now()-O),ce(),Ze(),u("Request#%d %s new socket connected",y,S),pe=!0,Se||(Se=Be.remoteAddress),at=Be.remotePort});return}u("Request#%d %s reuse socket connected, readyState: %s",y,S,Rt),pe=!0,Fe=!0,Se||(Se=Be.remoteAddress),at=Be.remotePort,ce(),Ze()}),vt.on("error",function(Be){(Be.name==="Error"||Be.name==="TypeError")&&(Be.name=pe?"ResponseError":"RequestError"),Be.message+=' (req "error")',u("Request#%d %s `req error` event emit, %s: %s",y,S,Be.name,Be.message),se(we||Be)}),ze&&ze.once("error",function(Be){Be.message+=' (writeStream "error")',we=Be,u("Request#%d %s `writeStream error` event emit, %s: %s",y,S,Be.name,Be.message),Ct()}),x.stream?(x.stream.pipe(vt),x.stream.once("error",function(Be){Be.message+=' (stream "error")',we=Be,u("Request#%d %s `readStream error` event emit, %s: %s",y,S,Be.name,Be.message),Ct()})):vt.end(V),vt.requestId=y,vt}}).call(this,D("_process"),D("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(D,_,e){var g=e("hX1E"),f=g.normalizeRadian,A=Math.PI*2;function m(v,h,c,o,i,n,a,u,r){if(a===0)return!1;var l=a;u-=v,r-=h;var t=Math.sqrt(u*u+r*r);if(t-l>c||t+l<c)return!1;if(Math.abs(o-i)%A<1e-4)return!0;if(n){var s=o;o=f(i),i=f(s)}else o=f(o),i=f(i);o>i&&(i+=A);var d=Math.atan2(r,u);return d<0&&(d+=A),d>=o&&d<=i||d+A>=o&&d+A<=i}_.containStroke=m},n4Lv:function(D,_,e){var g=e("7hqr"),f=g.isDimensionStacked,A=e("bYtY"),m=A.map;function v(o,i,n){var a=o.getBaseAxis(),u=o.getOtherAxis(a),r=h(u,n),l=a.dim,t=u.dim,s=i.mapDimension(t),d=i.mapDimension(l),p=t==="x"||t==="radius"?1:0,b=m(o.dimensions,function(S){return i.mapDimension(S)}),w,E=i.getCalculationInfo("stackResultDimension");return(w|=f(i,b[0]))&&(b[0]=E),(w|=f(i,b[1]))&&(b[1]=E),{dataDimsForPoint:b,valueStart:r,valueAxisDim:t,baseAxisDim:l,stacked:!!w,valueDim:s,baseDim:d,baseDataOffset:p,stackedOverDimension:i.getCalculationInfo("stackedOverDimension")}}function h(o,i){var n=0,a=o.scale.getExtent();return i==="start"?n=a[0]:i==="end"?n=a[1]:a[0]>0?n=a[0]:a[1]<0&&(n=a[1]),n}function c(o,i,n,a){var u=NaN;o.stacked&&(u=n.get(n.getCalculationInfo("stackedOverDimension"),a)),isNaN(u)&&(u=o.valueStart);var r=o.baseDataOffset,l=[];return l[r]=n.get(o.baseDim,a),l[1-r]=u,i.dataToPoint(l)}_.prepareDataCoordInfo=v,_.getStackedOnPoint=c},n6Mw:function(D,_,e){var g=e("SrGk"),f=e("bYtY"),A=e("Fofx");function m(h,c){g.call(this,h,c,"clipPath","__clippath_in_use__")}f.inherits(m,g),m.prototype.update=function(h){var c=this.getSvgElement(h);c&&this.updateDom(c,h.__clipPaths,!1);var o=this.getTextSvgElement(h);o&&this.updateDom(o,h.__clipPaths,!0),this.markUsed(h)},m.prototype.updateDom=function(h,c,o){if(c&&c.length>0){var i=this.getDefs(!0),n=c[0],a,u,r=o?"_textDom":"_dom";n[r]?(u=n[r].getAttribute("id"),a=n[r],i.contains(a)||i.appendChild(a)):(u="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,a=this.createElement("clipPath"),a.setAttribute("id",u),i.appendChild(a),n[r]=a);var l=this.getSvgProxy(n);if(n.transform&&n.parent.invTransform&&!o){var t=Array.prototype.slice.call(n.transform);A.mul(n.transform,n.parent.invTransform,n.transform),l.brush(n),n.transform=t}else l.brush(n);var s=this.getSvgElement(n);a.innerHTML="",a.appendChild(s.cloneNode()),h.setAttribute("clip-path","url(#"+u+")"),c.length>1&&this.updateDom(a,c.slice(1),o)}else h&&h.setAttribute("clip-path","none")},m.prototype.markUsed=function(h){var c=this;h.__clipPaths&&f.each(h.__clipPaths,function(o){o._dom&&g.prototype.markUsed.call(c,o._dom),o._textDom&&g.prototype.markUsed.call(c,o._textDom)})};var v=m;D.exports=v},nCxF:function(D,_,e){var g=e("QBsz"),f=g.min,A=g.max,m=g.scale,v=g.distance,h=g.add,c=g.clone,o=g.sub;function i(n,a,u,r){var l=[],t=[],s=[],d=[],p,b,w,E;if(r){w=[Infinity,Infinity],E=[-Infinity,-Infinity];for(var S=0,x=n.length;S<x;S++)f(w,w,n[S]),A(E,E,n[S]);f(w,w,r[0]),A(E,E,r[1])}for(var S=0,x=n.length;S<x;S++){var T=n[S];if(u)p=n[S?S-1:x-1],b=n[(S+1)%x];else if(S===0||S===x-1){l.push(c(n[S]));continue}else p=n[S-1],b=n[S+1];o(t,b,p),m(t,t,a);var L=v(T,p),y=v(T,b),C=L+y;C!==0&&(L/=C,y/=C),m(s,t,-L),m(d,t,y);var O=h([],T,s),N=h([],T,d);r&&(A(O,O,w),f(O,O,E),A(N,N,w),f(N,N,E)),l.push(O),l.push(N)}return u&&l.push(l.shift()),l}D.exports=i},nKiI:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),A=e("OELB"),m=A.parsePercent,v=A.MAX_SAFE_INTEGER,h=e("+TT/"),c=e("VaxA"),o=Math.max,i=Math.min,n=g.retrieve,a=g.each,u=["itemStyle","borderWidth"],r=["itemStyle","gapWidth"],l=["upperLabel","show"],t=["upperLabel","height"],s={seriesType:"treemap",reset:function(O,N,k,F){var B=k.getWidth(),H=k.getHeight(),W=O.option,R=h.getLayoutRect(O.getBoxLayoutParams(),{width:k.getWidth(),height:k.getHeight()}),U=W.size||[],j=m(n(R.width,U[0]),B),P=m(n(R.height,U[1]),H),K=F&&F.type,V=["treemapZoomToNode","treemapRootToNode"],z=c.retrieveTargetInfo(F,V,O),X=K==="treemapRender"||K==="treemapMove"?F.rootRect:null,G=O.getViewRoot(),le=c.getPathToRoot(G);if(K!=="treemapMove"){var Y=K==="treemapZoomToNode"?T(O,z,G,j,P):X?[X.width,X.height]:[j,P],me=W.sort;me&&me!=="asc"&&me!=="desc"&&(me="desc");var we={squareRatio:W.squareRatio,sort:me,leafDepth:W.leafDepth};G.hostTree.clearLayouts();var pe={x:0,y:0,width:Y[0],height:Y[1],area:Y[0]*Y[1]};G.setLayout(pe),d(G,we,!1,0);var pe=G.getLayout();a(le,function(Xe,dt){var Ee=(le[dt+1]||G).getValue();Xe.setLayout(g.extend({dataExtent:[Ee,Ee],borderWidth:0,upperHeight:0},pe))})}var Fe=O.getData().tree.root;Fe.setLayout(L(R,X,z),!0),O.setLayoutInfo(R),y(Fe,new f(-R.x,-R.y,B,H),le,G,0)}};function d(O,N,k,F){var B,H;if(O.isRemoved())return;var W=O.getLayout();B=W.width,H=W.height;var R=O.getModel(),U=R.get(u),j=R.get(r)/2,P=C(R),K=Math.max(U,P),V=U-j,z=K-j,R=O.getModel();O.setLayout({borderWidth:U,upperHeight:K,upperLabelHeight:P},!0),B=o(B-2*V,0),H=o(H-V-z,0);var X=B*H,G=p(O,R,X,N,k,F);if(!G.length)return;var le={x:V,y:z,width:B,height:H},Y=i(B,H),me=Infinity,we=[];we.area=0;for(var pe=0,Fe=G.length;pe<Fe;){var Xe=G[pe];we.push(Xe),we.area+=Xe.getLayout().area;var dt=S(we,Y,N.squareRatio);dt<=me?(pe++,me=dt):(we.area-=we.pop().getLayout().area,x(we,Y,le,j,!1),Y=i(le.width,le.height),we.length=we.area=0,me=Infinity)}if(we.length&&x(we,Y,le,j,!0),!k){var Ee=R.get("childrenVisibleMin");Ee!=null&&X<Ee&&(k=!0)}for(var pe=0,Fe=G.length;pe<Fe;pe++)d(G[pe],N,k,F+1)}function p(O,N,k,F,B,H){var W=O.children||[],R=F.sort;R!=="asc"&&R!=="desc"&&(R=null);var U=F.leafDepth!=null&&F.leafDepth<=H;if(B&&!U)return O.viewChildren=[];W=g.filter(W,function(z){return!z.isRemoved()}),w(W,R);var j=E(N,W,R);if(j.sum===0)return O.viewChildren=[];if(j.sum=b(N,k,j.sum,R,W),j.sum===0)return O.viewChildren=[];for(var P=0,K=W.length;P<K;P++){var V=W[P].getValue()/j.sum*k;W[P].setLayout({area:V})}return U&&(W.length&&O.setLayout({isLeafRoot:!0},!0),W.length=0),O.viewChildren=W,O.setLayout({dataExtent:j.dataExtent},!0),W}function b(O,N,k,F,B){if(!F)return k;for(var H=O.get("visibleMin"),W=B.length,R=W,U=W-1;U>=0;U--){var j=B[F==="asc"?W-U-1:U].getValue();j/k*N<H&&(R=U,k-=j)}return F==="asc"?B.splice(0,W-R):B.splice(R,W-R),k}function w(O,N){return N&&O.sort(function(k,F){var B=N==="asc"?k.getValue()-F.getValue():F.getValue()-k.getValue();return B===0?N==="asc"?k.dataIndex-F.dataIndex:F.dataIndex-k.dataIndex:B}),O}function E(O,N,k){for(var F=0,B=0,H=N.length;B<H;B++)F+=N[B].getValue();var W=O.get("visualDimension"),R;if(!N||!N.length)R=[NaN,NaN];else if(W==="value"&&k)R=[N[N.length-1].getValue(),N[0].getValue()],k==="asc"&&R.reverse();else{var R=[Infinity,-Infinity];a(N,function(j){var P=j.getValue(W);P<R[0]&&(R[0]=P),P>R[1]&&(R[1]=P)})}return{sum:F,dataExtent:R}}function S(O,N,k){for(var F=0,B=Infinity,H=0,W,R=O.length;H<R;H++)W=O[H].getLayout().area,W&&(W<B&&(B=W),W>F&&(F=W));var U=O.area*O.area,j=N*N*k;return U?o(j*F/U,U/(j*B)):Infinity}function x(O,N,k,F,B){var H=N===k.width?0:1,W=1-H,R=["x","y"],U=["width","height"],j=k[R[H]],P=N?O.area/N:0;(B||P>k[U[W]])&&(P=k[U[W]]);for(var K=0,V=O.length;K<V;K++){var z=O[K],X={},G=P?z.getLayout().area/P:0,le=X[U[W]]=o(P-2*F,0),Y=k[R[H]]+k[U[H]]-j,me=K===V-1||Y<G?Y:G,we=X[U[H]]=o(me-2*F,0);X[R[W]]=k[R[W]]+i(F,le/2),X[R[H]]=j+i(F,we/2),j+=me,z.setLayout(X,!0)}k[R[W]]+=P,k[U[W]]-=P}function T(O,N,k,F,B){var H=(N||{}).node,W=[F,B];if(!H||H===k)return W;for(var R,U=F*B,j=U*O.option.zoomToNodeRatio;R=H.parentNode;){for(var P=0,K=R.children,V=0,z=K.length;V<z;V++)P+=K[V].getValue();var X=H.getValue();if(X===0)return W;j*=P/X;var G=R.getModel(),le=G.get(u),Y=Math.max(le,C(G,le));j+=4*le*le+(3*le+Y)*Math.pow(j,.5),j>v&&(j=v),H=R}j<U&&(j=U);var me=Math.pow(j/U,.5);return[F*me,B*me]}function L(O,N,k){if(N)return{x:N.x,y:N.y};var F={x:0,y:0};if(!k)return F;var B=k.node,H=B.getLayout();if(!H)return F;for(var W=[H.width/2,H.height/2],R=B;R;){var U=R.getLayout();W[0]+=U.x,W[1]+=U.y,R=R.parentNode}return{x:O.width/2-W[0],y:O.height/2-W[1]}}function y(O,N,k,F,B){var H=O.getLayout(),W=k[B],R=W&&W===O;if(W&&!R||B===k.length&&O!==F)return;O.setLayout({isInView:!0,invisible:!R&&!N.intersect(H),isAboveViewRoot:R},!0);var U=new f(N.x-H.x,N.y-H.y,N.width,N.height);a(O.viewChildren||[],function(j){y(j,U,k,F,B+1)})}function C(O){return O.get(l)?O.get(t):0}D.exports=s},nPnh:function(D,_){var e=Math.round;function g(m,v,h){if(!v)return;var c=v.x1,o=v.x2,i=v.y1,n=v.y2;m.x1=c,m.x2=o,m.y1=i,m.y2=n;var a=h&&h.lineWidth;if(!a)return;e(c*2)===e(o*2)&&(m.x1=m.x2=A(c,a,!0)),e(i*2)===e(n*2)&&(m.y1=m.y2=A(i,a,!0))}function f(m,v,h){if(!v)return;var c=v.x,o=v.y,i=v.width,n=v.height;m.x=c,m.y=o,m.width=i,m.height=n;var a=h&&h.lineWidth;if(!a)return;m.x=A(c,a,!0),m.y=A(o,a,!0),m.width=Math.max(A(c+i,a,!1)-m.x,i===0?0:1),m.height=Math.max(A(o+n,a,!1)-m.y,n===0?0:1)}function A(m,v,h){if(!v)return m;var c=e(m*2);return(c+e(v))%2===0?c/2:(c+(h?1:-1))/2}_.subPixelOptimizeLine=g,_.subPixelOptimizeRect=f,_.subPixelOptimize=A},nRaC:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("0fbx"),m=e.n(A),v=e("OaEy"),h=e("R9oj")},nVfU:function(D,_,e){var g=e("bYtY"),f=e("OELB"),A=f.parsePercent,m=e("7hqr"),v=m.isDimensionStacked,h=e("zM3Q"),c="__ec_stack_",o=.5,i=typeof Float32Array!="undefined"?Float32Array:Array;function n(x){return x.get("stack")||c+x.seriesIndex}function a(x){return x.dim+x.index}function u(x){var T=[],L=x.axis,y="axis0";if(L.type!=="category")return;for(var C=L.getBandWidth(),O=0;O<x.count||0;O++)T.push(g.defaults({bandWidth:C,axisKey:y,stackId:c+O},x));for(var N=s(T),k=[],O=0;O<x.count;O++){var F=N[y][c+O];F.offsetCenter=F.offset+F.width/2,k.push(F)}return k}function r(x,T){var L=[];return T.eachSeriesByType(x,function(y){w(y)&&!E(y)&&L.push(y)}),L}function l(x){var T={};g.each(x,function(F){var B=F.coordinateSystem,H=B.getBaseAxis();if(H.type!=="time"&&H.type!=="value")return;for(var W=F.getData(),R=H.dim+"_"+H.index,U=W.mapDimension(H.dim),j=0,P=W.count();j<P;++j){var K=W.get(U,j);T[R]?T[R].push(K):T[R]=[K]}});var L=[];for(var y in T)if(T.hasOwnProperty(y)){var C=T[y];if(C){C.sort(function(F,B){return F-B});for(var O=null,N=1;N<C.length;++N){var k=C[N]-C[N-1];k>0&&(O=O===null?k:Math.min(O,k))}L[y]=O}}return L}function t(x){var T=l(x),L=[];return g.each(x,function(y){var C=y.coordinateSystem,O=C.getBaseAxis(),N=O.getExtent(),k;if(O.type==="category")k=O.getBandWidth();else if(O.type==="value"||O.type==="time"){var F=O.dim+"_"+O.index,B=T[F],H=Math.abs(N[1]-N[0]),W=O.scale.getExtent(),R=Math.abs(W[1]-W[0]);k=B?H/R*B:H}else{var U=y.getData();k=Math.abs(N[1]-N[0])/U.count()}var j=A(y.get("barWidth"),k),P=A(y.get("barMaxWidth"),k),K=A(y.get("barMinWidth")||1,k),V=y.get("barGap"),z=y.get("barCategoryGap");L.push({bandWidth:k,barWidth:j,barMaxWidth:P,barMinWidth:K,barGap:V,barCategoryGap:z,axisKey:a(O),stackId:n(y)})}),s(L)}function s(x){var T={};g.each(x,function(y,C){var O=y.axisKey,N=y.bandWidth,k=T[O]||{bandWidth:N,remainedWidth:N,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},F=k.stacks;T[O]=k;var B=y.stackId;F[B]||k.autoWidthCount++,F[B]=F[B]||{width:0,maxWidth:0};var H=y.barWidth;H&&!F[B].width&&(F[B].width=H,H=Math.min(k.remainedWidth,H),k.remainedWidth-=H);var W=y.barMaxWidth;W&&(F[B].maxWidth=W);var R=y.barMinWidth;R&&(F[B].minWidth=R);var U=y.barGap;U!=null&&(k.gap=U);var j=y.barCategoryGap;j!=null&&(k.categoryGap=j)});var L={};return g.each(T,function(y,C){L[C]={};var O=y.stacks,N=y.bandWidth,k=A(y.categoryGap,N),F=A(y.gap,1),B=y.remainedWidth,H=y.autoWidthCount,W=(B-k)/(H+(H-1)*F);W=Math.max(W,0),g.each(O,function(P){var K=P.maxWidth,V=P.minWidth;if(P.width){var z=P.width;K&&(z=Math.min(z,K)),V&&(z=Math.max(z,V)),P.width=z,B-=z+F*z,H--}else{var z=W;K&&K<z&&(z=Math.min(K,B)),V&&V>z&&(z=V),z!==W&&(P.width=z,B-=z+F*z,H--)}}),W=(B-k)/(H+(H-1)*F),W=Math.max(W,0);var R=0,U;g.each(O,function(P,K){P.width||(P.width=W),U=P,R+=P.width*(1+F)}),U&&(R-=U.width*F);var j=-R/2;g.each(O,function(P,K){L[C][K]=L[C][K]||{bandWidth:N,offset:j,width:P.width},j+=P.width*(1+F)})}),L}function d(x,T,L){if(x&&T){var y=x[a(T)];return y!=null&&L!=null&&(y=y[n(L)]),y}}function p(x,T){var L=r(x,T),y=t(L),C={},O={};g.each(L,function(N){var k=N.getData(),F=N.coordinateSystem,B=F.getBaseAxis(),H=n(N),W=y[a(B)][H],R=W.offset,U=W.width,j=F.getOtherAxis(B),P=N.get("barMinHeight")||0;C[H]=C[H]||[],O[H]=O[H]||[],k.setLayout({bandWidth:W.bandWidth,offset:R,size:U});for(var K=k.mapDimension(j.dim),V=k.mapDimension(B.dim),z=v(k,K),X=j.isHorizontal(),G=S(B,j,z),le=0,Y=k.count();le<Y;le++){var me=k.get(K,le),we=k.get(V,le),pe=me>=0?"p":"n",Fe=G;z&&(C[H][we]||(C[H][we]={p:G,n:G}),Fe=C[H][we][pe]);var Xe,dt,Ee,Se;if(X){var at=F.dataToPoint([me,we]);Xe=Fe,dt=at[1]+R,Ee=at[0]-G,Se=U,Math.abs(Ee)<P&&(Ee=(Ee<0?-1:1)*P),isNaN(Ee)||z&&(C[H][we][pe]+=Ee)}else{var at=F.dataToPoint([we,me]);Xe=at[0]+R,dt=Fe,Ee=U,Se=at[1]-G,Math.abs(Se)<P&&(Se=(Se<=0?-1:1)*P),isNaN(Se)||z&&(C[H][we][pe]+=Se)}k.setItemLayout(le,{x:Xe,y:dt,width:Ee,height:Se})}},this)}var b={seriesType:"bar",plan:h(),reset:function(x){if(!w(x)||!E(x))return;var T=x.getData(),L=x.coordinateSystem,y=L.grid.getRect(),C=L.getBaseAxis(),O=L.getOtherAxis(C),N=T.mapDimension(O.dim),k=T.mapDimension(C.dim),F=O.isHorizontal(),B=F?0:1,H=d(t([x]),C,x).width;return H>o||(H=o),{progress:W};function W(R,U){for(var j=R.count,P=new i(j*2),K=new i(j*2),V=new i(j),z,X=[],G=[],le=0,Y=0;(z=R.next())!=null;)G[B]=U.get(N,z),G[1-B]=U.get(k,z),X=L.dataToPoint(G,null,X),K[le]=F?y.x+y.width:X[0],P[le++]=X[0],K[le]=F?X[1]:y.y+y.height,P[le++]=X[1],V[Y++]=z;U.setLayout({largePoints:P,largeDataIndices:V,largeBackgroundPoints:K,barWidth:H,valueAxisStart:S(C,O,!1),backgroundStart:F?y.x:y.y,valueAxisHorizontal:F})}}};function w(x){return x.coordinateSystem&&x.coordinateSystem.type==="cartesian2d"}function E(x){return x.pipelineContext&&x.pipelineContext.large}function S(x,T,L){return T.toGlobalCoord(T.dataToCoord(T.type==="log"?1:0))}_.getLayoutOnAxis=u,_.prepareLayoutBarSeries=r,_.makeColumnLayout=t,_.retrieveColumnLayout=d,_.layout=p,_.largeLayout=b},ngQI:function(D,_,e){"use strict";e.d(_,"a",function(){return Kl}),e.d(_,"b",function(){return ec}),e.d(_,"c",function(){return sl});var g=e("q1tI"),f=e.n(g),A=e("dI71"),m=e("wx14"),v=e("ANjH"),h=e("/MKj");function c(ot,de){if(ot.length!==de.length)return!1;for(var Ue=0;Ue<ot.length;Ue++)if(ot[Ue]!==de[Ue])return!1;return!0}function o(ot,de){var Ue=Object(g.useState)(function(){return{inputs:de,result:ot()}})[0],bt=Object(g.useRef)(Ue),Ft=Boolean(de&&bt.current.inputs&&c(de,bt.current.inputs)),qt=Ft?bt.current:{inputs:de,result:ot()};return Object(g.useEffect)(function(){bt.current=qt},[qt]),qt.result}function i(ot,de){return o(function(){return ot},de)}var n=o,a=i,u=e("9R94"),r=function(de){var Ue=de.top,bt=de.right,Ft=de.bottom,qt=de.left,ar=bt-qt,lr=Ft-Ue,yr={top:Ue,right:bt,bottom:Ft,left:qt,width:ar,height:lr,x:qt,y:Ue,center:{x:(bt+qt)/2,y:(Ft+Ue)/2}};return yr},l=function(de,Ue){return{top:de.top-Ue.top,left:de.left-Ue.left,bottom:de.bottom+Ue.bottom,right:de.right+Ue.right}},t=function(de,Ue){return{top:de.top+Ue.top,left:de.left+Ue.left,bottom:de.bottom-Ue.bottom,right:de.right-Ue.right}},s=function(de,Ue){return{top:de.top+Ue.y,left:de.left+Ue.x,bottom:de.bottom+Ue.y,right:de.right+Ue.x}},d={top:0,right:0,bottom:0,left:0},p=function(de){var Ue=de.borderBox,bt=de.margin,Ft=bt===void 0?d:bt,qt=de.border,ar=qt===void 0?d:qt,lr=de.padding,yr=lr===void 0?d:lr,Vr=r(l(Ue,Ft)),Xr=r(t(Ue,ar)),Br=r(t(Xr,yr));return{marginBox:Vr,borderBox:r(Ue),paddingBox:Xr,contentBox:Br,margin:Ft,border:ar,padding:yr}},b=function(de){var Ue=de.slice(0,-2),bt=de.slice(-2);if(bt!=="px")return 0;var Ft=Number(Ue);return isNaN(Ft)&&Object(u.a)(!1),Ft},w=function(){return{x:window.pageXOffset,y:window.pageYOffset}},E=function(de,Ue){var bt=de.borderBox,Ft=de.border,qt=de.margin,ar=de.padding,lr=s(bt,Ue);return p({borderBox:lr,border:Ft,margin:qt,padding:ar})},S=function(de,Ue){return Ue===void 0&&(Ue=w()),E(de,Ue)},x=function(de,Ue){var bt={top:b(Ue.marginTop),right:b(Ue.marginRight),bottom:b(Ue.marginBottom),left:b(Ue.marginLeft)},Ft={top:b(Ue.paddingTop),right:b(Ue.paddingRight),bottom:b(Ue.paddingBottom),left:b(Ue.paddingLeft)},qt={top:b(Ue.borderTopWidth),right:b(Ue.borderRightWidth),bottom:b(Ue.borderBottomWidth),left:b(Ue.borderLeftWidth)};return p({borderBox:de,margin:bt,padding:Ft,border:qt})},T=function(de){var Ue=de.getBoundingClientRect(),bt=window.getComputedStyle(de);return x(Ue,bt)};function L(ot,de){if(ot.length!==de.length)return!1;for(var Ue=0;Ue<ot.length;Ue++)if(ot[Ue]!==de[Ue])return!1;return!0}function y(ot,de){de===void 0&&(de=L);var Ue,bt=[],Ft,qt=!1;function ar(){for(var lr=[],yr=0;yr<arguments.length;yr++)lr[yr]=arguments[yr];return qt&&Ue===this&&de(lr,bt)||(Ft=ot.apply(this,lr),qt=!0,Ue=this,bt=lr),Ft}return ar}var C=y,O=function(de){var Ue=[],bt=null,Ft=function(){for(var ar=arguments.length,lr=new Array(ar),yr=0;yr<ar;yr++)lr[yr]=arguments[yr];if(Ue=lr,bt)return;bt=requestAnimationFrame(function(){bt=null,de.apply(void 0,Ue)})};return Ft.cancel=function(){if(!bt)return;cancelAnimationFrame(bt),bt=null},Ft},N=O,k=e("i8i4"),F=e.n(k),B=!0,H=/[ \t]{2,}/g,W=/^[ \t]*/gm,R=function(de){return de.replace(H," ").replace(W,"").trim()},U=function(de){return R(`
%creact-beautiful-dnd
%c`+R(de)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},j=function(de){return[U(de),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},P="__react-beautiful-dnd-disable-dev-warnings";function K(ot,de){var Ue;if(B)return;if(typeof window!="undefined"&&window[P])return;(Ue=console)[ot].apply(Ue,j(de))}var V=K.bind(null,"warn"),z=K.bind(null,"error");function X(){}function G(ot,de){return Object(m.a)({},ot,{},de)}function le(ot,de,Ue){var bt=de.map(function(Ft){var qt=G(Ue,Ft.options);return ot.addEventListener(Ft.eventName,Ft.fn,qt),function(){ot.removeEventListener(Ft.eventName,Ft.fn,qt)}});return function(){bt.forEach(function(qt){qt()})}}var Y=!0,me="Invariant failed";function we(ot){this.message=ot}we.prototype.toString=function(){return this.message};function pe(ot,de){if(ot)return;throw Y?new we(me):new we(me+": "+(de||""))}var Fe=function(ot){Object(A.a)(de,ot);function de(){for(var bt,Ft=arguments.length,qt=new Array(Ft),ar=0;ar<Ft;ar++)qt[ar]=arguments[ar];return bt=ot.call.apply(ot,[this].concat(qt))||this,bt.callbacks=null,bt.unbind=X,bt.onWindowError=function(lr){var yr=bt.getCallbacks();yr.isDragging()&&yr.tryAbort();var Vr=lr.error;Vr instanceof we&&lr.preventDefault()},bt.getCallbacks=function(){if(!bt.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return bt.callbacks},bt.setCallbacks=function(lr){bt.callbacks=lr},bt}var Ue=de.prototype;return Ue.componentDidMount=function(){this.unbind=le(window,[{eventName:"error",fn:this.onWindowError}])},Ue.componentWillUnmount=function(){this.unbind()},Ue.componentDidCatch=function(Ft){if(Ft instanceof we){this.setState({});return}throw Ft},Ue.render=function(){return this.props.children(this.setCallbacks)},de}(f.a.Component),Xe=`
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
`,dt=function(de){return de+1},Ee=function(de){return`
You have lifted an item in position `+dt(de.source.index)+`
`},Se=function(de,Ue){var bt=de.droppableId===Ue.droppableId,Ft=dt(de.index),qt=dt(Ue.index);return bt?`
You have moved the item from position `+Ft+`
to position `+qt+`
`:`
You have moved the item from position `+Ft+`
in list `+de.droppableId+`
to list `+Ue.droppableId+`
in position `+qt+`
`},at=function(de,Ue,bt){var Ft=Ue.droppableId===bt.droppableId;return Ft?`
The item `+de+`
has been combined with `+bt.draggableId:`
The item `+de+`
in list `+Ue.droppableId+`
has been combined with `+bt.draggableId+`
in list `+bt.droppableId+`
`},_e=function(de){var Ue=de.destination;if(Ue)return Se(de.source,Ue);var bt=de.combine;return bt?at(de.draggableId,de.source,bt):"You are over an area that cannot be dropped on"},ce=function(de){return`
The item has returned to its starting position
of `+dt(de.index)+`
`},ee=function(de){if(de.reason==="CANCEL")return`
Movement cancelled.
`+ce(de.source)+`
`;var Ue=de.destination,bt=de.combine;return Ue?`
You have dropped the item.
`+Se(de.source,Ue)+`
`:bt?`
You have dropped the item.
`+at(de.draggableId,de.source,bt)+`
`:`
The item has been dropped while not over a drop area.
`+ce(de.source)+`
`},se={dragHandleUsageInstructions:Xe,onDragStart:Ee,onDragUpdate:_e,onDragEnd:ee},ke={x:0,y:0},Ce=function(de,Ue){return{x:de.x+Ue.x,y:de.y+Ue.y}},ze=function(de,Ue){return{x:de.x-Ue.x,y:de.y-Ue.y}},Oe=function(de,Ue){return de.x===Ue.x&&de.y===Ue.y},ae=function(de){return{x:de.x!==0?-de.x:0,y:de.y!==0?-de.y:0}},ge=function(de,Ue,bt){var Ft;return bt===void 0&&(bt=0),Ft={},Ft[de]=Ue,Ft[de==="x"?"y":"x"]=bt,Ft},Le=function(de,Ue){return Math.sqrt(Math.pow(Ue.x-de.x,2)+Math.pow(Ue.y-de.y,2))},Ze=function(de,Ue){return Math.min.apply(Math,Ue.map(function(bt){return Le(de,bt)}))},vt=function(de){return function(Ue){return{x:de(Ue.x),y:de(Ue.y)}}},Ct=function(de,Ue){var bt=r({top:Math.max(Ue.top,de.top),right:Math.min(Ue.right,de.right),bottom:Math.min(Ue.bottom,de.bottom),left:Math.max(Ue.left,de.left)});return bt.width<=0||bt.height<=0?null:bt},Be=function(de,Ue){return{top:de.top+Ue.y,left:de.left+Ue.x,bottom:de.bottom+Ue.y,right:de.right+Ue.x}},Rt=function(de){return[{x:de.left,y:de.top},{x:de.right,y:de.top},{x:de.left,y:de.bottom},{x:de.right,y:de.bottom}]},He={top:0,right:0,bottom:0,left:0},wt=function(de,Ue){return Ue?Be(de,Ue.scroll.diff.displacement):de},Ge=function(de,Ue,bt){if(bt&&bt.increasedBy){var Ft;return Object(m.a)({},de,(Ft={},Ft[Ue.end]=de[Ue.end]+bt.increasedBy[Ue.line],Ft))}return de},et=function(de,Ue){return Ue&&Ue.shouldClipSubject?Ct(Ue.pageMarginBox,de):r(de)},rt=function(de){var Ue=de.page,bt=de.withPlaceholder,Ft=de.axis,qt=de.frame,ar=wt(Ue.marginBox,qt),lr=Ge(ar,Ft,bt),yr=et(lr,qt);return{page:Ue,withPlaceholder:bt,active:yr}},lt=function(de,Ue){de.frame||pe(!1);var bt=de.frame,Ft=ze(Ue,bt.scroll.initial),qt=ae(Ft),ar=Object(m.a)({},bt,{scroll:{initial:bt.scroll.initial,current:Ue,diff:{value:Ft,displacement:qt},max:bt.scroll.max}}),lr=rt({page:de.subject.page,withPlaceholder:de.subject.withPlaceholder,axis:de.axis,frame:ar}),yr=Object(m.a)({},de,{frame:ar,subject:lr});return yr};function Ve(ot){return Number.isInteger?Number.isInteger(ot):typeof ot=="number"&&isFinite(ot)&&Math.floor(ot)===ot}function ie(ot){return Object.values?Object.values(ot):Object.keys(ot).map(function(de){return ot[de]})}function $(ot,de){if(ot.findIndex)return ot.findIndex(de);for(var Ue=0;Ue<ot.length;Ue++)if(de(ot[Ue]))return Ue;return-1}function it(ot,de){if(ot.find)return ot.find(de);var Ue=$(ot,de);return Ue!==-1?ot[Ue]:void 0}function Qe(ot){return Array.prototype.slice.call(ot)}var ye=C(function(ot){return ot.reduce(function(de,Ue){return de[Ue.descriptor.id]=Ue,de},{})}),Zt=C(function(ot){return ot.reduce(function(de,Ue){return de[Ue.descriptor.id]=Ue,de},{})}),ht=C(function(ot){return ie(ot)}),ct=C(function(ot){return ie(ot)}),yt=C(function(ot,de){var Ue=ct(de).filter(function(bt){return ot===bt.descriptor.droppableId}).sort(function(bt,Ft){return bt.descriptor.index-Ft.descriptor.index});return Ue});function It(ot){return ot.at&&ot.at.type==="REORDER"?ot.at.destination:null}function or(ot){return ot.at&&ot.at.type==="COMBINE"?ot.at.combine:null}var Bt=C(function(ot,de){return de.filter(function(Ue){return Ue.descriptor.id!==ot.descriptor.id})}),Ae=function(de){var Ue=de.isMovingForward,bt=de.draggable,Ft=de.destination,qt=de.insideDestination,ar=de.previousImpact;if(!Ft.isCombineEnabled)return null;var lr=It(ar);if(!lr)return null;function yr(ei){var ci={type:"COMBINE",combine:{draggableId:ei,droppableId:Ft.descriptor.id}};return Object(m.a)({},ar,{at:ci})}var Vr=ar.displaced.all,Xr=Vr.length?Vr[0]:null;if(Ue)return Xr?yr(Xr):null;var Br=Bt(bt,qt);if(!Xr){if(!Br.length)return null;var Fr=Br[Br.length-1];return yr(Fr.descriptor.id)}var Gr=$(Br,function(ei){return ei.descriptor.id===Xr});Gr!==-1||pe(!1);var dn=Gr-1;if(dn<0)return null;var pn=Br[dn];return yr(pn.descriptor.id)},ve=function(de,Ue){return de.descriptor.droppableId===Ue.descriptor.id},fe={point:ke,value:0},ue={invisible:{},visible:{},all:[]},Ne={displaced:ue,displacedBy:fe,at:null},je=function(de,Ue){return function(bt){return de<=bt&&bt<=Ue}},Ke=function(de){var Ue=je(de.top,de.bottom),bt=je(de.left,de.right);return function(Ft){var qt=Ue(Ft.top)&&Ue(Ft.bottom)&&bt(Ft.left)&&bt(Ft.right);if(qt)return!0;var ar=Ue(Ft.top)||Ue(Ft.bottom),lr=bt(Ft.left)||bt(Ft.right),yr=ar&&lr;if(yr)return!0;var Vr=Ft.top<de.top&&Ft.bottom>de.bottom,Xr=Ft.left<de.left&&Ft.right>de.right,Br=Vr&&Xr;if(Br)return!0;var Fr=Vr&&lr||Xr&&ar;return Fr}},Ye=function(de){var Ue=je(de.top,de.bottom),bt=je(de.left,de.right);return function(Ft){var qt=Ue(Ft.top)&&Ue(Ft.bottom)&&bt(Ft.left)&&bt(Ft.right);return qt}},Pe={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},nt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},At=function(de){return function(Ue){var bt=je(Ue.top,Ue.bottom),Ft=je(Ue.left,Ue.right);return function(qt){return de===Pe?bt(qt.top)&&bt(qt.bottom):Ft(qt.left)&&Ft(qt.right)}}},Ot=function(de,Ue){var bt=Ue.frame?Ue.frame.scroll.diff.displacement:ke;return Be(de,bt)},ne=function(de,Ue,bt){return Ue.subject.active?bt(Ue.subject.active)(de):!1},he=function(de,Ue,bt){return bt(Ue)(de)},Q=function(de){var Ue=de.target,bt=de.destination,Ft=de.viewport,qt=de.withDroppableDisplacement,ar=de.isVisibleThroughFrameFn,lr=qt?Ot(Ue,bt):Ue;return ne(lr,bt,ar)&&he(lr,Ft,ar)},te=function(de){return Q(Object(m.a)({},de,{isVisibleThroughFrameFn:Ke}))},be=function(de){return Q(Object(m.a)({},de,{isVisibleThroughFrameFn:Ye}))},Ie=function(de){return Q(Object(m.a)({},de,{isVisibleThroughFrameFn:At(de.destination.axis)}))},Re=function(de,Ue,bt){if(typeof bt=="boolean")return bt;if(!Ue)return!0;var Ft=Ue.invisible,qt=Ue.visible;if(Ft[de])return!1;var ar=qt[de];return ar?ar.shouldAnimate:!0};function $e(ot,de){var Ue=ot.page.marginBox,bt={top:de.point.y,right:0,bottom:0,left:de.point.x};return r(l(Ue,bt))}function gt(ot){var de=ot.afterDragging,Ue=ot.destination,bt=ot.displacedBy,Ft=ot.viewport,qt=ot.forceShouldAnimate,ar=ot.last;return de.reduce(function(yr,Vr){var Xr=$e(Vr,bt),Br=Vr.descriptor.id;yr.all.push(Br);var Fr=te({target:Xr,destination:Ue,viewport:Ft,withDroppableDisplacement:!0});if(!Fr)return yr.invisible[Vr.descriptor.id]=!0,yr;var Gr=Re(Br,ar,qt),dn={draggableId:Br,shouldAnimate:Gr};return yr.visible[Br]=dn,yr},{all:[],visible:{},invisible:{}})}function Wt(ot,de){if(!ot.length)return 0;var Ue=ot[ot.length-1].descriptor.index;return de.inHomeList?Ue:Ue+1}function $t(ot){var de=ot.insideDestination,Ue=ot.inHomeList,bt=ot.displacedBy,Ft=ot.destination,qt=Wt(de,{inHomeList:Ue});return{displaced:ue,displacedBy:bt,at:{type:"REORDER",destination:{droppableId:Ft.descriptor.id,index:qt}}}}function Dt(ot){var de=ot.draggable,Ue=ot.insideDestination,bt=ot.destination,Ft=ot.viewport,qt=ot.displacedBy,ar=ot.last,lr=ot.index,yr=ot.forceShouldAnimate,Vr=ve(de,bt);if(lr==null)return $t({insideDestination:Ue,inHomeList:Vr,displacedBy:qt,destination:bt});var Xr=it(Ue,function(pn){return pn.descriptor.index===lr});if(!Xr)return $t({insideDestination:Ue,inHomeList:Vr,displacedBy:qt,destination:bt});var Br=Bt(de,Ue),Fr=Ue.indexOf(Xr),Gr=Br.slice(Fr),dn=gt({afterDragging:Gr,destination:bt,displacedBy:qt,last:ar,viewport:Ft.frame,forceShouldAnimate:yr});return{displaced:dn,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:bt.descriptor.id,index:lr}}}}function Kt(ot,de){return Boolean(de.effected[ot])}var Gt=function(de){var Ue=de.isMovingForward,bt=de.destination,Ft=de.draggables,qt=de.combine,ar=de.afterCritical;if(!bt.isCombineEnabled)return null;var lr=qt.draggableId,yr=Ft[lr],Vr=yr.descriptor.index,Xr=Kt(lr,ar);return Xr?Ue?Vr:Vr-1:Ue?Vr+1:Vr},Qt=function(de){var Ue=de.isMovingForward,bt=de.isInHomeList,Ft=de.insideDestination,qt=de.location;if(!Ft.length)return null;var ar=qt.index,lr=Ue?ar+1:ar-1,yr=Ft[0].descriptor.index,Vr=Ft[Ft.length-1].descriptor.index,Xr=bt?Vr:Vr+1;return lr<yr||lr>Xr?null:lr},Mt=function(de){var Ue=de.isMovingForward,bt=de.isInHomeList,Ft=de.draggable,qt=de.draggables,ar=de.destination,lr=de.insideDestination,yr=de.previousImpact,Vr=de.viewport,Xr=de.afterCritical,Br=yr.at;if(Br||pe(!1),Br.type==="REORDER"){var Fr=Qt({isMovingForward:Ue,isInHomeList:bt,location:Br.destination,insideDestination:lr});return Fr==null?null:Dt({draggable:Ft,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Fr})}var Gr=Gt({isMovingForward:Ue,destination:ar,displaced:yr.displaced,draggables:qt,combine:Br.combine,afterCritical:Xr});return Gr==null?null:Dt({draggable:Ft,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Gr})},dr=function(de){var Ue=de.displaced,bt=de.afterCritical,Ft=de.combineWith,qt=de.displacedBy,ar=Boolean(Ue.visible[Ft]||Ue.invisible[Ft]);return Kt(Ft,bt)?ar?ke:ae(qt.point):ar?qt.point:ke},er=function(de){var Ue=de.afterCritical,bt=de.impact,Ft=de.draggables,qt=or(bt);qt||pe(!1);var ar=qt.draggableId,lr=Ft[ar].page.borderBox.center,yr=dr({displaced:bt.displaced,afterCritical:Ue,combineWith:ar,displacedBy:bt.displacedBy});return Ce(lr,yr)},st=function(de,Ue){return Ue.margin[de.start]+Ue.borderBox[de.size]/2},xt=function(de,Ue){return Ue.margin[de.end]+Ue.borderBox[de.size]/2},ut=function(de,Ue,bt){return Ue[de.crossAxisStart]+bt.margin[de.crossAxisStart]+bt.borderBox[de.crossAxisSize]/2},pt=function(de){var Ue=de.axis,bt=de.moveRelativeTo,Ft=de.isMoving;return ge(Ue.line,bt.marginBox[Ue.end]+st(Ue,Ft),ut(Ue,bt.marginBox,Ft))},_t=function(de){var Ue=de.axis,bt=de.moveRelativeTo,Ft=de.isMoving;return ge(Ue.line,bt.marginBox[Ue.start]-xt(Ue,Ft),ut(Ue,bt.marginBox,Ft))},Tt=function(de){var Ue=de.axis,bt=de.moveInto,Ft=de.isMoving;return ge(Ue.line,bt.contentBox[Ue.start]+st(Ue,Ft),ut(Ue,bt.contentBox,Ft))},ft=function(de){var Ue=de.impact,bt=de.draggable,Ft=de.draggables,qt=de.droppable,ar=de.afterCritical,lr=yt(qt.descriptor.id,Ft),yr=bt.page,Vr=qt.axis;if(!lr.length)return Tt({axis:Vr,moveInto:qt.page,isMoving:yr});var Xr=Ue.displaced,Br=Ue.displacedBy,Fr=Xr.all[0];if(Fr){var Gr=Ft[Fr];if(Kt(Fr,ar))return _t({axis:Vr,moveRelativeTo:Gr.page,isMoving:yr});var dn=E(Gr.page,Br.point);return _t({axis:Vr,moveRelativeTo:dn,isMoving:yr})}var pn=lr[lr.length-1];if(pn.descriptor.id===bt.descriptor.id)return yr.borderBox.center;if(Kt(pn.descriptor.id,ar)){var ei=E(pn.page,ae(ar.displacedBy.point));return pt({axis:Vr,moveRelativeTo:ei,isMoving:yr})}return pt({axis:Vr,moveRelativeTo:pn.page,isMoving:yr})},Ht=function(de,Ue){var bt=de.frame;return bt?Ce(Ue,bt.scroll.diff.displacement):Ue},kt=function(de){var Ue=de.impact,bt=de.draggable,Ft=de.droppable,qt=de.draggables,ar=de.afterCritical,lr=bt.page.borderBox.center,yr=Ue.at;return Ft&&yr?yr.type==="REORDER"?ft({impact:Ue,draggable:bt,draggables:qt,droppable:Ft,afterCritical:ar}):er({impact:Ue,draggables:qt,afterCritical:ar}):lr},ir=function(de){var Ue=kt(de),bt=de.droppable,Ft=bt?Ht(bt,Ue):Ue;return Ft},Xt=function(de,Ue){var bt=ze(Ue,de.scroll.initial),Ft=ae(bt),qt=r({top:Ue.y,bottom:Ue.y+de.frame.height,left:Ue.x,right:Ue.x+de.frame.width}),ar={frame:qt,scroll:{initial:de.scroll.initial,max:de.scroll.max,current:Ue,diff:{value:bt,displacement:Ft}}};return ar};function mr(ot,de){return ot.map(function(Ue){return de[Ue]})}function Ar(ot,de){for(var Ue=0;Ue<de.length;Ue++){var bt=de[Ue].visible[ot];if(bt)return bt}return null}var Nr=function(de){var Ue=de.impact,bt=de.viewport,Ft=de.destination,qt=de.draggables,ar=de.maxScrollChange,lr=Xt(bt,Ce(bt.scroll.current,ar)),yr=Ft.frame?lt(Ft,Ce(Ft.frame.scroll.current,ar)):Ft,Vr=Ue.displaced,Xr=gt({afterDragging:mr(Vr.all,qt),destination:Ft,displacedBy:Ue.displacedBy,viewport:lr.frame,last:Vr,forceShouldAnimate:!1}),Br=gt({afterDragging:mr(Vr.all,qt),destination:yr,displacedBy:Ue.displacedBy,viewport:bt.frame,last:Vr,forceShouldAnimate:!1}),Fr={},Gr={},dn=[Vr,Xr,Br];Vr.all.forEach(function(ei){var ci=Ar(ei,dn);if(ci){Gr[ei]=ci;return}Fr[ei]=!0});var pn=Object(m.a)({},Ue,{displaced:{all:Vr.all,invisible:Fr,visible:Gr}});return pn},kr=function(de,Ue){return Ce(de.scroll.diff.displacement,Ue)},tn=function(de){var Ue=de.pageBorderBoxCenter,bt=de.draggable,Ft=de.viewport,qt=kr(Ft,Ue),ar=ze(qt,bt.page.borderBox.center);return Ce(bt.client.borderBox.center,ar)},qr=function(de){var Ue=de.draggable,bt=de.destination,Ft=de.newPageBorderBoxCenter,qt=de.viewport,ar=de.withDroppableDisplacement,lr=de.onlyOnMainAxis,yr=lr===void 0?!1:lr,Vr=ze(Ft,Ue.page.borderBox.center),Xr=Be(Ue.page.borderBox,Vr),Br={target:Xr,destination:bt,withDroppableDisplacement:ar,viewport:qt};return yr?Ie(Br):be(Br)},Lr=function(de){var Ue=de.isMovingForward,bt=de.draggable,Ft=de.destination,qt=de.draggables,ar=de.previousImpact,lr=de.viewport,yr=de.previousPageBorderBoxCenter,Vr=de.previousClientSelection,Xr=de.afterCritical;if(!Ft.isEnabled)return null;var Br=yt(Ft.descriptor.id,qt),Fr=ve(bt,Ft),Gr=Ae({isMovingForward:Ue,draggable:bt,destination:Ft,insideDestination:Br,previousImpact:ar})||Mt({isMovingForward:Ue,isInHomeList:Fr,draggable:bt,draggables:qt,destination:Ft,insideDestination:Br,previousImpact:ar,viewport:lr,afterCritical:Xr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:bt,droppable:Ft,draggables:qt,afterCritical:Xr}),pn=qr({draggable:bt,destination:Ft,newPageBorderBoxCenter:dn,viewport:lr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=tn({pageBorderBoxCenter:dn,draggable:bt,viewport:lr});return{clientSelection:ei,impact:Gr,scrollJumpRequest:null}}var ci=ze(dn,yr),ii=Nr({impact:Gr,viewport:lr,destination:Ft,draggables:qt,maxScrollChange:ci});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ci}},Qr=function(de){var Ue=de.subject.active;return Ue||pe(!1),Ue},Ir=function(de){var Ue=de.isMovingForward,bt=de.pageBorderBoxCenter,Ft=de.source,qt=de.droppables,ar=de.viewport,lr=Ft.subject.active;if(!lr)return null;var yr=Ft.axis,Vr=je(lr[yr.start],lr[yr.end]),Xr=ht(qt).filter(function(Fr){return Fr!==Ft}).filter(function(Fr){return Fr.isEnabled}).filter(function(Fr){return Boolean(Fr.subject.active)}).filter(function(Fr){return Ke(ar.frame)(Qr(Fr))}).filter(function(Fr){var Gr=Qr(Fr);return Ue?lr[yr.crossAxisEnd]<Gr[yr.crossAxisEnd]:Gr[yr.crossAxisStart]<lr[yr.crossAxisStart]}).filter(function(Fr){var Gr=Qr(Fr),dn=je(Gr[yr.start],Gr[yr.end]);return Vr(Gr[yr.start])||Vr(Gr[yr.end])||dn(lr[yr.start])||dn(lr[yr.end])}).sort(function(Fr,Gr){var dn=Qr(Fr)[yr.crossAxisStart],pn=Qr(Gr)[yr.crossAxisStart];return Ue?dn-pn:pn-dn}).filter(function(Fr,Gr,dn){return Qr(Fr)[yr.crossAxisStart]===Qr(dn[0])[yr.crossAxisStart]});if(!Xr.length)return null;if(Xr.length===1)return Xr[0];var Br=Xr.filter(function(Fr){var Gr=je(Qr(Fr)[yr.start],Qr(Fr)[yr.end]);return Gr(bt[yr.line])});return Br.length===1?Br[0]:Br.length>1?Br.sort(function(Fr,Gr){return Qr(Fr)[yr.start]-Qr(Gr)[yr.start]})[0]:Xr.sort(function(Fr,Gr){var dn=Ze(bt,Rt(Qr(Fr))),pn=Ze(bt,Rt(Qr(Gr)));return dn!==pn?dn-pn:Qr(Fr)[yr.start]-Qr(Gr)[yr.start]})[0]},ur=function(de,Ue){var bt=de.page.borderBox.center;return Kt(de.descriptor.id,Ue)?ze(bt,Ue.displacedBy.point):bt},pr=function(de,Ue){var bt=de.page.borderBox;return Kt(de.descriptor.id,Ue)?Be(bt,ae(Ue.displacedBy.point)):bt},cr=function(de){var Ue=de.pageBorderBoxCenter,bt=de.viewport,Ft=de.destination,qt=de.insideDestination,ar=de.afterCritical,lr=qt.filter(function(yr){return be({target:pr(yr,ar),destination:Ft,viewport:bt.frame,withDroppableDisplacement:!0})}).sort(function(yr,Vr){var Xr=Le(Ue,Ht(Ft,ur(yr,ar))),Br=Le(Ue,Ht(Ft,ur(Vr,ar)));return Xr<Br?-1:Br<Xr?1:yr.descriptor.index-Vr.descriptor.index});return lr[0]||null},fr=C(function(de,Ue){var bt=Ue[de.line];return{value:bt,point:ge(de.line,bt)}}),xr=function(de,Ue,bt){var Ft=de.axis;if(de.descriptor.mode==="virtual")return ge(Ft.line,Ue[Ft.line]);var qt=de.subject.page.contentBox[Ft.size],ar=yt(de.descriptor.id,bt),lr=ar.reduce(function(Xr,Br){return Xr+Br.client.marginBox[Ft.size]},0),yr=lr+Ue[Ft.line],Vr=yr-qt;return Vr<=0?null:ge(Ft.line,Vr)},Yr=function(de,Ue){return Object(m.a)({},de,{scroll:Object(m.a)({},de.scroll,{max:Ue})})},un=function(de,Ue,bt){var Ft=de.frame;ve(Ue,de)&&pe(!1),de.subject.withPlaceholder&&pe(!1);var qt=fr(de.axis,Ue.displaceBy).point,ar=xr(de,qt,bt),lr={placeholderSize:qt,increasedBy:ar,oldFrameMaxScroll:de.frame?de.frame.scroll.max:null};if(!Ft){var yr=rt({page:de.subject.page,withPlaceholder:lr,axis:de.axis,frame:de.frame});return Object(m.a)({},de,{subject:yr})}var Vr=ar?Ce(Ft.scroll.max,ar):Ft.scroll.max,Xr=Yr(Ft,Vr),Br=rt({page:de.subject.page,withPlaceholder:lr,axis:de.axis,frame:Xr});return Object(m.a)({},de,{subject:Br,frame:Xr})},Nn=function(de){var Ue=de.subject.withPlaceholder;Ue||pe(!1);var bt=de.frame;if(!bt){var Ft=rt({page:de.subject.page,axis:de.axis,frame:null,withPlaceholder:null});return Object(m.a)({},de,{subject:Ft})}var qt=Ue.oldFrameMaxScroll;qt||pe(!1);var ar=Yr(bt,qt),lr=rt({page:de.subject.page,axis:de.axis,frame:ar,withPlaceholder:null});return Object(m.a)({},de,{subject:lr,frame:ar})},jr=function(de){var Ue=de.previousPageBorderBoxCenter,bt=de.moveRelativeTo,Ft=de.insideDestination,qt=de.draggable,ar=de.draggables,lr=de.destination,yr=de.viewport,Vr=de.afterCritical;if(!bt){if(Ft.length)return null;var Xr={displaced:ue,displacedBy:fe,at:{type:"REORDER",destination:{droppableId:lr.descriptor.id,index:0}}},Br=ir({impact:Xr,draggable:qt,droppable:lr,draggables:ar,afterCritical:Vr}),Fr=ve(qt,lr)?lr:un(lr,qt,ar),Gr=qr({draggable:qt,destination:Fr,newPageBorderBoxCenter:Br,viewport:yr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Gr?Xr:null}var dn=Boolean(Ue[lr.axis.line]<=bt.page.borderBox.center[lr.axis.line]),pn=function(){var ci=bt.descriptor.index;return bt.descriptor.id===qt.descriptor.id||dn?ci:ci+1}(),ei=fr(lr.axis,qt.displaceBy);return Dt({draggable:qt,insideDestination:Ft,destination:lr,viewport:yr,displacedBy:ei,last:ue,index:pn})},Tn=function(de){var Ue=de.isMovingForward,bt=de.previousPageBorderBoxCenter,Ft=de.draggable,qt=de.isOver,ar=de.draggables,lr=de.droppables,yr=de.viewport,Vr=de.afterCritical,Xr=Ir({isMovingForward:Ue,pageBorderBoxCenter:bt,source:qt,droppables:lr,viewport:yr});if(!Xr)return null;var Br=yt(Xr.descriptor.id,ar),Fr=cr({pageBorderBoxCenter:bt,viewport:yr,destination:Xr,insideDestination:Br,afterCritical:Vr}),Gr=jr({previousPageBorderBoxCenter:bt,destination:Xr,draggable:Ft,draggables:ar,moveRelativeTo:Fr,insideDestination:Br,viewport:yr,afterCritical:Vr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:Ft,droppable:Xr,draggables:ar,afterCritical:Vr}),pn=tn({pageBorderBoxCenter:dn,draggable:Ft,viewport:yr});return{clientSelection:pn,impact:Gr,scrollJumpRequest:null}},gn=function(de){var Ue=de.at;return Ue?Ue.type==="REORDER"?Ue.destination.droppableId:Ue.combine.droppableId:null},Pn=function(de,Ue){var bt=gn(de);return bt?Ue[bt]:null},zn=function(de){var Ue=de.state,bt=de.type,Ft=Pn(Ue.impact,Ue.dimensions.droppables),qt=Boolean(Ft),ar=Ue.dimensions.droppables[Ue.critical.droppable.id],lr=Ft||ar,yr=lr.axis.direction,Vr=yr==="vertical"&&(bt==="MOVE_UP"||bt==="MOVE_DOWN")||yr==="horizontal"&&(bt==="MOVE_LEFT"||bt==="MOVE_RIGHT");if(Vr&&!qt)return null;var Xr=bt==="MOVE_DOWN"||bt==="MOVE_RIGHT",Br=Ue.dimensions.draggables[Ue.critical.draggable.id],Fr=Ue.current.page.borderBoxCenter,Gr=Ue.dimensions,dn=Gr.draggables,pn=Gr.droppables;return Vr?Lr({isMovingForward:Xr,previousPageBorderBoxCenter:Fr,draggable:Br,destination:lr,draggables:dn,viewport:Ue.viewport,previousClientSelection:Ue.current.client.selection,previousImpact:Ue.impact,afterCritical:Ue.afterCritical}):Tn({isMovingForward:Xr,previousPageBorderBoxCenter:Fr,draggable:Br,isOver:lr,draggables:dn,droppables:pn,viewport:Ue.viewport,afterCritical:Ue.afterCritical})};function qn(ot){return ot.phase==="DRAGGING"||ot.phase==="COLLECTING"}function Yn(ot){var de=je(ot.top,ot.bottom),Ue=je(ot.left,ot.right);return function(Ft){return de(Ft.y)&&Ue(Ft.x)}}function Vn(ot,de){return ot.left<de.right&&ot.right>de.left&&ot.top<de.bottom&&ot.bottom>de.top}function An(ot){var de=ot.pageBorderBox,Ue=ot.draggable,bt=ot.candidates,Ft=Ue.page.borderBox.center,qt=bt.map(function(ar){var lr=ar.axis,yr=ge(ar.axis.line,de.center[lr.line],ar.page.borderBox.center[lr.crossAxisLine]);return{id:ar.descriptor.id,distance:Le(Ft,yr)}}).sort(function(ar,lr){return lr.distance-ar.distance});return qt[0]?qt[0].id:null}function on(ot){var de=ot.pageBorderBox,Ue=ot.draggable,bt=ot.droppables,Ft=ht(bt).filter(function(qt){if(!qt.isEnabled)return!1;var ar=qt.subject.active;if(!ar)return!1;if(!Vn(de,ar))return!1;if(Yn(ar)(de.center))return!0;var lr=qt.axis,yr=ar.center[lr.crossAxisLine],Vr=de[lr.crossAxisStart],Xr=de[lr.crossAxisEnd],Br=je(ar[lr.crossAxisStart],ar[lr.crossAxisEnd]),Fr=Br(Vr),Gr=Br(Xr);return!Fr&&!Gr?!0:Fr?Vr<yr:Xr>yr});return Ft.length?Ft.length===1?Ft[0].descriptor.id:An({pageBorderBox:de,draggable:Ue,candidates:Ft}):null}var ia=function(de,Ue){return r(Be(de,Ue))},xa=function(de,Ue){var bt=de.frame;return bt?ia(Ue,bt.scroll.diff.value):Ue};function ta(ot){var de=ot.displaced,Ue=ot.id;return Boolean(de.visible[Ue]||de.invisible[Ue])}function Ii(ot){var de=ot.draggable,Ue=ot.closest,bt=ot.inHomeList;return Ue?bt&&Ue.descriptor.index>de.descriptor.index?Ue.descriptor.index-1:Ue.descriptor.index:null}var Ci=function(de){var Ue=de.pageBorderBoxWithDroppableScroll,bt=de.draggable,Ft=de.destination,qt=de.insideDestination,ar=de.last,lr=de.viewport,yr=de.afterCritical,Vr=Ft.axis,Xr=fr(Ft.axis,bt.displaceBy),Br=Xr.value,Fr=Ue[Vr.start],Gr=Ue[Vr.end],dn=Bt(bt,qt),pn=it(dn,function(ci){var ii=ci.descriptor.id,Ji=ci.page.borderBox.center[Vr.line],Si=Kt(ii,yr),Va=ta({displaced:ar,id:ii});return Si?Va?Gr<=Ji:Fr<Ji-Br:Va?Gr<=Ji+Br:Fr<Ji}),ei=Ii({draggable:bt,closest:pn,inHomeList:ve(bt,Ft)});return Dt({draggable:bt,insideDestination:qt,destination:Ft,viewport:lr,last:ar,displacedBy:Xr,index:ei})},Gn=4,Oa=function(de){var Ue=de.draggable,bt=de.pageBorderBoxWithDroppableScroll,Ft=de.previousImpact,qt=de.destination,ar=de.insideDestination,lr=de.afterCritical;if(!qt.isCombineEnabled)return null;var yr=qt.axis,Vr=fr(qt.axis,Ue.displaceBy),Xr=Vr.value,Br=bt[yr.start],Fr=bt[yr.end],Gr=Bt(Ue,ar),dn=it(Gr,function(ei){var ci=ei.descriptor.id,ii=ei.page.borderBox,Ji=ii[yr.size],Si=Ji/Gn,Va=Kt(ci,lr),Ei=ta({displaced:Ft.displaced,id:ci});return Va?Ei?Fr>ii[yr.start]+Si&&Fr<ii[yr.end]-Si:Br>ii[yr.start]-Xr+Si&&Br<ii[yr.end]-Xr-Si:Ei?Fr>ii[yr.start]+Xr+Si&&Fr<ii[yr.end]+Xr-Si:Br>ii[yr.start]+Si&&Br<ii[yr.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:Ft.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:qt.descriptor.id}}};return pn},mn=function(de){var Ue=de.pageOffset,bt=de.draggable,Ft=de.draggables,qt=de.droppables,ar=de.previousImpact,lr=de.viewport,yr=de.afterCritical,Vr=ia(bt.page.borderBox,Ue),Xr=on({pageBorderBox:Vr,draggable:bt,droppables:qt});if(!Xr)return Ne;var Br=qt[Xr],Fr=yt(Br.descriptor.id,Ft),Gr=xa(Br,Vr);return Oa({pageBorderBoxWithDroppableScroll:Gr,draggable:bt,previousImpact:ar,destination:Br,insideDestination:Fr,afterCritical:yr})||Ci({pageBorderBoxWithDroppableScroll:Gr,draggable:bt,destination:Br,insideDestination:Fr,last:ar.displaced,viewport:lr,afterCritical:yr})},On=function(de,Ue){var bt;return Object(m.a)({},de,(bt={},bt[Ue.descriptor.id]=Ue,bt))},Ln=function(de){var Ue=de.previousImpact,bt=de.impact,Ft=de.droppables,qt=gn(Ue),ar=gn(bt);if(!qt)return Ft;if(qt===ar)return Ft;var lr=Ft[qt];if(!lr.subject.withPlaceholder)return Ft;var yr=Nn(lr);return On(Ft,yr)},In=function(de){var Ue=de.draggable,bt=de.draggables,Ft=de.droppables,qt=de.previousImpact,ar=de.impact,lr=Ln({previousImpact:qt,impact:ar,droppables:Ft}),yr=gn(ar);if(!yr)return lr;var Vr=Ft[yr];if(ve(Ue,Vr))return lr;if(Vr.subject.withPlaceholder)return lr;var Xr=un(Vr,Ue,bt);return On(lr,Xr)},jn=function(de){var Ue=de.state,bt=de.clientSelection,Ft=de.dimensions,qt=de.viewport,ar=de.impact,lr=de.scrollJumpRequest,yr=qt||Ue.viewport,Vr=Ft||Ue.dimensions,Xr=bt||Ue.current.client.selection,Br=ze(Xr,Ue.initial.client.selection),Fr={offset:Br,selection:Xr,borderBoxCenter:Ce(Ue.initial.client.borderBoxCenter,Br)},Gr={selection:Ce(Fr.selection,yr.scroll.current),borderBoxCenter:Ce(Fr.borderBoxCenter,yr.scroll.current),offset:Ce(Fr.offset,yr.scroll.diff.value)},dn={client:Fr,page:Gr};if(Ue.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},Ue,{dimensions:Vr,viewport:yr,current:dn});var pn=Vr.draggables[Ue.critical.draggable.id],ei=ar||mn({pageOffset:Gr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:Ue.impact,viewport:yr,afterCritical:Ue.afterCritical}),ci=In({draggable:pn,impact:ei,previousImpact:Ue.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(m.a)({},Ue,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ci},impact:ei,viewport:yr,scrollJumpRequest:lr||null,forceShouldAnimate:lr?!1:null});return ii};function ni(ot,de){return ot.map(function(Ue){return de[Ue]})}var di=function(de){var Ue=de.impact,bt=de.viewport,Ft=de.draggables,qt=de.destination,ar=de.forceShouldAnimate,lr=Ue.displaced,yr=ni(lr.all,Ft),Vr=gt({afterDragging:yr,destination:qt,displacedBy:Ue.displacedBy,viewport:bt.frame,forceShouldAnimate:ar,last:lr});return Object(m.a)({},Ue,{displaced:Vr})},Na=function(de){var Ue=de.impact,bt=de.draggable,Ft=de.droppable,qt=de.draggables,ar=de.viewport,lr=de.afterCritical,yr=ir({impact:Ue,draggable:bt,draggables:qt,droppable:Ft,afterCritical:lr});return tn({pageBorderBoxCenter:yr,draggable:bt,viewport:ar})},Qi=function(de){var Ue=de.state,bt=de.dimensions,Ft=de.viewport;Ue.movementMode==="SNAP"||pe(!1);var qt=Ue.impact,ar=Ft||Ue.viewport,lr=bt||Ue.dimensions,yr=lr.draggables,Vr=lr.droppables,Xr=yr[Ue.critical.draggable.id],Br=gn(qt);Br||pe(!1);var Fr=Vr[Br],Gr=di({impact:qt,viewport:ar,destination:Fr,draggables:yr}),dn=Na({impact:Gr,draggable:Xr,droppable:Fr,draggables:yr,viewport:ar,afterCritical:Ue.afterCritical});return jn({impact:Gr,clientSelection:dn,state:Ue,dimensions:lr,viewport:ar})},ma=function(de){return{index:de.index,droppableId:de.droppableId}},Ba=function(de){var Ue=de.draggable,bt=de.home,Ft=de.draggables,qt=de.viewport,ar=fr(bt.axis,Ue.displaceBy),lr=yt(bt.descriptor.id,Ft),yr=lr.indexOf(Ue);yr!==-1||pe(!1);var Vr=lr.slice(yr+1),Xr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),Br={inVirtualList:bt.descriptor.mode==="virtual",displacedBy:ar,effected:Xr},Fr=gt({afterDragging:Vr,destination:bt,displacedBy:ar,last:null,viewport:qt.frame,forceShouldAnimate:!1}),Gr={displaced:Fr,displacedBy:ar,at:{type:"REORDER",destination:ma(Ue.descriptor)}};return{impact:Gr,afterCritical:Br}},Qa=function(de,Ue){return{draggables:de.draggables,droppables:On(de.droppables,Ue)}},Wi=function(de){},Co=function(de){},aa=function(de){var Ue=de.draggable,bt=de.offset,Ft=de.initialWindowScroll,qt=E(Ue.client,bt),ar=S(qt,Ft),lr=Object(m.a)({},Ue,{placeholder:Object(m.a)({},Ue.placeholder,{client:qt}),client:qt,page:ar});return lr},Hi=function(de){var Ue=de.frame;return Ue||pe(!1),Ue},ga=function(de){var Ue=de.additions,bt=de.updatedDroppables,Ft=de.viewport,qt=Ft.scroll.diff.value;return Ue.map(function(ar){var lr=ar.descriptor.droppableId,yr=bt[lr],Vr=Hi(yr),Xr=Vr.scroll.diff.value,Br=Ce(qt,Xr),Fr=aa({draggable:ar,offset:Br,initialWindowScroll:Ft.scroll.initial});return Fr})},ha=function(de){var Ue=de.state,bt=de.published;Wi();var Ft=bt.modified.map(function(Si){var Va=Ue.dimensions.droppables[Si.droppableId],Ei=lt(Va,Si.scroll);return Ei}),qt=Object(m.a)({},Ue.dimensions.droppables,{},ye(Ft)),ar=Zt(ga({additions:bt.additions,updatedDroppables:qt,viewport:Ue.viewport})),lr=Object(m.a)({},Ue.dimensions.draggables,{},ar);bt.removals.forEach(function(Si){delete lr[Si]});var yr={droppables:qt,draggables:lr},Vr=gn(Ue.impact),Xr=Vr?yr.droppables[Vr]:null,Br=yr.draggables[Ue.critical.draggable.id],Fr=yr.droppables[Ue.critical.droppable.id],Gr=Ba({draggable:Br,home:Fr,draggables:lr,viewport:Ue.viewport}),dn=Gr.impact,pn=Gr.afterCritical,ei=Xr&&Xr.isCombineEnabled?Ue.impact:dn,ci=mn({pageOffset:Ue.current.page.offset,draggable:yr.draggables[Ue.critical.draggable.id],draggables:yr.draggables,droppables:yr.droppables,previousImpact:ei,viewport:Ue.viewport,afterCritical:pn});Co();var ii=Object(m.a)({phase:"DRAGGING"},Ue,{phase:"DRAGGING",impact:ci,onLiftImpact:dn,dimensions:yr,afterCritical:pn,forceShouldAnimate:!1});if(Ue.phase==="COLLECTING")return ii;var Ji=Object(m.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:Ue.reason,isWaiting:!1});return Ji},mo=function(de){return de.movementMode==="SNAP"},Fn=function(de,Ue,bt){var Ft=Qa(de.dimensions,Ue);return!mo(de)||bt?jn({state:de,dimensions:Ft}):Qi({state:de,dimensions:Ft})};function $i(ot){return ot.isDragging&&ot.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},ot,{scrollJumpRequest:null}):ot}var eo={phase:"IDLE",completed:null,shouldFlush:!1},To=function(de,Ue){if(de===void 0&&(de=eo),Ue.type==="FLUSH")return Object(m.a)({},eo,{shouldFlush:!0});if(Ue.type==="INITIAL_PUBLISH"){de.phase==="IDLE"||pe(!1);var bt=Ue.payload,Ft=bt.critical,qt=bt.clientSelection,ar=bt.viewport,lr=bt.dimensions,yr=bt.movementMode,Vr=lr.draggables[Ft.draggable.id],Xr=lr.droppables[Ft.droppable.id],Br={selection:qt,borderBoxCenter:Vr.client.borderBox.center,offset:ke},Fr={client:Br,page:{selection:Ce(Br.selection,ar.scroll.initial),borderBoxCenter:Ce(Br.selection,ar.scroll.initial),offset:Ce(Br.selection,ar.scroll.diff.value)}},Gr=ht(lr.droppables).every(function(Z){return!Z.isFixedOnPage}),dn=Ba({draggable:Vr,home:Xr,draggables:lr.draggables,viewport:ar}),pn=dn.impact,ei=dn.afterCritical,ci={phase:"DRAGGING",isDragging:!0,critical:Ft,movementMode:yr,dimensions:lr,initial:Fr,current:Fr,isWindowScrollAllowed:Gr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:ar,scrollJumpRequest:null,forceShouldAnimate:null};return ci}if(Ue.type==="COLLECTION_STARTING"){if(de.phase==="COLLECTING"||de.phase==="DROP_PENDING")return de;de.phase==="DRAGGING"||pe(!1);var ii=Object(m.a)({phase:"COLLECTING"},de,{phase:"COLLECTING"});return ii}if(Ue.type==="PUBLISH_WHILE_DRAGGING")return de.phase==="COLLECTING"||de.phase==="DROP_PENDING"||pe(!1),ha({state:de,published:Ue.payload});if(Ue.type==="MOVE"){if(de.phase==="DROP_PENDING")return de;qn(de)||pe(!1);var Ji=Ue.payload.client;return Oe(Ji,de.current.client.selection)?de:jn({state:de,clientSelection:Ji,impact:mo(de)?de.impact:null})}if(Ue.type==="UPDATE_DROPPABLE_SCROLL"){if(de.phase==="DROP_PENDING")return $i(de);if(de.phase==="COLLECTING")return $i(de);qn(de)||pe(!1);var Si=Ue.payload,Va=Si.id,Ei=Si.newScroll,co=de.dimensions.droppables[Va];if(!co)return de;var Ko=lt(co,Ei);return Fn(de,Ko,!1)}if(Ue.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(de.phase==="DROP_PENDING")return de;qn(de)||pe(!1);var ao=Ue.payload,Uo=ao.id,I=ao.isEnabled,M=de.dimensions.droppables[Uo];M||pe(!1),M.isEnabled!==I||pe(!1);var q=Object(m.a)({},M,{isEnabled:I});return Fn(de,q,!0)}if(Ue.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(de.phase==="DROP_PENDING")return de;qn(de)||pe(!1);var J=Ue.payload,re=J.id,De=J.isCombineEnabled,mt=de.dimensions.droppables[re];mt||pe(!1),mt.isCombineEnabled!==De||pe(!1);var Nt=Object(m.a)({},mt,{isCombineEnabled:De});return Fn(de,Nt,!0)}if(Ue.type==="MOVE_BY_WINDOW_SCROLL"){if(de.phase==="DROP_PENDING"||de.phase==="DROP_ANIMATING")return de;qn(de)||pe(!1),de.isWindowScrollAllowed||pe(!1);var zt=Ue.payload.newScroll;if(Oe(de.viewport.scroll.current,zt))return $i(de);var Yt=Xt(de.viewport,zt);return mo(de)?Qi({state:de,viewport:Yt}):jn({state:de,viewport:Yt})}if(Ue.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!qn(de))return de;var Cr=Ue.payload.maxScroll;if(Oe(Cr,de.viewport.scroll.max))return de;var Ur=Object(m.a)({},de.viewport,{scroll:Object(m.a)({},de.viewport.scroll,{max:Cr})});return Object(m.a)({phase:"DRAGGING"},de,{viewport:Ur})}if(Ue.type==="MOVE_UP"||Ue.type==="MOVE_DOWN"||Ue.type==="MOVE_LEFT"||Ue.type==="MOVE_RIGHT"){if(de.phase==="COLLECTING"||de.phase==="DROP_PENDING")return de;de.phase==="DRAGGING"||pe(!1);var en=zn({state:de,type:Ue.type});return en?jn({state:de,impact:en.impact,clientSelection:en.clientSelection,scrollJumpRequest:en.scrollJumpRequest}):de}if(Ue.type==="DROP_PENDING"){var nn=Ue.payload.reason;de.phase==="COLLECTING"||pe(!1);var xn=Object(m.a)({phase:"DROP_PENDING"},de,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(Ue.type==="DROP_ANIMATE"){var Bn=Ue.payload,Zn=Bn.completed,Jn=Bn.dropDuration,oi=Bn.newHomeClientOffset;de.phase==="DRAGGING"||de.phase==="DROP_PENDING"||pe(!1);var li={phase:"DROP_ANIMATING",completed:Zn,dropDuration:Jn,newHomeClientOffset:oi,dimensions:de.dimensions};return li}if(Ue.type==="DROP_COMPLETE"){var qe=Ue.payload.completed;return{phase:"IDLE",completed:qe,shouldFlush:!1}}return de},uo=function(de){return{type:"BEFORE_INITIAL_CAPTURE",payload:de}},rr=function(de){return{type:"LIFT",payload:de}},Tr=function(de){return{type:"INITIAL_PUBLISH",payload:de}},Pr=function(de){return{type:"PUBLISH_WHILE_DRAGGING",payload:de}},Wr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(de){return{type:"UPDATE_DROPPABLE_SCROLL",payload:de}},tt=function(de){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:de}},jt=function(de){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:de}},Jt=function(de){return{type:"MOVE",payload:de}},nr=function(de){return{type:"MOVE_BY_WINDOW_SCROLL",payload:de}},Or=function(de){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:de}},wr=function(){return{type:"MOVE_UP",payload:null}},Er=function(){return{type:"MOVE_DOWN",payload:null}},zr=function(){return{type:"MOVE_RIGHT",payload:null}},Jr=function(){return{type:"MOVE_LEFT",payload:null}},Zr=function(){return{type:"FLUSH",payload:null}},an=function(de){return{type:"DROP_ANIMATE",payload:de}},St=function(de){return{type:"DROP_COMPLETE",payload:de}},Vt=function(de){return{type:"DROP",payload:de}},sr=function(de){return{type:"DROP_PENDING",payload:de}},br=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Mr(ot){if(ot.length<=1)return;for(var de=ot.map(function(lr){return lr.descriptor.index}),Ue={},bt=1;bt<de.length;bt++){var Ft=de[bt],qt=de[bt-1];Ft!==qt+1&&(Ue[Ft]=!0)}if(!Object.keys(Ue).length)return;var ar=de.map(function(lr){var yr=Boolean(Ue[lr]);return yr?"[\u{1F525}"+lr+"]":""+lr}).join(", ")}function Dr(ot,de){if(!1)var Ue}var rn=function(de){return function(Ue){var bt=Ue.getState,Ft=Ue.dispatch;return function(qt){return function(ar){if(ar.type!=="LIFT"){qt(ar);return}var lr=ar.payload,yr=lr.id,Vr=lr.clientSelection,Xr=lr.movementMode,Br=bt();Br.phase==="DROP_ANIMATING"&&Ft(St({completed:Br.completed})),bt().phase==="IDLE"||pe(!1),Ft(Zr()),Ft(uo({draggableId:yr,movementMode:Xr}));var Fr={shouldPublishImmediately:Xr==="SNAP"},Gr={draggableId:yr,scrollOptions:Fr},dn=de.startPublishing(Gr),pn=dn.critical,ei=dn.dimensions,ci=dn.viewport;Dr(pn,ei),Ft(Tr({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Xr,viewport:ci}))}}}},fn=function(de){return function(){return function(Ue){return function(bt){bt.type==="INITIAL_PUBLISH"&&de.dragging(),bt.type==="DROP_ANIMATE"&&de.dropping(bt.payload.completed.result.reason),(bt.type==="FLUSH"||bt.type==="DROP_COMPLETE")&&de.resting(),Ue(bt)}}}},wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Hn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Sn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},bn=Sn.outOfTheWay+"s "+wn.outOfTheWay,Mn={fluid:"opacity "+bn,snap:"transform "+bn+", opacity "+bn,drop:function(de){var Ue=de+"s "+wn.drop;return"transform "+Ue+", opacity "+Ue},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(de){return Oe(de,ke)?null:"translate("+de.x+"px, "+de.y+"px)"},Rn={moveTo:vn,drop:function(de,Ue){var bt=vn(de);return bt?Ue?bt+" scale("+Hn.scale.drop+")":bt:null}},En=Sn.minDropTime,_n=Sn.maxDropTime,Xn=_n-En,ai=1500,ri=.6,Di=function(de){var Ue=de.current,bt=de.destination,Ft=de.reason,qt=Le(Ue,bt);if(qt<=0)return En;if(qt>=ai)return _n;var ar=qt/ai,lr=En+Xn*ar,yr=Ft==="CANCEL"?lr*ri:lr;return Number(yr.toFixed(2))},yi=function(de){var Ue=de.impact,bt=de.draggable,Ft=de.dimensions,qt=de.viewport,ar=de.afterCritical,lr=Ft.draggables,yr=Ft.droppables,Vr=gn(Ue),Xr=Vr?yr[Vr]:null,Br=yr[bt.descriptor.droppableId],Fr=Na({impact:Ue,draggable:bt,draggables:lr,afterCritical:ar,droppable:Xr||Br,viewport:qt}),Gr=ze(Fr,bt.client.borderBox.center);return Gr},xi=function(de){var Ue=de.draggables,bt=de.reason,Ft=de.lastImpact,qt=de.home,ar=de.viewport,lr=de.onLiftImpact;if(!Ft.at||bt!=="DROP"){var yr=di({draggables:Ue,impact:lr,destination:qt,viewport:ar,forceShouldAnimate:!0});return{impact:yr,didDropInsideDroppable:!1}}if(Ft.at.type==="REORDER")return{impact:Ft,didDropInsideDroppable:!0};var Vr=Object(m.a)({},Ft,{displaced:ue});return{impact:Vr,didDropInsideDroppable:!0}},Li=function(de){var Ue=de.getState,bt=de.dispatch;return function(Ft){return function(qt){if(qt.type!=="DROP"){Ft(qt);return}var ar=Ue(),lr=qt.payload.reason;if(ar.phase==="COLLECTING"){bt(sr({reason:lr}));return}if(ar.phase==="IDLE")return;var yr=ar.phase==="DROP_PENDING"&&ar.isWaiting;yr&&pe(!1),ar.phase==="DRAGGING"||ar.phase==="DROP_PENDING"||pe(!1);var Vr=ar.critical,Xr=ar.dimensions,Br=Xr.draggables[ar.critical.draggable.id],Fr=xi({reason:lr,lastImpact:ar.impact,afterCritical:ar.afterCritical,onLiftImpact:ar.onLiftImpact,home:ar.dimensions.droppables[ar.critical.droppable.id],viewport:ar.viewport,draggables:ar.dimensions.draggables}),Gr=Fr.impact,dn=Fr.didDropInsideDroppable,pn=dn?It(Gr):null,ei=dn?or(Gr):null,ci={index:Vr.draggable.index,droppableId:Vr.droppable.id},ii={draggableId:Br.descriptor.id,type:Br.descriptor.type,source:ci,reason:lr,mode:ar.movementMode,destination:pn,combine:ei},Ji=yi({impact:Gr,draggable:Br,dimensions:Xr,viewport:ar.viewport,afterCritical:ar.afterCritical}),Si={critical:ar.critical,afterCritical:ar.afterCritical,result:ii,impact:Gr},Va=!Oe(ar.current.client.offset,Ji)||Boolean(ii.combine);if(!Va){bt(St({completed:Si}));return}var Ei=Di({current:ar.current.client.offset,destination:Ji,reason:lr}),co={newHomeClientOffset:Ji,dropDuration:Ei,completed:Si};bt(an(co))}}},Un=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ri(ot){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Ue){if(Ue.target!==window&&Ue.target!==window.document)return;ot()}}}function fa(ot){var de=ot.onWindowScroll;function Ue(){de(Un())}var bt=N(Ue),Ft=Ri(bt),qt=X;function ar(){return qt!==X}function lr(){ar()&&pe(!1),qt=le(window,[Ft])}function yr(){ar()||pe(!1),bt.cancel(),qt(),qt=X}return{start:lr,stop:yr,isActive:ar}}var Ui=function(de){return de.type==="DROP_COMPLETE"||de.type==="DROP_ANIMATE"||de.type==="FLUSH"},Mi=function(de){var Ue=fa({onWindowScroll:function(Ft){de.dispatch(nr({newScroll:Ft}))}});return function(bt){return function(Ft){!Ue.isActive()&&Ft.type==="INITIAL_PUBLISH"&&Ue.start(),Ue.isActive()&&Ui(Ft)&&Ue.stop(),bt(Ft)}}},mi=function(de){var Ue=!1,bt=!1,Ft=setTimeout(function(){bt=!0}),qt=function(lr){if(Ue)return;if(bt)return;Ue=!0,de(lr),clearTimeout(Ft)};return qt.wasCalled=function(){return Ue},qt},hi=function(){var de=[],Ue=function(ar){var lr=$(de,function(Xr){return Xr.timerId===ar});lr!==-1||pe(!1);var yr=de.splice(lr,1),Vr=yr[0];Vr.callback()},bt=function(ar){var lr=setTimeout(function(){return Ue(lr)}),yr={timerId:lr,callback:ar};de.push(yr)},Ft=function(){if(!de.length)return;var ar=[].concat(de);de.length=0,ar.forEach(function(lr){clearTimeout(lr.timerId),lr.callback()})};return{add:bt,flush:Ft}},qi=function(de,Ue){return de==null&&Ue==null?!0:de==null||Ue==null?!1:de.droppableId===Ue.droppableId&&de.index===Ue.index},va=function(de,Ue){return de==null&&Ue==null?!0:de==null||Ue==null?!1:de.draggableId===Ue.draggableId&&de.droppableId===Ue.droppableId},Ea=function(de,Ue){if(de===Ue)return!0;var bt=de.draggable.id===Ue.draggable.id&&de.draggable.droppableId===Ue.draggable.droppableId&&de.draggable.type===Ue.draggable.type&&de.draggable.index===Ue.draggable.index,Ft=de.droppable.id===Ue.droppable.id&&de.droppable.type===Ue.droppable.type;return bt&&Ft},ya=function(de,Ue){Wi(),Ue(),Co()},oa=function(de,Ue){return{draggableId:de.draggable.id,type:de.droppable.type,source:{droppableId:de.droppable.id,index:de.draggable.index},mode:Ue}},sa=function(de,Ue,bt,Ft){if(!de){bt(Ft(Ue));return}var qt=mi(bt),ar={announce:qt};de(Ue,ar),qt.wasCalled()||bt(Ft(Ue))},Ni=function(de,Ue){var bt=hi(),Ft=null,qt=function(Gr,dn){Ft&&pe(!1),ya("onBeforeCapture",function(){var pn=de().onBeforeCapture;if(pn){var ei={draggableId:Gr,mode:dn};pn(ei)}})},ar=function(Gr,dn){Ft&&pe(!1),ya("onBeforeDragStart",function(){var pn=de().onBeforeDragStart;pn&&pn(oa(Gr,dn))})},lr=function(Gr,dn){Ft&&pe(!1);var pn=oa(Gr,dn);Ft={mode:dn,lastCritical:Gr,lastLocation:pn.source,lastCombine:null},bt.add(function(){ya("onDragStart",function(){return sa(de().onDragStart,pn,Ue,se.onDragStart)})})},yr=function(Gr,dn){var pn=It(dn),ei=or(dn);Ft||pe(!1);var ci=!Ea(Gr,Ft.lastCritical);ci&&(Ft.lastCritical=Gr);var ii=!qi(Ft.lastLocation,pn);ii&&(Ft.lastLocation=pn);var Ji=!va(Ft.lastCombine,ei);if(Ji&&(Ft.lastCombine=ei),!ci&&!ii&&!Ji)return;var Si=Object(m.a)({},oa(Gr,Ft.mode),{combine:ei,destination:pn});bt.add(function(){ya("onDragUpdate",function(){return sa(de().onDragUpdate,Si,Ue,se.onDragUpdate)})})},Vr=function(){Ft||pe(!1),bt.flush()},Xr=function(Gr){Ft||pe(!1),Ft=null,ya("onDragEnd",function(){return sa(de().onDragEnd,Gr,Ue,se.onDragEnd)})},Br=function(){if(!Ft)return;var Gr=Object(m.a)({},oa(Ft.lastCritical,Ft.mode),{combine:null,destination:null,reason:"CANCEL"});Xr(Gr)};return{beforeCapture:qt,beforeStart:ar,start:lr,update:yr,flush:Vr,drop:Xr,abort:Br}},$n=function(de,Ue){var bt=Ni(de,Ue);return function(Ft){return function(qt){return function(ar){if(ar.type==="BEFORE_INITIAL_CAPTURE"){bt.beforeCapture(ar.payload.draggableId,ar.payload.movementMode);return}if(ar.type==="INITIAL_PUBLISH"){var lr=ar.payload.critical;bt.beforeStart(lr,ar.payload.movementMode),qt(ar),bt.start(lr,ar.payload.movementMode);return}if(ar.type==="DROP_COMPLETE"){var yr=ar.payload.completed.result;bt.flush(),qt(ar),bt.drop(yr);return}if(qt(ar),ar.type==="FLUSH"){bt.abort();return}var Vr=Ft.getState();Vr.phase==="DRAGGING"&&bt.update(Vr.critical,Vr.impact)}}}},Ai=function(de){return function(Ue){return function(bt){if(bt.type!=="DROP_ANIMATION_FINISHED"){Ue(bt);return}var Ft=de.getState();Ft.phase==="DROP_ANIMATING"||pe(!1),de.dispatch(St({completed:Ft.completed}))}}},_i=function(de){var Ue=null,bt=null;function Ft(){bt&&(cancelAnimationFrame(bt),bt=null),Ue&&(Ue(),Ue=null)}return function(qt){return function(ar){if((ar.type==="FLUSH"||ar.type==="DROP_COMPLETE"||ar.type==="DROP_ANIMATION_FINISHED")&&Ft(),qt(ar),ar.type!=="DROP_ANIMATE")return;var lr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=de.getState();Vr.phase==="DROP_ANIMATING"&&de.dispatch(br())}};bt=requestAnimationFrame(function(){bt=null,Ue=le(window,[lr])})}}},Vi=function(de){return function(){return function(Ue){return function(bt){(bt.type==="DROP_COMPLETE"||bt.type==="FLUSH"||bt.type==="DROP_ANIMATE")&&de.stopPublishing(),Ue(bt)}}}},Xi=function(de){var Ue=!1;return function(){return function(bt){return function(Ft){if(Ft.type==="INITIAL_PUBLISH"){Ue=!0,de.tryRecordFocus(Ft.payload.critical.draggable.id),bt(Ft),de.tryRestoreFocusRecorded();return}if(bt(Ft),!Ue)return;if(Ft.type==="FLUSH"){Ue=!1,de.tryRestoreFocusRecorded();return}if(Ft.type==="DROP_COMPLETE"){Ue=!1;var qt=Ft.payload.completed.result;qt.combine&&de.tryShiftRecord(qt.draggableId,qt.combine.draggableId),de.tryRestoreFocusRecorded()}}}}},bi=function(de){return de.type==="DROP_COMPLETE"||de.type==="DROP_ANIMATE"||de.type==="FLUSH"},Aa=function(de){return function(Ue){return function(bt){return function(Ft){if(bi(Ft)){de.stop(),bt(Ft);return}if(Ft.type==="INITIAL_PUBLISH"){bt(Ft);var qt=Ue.getState();qt.phase==="DRAGGING"||pe(!1),de.start(qt);return}bt(Ft),de.scroll(Ue.getState())}}}},ca=function(de){return function(Ue){return function(bt){if(Ue(bt),bt.type!=="PUBLISH_WHILE_DRAGGING")return;var Ft=de.getState();if(Ft.phase!=="DROP_PENDING")return;if(Ft.isWaiting)return;de.dispatch(Vt({reason:Ft.reason}))}}},la=v.d,gi=function(de){var Ue=de.dimensionMarshal,bt=de.focusMarshal,Ft=de.styleMarshal,qt=de.getResponders,ar=de.announce,lr=de.autoScroller;return Object(v.e)(To,la(Object(v.a)(fn(Ft),Vi(Ue),rn(Ue),Li,Ai,_i,ca,Aa(lr),Mi,Xi(bt),$n(qt,ar))))},Pa=function(){return{additions:{},removals:{},modified:{}}};function Ma(ot){var de=ot.registry,Ue=ot.callbacks,bt=Pa(),Ft=null,qt=function(){if(Ft)return;Ue.collectionStarting(),Ft=requestAnimationFrame(function(){Ft=null,Wi();var Xr=bt,Br=Xr.additions,Fr=Xr.removals,Gr=Xr.modified,dn=Object.keys(Br).map(function(ci){return de.draggable.getById(ci).getDimension(ke)}).sort(function(ci,ii){return ci.descriptor.index-ii.descriptor.index}),pn=Object.keys(Gr).map(function(ci){var ii=de.droppable.getById(ci),Ji=ii.callbacks.getScrollWhileDragging();return{droppableId:ci,scroll:Ji}}),ei={additions:dn,removals:Object.keys(Fr),modified:pn};bt=Pa(),Co(),Ue.publish(ei)})},ar=function(Xr){var Br=Xr.descriptor.id;bt.additions[Br]=Xr,bt.modified[Xr.descriptor.droppableId]=!0,bt.removals[Br]&&delete bt.removals[Br],qt()},lr=function(Xr){var Br=Xr.descriptor;bt.removals[Br.id]=!0,bt.modified[Br.droppableId]=!0,bt.additions[Br.id]&&delete bt.additions[Br.id],qt()},yr=function(){if(!Ft)return;cancelAnimationFrame(Ft),Ft=null,bt=Pa()};return{add:ar,remove:lr,stop:yr}}var ra=function(de){var Ue=de.scrollHeight,bt=de.scrollWidth,Ft=de.height,qt=de.width,ar=ze({x:bt,y:Ue},{x:qt,y:Ft}),lr={x:Math.max(0,ar.x),y:Math.max(0,ar.y)};return lr},Yi=function(){var de=document.documentElement;return de||pe(!1),de},Xa=function(){var de=Yi(),Ue=ra({scrollHeight:de.scrollHeight,scrollWidth:de.scrollWidth,width:de.clientWidth,height:de.clientHeight});return Ue},Ki=function(){var de=Un(),Ue=Xa(),bt=de.y,Ft=de.x,qt=Yi(),ar=qt.clientWidth,lr=qt.clientHeight,yr=Ft+ar,Vr=bt+lr,Xr=r({top:bt,left:Ft,right:yr,bottom:Vr}),Br={frame:Xr,scroll:{initial:de,current:de,max:Ue,diff:{value:ke,displacement:ke}}};return Br},zi=function(de){var Ue=de.critical,bt=de.scrollOptions,Ft=de.registry;Wi();var qt=Ki(),ar=qt.scroll.current,lr=Ue.droppable,yr=Ft.droppable.getAllByType(lr.type).map(function(Fr){return Fr.callbacks.getDimensionAndWatchScroll(ar,bt)}),Vr=Ft.draggable.getAllByType(Ue.draggable.type).map(function(Fr){return Fr.getDimension(ar)}),Xr={draggables:Zt(Vr),droppables:ye(yr)};Co();var Br={dimensions:Xr,critical:Ue,viewport:qt};return Br};function ba(ot,de,Ue){if(Ue.descriptor.id===de.id)return!1;if(Ue.descriptor.type!==de.type)return!1;var bt=ot.droppable.getById(Ue.descriptor.droppableId);return!(bt.descriptor.mode!=="virtual")}var Ua=function(de,Ue){var bt=null,Ft=Ma({callbacks:{publish:Ue.publishWhileDragging,collectionStarting:Ue.collectionStarting},registry:de}),qt=function(dn,pn){if(de.droppable.exists(dn)||pe(!1),!bt)return;Ue.updateDroppableIsEnabled({id:dn,isEnabled:pn})},ar=function(dn,pn){if(!bt)return;de.droppable.exists(dn)||pe(!1),Ue.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},lr=function(dn,pn){if(!bt)return;de.droppable.exists(dn)||pe(!1),Ue.updateDroppableScroll({id:dn,newScroll:pn})},yr=function(dn,pn){if(!bt)return;de.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!bt)return;Ft.stop();var dn=bt.critical.droppable;de.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),bt.unsubscribe(),bt=null},Xr=function(dn){bt||pe(!1);var pn=bt.critical.draggable;dn.type==="ADDITION"&&(ba(de,pn,dn.value)&&Ft.add(dn.value)),dn.type==="REMOVAL"&&(ba(de,pn,dn.value)&&Ft.remove(dn.value))},Br=function(dn){bt&&pe(!1);var pn=de.draggable.getById(dn.draggableId),ei=de.droppable.getById(pn.descriptor.droppableId),ci={draggable:pn.descriptor,droppable:ei.descriptor},ii=de.subscribe(Xr);return bt={critical:ci,unsubscribe:ii},zi({critical:ci,registry:de,scrollOptions:dn.scrollOptions})},Fr={updateDroppableIsEnabled:qt,updateDroppableIsCombineEnabled:ar,scrollDroppable:yr,updateDroppableScroll:lr,startPublishing:Br,stopPublishing:Vr};return Fr},wa=function(de,Ue){return de.phase==="IDLE"?!0:de.phase!=="DROP_ANIMATING"||de.completed.result.draggableId===Ue?!1:de.completed.result.reason==="DROP"},vi=function(de){window.scrollBy(de.x,de.y)},Ya=C(function(ot){return ht(ot).filter(function(de){return de.isEnabled?!!de.frame:!1})}),Ka=function(de,Ue){var bt=it(Ya(Ue),function(Ft){return Ft.frame||pe(!1),Yn(Ft.frame.pageMarginBox)(de)});return bt},pa=function(de){var Ue=de.center,bt=de.destination,Ft=de.droppables;if(bt){var qt=Ft[bt];return qt.frame?qt:null}var ar=Ka(Ue,Ft);return ar},Oi={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(de){return Math.pow(de,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(de,Ue){var bt=de[Ue.size]*Oi.startFromPercentage,Ft=de[Ue.size]*Oi.maxScrollAtPercentage,qt={startScrollingFrom:bt,maxScrollValueAt:Ft};return qt},za=function(de){var Ue=de.startOfRange,bt=de.endOfRange,Ft=de.current,qt=bt-Ue;if(qt===0)return 0;var ar=Ft-Ue,lr=ar/qt;return lr},ja=1,qa=function(de,Ue){if(de>Ue.startScrollingFrom)return 0;if(de<=Ue.maxScrollValueAt)return Oi.maxPixelScroll;if(de===Ue.startScrollingFrom)return ja;var bt=za({startOfRange:Ue.maxScrollValueAt,endOfRange:Ue.startScrollingFrom,current:de}),Ft=1-bt,qt=Oi.maxPixelScroll*Oi.ease(Ft);return Math.ceil(qt)},ho=Oi.durationDampening.accelerateAt,Ca=Oi.durationDampening.stopDampeningAt,to=function(de,Ue){var bt=Ue,Ft=Ca,qt=Date.now(),ar=qt-bt;if(ar>=Ca)return de;if(ar<ho)return ja;var lr=za({startOfRange:ho,endOfRange:Ft,current:ar}),yr=de*Oi.ease(lr);return Math.ceil(yr)},Lo=function(de){var Ue=de.distanceToEdge,bt=de.thresholds,Ft=de.dragStartTime,qt=de.shouldUseTimeDampening,ar=qa(Ue,bt);return ar===0?0:qt?Math.max(to(ar,Ft),ja):ar},_a=function(de){var Ue=de.container,bt=de.distanceToEdges,Ft=de.dragStartTime,qt=de.axis,ar=de.shouldUseTimeDampening,lr=So(Ue,qt),yr=bt[qt.end]<bt[qt.start];return yr?Lo({distanceToEdge:bt[qt.end],thresholds:lr,dragStartTime:Ft,shouldUseTimeDampening:ar}):-1*Lo({distanceToEdge:bt[qt.start],thresholds:lr,dragStartTime:Ft,shouldUseTimeDampening:ar})},ki=function(de){var Ue=de.container,bt=de.subject,Ft=de.proposedScroll,qt=bt.height>Ue.height,ar=bt.width>Ue.width;return!ar&&!qt?Ft:ar&&qt?null:{x:ar?0:Ft.x,y:qt?0:Ft.y}},Ja=vt(function(ot){return ot===0?0:ot}),Da=function(de){var Ue=de.dragStartTime,bt=de.container,Ft=de.subject,qt=de.center,ar=de.shouldUseTimeDampening,lr={top:qt.y-bt.top,right:bt.right-qt.x,bottom:bt.bottom-qt.y,left:qt.x-bt.left},yr=_a({container:bt,distanceToEdges:lr,dragStartTime:Ue,axis:Pe,shouldUseTimeDampening:ar}),Vr=_a({container:bt,distanceToEdges:lr,dragStartTime:Ue,axis:nt,shouldUseTimeDampening:ar}),Xr=Ja({x:Vr,y:yr});if(Oe(Xr,ke))return null;var Br=ki({container:bt,subject:Ft,proposedScroll:Xr});return Br?Oe(Br,ke)?null:Br:null},pi=vt(function(ot){return ot===0?0:ot>0?1:-1}),Gi=function(){var ot=function(Ue,bt){return Ue<0?Ue:Ue>bt?Ue-bt:0};return function(de){var Ue=de.current,bt=de.max,Ft=de.change,qt=Ce(Ue,Ft),ar={x:ot(qt.x,bt.x),y:ot(qt.y,bt.y)};return Oe(ar,ke)?null:ar}}(),oo=function(de){var Ue=de.max,bt=de.current,Ft=de.change,qt={x:Math.max(bt.x,Ue.x),y:Math.max(bt.y,Ue.y)},ar=pi(Ft),lr=Gi({max:qt,current:bt,change:ar});return lr?ar.x!==0&&lr.x===0?!0:ar.y!==0&&lr.y===0:!0},go=function(de,Ue){return oo({current:de.scroll.current,max:de.scroll.max,change:Ue})},fo=function(de,Ue){if(!go(de,Ue))return null;var bt=de.scroll.max,Ft=de.scroll.current;return Gi({current:Ft,max:bt,change:Ue})},Ta=function(de,Ue){var bt=de.frame;return bt?oo({current:bt.scroll.current,max:bt.scroll.max,change:Ue}):!1},Fi=function(de,Ue){var bt=de.frame;return bt&&Ta(de,Ue)?Gi({current:bt.scroll.current,max:bt.scroll.max,change:Ue}):null},Ra=function(de){var Ue=de.viewport,bt=de.subject,Ft=de.center,qt=de.dragStartTime,ar=de.shouldUseTimeDampening,lr=Da({dragStartTime:qt,container:Ue.frame,subject:bt,center:Ft,shouldUseTimeDampening:ar});return lr&&go(Ue,lr)?lr:null},Vo=function(de){var Ue=de.droppable,bt=de.subject,Ft=de.center,qt=de.dragStartTime,ar=de.shouldUseTimeDampening,lr=Ue.frame;if(!lr)return null;var yr=Da({dragStartTime:qt,container:lr.pageMarginBox,subject:bt,center:Ft,shouldUseTimeDampening:ar});return yr&&Ta(Ue,yr)?yr:null},ro=function(de){var Ue=de.state,bt=de.dragStartTime,Ft=de.shouldUseTimeDampening,qt=de.scrollWindow,ar=de.scrollDroppable,lr=Ue.current.page.borderBoxCenter,yr=Ue.dimensions.draggables[Ue.critical.draggable.id],Vr=yr.page.marginBox;if(Ue.isWindowScrollAllowed){var Xr=Ue.viewport,Br=Ra({dragStartTime:bt,viewport:Xr,subject:Vr,center:lr,shouldUseTimeDampening:Ft});if(Br){qt(Br);return}}var Fr=pa({center:lr,destination:gn(Ue.impact),droppables:Ue.dimensions.droppables});if(!Fr)return;var Gr=Vo({dragStartTime:bt,droppable:Fr,subject:Vr,center:lr,shouldUseTimeDampening:Ft});Gr&&ar(Fr.descriptor.id,Gr)},vo=function(de){var Ue=de.scrollWindow,bt=de.scrollDroppable,Ft=N(Ue),qt=N(bt),ar=null,lr=function(Br){ar||pe(!1);var Fr=ar,Gr=Fr.shouldUseTimeDampening,dn=Fr.dragStartTime;ro({state:Br,scrollWindow:Ft,scrollDroppable:qt,dragStartTime:dn,shouldUseTimeDampening:Gr})},yr=function(Br){Wi(),ar&&pe(!1);var Fr=Date.now(),Gr=!1,dn=function(){Gr=!0};ro({state:Br,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),ar={dragStartTime:Fr,shouldUseTimeDampening:Gr},Co(),Gr&&lr(Br)},Vr=function(){if(!ar)return;Ft.cancel(),qt.cancel(),ar=null};return{start:yr,stop:Vr,scroll:lr}},po=function(de){var Ue=de.move,bt=de.scrollDroppable,Ft=de.scrollWindow,qt=function(Xr,Br){var Fr=Ce(Xr.current.client.selection,Br);Ue({client:Fr})},ar=function(Xr,Br){if(!Ta(Xr,Br))return Br;var Fr=Fi(Xr,Br);if(!Fr)return bt(Xr.descriptor.id,Br),null;var Gr=ze(Br,Fr);bt(Xr.descriptor.id,Gr);var dn=ze(Br,Gr);return dn},lr=function(Xr,Br,Fr){if(!Xr)return Fr;if(!go(Br,Fr))return Fr;var Gr=fo(Br,Fr);if(!Gr)return Ft(Fr),null;var dn=ze(Fr,Gr);Ft(dn);var pn=ze(Fr,dn);return pn},yr=function(Xr){var Br=Xr.scrollJumpRequest;if(!Br)return;var Fr=gn(Xr.impact);Fr||pe(!1);var Gr=ar(Xr.dimensions.droppables[Fr],Br);if(!Gr)return;var dn=Xr.viewport,pn=lr(Xr.isWindowScrollAllowed,dn,Gr);if(!pn)return;qt(Xr,pn)};return yr},Zi=function(de){var Ue=de.scrollDroppable,bt=de.scrollWindow,Ft=de.move,qt=vo({scrollWindow:bt,scrollDroppable:Ue}),ar=po({move:Ft,scrollWindow:bt,scrollDroppable:Ue}),lr=function(Xr){if(Xr.phase!=="DRAGGING")return;if(Xr.movementMode==="FLUID"){qt.scroll(Xr);return}if(!Xr.scrollJumpRequest)return;ar(Xr)},yr={scroll:lr,start:qt.start,stop:qt.stop};return yr},xo="data-rbd",is=function(){var ot=xo+"-drag-handle";return{base:ot,draggableId:ot+"-draggable-id",contextId:ot+"-context-id"}}(),Jo=function(){var ot=xo+"-draggable";return{base:ot,contextId:ot+"-context-id",id:ot+"-id"}}(),Is=function(){var ot=xo+"-droppable";return{base:ot,contextId:ot+"-context-id",id:ot+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Ts=function(de){return function(Ue){return"["+Ue+'="'+de+'"]'}},Go=function(de,Ue){return de.map(function(bt){var Ft=bt.styles[Ue];return Ft?bt.selector+" { "+Ft+" }":""}).join(" ")},bo="pointer-events: none;",Za=function(de){var Ue=Ts(de),bt=function(){var yr=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:Ue(is.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:yr,dragging:bo,dropAnimating:yr}}}(),Ft=function(){var yr=`
transition: `+Mn.outOfTheWay+`;
`;return{selector:Ue(Jo.contextId),styles:{dragging:yr,dropAnimating:yr,userCancel:yr}}}(),qt={selector:Ue(Is.contextId),styles:{always:"overflow-anchor: none;"}},ar={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},lr=[Ft,bt,qt,ar];return{always:Go(lr,"always"),resting:Go(lr,"resting"),dragging:Go(lr,"dragging"),dropAnimating:Go(lr,"dropAnimating"),userCancel:Go(lr,"userCancel")}},Ga=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?g.useLayoutEffect:g.useEffect,so=function(){var de=document.querySelector("head");return de||pe(!1),de},ps=function(de){var Ue=document.createElement("style");return de&&Ue.setAttribute("nonce",de),Ue.type="text/css",Ue};function Sr(ot,de){var Ue=n(function(){return Za(ot)},[ot]),bt=Object(g.useRef)(null),Ft=Object(g.useRef)(null),qt=a(C(function(Br){var Fr=Ft.current;Fr||pe(!1),Fr.textContent=Br}),[]),ar=a(function(Br){var Fr=bt.current;Fr||pe(!1),Fr.textContent=Br},[]);Ga(function(){!bt.current&&!Ft.current||pe(!1);var Br=ps(de),Fr=ps(de);return bt.current=Br,Ft.current=Fr,Br.setAttribute(xo+"-always",ot),Fr.setAttribute(xo+"-dynamic",ot),so().appendChild(Br),so().appendChild(Fr),ar(Ue.always),qt(Ue.resting),function(){var Gr=function(pn){var ei=pn.current;ei||pe(!1),so().removeChild(ei),pn.current=null};Gr(bt),Gr(Ft)}},[de,ar,qt,Ue.always,Ue.resting,ot]);var lr=a(function(){return qt(Ue.dragging)},[qt,Ue.dragging]),yr=a(function(Br){if(Br==="DROP"){qt(Ue.dropAnimating);return}qt(Ue.userCancel)},[qt,Ue.dropAnimating,Ue.userCancel]),Vr=a(function(){if(!Ft.current)return;qt(Ue.resting)},[qt,Ue.resting]),Xr=n(function(){return{dragging:lr,dropping:yr,resting:Vr}},[lr,yr,Vr]);return Xr}var Xo=function(de){return de&&de.ownerDocument?de.ownerDocument.defaultView:window};function ss(ot){return ot instanceof Xo(ot).HTMLElement}function Ls(ot,de){var Ue="["+is.contextId+'="'+ot+'"]',bt=Qe(document.querySelectorAll(Ue));if(!bt.length)return null;var Ft=it(bt,function(qt){return qt.getAttribute(is.draggableId)===de});return Ft&&ss(Ft)?Ft:null}function ka(ot){var de=Object(g.useRef)({}),Ue=Object(g.useRef)(null),bt=Object(g.useRef)(null),Ft=Object(g.useRef)(!1),qt=a(function(Fr,Gr){var dn={id:Fr,focus:Gr};return de.current[Fr]=dn,function(){var ei=de.current,ci=ei[Fr];ci!==dn&&delete ei[Fr]}},[]),ar=a(function(Fr){var Gr=Ls(ot,Fr);Gr&&Gr!==document.activeElement&&Gr.focus()},[ot]),lr=a(function(Fr,Gr){Ue.current===Fr&&(Ue.current=Gr)},[]),yr=a(function(){if(bt.current)return;if(!Ft.current)return;bt.current=requestAnimationFrame(function(){bt.current=null;var Fr=Ue.current;Fr&&ar(Fr)})},[ar]),Vr=a(function(Fr){Ue.current=null;var Gr=document.activeElement;if(!Gr)return;if(Gr.getAttribute(is.draggableId)!==Fr)return;Ue.current=Fr},[]);Ga(function(){return Ft.current=!0,function(){Ft.current=!1;var Fr=bt.current;Fr&&cancelAnimationFrame(Fr)}},[]);var Xr=n(function(){return{register:qt,tryRecordFocus:Vr,tryRestoreFocusRecorded:yr,tryShiftRecord:lr}},[qt,Vr,yr,lr]);return Xr}function La(){var ot={draggables:{},droppables:{}},de=[];function Ue(Br){return de.push(Br),function(){var Gr=de.indexOf(Br);if(Gr===-1)return;de.splice(Gr,1)}}function bt(Br){de.length&&de.forEach(function(Fr){return Fr(Br)})}function Ft(Br){return ot.draggables[Br]||null}function qt(Br){var Fr=Ft(Br);return Fr||pe(!1),Fr}var ar={register:function(Fr){ot.draggables[Fr.descriptor.id]=Fr,bt({type:"ADDITION",value:Fr})},update:function(Fr,Gr){var dn=ot.draggables[Gr.descriptor.id];if(!dn)return;if(dn.uniqueId!==Fr.uniqueId)return;delete ot.draggables[Gr.descriptor.id],ot.draggables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Gr=Fr.descriptor.id,dn=Ft(Gr);if(!dn)return;if(Fr.uniqueId!==dn.uniqueId)return;delete ot.draggables[Gr],bt({type:"REMOVAL",value:Fr})},getById:qt,findById:Ft,exists:function(Fr){return Boolean(Ft(Fr))},getAllByType:function(Fr){return ie(ot.draggables).filter(function(Gr){return Gr.descriptor.type===Fr})}};function lr(Br){return ot.droppables[Br]||null}function yr(Br){var Fr=lr(Br);return Fr||pe(!1),Fr}var Vr={register:function(Fr){ot.droppables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Gr=lr(Fr.descriptor.id);if(!Gr)return;if(Fr.uniqueId!==Gr.uniqueId)return;delete ot.droppables[Fr.descriptor.id]},getById:yr,findById:lr,exists:function(Fr){return Boolean(lr(Fr))},getAllByType:function(Fr){return ie(ot.droppables).filter(function(Gr){return Gr.descriptor.type===Fr})}};function Xr(){ot.draggables={},ot.droppables={},de.length=0}return{draggable:ar,droppable:Vr,subscribe:Ue,clean:Xr}}function Oo(){var ot=n(La,[]);return Object(g.useEffect)(function(){return function(){requestAnimationFrame(ot.clean)}},[ot]),ot}var _o=f.a.createContext(null),ts=function(){var de=document.body;return de||pe(!1),de},Bo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rs=function(de){return"rbd-announcement-"+de};function ms(ot){var de=n(function(){return rs(ot)},[ot]),Ue=Object(g.useRef)(null);Object(g.useEffect)(function(){var qt=document.createElement("div");return Ue.current=qt,qt.id=de,qt.setAttribute("aria-live","assertive"),qt.setAttribute("aria-atomic","true"),Object(m.a)(qt.style,Bo),ts().appendChild(qt),function(){setTimeout(function(){var yr=ts();yr.contains(qt)&&yr.removeChild(qt),qt===Ue.current&&(Ue.current=null)})}},[de]);var bt=a(function(Ft){var qt=Ue.current;if(qt){qt.textContent=Ft;return}},[]);return bt}var ls=0,Ns={separator:"::"};function Ds(){ls=0}function as(ot,de){return de===void 0&&(de=Ns),n(function(){return""+ot+de.separator+ls++},[de.separator,ot])}function $s(ot){var de=ot.contextId,Ue=ot.uniqueId;return"rbd-hidden-text-"+de+"-"+Ue}function cs(ot){var de=ot.contextId,Ue=ot.text,bt=as("hidden-text",{separator:"-"}),Ft=n(function(){return $s({contextId:de,uniqueId:bt})},[bt,de]);return Object(g.useEffect)(function(){var ar=document.createElement("div");return ar.id=Ft,ar.textContent=Ue,ar.style.display="none",ts().appendChild(ar),function(){var yr=ts();yr.contains(ar)&&yr.removeChild(ar)}},[Ft,Ue]),Ft}var Mo=f.a.createContext(null),Dn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,Os=function(de){var Ue=Vs.exec(de);Ue!=null||pe(!1);var bt=Number(Ue[1]),Ft=Number(Ue[2]),qt=Number(Ue[3]);return{major:bt,minor:Ft,patch:qt,raw:de}},Pt=function(de,Ue){return Ue.major>de.major?!0:Ue.major<de.major?!1:Ue.minor>de.minor?!0:Ue.minor<de.minor?!1:Ue.patch>=de.patch},oe=function(de,Ue){var bt=Os(de),Ft=Os(Ue);if(Pt(bt,Ft))return},xe=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,Te=function(de){var Ue=de.doctype;if(!Ue)return;Ue.name.toLowerCase()!=="html",Ue.publicId!==""};function We(ot){}function Et(ot,de){We(function(){Object(g.useEffect)(function(){try{ot()}catch(Ue){z(`
A setup problem was encountered.
> `+Ue.message+`
`)}},de)})}function Ut(){Et(function(){oe(Dn.react,f.a.version),Te(document)},[])}function hr(ot){var de=Object(g.useRef)(ot);return Object(g.useEffect)(function(){de.current=ot}),de}function gr(){var ot=null;function de(){return Boolean(ot)}function Ue(ar){return ar===ot}function bt(ar){ot&&pe(!1);var lr={abandon:ar};return ot=lr,lr}function Ft(){ot||pe(!1),ot=null}function qt(){ot&&(ot.abandon(),Ft())}return{isClaimed:de,isActive:Ue,claim:bt,release:Ft,tryAbandon:qt}}var Rr=9,$r=13,ln=27,yn=32,Cn=33,Qn=34,ti=35,wi=36,ea=37,ji=38,Sa=39,lo=40,Wa,yo=(Wa={},Wa[$r]=!0,Wa[Rr]=!0,Wa),Ao=function(de){yo[de.keyCode]&&de.preventDefault()},$a=function(){var ot="visibilitychange";if(typeof document=="undefined")return ot;var de=[ot,"ms"+ot,"webkit"+ot,"moz"+ot,"o"+ot],Ue=it(de,function(bt){return"on"+bt in document});return Ue||ot}(),ko=0,No=5;function Ha(ot,de){return Math.abs(de.x-ot.x)>=No||Math.abs(de.y-ot.y)>=No}var jo={type:"IDLE"};function Fo(ot){var de=ot.cancel,Ue=ot.completed,bt=ot.getPhase,Ft=ot.setPhase;return[{eventName:"mousemove",fn:function(ar){var lr=ar.button,yr=ar.clientX,Vr=ar.clientY;if(lr!==ko)return;var Xr={x:yr,y:Vr},Br=bt();if(Br.type==="DRAGGING"){ar.preventDefault(),Br.actions.move(Xr);return}Br.type==="PENDING"||pe(!1);var Fr=Br.point;if(!Ha(Fr,Xr))return;ar.preventDefault();var Gr=Br.actions.fluidLift(Xr);Ft({type:"DRAGGING",actions:Gr})}},{eventName:"mouseup",fn:function(ar){var lr=bt();if(lr.type!=="DRAGGING"){de();return}ar.preventDefault(),lr.actions.drop({shouldBlockNextClick:!0}),Ue()}},{eventName:"mousedown",fn:function(ar){bt().type==="DRAGGING"&&ar.preventDefault(),de()}},{eventName:"keydown",fn:function(ar){var lr=bt();if(lr.type==="PENDING"){de();return}if(ar.keyCode===ln){ar.preventDefault(),de();return}Ao(ar)}},{eventName:"resize",fn:de},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){bt().type==="PENDING"&&de()}},{eventName:"webkitmouseforcedown",fn:function(ar){var lr=bt();if(lr.type!=="IDLE"||pe(!1),lr.actions.shouldRespectForcePress()){de();return}ar.preventDefault()}},{eventName:$a,fn:de}]}function Qo(ot){var de=Object(g.useRef)(jo),Ue=Object(g.useRef)(X),bt=n(function(){return{eventName:"mousedown",fn:function(Br){if(Br.defaultPrevented)return;if(Br.button!==ko)return;if(Br.ctrlKey||Br.metaKey||Br.shiftKey||Br.altKey)return;var Fr=ot.findClosestDraggableId(Br);if(!Fr)return;var Gr=ot.tryGetLock(Fr,ar,{sourceEvent:Br});if(!Gr)return;Br.preventDefault();var dn={x:Br.clientX,y:Br.clientY};Ue.current(),Vr(Gr,dn)}}},[ot]),Ft=n(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Br){if(Br.defaultPrevented)return;var Fr=ot.findClosestDraggableId(Br);if(!Fr)return;var Gr=ot.findOptionsForDraggable(Fr);if(!Gr)return;if(Gr.shouldRespectForcePress)return;if(!ot.canGetLock(Fr))return;Br.preventDefault()}}},[ot]),qt=a(function(){var Br={passive:!1,capture:!0};Ue.current=le(window,[Ft,bt],Br)},[Ft,bt]),ar=a(function(){var Xr=de.current;if(Xr.type==="IDLE")return;de.current=jo,Ue.current(),qt()},[qt]),lr=a(function(){var Xr=de.current;ar(),Xr.type==="DRAGGING"&&Xr.actions.cancel({shouldBlockNextClick:!0}),Xr.type==="PENDING"&&Xr.actions.abort()},[ar]),yr=a(function(){var Br={capture:!0,passive:!1},Fr=Fo({cancel:lr,completed:ar,getPhase:function(){return de.current},setPhase:function(dn){de.current=dn}});Ue.current=le(window,Fr,Br)},[lr,ar]),Vr=a(function(Br,Fr){de.current.type==="IDLE"||pe(!1),de.current={type:"PENDING",point:Fr,actions:Br},yr()},[yr]);Ga(function(){return qt(),function(){Ue.current()}},[qt])}var wo;function us(){}var ns=(wo={},wo[Qn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Xs(ot,de){function Ue(){de(),ot.cancel()}function bt(){de(),ot.drop()}return[{eventName:"keydown",fn:function(qt){if(qt.keyCode===ln){qt.preventDefault(),Ue();return}if(qt.keyCode===yn){qt.preventDefault(),bt();return}if(qt.keyCode===lo){qt.preventDefault(),ot.moveDown();return}if(qt.keyCode===ji){qt.preventDefault(),ot.moveUp();return}if(qt.keyCode===Sa){qt.preventDefault(),ot.moveRight();return}if(qt.keyCode===ea){qt.preventDefault(),ot.moveLeft();return}if(ns[qt.keyCode]){qt.preventDefault();return}Ao(qt)}},{eventName:"mousedown",fn:Ue},{eventName:"mouseup",fn:Ue},{eventName:"click",fn:Ue},{eventName:"touchstart",fn:Ue},{eventName:"resize",fn:Ue},{eventName:"wheel",fn:Ue,options:{passive:!0}},{eventName:$a,fn:Ue}]}function Ys(ot){var de=Object(g.useRef)(us),Ue=n(function(){return{eventName:"keydown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.keyCode!==yn)return;var ar=ot.findClosestDraggableId(qt);if(!ar)return;var lr=ot.tryGetLock(ar,Xr,{sourceEvent:qt});if(!lr)return;qt.preventDefault();var yr=!0,Vr=lr.snapLift();de.current();function Xr(){yr||pe(!1),yr=!1,de.current(),bt()}de.current=le(window,Xs(Vr,Xr),{capture:!0,passive:!1})}}},[ot]),bt=a(function(){var qt={passive:!1,capture:!0};de.current=le(window,[Ue],qt)},[Ue]);Ga(function(){return bt(),function(){de.current()}},[bt])}var Yo={type:"IDLE"},Eo=120,ds=.15;function hs(ot){var de=ot.cancel,Ue=ot.getPhase;return[{eventName:"orientationchange",fn:de},{eventName:"resize",fn:de},{eventName:"contextmenu",fn:function(Ft){Ft.preventDefault()}},{eventName:"keydown",fn:function(Ft){if(Ue().type!=="DRAGGING"){de();return}Ft.keyCode===ln&&Ft.preventDefault(),de()}},{eventName:$a,fn:de}]}function Rs(ot){var de=ot.cancel,Ue=ot.completed,bt=ot.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(qt){var ar=bt();if(ar.type!=="DRAGGING"){de();return}ar.hasMoved=!0;var lr=qt.touches[0],yr=lr.clientX,Vr=lr.clientY,Xr={x:yr,y:Vr};qt.preventDefault(),ar.actions.move(Xr)}},{eventName:"touchend",fn:function(qt){var ar=bt();if(ar.type!=="DRAGGING"){de();return}qt.preventDefault(),ar.actions.drop({shouldBlockNextClick:!0}),Ue()}},{eventName:"touchcancel",fn:function(qt){if(bt().type!=="DRAGGING"){de();return}qt.preventDefault(),de()}},{eventName:"touchforcechange",fn:function(qt){var ar=bt();ar.type!=="IDLE"||pe(!1);var lr=qt.touches[0];if(!lr)return;var yr=lr.force>=ds;if(!yr)return;var Vr=ar.actions.shouldRespectForcePress();if(ar.type==="PENDING"){Vr&&de();return}if(Vr){if(ar.hasMoved){qt.preventDefault();return}de();return}qt.preventDefault()}},{eventName:$a,fn:de}]}function Do(ot){var de=Object(g.useRef)(Yo),Ue=Object(g.useRef)(X),bt=a(function(){return de.current},[]),Ft=a(function(Gr){de.current=Gr},[]),qt=n(function(){return{eventName:"touchstart",fn:function(Gr){if(Gr.defaultPrevented)return;var dn=ot.findClosestDraggableId(Gr);if(!dn)return;var pn=ot.tryGetLock(dn,lr,{sourceEvent:Gr});if(!pn)return;var ei=Gr.touches[0],ci=ei.clientX,ii=ei.clientY,Ji={x:ci,y:ii};Ue.current(),Br(pn,Ji)}}},[ot]),ar=a(function(){var Gr={capture:!0,passive:!1};Ue.current=le(window,[qt],Gr)},[qt]),lr=a(function(){var Fr=de.current;if(Fr.type==="IDLE")return;Fr.type==="PENDING"&&clearTimeout(Fr.longPressTimerId),Ft(Yo),Ue.current(),ar()},[ar,Ft]),yr=a(function(){var Fr=de.current;lr(),Fr.type==="DRAGGING"&&Fr.actions.cancel({shouldBlockNextClick:!0}),Fr.type==="PENDING"&&Fr.actions.abort()},[lr]),Vr=a(function(){var Gr={capture:!0,passive:!1},dn={cancel:yr,completed:lr,getPhase:bt},pn=le(window,Rs(dn),Gr),ei=le(window,hs(dn),Gr);Ue.current=function(){pn(),ei()}},[yr,bt,lr]),Xr=a(function(){var Gr=bt();Gr.type==="PENDING"||pe(!1);var dn=Gr.actions.fluidLift(Gr.point);Ft({type:"DRAGGING",actions:dn,hasMoved:!1})},[bt,Ft]),Br=a(function(Gr,dn){bt().type==="IDLE"||pe(!1);var pn=setTimeout(Xr,Eo);Ft({type:"PENDING",point:dn,actions:Gr,longPressTimerId:pn}),Vr()},[Vr,bt,Ft,Xr]);Ga(function(){return ar(),function(){Ue.current();var dn=bt();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),Ft(Yo))}},[bt,ar,Ft]),Ga(function(){var Gr=le(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Gr},[])}function ys(ot){We(function(){var de=hr(ot);Et(function(){de.current.length===ot.length||pe(!1)})})}var Ms={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function As(ot,de){if(de==null)return!1;var Ue=Boolean(Ms[de.tagName.toLowerCase()]);if(Ue)return!0;var bt=de.getAttribute("contenteditable");return bt==="true"||bt===""?!0:de===ot?!1:As(ot,de.parentElement)}function ks(ot,de){var Ue=de.target;return ss(Ue)?As(ot,Ue):!1}var Hs=function(de){return r(de.getBoundingClientRect()).center};function bs(ot){return ot instanceof Xo(ot).Element}var ua=function(){var ot="matches";if(typeof document=="undefined")return ot;var de=[ot,"msMatchesSelector","webkitMatchesSelector"],Ue=it(de,function(bt){return bt in Element.prototype});return Ue||ot}();function ui(ot,de){return ot==null?null:ot[ua](de)?ot:ui(ot.parentElement,de)}function Bi(ot,de){return ot.closest?ot.closest(de):ui(ot,de)}function Wn(ot){return"["+is.contextId+'="'+ot+'"]'}function io(ot,de){var Ue=de.target;if(!bs(Ue))return null;var bt=Wn(ot),Ft=Bi(Ue,bt);return Ft&&ss(Ft)?Ft:null}function qo(ot,de){var Ue=io(ot,de);return Ue?Ue.getAttribute(is.draggableId):null}function gs(ot,de){var Ue="["+Jo.contextId+'="'+ot+'"]',bt=Qe(document.querySelectorAll(Ue)),Ft=it(bt,function(qt){return qt.getAttribute(Jo.id)===de});return Ft&&ss(Ft)?Ft:null}function os(ot){ot.preventDefault()}function Zo(ot){var de=ot.expected,Ue=ot.phase,bt=ot.isLockActive,Ft=ot.shouldWarn;return bt()?!(de!==Ue):!1}function $o(ot){var de=ot.lockAPI,Ue=ot.store,bt=ot.registry,Ft=ot.draggableId;if(de.isClaimed())return!1;var qt=bt.draggable.findById(Ft);return qt&&qt.options.isEnabled?!!wa(Ue.getState(),Ft):!1}function ws(ot){var de=ot.lockAPI,Ue=ot.contextId,bt=ot.store,Ft=ot.registry,qt=ot.draggableId,ar=ot.forceSensorStop,lr=ot.sourceEvent,yr=$o({lockAPI:de,store:bt,registry:Ft,draggableId:qt});if(!yr)return null;var Vr=Ft.draggable.getById(qt),Xr=gs(Ue,Vr.descriptor.id);if(!Xr)return null;if(lr&&!Vr.options.canDragInteractiveElements&&ks(Xr,lr))return null;var Br=de.claim(ar||X),Fr="PRE_DRAG";function Gr(){return Vr.options.shouldRespectForcePress}function dn(){return de.isActive(Br)}function pn(Ei,co){Zo({expected:Ei,phase:Fr,isLockActive:dn,shouldWarn:!0})&&bt.dispatch(co())}var ei=pn.bind(null,"DRAGGING");function ci(Ei){function co(){de.release(),Fr="COMPLETED"}Fr!=="PRE_DRAG"&&(co(),Fr==="PRE_DRAG"||pe(!1)),bt.dispatch(rr(Ei.liftActionArgs)),Fr="DRAGGING";function Ko(ao,Uo){if(Uo===void 0&&(Uo={shouldBlockNextClick:!1}),Ei.cleanup(),Uo.shouldBlockNextClick){var I=le(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(I)}co(),bt.dispatch(Vt({reason:ao}))}return Object(m.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:Fr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,drop:function(Uo){return Ko("DROP",Uo)},cancel:function(Uo){return Ko("CANCEL",Uo)}},Ei.actions)}function ii(Ei){var co=N(function(ao){ei(function(){return Jt({client:ao})})}),Ko=ci({liftActionArgs:{id:qt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return co.cancel()},actions:{move:co}});return Object(m.a)({},Ko,{move:co})}function Ji(){var Ei={moveUp:function(){return ei(wr)},moveRight:function(){return ei(zr)},moveDown:function(){return ei(Er)},moveLeft:function(){return ei(Jr)}};return ci({liftActionArgs:{id:qt,clientSelection:Hs(Xr),movementMode:"SNAP"},cleanup:X,actions:Ei})}function Si(){var Ei=Zo({expected:"PRE_DRAG",phase:Fr,isLockActive:dn,shouldWarn:!0});Ei&&de.release()}var Va={isActive:function(){return Zo({expected:"PRE_DRAG",phase:Fr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,fluidLift:ii,snapLift:Ji,abort:Si};return Va}var Ho=[Qo,Ys,Do];function ll(ot){var de=ot.contextId,Ue=ot.store,bt=ot.registry,Ft=ot.customSensors,qt=ot.enableDefaultSensors,ar=[].concat(qt?Ho:[],Ft||[]),lr=Object(g.useState)(function(){return gr()})[0],yr=a(function(ii,Ji){ii.isDragging&&!Ji.isDragging&&lr.tryAbandon()},[lr]);Ga(function(){var ii=Ue.getState(),Ji=Ue.subscribe(function(){var Si=Ue.getState();yr(ii,Si),ii=Si});return Ji},[lr,Ue,yr]),Ga(function(){return lr.tryAbandon},[lr.tryAbandon]);var Vr=a(function(ci){return $o({lockAPI:lr,registry:bt,store:Ue,draggableId:ci})},[lr,bt,Ue]),Xr=a(function(ci,ii,Ji){return ws({lockAPI:lr,registry:bt,contextId:de,store:Ue,draggableId:ci,forceSensorStop:ii,sourceEvent:Ji&&Ji.sourceEvent?Ji.sourceEvent:null})},[de,lr,bt,Ue]),Br=a(function(ci){return qo(de,ci)},[de]),Fr=a(function(ci){var ii=bt.draggable.findById(ci);return ii?ii.options:null},[bt.draggable]),Gr=a(function(){if(!lr.isClaimed())return;lr.tryAbandon(),Ue.getState().phase!=="IDLE"&&Ue.dispatch(Zr())},[lr,Ue]),dn=a(lr.isClaimed,[lr]),pn=n(function(){return{canGetLock:Vr,tryGetLock:Xr,findClosestDraggableId:Br,findOptionsForDraggable:Fr,tryReleaseLock:Gr,isLockClaimed:dn}},[Vr,Xr,Br,Fr,Gr,dn]);ys(ar);for(var ei=0;ei<ar.length;ei++)ar[ei](pn)}var jl=function(de){return{onBeforeCapture:de.onBeforeCapture,onBeforeDragStart:de.onBeforeDragStart,onDragStart:de.onDragStart,onDragEnd:de.onDragEnd,onDragUpdate:de.onDragUpdate}};function cl(ot){return ot.current||pe(!1),ot.current}function Nl(ot){var de=ot.contextId,Ue=ot.setCallbacks,bt=ot.sensors,Ft=ot.nonce,qt=ot.dragHandleUsageInstructions,ar=Object(g.useRef)(null);Ut();var lr=hr(ot),yr=a(function(){return jl(lr.current)},[lr]),Vr=ms(de),Xr=cs({contextId:de,text:qt}),Br=Sr(de,Ft),Fr=a(function(ao){cl(ar).dispatch(ao)},[]),Gr=n(function(){return Object(v.b)({publishWhileDragging:Pr,updateDroppableScroll:hn,updateDroppableIsEnabled:tt,updateDroppableIsCombineEnabled:jt,collectionStarting:Wr},Fr)},[Fr]),dn=Oo(),pn=n(function(){return Ua(dn,Gr)},[dn,Gr]),ei=n(function(){return Zi(Object(m.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(v.b)({move:Jt},Fr)))},[pn.scrollDroppable,Fr]),ci=ka(de),ii=n(function(){return gi({announce:Vr,autoScroller:ei,dimensionMarshal:pn,focusMarshal:ci,getResponders:yr,styleMarshal:Br})},[Vr,ei,pn,ci,yr,Br]);ar.current=ii;var Ji=a(function(){var ao=cl(ar),Uo=ao.getState();Uo.phase!=="IDLE"&&ao.dispatch(Zr())},[]),Si=a(function(){var ao=cl(ar).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=n(function(){return{isDragging:Si,tryAbort:Ji}},[Si,Ji]);Ue(Va);var Ei=a(function(ao){return wa(cl(ar).getState(),ao)},[]),co=a(function(){return qn(cl(ar).getState())},[]),Ko=n(function(){return{marshal:pn,focus:ci,contextId:de,canLift:Ei,isMovementAllowed:co,dragHandleUsageInstructionsId:Xr,registry:dn}},[de,pn,Xr,ci,Ei,co,dn]);return ll({contextId:de,store:ii,registry:dn,customSensors:bt,enableDefaultSensors:ot.enableDefaultSensors!==!1}),Object(g.useEffect)(function(){return Ji},[Ji]),f.a.createElement(Mo.Provider,{value:Ko},f.a.createElement(h.a,{context:_o,store:ii},ot.children))}var _s=0;function Gs(){_s=0}function el(){return n(function(){return""+_s++},[])}function Hl(){Gs(),Ds()}function Kl(ot){var de=el(),Ue=ot.dragHandleUsageInstructions||se.dragHandleUsageInstructions;return f.a.createElement(Fe,null,function(bt){return f.a.createElement(Nl,{nonce:ot.nonce,contextId:de,setCallbacks:bt,dragHandleUsageInstructions:Ue,enableDefaultSensors:ot.enableDefaultSensors,sensors:ot.sensors,onBeforeCapture:ot.onBeforeCapture,onBeforeDragStart:ot.onBeforeDragStart,onDragStart:ot.onDragStart,onDragUpdate:ot.onDragUpdate,onDragEnd:ot.onDragEnd},ot.children)})}var Dl=function(de){return function(Ue){return de===Ue}},nc=Dl("scroll"),ic=Dl("auto"),es=Dl("visible"),tl=function(de,Ue){return Ue(de.overflowX)||Ue(de.overflowY)},ac=function(de,Ue){return Ue(de.overflowX)&&Ue(de.overflowY)},Rl=function(de){var Ue=window.getComputedStyle(de),bt={overflowX:Ue.overflowX,overflowY:Ue.overflowY};return tl(bt,nc)||tl(bt,ic)},Ml=function(){return!1;var de,Ue;if(!Rl(de))return!1;var bt,Ft;if(ac(Ft,es))return!1},bl=function ot(de){return de==null?null:de===document.body?Ml()?de:null:de===document.documentElement?null:Rl(de)?de:ot(de.parentElement)},zl=function(de){if(!de)return;var Ue=bl(de.parentElement);if(!Ue)return},ul=function(de){return{x:de.scrollLeft,y:de.scrollTop}},Wl=function ot(de){if(!de)return!1;var Ue=window.getComputedStyle(de);return Ue.position==="fixed"?!0:ot(de.parentElement)},oc=function(de){var Ue=bl(de),bt=Wl(de);return{closestScrollable:Ue,isFixedOnPage:bt}},sc=function(de){var Ue=de.descriptor,bt=de.isEnabled,Ft=de.isCombineEnabled,qt=de.isFixedOnPage,ar=de.direction,lr=de.client,yr=de.page,Vr=de.closest,Xr=function(){if(!Vr)return null;var dn=Vr.scrollSize,pn=Vr.client,ei=ra({scrollHeight:dn.scrollHeight,scrollWidth:dn.scrollWidth,height:pn.paddingBox.height,width:pn.paddingBox.width});return{pageMarginBox:Vr.page.marginBox,frameClient:pn,scrollSize:dn,shouldClipSubject:Vr.shouldClipSubject,scroll:{initial:Vr.scroll,current:Vr.scroll,max:ei,diff:{value:ke,displacement:ke}}}}(),Br=ar==="vertical"?Pe:nt,Fr=rt({page:yr,withPlaceholder:null,axis:Br,frame:Xr}),Gr={descriptor:Ue,isCombineEnabled:Ft,isFixedOnPage:qt,axis:Br,isEnabled:bt,client:lr,page:yr,frame:Xr,subject:Fr};return Gr},Fs=function(de,Ue){var bt=T(de);if(!Ue)return bt;if(de!==Ue)return bt;var Ft=bt.paddingBox.top-Ue.scrollTop,qt=bt.paddingBox.left-Ue.scrollLeft,ar=Ft+Ue.scrollHeight,lr=qt+Ue.scrollWidth,yr={top:Ft,right:lr,bottom:ar,left:qt},Vr=l(yr,bt.border),Xr=p({borderBox:Vr,margin:bt.margin,border:bt.border,padding:bt.padding});return Xr},rl=function(de){var Ue=de.ref,bt=de.descriptor,Ft=de.env,qt=de.windowScroll,ar=de.direction,lr=de.isDropDisabled,yr=de.isCombineEnabled,Vr=de.shouldClipSubject,Xr=Ft.closestScrollable,Br=Fs(Ue,Xr),Fr=S(Br,qt),Gr=function(){if(!Xr)return null;var pn=T(Xr),ei={scrollHeight:Xr.scrollHeight,scrollWidth:Xr.scrollWidth};return{client:pn,page:S(pn,qt),scroll:ul(Xr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=sc({descriptor:bt,isEnabled:!lr,isCombineEnabled:yr,isFixedOnPage:Ft.isFixedOnPage,direction:ar,client:Br,page:Fr,closest:Gr});return dn},wl={passive:!1},dl={passive:!0},Ss=function(de){return de.shouldPublishImmediately?wl:dl};function Ks(ot){var de=Object(g.useContext)(ot);return de||pe(!1),de}var nl=function(de){return de&&de.env.closestScrollable||null};function Ps(ot){var de=Object(g.useRef)(null),Ue=Ks(Mo),bt=as("droppable"),Ft=Ue.registry,qt=Ue.marshal,ar=hr(ot),lr=n(function(){return{id:ot.droppableId,type:ot.type,mode:ot.mode}},[ot.droppableId,ot.mode,ot.type]),yr=Object(g.useRef)(lr),Vr=n(function(){return C(function(Si,Va){de.current||pe(!1);var Ei={x:Si,y:Va};qt.updateDroppableScroll(lr.id,Ei)})},[lr.id,qt]),Xr=a(function(){var Si=de.current;return!Si||!Si.env.closestScrollable?ke:ul(Si.env.closestScrollable)},[]),Br=a(function(){var Si=Xr();Vr(Si.x,Si.y)},[Xr,Vr]),Fr=n(function(){return N(Br)},[Br]),Gr=a(function(){var Si=de.current,Va=nl(Si);Si&&Va||pe(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){Br();return}Fr()},[Fr,Br]),dn=a(function(Si,Va){de.current&&pe(!1);var Ei=ar.current,co=Ei.getDroppableRef();co||pe(!1);var Ko=oc(co),ao={ref:co,descriptor:lr,env:Ko,scrollOptions:Va};de.current=ao;var Uo=rl({ref:co,descriptor:lr,env:Ko,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),I=Ko.closestScrollable;return I&&(I.setAttribute(Cs.contextId,Ue.contextId),I.addEventListener("scroll",Gr,Ss(ao.scrollOptions))),Uo},[Ue.contextId,lr,Gr,ar]),pn=a(function(){var Si=de.current,Va=nl(Si);return Si&&Va||pe(!1),ul(Va)},[]),ei=a(function(){var Si=de.current;Si||pe(!1);var Va=nl(Si);if(de.current=null,!Va)return;Fr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Gr,Ss(Si.scrollOptions))},[Gr,Fr]),ci=a(function(Si){var Va=de.current;Va||pe(!1);var Ei=nl(Va);Ei||pe(!1),Ei.scrollTop+=Si.y,Ei.scrollLeft+=Si.x},[]),ii=n(function(){return{getDimensionAndWatchScroll:dn,getScrollWhileDragging:pn,dragStopped:ei,scroll:ci}},[ei,dn,pn,ci]),Ji=n(function(){return{uniqueId:bt,descriptor:lr,callbacks:ii}},[ii,lr,bt]);Ga(function(){return yr.current=Ji.descriptor,Ft.droppable.register(Ji),function(){de.current&&ei(),Ft.droppable.unregister(Ji)}},[ii,lr,ei,Ji,qt,Ft.droppable]),Ga(function(){if(!de.current)return;qt.updateDroppableIsEnabled(yr.current.id,!ot.isDropDisabled)},[ot.isDropDisabled,qt]),Ga(function(){if(!de.current)return;qt.updateDroppableIsCombineEnabled(yr.current.id,ot.isCombineEnabled)},[ot.isCombineEnabled,qt])}function Sl(){}var kl={width:0,height:0,margin:He},Vl=function(de){var Ue=de.isAnimatingOpenOnMount,bt=de.placeholder,Ft=de.animate;return Ue||Ft==="close"?kl:{height:bt.client.borderBox.height,width:bt.client.borderBox.width,margin:bt.client.margin}},xl=function(de){var Ue=de.isAnimatingOpenOnMount,bt=de.placeholder,Ft=de.animate,qt=Vl({isAnimatingOpenOnMount:Ue,placeholder:bt,animate:Ft});return{display:bt.display,boxSizing:"border-box",width:qt.width,height:qt.height,marginTop:qt.margin.top,marginRight:qt.margin.right,marginBottom:qt.margin.bottom,marginLeft:qt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Ft!=="none"?Mn.placeholder:null}};function Qs(ot){var de=Object(g.useRef)(null),Ue=a(function(){if(!de.current)return;clearTimeout(de.current),de.current=null},[]),bt=ot.animate,Ft=ot.onTransitionEnd,qt=ot.onClose,ar=ot.contextId,lr=Object(g.useState)(ot.animate==="open"),yr=lr[0],Vr=lr[1];Object(g.useEffect)(function(){return yr?bt!=="open"?(Ue(),Vr(!1),Sl):de.current?Sl:(de.current=setTimeout(function(){de.current=null,Vr(!1)}),Ue):Sl},[bt,yr,Ue]);var Xr=a(function(Fr){if(Fr.propertyName!=="height")return;Ft(),bt==="close"&&qt()},[bt,qt,Ft]),Br=xl({isAnimatingOpenOnMount:yr,animate:ot.animate,placeholder:ot.placeholder});return f.a.createElement(ot.placeholder.tagName,{style:Br,"data-rbd-placeholder-context-id":ar,onTransitionEnd:Xr,ref:ot.innerRef})}var hl=f.a.memo(Qs),il=f.a.createContext(null);function fl(ot){ot&&ss(ot)||pe(!1)}function El(ot){return typeof ot=="boolean"}function zs(ot,de){de.forEach(function(Ue){return Ue(ot)})}var Xl=[function(de){var Ue=de.props;Ue.droppableId||pe(!1),typeof Ue.droppableId=="string"||pe(!1)},function(de){var Ue=de.props;El(Ue.isDropDisabled)||pe(!1),El(Ue.isCombineEnabled)||pe(!1),El(Ue.ignoreContainerClipping)||pe(!1)},function(de){var Ue=de.getDroppableRef;fl(Ue())}],Cl=[function(de){var Ue=de.props,bt=de.getPlaceholderRef;if(!Ue.placeholder)return;var Ft=bt();if(Ft)return}],pl=[function(de){var Ue=de.props;Ue.renderClone||pe(!1)},function(de){var Ue=de.getPlaceholderRef;Ue()&&pe(!1)}];function Tl(ot){Et(function(){zs(ot,Xl),ot.props.mode==="standard"&&zs(ot,Cl),ot.props.mode==="virtual"&&zs(ot,pl)})}var Yl=function(ot){Object(A.a)(de,ot);function de(){for(var bt,Ft=arguments.length,qt=new Array(Ft),ar=0;ar<Ft;ar++)qt[ar]=arguments[ar];return bt=ot.call.apply(ot,[this].concat(qt))||this,bt.state={isVisible:Boolean(bt.props.on),data:bt.props.on,animate:bt.props.shouldAnimate&&bt.props.on?"open":"none"},bt.onClose=function(){if(bt.state.animate!=="close")return;bt.setState({isVisible:!1})},bt}de.getDerivedStateFromProps=function(Ft,qt){return Ft.shouldAnimate?Ft.on?{isVisible:!0,data:Ft.on,animate:"open"}:qt.isVisible?{isVisible:!0,data:qt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(Ft.on),data:Ft.on,animate:"none"}};var Ue=de.prototype;return Ue.render=function(){if(!this.state.isVisible)return null;var Ft={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Ft)},de}(f.a.PureComponent),Fl={dragging:5e3,dropAnimating:4500},ml=function(de,Ue){return Ue?Mn.drop(Ue.duration):de?Mn.snap:Mn.fluid},Gl=function(de,Ue){return de?Ue?Hn.opacity.drop:Hn.opacity.combining:null},Js=function(de){return de.forceShouldAnimate!=null?de.forceShouldAnimate:de.mode==="SNAP"};function Ql(ot){var de=ot.dimension,Ue=de.client,bt=ot.offset,Ft=ot.combineWith,qt=ot.dropping,ar=Boolean(Ft),lr=Js(ot),yr=Boolean(qt),Vr=yr?Rn.drop(bt,ar):Rn.moveTo(bt),Xr={position:"fixed",top:Ue.marginBox.top,left:Ue.marginBox.left,boxSizing:"border-box",width:Ue.borderBox.width,height:Ue.borderBox.height,transition:ml(lr,qt),transform:Vr,opacity:Gl(ar,yr),zIndex:yr?Fl.dropAnimating:Fl.dragging,pointerEvents:"none"};return Xr}function Ro(ot){return{transform:Rn.moveTo(ot.offset),transition:ot.shouldAnimateDisplacement?null:"none"}}function Ws(ot){return ot.type==="DRAGGING"?Ql(ot):Ro(ot)}function al(ot,de,Ue){Ue===void 0&&(Ue=ke);var bt=window.getComputedStyle(de),Ft=de.getBoundingClientRect(),qt=x(Ft,bt),ar=S(qt,Ue),lr={client:qt,tagName:de.tagName.toLowerCase(),display:bt.display},yr={x:qt.marginBox.width,y:qt.marginBox.height},Vr={descriptor:ot,placeholder:lr,displaceBy:yr,client:qt,page:ar};return Vr}function Bs(ot){var de=as("draggable"),Ue=ot.descriptor,bt=ot.registry,Ft=ot.getDraggableRef,qt=ot.canDragInteractiveElements,ar=ot.shouldRespectForcePress,lr=ot.isEnabled,yr=n(function(){return{canDragInteractiveElements:qt,shouldRespectForcePress:ar,isEnabled:lr}},[qt,lr,ar]),Vr=a(function(Gr){var dn=Ft();return dn||pe(!1),al(Ue,dn,Gr)},[Ue,Ft]),Xr=n(function(){return{uniqueId:de,descriptor:Ue,options:yr,getDimension:Vr}},[Ue,Vr,yr,de]),Br=Object(g.useRef)(Xr),Fr=Object(g.useRef)(!0);Ga(function(){return bt.draggable.register(Br.current),function(){return bt.draggable.unregister(Br.current)}},[bt.draggable]),Ga(function(){if(Fr.current){Fr.current=!1;return}var Gr=Br.current;Br.current=Xr,bt.draggable.update(Xr,Gr)},[Xr,bt.draggable])}function Us(ot,de,Ue){Et(function(){function bt(qt){return"Draggable[id: "+qt+"]: "}var Ft=ot.draggableId;if(Ft||pe(!1),typeof Ft=="string"||pe(!1),Ve(ot.index)||pe(!1),ot.mapped.type==="DRAGGING")return;fl(Ue()),ot.isEnabled&&(Ls(de,Ft)||pe(!1))})}function gl(ot){We(function(){var de=Object(g.useRef)(ot);Et(function(){ot===de.current||pe(!1)},[ot])})}function xs(ot){ot.preventDefault()}function ol(ot){var de=Object(g.useRef)(null),Ue=a(function(ao){de.current=ao},[]),bt=a(function(){return de.current},[]),Ft=Ks(Mo),qt=Ft.contextId,ar=Ft.dragHandleUsageInstructionsId,lr=Ft.registry,yr=Ks(il),Vr=yr.type,Xr=yr.droppableId,Br=n(function(){return{id:ot.draggableId,index:ot.index,type:Vr,droppableId:Xr}},[ot.draggableId,ot.index,Vr,Xr]),Fr=ot.children,Gr=ot.draggableId,dn=ot.isEnabled,pn=ot.shouldRespectForcePress,ei=ot.canDragInteractiveElements,ci=ot.isClone,ii=ot.mapped,Ji=ot.dropAnimationFinished;if(Us(ot,qt,bt),gl(ci),!ci){var Si=n(function(){return{descriptor:Br,registry:lr,getDraggableRef:bt,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[Br,lr,bt,ei,pn,dn]);Bs(Si)}var Va=n(function(){return dn?{tabIndex:0,role:"button","aria-describedby":ar,"data-rbd-drag-handle-draggable-id":Gr,"data-rbd-drag-handle-context-id":qt,draggable:!1,onDragStart:xs}:null},[qt,ar,Gr,dn]),Ei=a(function(ao){if(ii.type!=="DRAGGING")return;if(!ii.dropping)return;if(ao.propertyName!=="transform")return;Ji()},[Ji,ii]),co=n(function(){var ao=Ws(ii),Uo=ii.type==="DRAGGING"&&ii.dropping?Ei:null,I={innerRef:Ue,draggableProps:{"data-rbd-draggable-context-id":qt,"data-rbd-draggable-id":Gr,style:ao,onTransitionEnd:Uo},dragHandleProps:Va};return I},[qt,Va,Gr,ii,Ei,Ue]),Ko=n(function(){return{draggableId:Br.id,type:Br.type,source:{index:Br.index,droppableId:Br.droppableId}}},[Br.droppableId,Br.id,Br.index,Br.type]);return Fr(co,ii.snapshot,Ko)}var Zs=function(de,Ue){return de===Ue},Pl=function(de){var Ue=de.combine,bt=de.destination;return bt?bt.droppableId:Ue?Ue.droppableId:null},Ll=function(de){return de.combine?de.combine.draggableId:null},vl=function(de){return de.at&&de.at.type==="COMBINE"?de.at.combine.draggableId:null};function ql(){var ot=C(function(Ft,qt){return{x:Ft,y:qt}}),de=C(function(Ft,qt,ar,lr,yr){return{isDragging:!0,isClone:qt,isDropAnimating:Boolean(yr),dropAnimation:yr,mode:Ft,draggingOver:ar,combineWith:lr,combineTargetFor:null}}),Ue=C(function(Ft,qt,ar,lr,yr,Vr,Xr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:yr,combineWith:Vr,mode:qt,offset:Ft,dimension:ar,forceShouldAnimate:Xr,snapshot:de(qt,lr,yr,Vr,null)}}}),bt=function(qt,ar){if(qt.isDragging){if(qt.critical.draggable.id!==ar.draggableId)return null;var lr=qt.current.client.offset,yr=qt.dimensions.draggables[ar.draggableId],Vr=gn(qt.impact),Xr=vl(qt.impact),Br=qt.forceShouldAnimate;return Ue(ot(lr.x,lr.y),qt.movementMode,yr,ar.isClone,Vr,Xr,Br)}if(qt.phase==="DROP_ANIMATING"){var Fr=qt.completed;if(Fr.result.draggableId!==ar.draggableId)return null;var Gr=ar.isClone,dn=qt.dimensions.draggables[ar.draggableId],pn=Fr.result,ei=pn.mode,ci=Pl(pn),ii=Ll(pn),Ji=qt.dropDuration,Si={duration:Ji,curve:wn.drop,moveTo:qt.newHomeClientOffset,opacity:ii?Hn.opacity.drop:null,scale:ii?Hn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:qt.newHomeClientOffset,dimension:dn,dropping:Si,draggingOver:ci,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:de(ei,Gr,ci,ii,Si)}}}return null};return bt}function Bl(ot){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ot,combineWith:null}}var yl={mapped:{type:"SECONDARY",offset:ke,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bl(null)}};function Jl(){var ot=C(function(ar,lr){return{x:ar,y:lr}}),de=C(Bl),Ue=C(function(ar,lr,yr){return lr===void 0&&(lr=null),{mapped:{type:"SECONDARY",offset:ar,combineTargetFor:lr,shouldAnimateDisplacement:yr,snapshot:de(lr)}}}),bt=function(lr){return lr?Ue(ke,lr,!0):null},Ft=function(lr,yr,Vr,Xr){var Br=Vr.displaced.visible[lr],Fr=Boolean(Xr.inVirtualList&&Xr.effected[lr]),Gr=or(Vr),dn=Gr&&Gr.draggableId===lr?yr:null;if(!Br){if(!Fr)return bt(dn);if(Vr.displaced.invisible[lr])return null;var pn=ae(Xr.displacedBy.point),ei=ot(pn.x,pn.y);return Ue(ei,dn,!0)}if(Fr)return bt(dn);var ci=Vr.displacedBy.point,ii=ot(ci.x,ci.y);return Ue(ii,dn,Br.shouldAnimate)},qt=function(lr,yr){if(lr.isDragging)return lr.critical.draggable.id===yr.draggableId?null:Ft(yr.draggableId,lr.critical.draggable.id,lr.impact,lr.afterCritical);if(lr.phase==="DROP_ANIMATING"){var Vr=lr.completed;return Vr.result.draggableId===yr.draggableId?null:Ft(yr.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return qt}var lc=function(){var de=ql(),Ue=Jl(),bt=function(qt,ar){return de(qt,ar)||Ue(qt,ar)||yl};return bt},Zl={dropAnimationFinished:br},$l=Object(h.c)(lc,Zl,null,{context:_o,pure:!0,areStatePropsEqual:Zs})(ol);function Ol(ot){var de=Ks(il),Ue=de.isUsingCloneFor;return Ue===ot.draggableId&&!ot.isClone?null:f.a.createElement($l,ot)}function ec(ot){var de=typeof ot.isDragDisabled=="boolean"?!ot.isDragDisabled:!0,Ue=Boolean(ot.disableInteractiveElementBlocking),bt=Boolean(ot.shouldRespectForcePress);return f.a.createElement(Ol,Object(m.a)({},ot,{isClone:!1,isEnabled:de,canDragInteractiveElements:Ue,shouldRespectForcePress:bt}))}function cc(ot){var de=Object(g.useContext)(Mo);de||pe(!1);var Ue=de.contextId,bt=de.isMovementAllowed,Ft=Object(g.useRef)(null),qt=Object(g.useRef)(null),ar=ot.children,lr=ot.droppableId,yr=ot.type,Vr=ot.mode,Xr=ot.direction,Br=ot.ignoreContainerClipping,Fr=ot.isDropDisabled,Gr=ot.isCombineEnabled,dn=ot.snapshot,pn=ot.useClone,ei=ot.updateViewportMaxScroll,ci=ot.getContainerForClone,ii=a(function(){return Ft.current},[]),Ji=a(function(M){Ft.current=M},[]),Si=a(function(){return qt.current},[]),Va=a(function(M){qt.current=M},[]);Tl({props:ot,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=a(function(){bt()&&ei({maxScroll:Xa()})},[bt,ei]);Ps({droppableId:lr,type:yr,mode:Vr,direction:Xr,isDropDisabled:Fr,isCombineEnabled:Gr,ignoreContainerClipping:Br,getDroppableRef:ii});var co=f.a.createElement(Yl,{on:ot.placeholder,shouldAnimate:ot.shouldAnimatePlaceholder},function(M){var q=M.onClose,J=M.data,re=M.animate;return f.a.createElement(hl,{placeholder:J,onClose:q,innerRef:Va,animate:re,contextId:Ue,onTransitionEnd:Ei})}),Ko=n(function(){return{innerRef:Ji,placeholder:co,droppableProps:{"data-rbd-droppable-id":lr,"data-rbd-droppable-context-id":Ue}}},[Ue,lr,co,Ji]),ao=pn?pn.dragging.draggableId:null,Uo=n(function(){return{droppableId:lr,type:yr,isUsingCloneFor:ao}},[lr,ao,yr]);function I(){if(!pn)return null;var M=pn.dragging,q=pn.render,J=f.a.createElement(Ol,{draggableId:M.draggableId,index:M.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(re,De){return q(re,De,M)});return F.a.createPortal(J,ci())}return f.a.createElement(il.Provider,{value:Uo},ar(Ko,dn),I())}var _l=function(de,Ue){return de===Ue.droppable.type},js=function(de,Ue){return Ue.draggables[de.draggable.id]},Il=function(){var de={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Ue=Object(m.a)({},de,{shouldAnimatePlaceholder:!1}),bt=C(function(ar){return{draggableId:ar.id,type:ar.type,source:{index:ar.index,droppableId:ar.droppableId}}}),Ft=C(function(ar,lr,yr,Vr,Xr,Br){var Fr=Xr.descriptor.id,Gr=Xr.descriptor.droppableId===ar;if(Gr){var dn=Br?{render:Br,dragging:bt(Xr.descriptor)}:null,pn={isDraggingOver:yr,draggingOverWith:yr?Fr:null,draggingFromThisWith:Fr,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!lr)return Ue;if(!Vr)return de;var ei={isDraggingOver:yr,draggingOverWith:Fr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ei,useClone:null}}),qt=function(lr,yr){var Vr=yr.droppableId,Xr=yr.type,Br=!yr.isDropDisabled,Fr=yr.renderClone;if(lr.isDragging){var Gr=lr.critical;if(!_l(Xr,Gr))return Ue;var dn=js(Gr,lr.dimensions),pn=gn(lr.impact)===Vr;return Ft(Vr,Br,pn,pn,dn,Fr)}if(lr.phase==="DROP_ANIMATING"){var ei=lr.completed;if(!_l(Xr,ei.critical))return Ue;var ci=js(ei.critical,lr.dimensions);return Ft(Vr,Br,Pl(ei.result)===Vr,gn(ei.impact)===Vr,ci,Fr)}if(lr.phase==="IDLE"&&lr.completed&&!lr.shouldFlush){var ii=lr.completed;if(!_l(Xr,ii.critical))return Ue;var Ji=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return Ji?Si?de:Ue:Va?de:Ue}return Ue};return qt},Al={updateViewportMaxScroll:Or};function uc(){return document.body||pe(!1),document.body}var dc={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:uc},sl=Object(h.c)(Il,Al,null,{context:_o,pure:!0,areStatePropsEqual:Zs})(cc);sl.defaultProps=dc},ni6a:function(D,_,e){var g=e("pzxd"),f=e("mFDi"),A=e("gut8"),m=A.WILL_BE_RESTORED,v=new f,h=function(){};h.prototype={constructor:h,drawRectText:function(i,n){var a=this.style;n=a.textRect||n,this.__dirty&&g.normalizeTextStyle(a,!0);var u=a.text;if(u!=null&&(u+=""),!g.needDrawText(u,a))return;i.save();var r=this.transform;a.transformText?this.setTransform(i):r&&(v.copy(n),v.applyTransform(r),n=v),g.renderText(this,i,u,a,n,m),i.restore()}};var c=h;D.exports=c},nkfE:function(D,_,e){var g=e("bYtY"),f=e("ca2m"),A=e("bLfw"),m=e("+TT/"),v=m.getLayoutParams,h=m.mergeLayoutParam,c=e("jkPA"),o=["value","category","time","log"];function i(n,a,u,r){g.each(o,function(l){a.extend({type:n+"Axis."+l,mergeDefaultAndTheme:function(t,s){var d=this.layoutMode,p=d?v(t):{},b=s.getTheme();g.merge(t,b.get(l+"Axis")),g.merge(t,this.getDefaultOption()),t.type=u(n,t),d&&h(t,p,d)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(t){var s=this.option;if(s.type==="category")return t?s.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:g.mergeAll([{},f[l+"Axis"],r],!0)})}),A.registerSubTypeDefaulter(n+"Axis",g.curry(u,n))}D.exports=i},noeP:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("UOVi");g.registerAction("dataZoom",function(m,v){var h=A.createLinkedNodesFinder(f.bind(v.eachComponent,v,"dataZoom"),A.eachAxisDim,function(o,i){return o.get(i.axisIndex)}),c=[];v.eachComponent({mainType:"dataZoom",query:m},function(o,i){c.push.apply(c,h(o).nodes)}),f.each(c,function(o,i){o.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},"o/2+":function(D,_,e){"use strict";var g=e("q1tI"),f=e.n(g),A=Object(g.createContext)({});_.a=A},o40c:function(D,_,e){var g=e("IwbS"),f=e("OS9S"),A=e("loD1"),m=e("aKvl"),v=g.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(i,n){var a=n.segs,u=n.curveness;if(n.polyline)for(var r=0;r<a.length;){var l=a[r++];if(l>0){i.moveTo(a[r++],a[r++]);for(var t=1;t<l;t++)i.lineTo(a[r++],a[r++])}}else for(var r=0;r<a.length;){var s=a[r++],d=a[r++],p=a[r++],b=a[r++];if(i.moveTo(s,d),u>0){var w=(s+p)/2-(d-b)*u,E=(d+b)/2-(p-s)*u;i.quadraticCurveTo(w,E,p,b)}else i.lineTo(p,b)}},findDataIndex:function(i,n){var a=this.shape,u=a.segs,r=a.curveness;if(a.polyline)for(var l=0,t=0;t<u.length;){var s=u[t++];if(s>0)for(var d=u[t++],p=u[t++],b=1;b<s;b++){var w=u[t++],E=u[t++];if(A.containStroke(d,p,w,E))return l}l++}else for(var l=0,t=0;t<u.length;){var d=u[t++],p=u[t++],w=u[t++],E=u[t++];if(r>0){var S=(d+w)/2-(p-E)*r,x=(p+E)/2-(w-d)*r;if(m.containStroke(d,p,S,x,w,E))return l}else if(A.containStroke(d,p,w,E))return l;l++}return-1}});function h(){this.group=new g.Group}var c=h.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(i){this.group.removeAll();var n=new v({rectHover:!0,cursor:"default"});n.setShape({segs:i.getLayout("linesPoints")}),this._setCommon(n,i),this.group.add(n),this._incremental=null},c.incrementalPrepareUpdate=function(i){this.group.removeAll(),this._clearIncremental(),i.count()>5e5?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(i,n){var a=new v;a.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(a,n,!!this._incremental),this._incremental?this._incremental.addDisplayable(a,!0):(a.rectHover=!0,a.cursor="default",a.__startIndex=i.start,this.group.add(a))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(i,n,a){var u=n.hostModel;i.setShape({polyline:u.get("polyline"),curveness:u.get("lineStyle.curveness")}),i.useStyle(u.getModel("lineStyle").getLineStyle()),i.style.strokeNoScale=!0;var r=n.getVisual("color");r&&i.setStyle("stroke",r),i.setStyle("fill"),a||(i.seriesIndex=u.seriesIndex,i.on("mousemove",function(l){i.dataIndex=null;var t=i.findDataIndex(l.offsetX,l.offsetY);t>0&&(i.dataIndex=t+i.__startIndex)}))},c._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};var o=h;D.exports=o},oBaM:function(D,_,e){var g=e("T4UG"),f=e("5GtS"),A=e("bYtY"),m=e("7aKB"),v=m.encodeHTML,h=e("xKMd"),c=g.extend({type:"series.radar",dependencies:["radar"],init:function(i){c.superApply(this,"init",arguments),this.legendVisualProvider=new h(A.bind(this.getData,this),A.bind(this.getRawData,this))},getInitialData:function(i,n){return f(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(i){var n=this.getData(),a=this.coordinateSystem,u=a.getIndicatorAxes(),r=this.getData().getName(i);return v(r===""?this.name:r)+"<br/>"+A.map(u,function(l,t){var s=n.get(n.mapDimension(l.dim),i);return v(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(i){if(i!=null){for(var n=this.getData(),a=this.coordinateSystem,u=n.getValues(A.map(a.dimensions,function(s){return n.mapDimension(s)}),i,!0),r=0,l=u.length;r<l;r++)if(!isNaN(u[r])){var t=a.getIndicatorAxes();return a.coordToPoint(t[r].dataToCoord(u[r]),r)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),o=c;D.exports=o},oE7X:function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(D,_,e){},oVpE:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("mFDi"),m=e("6GrX"),v=m.calculateTextPosition,h=f.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,d){var p=d.cx,b=d.cy,w=d.width/2,E=d.height/2;s.moveTo(p,b-E),s.lineTo(p+w,b+E),s.lineTo(p-w,b+E),s.closePath()}}),c=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,d){var p=d.cx,b=d.cy,w=d.width/2,E=d.height/2;s.moveTo(p,b-E),s.lineTo(p+w,b),s.lineTo(p,b+E),s.lineTo(p-w,b),s.closePath()}}),o=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,d){var p=d.x,b=d.y,w=d.width/5*3,E=Math.max(w,d.height),S=w/2,x=S*S/(E-S),T=b-E+S+x,L=Math.asin(x/S),y=Math.cos(L)*S,C=Math.sin(L),O=Math.cos(L),N=S*.6,k=S*.7;s.moveTo(p-y,T+x),s.arc(p,T,S,Math.PI-L,Math.PI*2+L),s.bezierCurveTo(p+y-C*N,T+x+O*N,p,b-k,p,b),s.bezierCurveTo(p,b-k,p-y+C*N,T+x+O*N,p-y,T+x),s.closePath()}}),i=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,d){var p=d.height,b=d.width,w=d.x,E=d.y,S=b/3*2;s.moveTo(w,E),s.lineTo(w+S,E+p),s.lineTo(w,E+p/4*3),s.lineTo(w-S,E+p),s.lineTo(w,E),s.closePath()}}),n={line:f.Line,rect:f.Rect,roundRect:f.Rect,square:f.Rect,circle:f.Circle,diamond:c,pin:o,arrow:i,triangle:h},a={line:function(s,d,p,b,w){w.x1=s,w.y1=d+b/2,w.x2=s+p,w.y2=d+b/2},rect:function(s,d,p,b,w){w.x=s,w.y=d,w.width=p,w.height=b},roundRect:function(s,d,p,b,w){w.x=s,w.y=d,w.width=p,w.height=b,w.r=Math.min(p,b)/4},square:function(s,d,p,b,w){var E=Math.min(p,b);w.x=s,w.y=d,w.width=E,w.height=E},circle:function(s,d,p,b,w){w.cx=s+p/2,w.cy=d+b/2,w.r=Math.min(p,b)/2},diamond:function(s,d,p,b,w){w.cx=s+p/2,w.cy=d+b/2,w.width=p,w.height=b},pin:function(s,d,p,b,w){w.x=s+p/2,w.y=d+b/2,w.width=p,w.height=b},arrow:function(s,d,p,b,w){w.x=s+p/2,w.y=d+b/2,w.width=p,w.height=b},triangle:function(s,d,p,b,w){w.cx=s+p/2,w.cy=d+b/2,w.width=p,w.height=b}},u={};g.each(n,function(s,d){u[d]=new s});var r=f.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,d,p){var b=v(s,d,p),w=this.shape;return w&&w.symbolType==="pin"&&d.textPosition==="inside"&&(b.y=p.y+p.height*.4),b},buildPath:function(s,d,p){var b=d.symbolType;if(b!=="none"){var w=u[b];w||(b="rect",w=u[b]),a[b](d.x,d.y,d.width,d.height,w.shape),w.buildPath(s,w.shape,p)}}});function l(s,d){if(this.type!=="image"){var p=this.style,b=this.shape;b&&b.symbolType==="line"?p.stroke=s:this.__isEmptyBrush?(p.stroke=s,p.fill=d||"#fff"):(p.fill&&(p.fill=s),p.stroke&&(p.stroke=s)),this.dirty(!1)}}function t(s,d,p,b,w,E,S){var x=s.indexOf("empty")===0;x&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var T;return s.indexOf("image://")===0?T=f.makeImage(s.slice(8),new A(d,p,b,w),S?"center":"cover"):s.indexOf("path://")===0?T=f.makePath(s.slice(7),{},new A(d,p,b,w),S?"center":"cover"):T=new r({shape:{symbolType:s,x:d,y:p,width:b,height:w}}),T.__isEmptyBrush=x,T.setColor=l,T.setColor(E),T}_.createSymbol=t},oY9F:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});D.exports=f},or5M:function(D,_,e){var g=e("1hJj"),f=e("QoRX"),A=e("xYSL"),m=1,v=2;function h(c,o,i,n,a,u){var r=i&m,l=c.length,t=o.length;if(l!=t&&!(r&&t>l))return!1;var s=u.get(c),d=u.get(o);if(s&&d)return s==o&&d==c;var p=-1,b=!0,w=i&v?new g:void 0;for(u.set(c,o),u.set(o,c);++p<l;){var E=c[p],S=o[p];if(n)var x=r?n(S,E,p,o,c,u):n(E,S,p,c,o,u);if(x!==void 0){if(x)continue;b=!1;break}if(w){if(!f(o,function(T,L){if(!A(w,L)&&(E===T||a(E,T,i,n,u)))return w.push(L)})){b=!1;break}}else if(!(E===S||a(E,S,i,n,u))){b=!1;break}}return u.delete(c),u.delete(o),b}D.exports=h},osHv:function(D,_,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f=g.Pos;function A(d,p){return d.line-p.line||d.ch-p.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",v=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",h=new RegExp("<(/?)(["+m+"]["+v+"]*)","g");function c(d,p,b,w){this.line=p,this.ch=b,this.cm=d,this.text=d.getLine(p),this.min=w?Math.max(w.from,d.firstLine()):d.firstLine(),this.max=w?Math.min(w.to-1,d.lastLine()):d.lastLine()}function o(d,p){var b=d.cm.getTokenTypeAt(f(d.line,p));return b&&/\btag\b/.test(b)}function i(d){return d.line>=d.max?void 0:(d.ch=0,d.text=d.cm.getLine(++d.line),!0)}function n(d){return d.line<=d.min?void 0:(d.text=d.cm.getLine(--d.line),d.ch=d.text.length,!0)}function a(d){for(;;){var p=d.text.indexOf(">",d.ch);if(p==-1){if(i(d))continue;return}if(!o(d,p+1)){d.ch=p+1;continue}var b=d.text.lastIndexOf("/",p),w=b>-1&&!/\S/.test(d.text.slice(b+1,p));return d.ch=p+1,w?"selfClose":"regular"}}function u(d){for(;;){var p=d.ch?d.text.lastIndexOf("<",d.ch-1):-1;if(p==-1){if(n(d))continue;return}if(!o(d,p+1)){d.ch=p;continue}h.lastIndex=p,d.ch=p;var b=h.exec(d.text);if(b&&b.index==p)return b}}function r(d){for(;;){h.lastIndex=d.ch;var p=h.exec(d.text);if(!p){if(i(d))continue;return}if(!o(d,p.index+1)){d.ch=p.index+1;continue}return d.ch=p.index+p[0].length,p}}function l(d){for(;;){var p=d.ch?d.text.lastIndexOf(">",d.ch-1):-1;if(p==-1){if(n(d))continue;return}if(!o(d,p+1)){d.ch=p;continue}var b=d.text.lastIndexOf("/",p),w=b>-1&&!/\S/.test(d.text.slice(b+1,p));return d.ch=p+1,w?"selfClose":"regular"}}function t(d,p){for(var b=[];;){var w=r(d),E,S=d.line,x=d.ch-(w?w[0].length:0);if(!w||!(E=a(d)))return;if(E=="selfClose")continue;if(w[1]){for(var T=b.length-1;T>=0;--T)if(b[T]==w[2]){b.length=T;break}if(T<0&&(!p||p==w[2]))return{tag:w[2],from:f(S,x),to:f(d.line,d.ch)}}else b.push(w[2])}}function s(d,p){for(var b=[];;){var w=l(d);if(!w)return;if(w=="selfClose"){u(d);continue}var E=d.line,S=d.ch,x=u(d);if(!x)return;if(x[1])b.push(x[2]);else{for(var T=b.length-1;T>=0;--T)if(b[T]==x[2]){b.length=T;break}if(T<0&&(!p||p==x[2]))return{tag:x[2],from:f(d.line,d.ch),to:f(E,S)}}}}g.registerHelper("fold","xml",function(d,p){for(var b=new c(d,p.line,0);;){var w=r(b);if(!w||b.line!=p.line)return;var E=a(b);if(!E)return;if(!w[1]&&E!="selfClose"){var S=f(b.line,b.ch),x=t(b,w[2]);return x&&A(x.from,S)>0?{from:S,to:x.from}:null}}}),g.findMatchingTag=function(d,p,b){var w=new c(d,p.line,p.ch,b);if(w.text.indexOf(">")==-1&&w.text.indexOf("<")==-1)return;var E=a(w),S=E&&f(w.line,w.ch),x=E&&u(w);if(!E||!x||A(w,p)>0)return;var T={from:f(w.line,w.ch),to:S,tag:x[2]};return E=="selfClose"?{open:T,close:null,at:"open"}:x[1]?{open:s(w,x[2]),close:T,at:"close"}:(w=new c(d,S.line,S.ch,b),{open:T,close:t(w,x[2]),at:"open"})},g.findEnclosingTag=function(d,p,b,w){for(var E=new c(d,p.line,p.ch,b);;){var S=s(E,w);if(!S)break;var x=new c(d,p.line,p.ch,b),T=t(x,S.tag);if(T)return{open:S,close:T}}},g.scanForClosingTag=function(d,p,b,w){var E=new c(d,p.line,p.ch,w?{from:0,to:w}:null);return t(E,b)}})},ozfa:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("KxFI"),m=e.n(A)},"p+If":function(D,_,e){var g=e("ProS");e("cpOr"),e("rkZ5");var f=e("ZYIC"),A=e("7ph2");g.registerLayout(f),g.registerVisual(A)},"p/La":function(D,_){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function g(f,A){f==="china"&&A.name==="\u53F0\u6E7E"&&A.geometries.push({type:"polygon",exterior:e[0]})}D.exports=g},p1MT:function(D,_,e){var g=e("Hw7h"),f=e("IwbS"),A=e("6Ic6"),m=e("OELB"),v=m.parsePercent,h=m.round,c=m.linearMap;function o(r,l){var t=r.get("center"),s=l.getWidth(),d=l.getHeight(),p=Math.min(s,d),b=v(t[0],l.getWidth()),w=v(t[1],l.getHeight()),E=v(r.get("radius"),p/2);return{cx:b,cy:w,r:E}}function i(r,l){return l&&(typeof l=="string"?r=l.replace("{value}",r!=null?r:""):typeof l=="function"&&(r=l(r))),r}var n=Math.PI*2,a=A.extend({type:"gauge",render:function(r,l,t){this.group.removeAll();var s=r.get("axisLine.lineStyle.color"),d=o(r,t);this._renderMain(r,l,t,s,d)},dispose:function(){},_renderMain:function(r,l,t,s,d){for(var p=this.group,b=r.getModel("axisLine"),w=b.getModel("lineStyle"),E=r.get("clockwise"),S=-r.get("startAngle")/180*Math.PI,x=-r.get("endAngle")/180*Math.PI,T=(x-S)%n,L=S,y=w.get("width"),C=b.get("show"),O=0;C&&O<s.length;O++){var N=Math.min(Math.max(s[O][0],0),1),x=S+T*N,k=new f.Sector({shape:{startAngle:L,endAngle:x,cx:d.cx,cy:d.cy,clockwise:E,r0:d.r-y,r:d.r},silent:!0});k.setStyle({fill:s[O][1]}),k.setStyle(w.getLineStyle(["color","borderWidth","borderColor"])),p.add(k),L=x}var F=function(H){if(H<=0)return s[0][1];for(var W=0;W<s.length;W++)if(s[W][0]>=H&&(W===0?0:s[W-1][0])<H)return s[W][1];return s[W-1][1]};if(!E){var B=S;S=x,x=B}this._renderTicks(r,l,t,F,d,S,x,E),this._renderPointer(r,l,t,F,d,S,x,E),this._renderTitle(r,l,t,F,d),this._renderDetail(r,l,t,F,d)},_renderTicks:function(r,l,t,s,d,p,b,w){for(var E=this.group,S=d.cx,x=d.cy,T=d.r,L=+r.get("min"),y=+r.get("max"),C=r.getModel("splitLine"),O=r.getModel("axisTick"),N=r.getModel("axisLabel"),k=r.get("splitNumber"),F=O.get("splitNumber"),B=v(C.get("length"),T),H=v(O.get("length"),T),W=p,R=(b-p)/k,U=R/F,j=C.getModel("lineStyle").getLineStyle(),P=O.getModel("lineStyle").getLineStyle(),K=0;K<=k;K++){var V=Math.cos(W),z=Math.sin(W);if(C.get("show")){var X=new f.Line({shape:{x1:V*T+S,y1:z*T+x,x2:V*(T-B)+S,y2:z*(T-B)+x},style:j,silent:!0});j.stroke==="auto"&&X.setStyle({stroke:s(K/k)}),E.add(X)}if(N.get("show")){var G=i(h(K/k*(y-L)+L),N.get("formatter")),le=N.get("distance"),Y=s(K/k);E.add(new f.Text({style:f.setTextStyle({},N,{text:G,x:V*(T-B-le)+S,y:z*(T-B-le)+x,textVerticalAlign:z<-.4?"top":z>.4?"bottom":"middle",textAlign:V<-.4?"left":V>.4?"right":"center"},{autoColor:Y}),silent:!0}))}if(O.get("show")&&K!==k){for(var me=0;me<=F;me++){var V=Math.cos(W),z=Math.sin(W),we=new f.Line({shape:{x1:V*T+S,y1:z*T+x,x2:V*(T-H)+S,y2:z*(T-H)+x},silent:!0,style:P});P.stroke==="auto"&&we.setStyle({stroke:s((K+me/F)/k)}),E.add(we),W+=U}W-=U}else W+=R}},_renderPointer:function(r,l,t,s,d,p,b,w){var E=this.group,S=this._data;if(!r.get("pointer.show")){S&&S.eachItemGraphicEl(function(C){E.remove(C)});return}var x=[+r.get("min"),+r.get("max")],T=[p,b],L=r.getData(),y=L.mapDimension("value");L.diff(S).add(function(C){var O=new g({shape:{angle:p}});f.initProps(O,{shape:{angle:c(L.get(y,C),x,T,!0)}},r),E.add(O),L.setItemGraphicEl(C,O)}).update(function(C,O){var N=S.getItemGraphicEl(O);f.updateProps(N,{shape:{angle:c(L.get(y,C),x,T,!0)}},r),E.add(N),L.setItemGraphicEl(C,N)}).remove(function(C){var O=S.getItemGraphicEl(C);E.remove(O)}).execute(),L.eachItemGraphicEl(function(C,O){var N=L.getItemModel(O),k=N.getModel("pointer");C.setShape({x:d.cx,y:d.cy,width:v(k.get("width"),d.r),r:v(k.get("length"),d.r)}),C.useStyle(N.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",s(c(L.get(y,O),x,[0,1],!0))),f.setHoverStyle(C,N.getModel("emphasis.itemStyle").getItemStyle())}),this._data=L},_renderTitle:function(r,l,t,s,d){var p=r.getData(),b=p.mapDimension("value"),w=r.getModel("title");if(w.get("show")){var E=w.get("offsetCenter"),S=d.cx+v(E[0],d.r),x=d.cy+v(E[1],d.r),T=+r.get("min"),L=+r.get("max"),y=r.getData().get(b,0),C=s(c(y,[T,L],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},w,{x:S,y:x,text:p.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(r,l,t,s,d){var p=r.getModel("detail"),b=+r.get("min"),w=+r.get("max");if(p.get("show")){var E=p.get("offsetCenter"),S=d.cx+v(E[0],d.r),x=d.cy+v(E[1],d.r),T=v(p.get("width"),d.r),L=v(p.get("height"),d.r),y=r.getData(),C=y.get(y.mapDimension("value"),0),O=s(c(C,[b,w],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},p,{x:S,y:x,text:i(C,p.get("formatter")),textWidth:isNaN(T)?null:T,textHeight:isNaN(L)?null:L,textAlign:"center",textVerticalAlign:"middle"},{autoColor:O,forceRich:!0})}))}}}),u=a;D.exports=u},"p77/":function(D,_,e){},pC0b:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("xzDV"),m=e.n(A),v=e("5Dmo")},"pED+":function(D,_,e){},pG52:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("WXVj"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},pIsd:function(D,_,e){var g=e("BJfS"),f=function(h){var c=/[height|width]$/;return c.test(h)},A=function(h){var c="",o=Object.keys(h);return o.forEach(function(i,n){var a=h[i];i=g(i),f(i)&&typeof a=="number"&&(a=a+"px"),a===!0?c+=i:a===!1?c+="not "+i:c+="("+i+": "+a+")",n<o.length-1&&(c+=" and ")}),c},m=function(h){var c="";return typeof h=="string"?h:h instanceof Array?(h.forEach(function(o,i){c+=A(o),i<h.length-1&&(c+=", ")}),c):A(h)};D.exports=m},pLH3:function(D,_,e){var g=e("ProS");e("ALo7"),e("TWL2");var f=e("mOdp"),A=e("JLnu"),m=e("0/Rx");g.registerVisual(f("funnel")),g.registerLayout(A),g.registerProcessor(m("funnel"))},pP6R:function(D,_,e){var g=e("ProS"),f="\0_ec_interaction_mutex";function A(c,o,i){var n=h(c);n[o]=i}function m(c,o,i){var n=h(c),a=n[o];a===i&&(n[o]=null)}function v(c,o){return!!h(c)[o]}function h(c){return c[f]||(c[f]={})}g.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),_.take=A,_.release=m,_.isTaken=v},pSRY:function(D,_,e){var g=e("QkVE");function f(A){return g(this,A).has(A)}D.exports=f},pmaE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("IwbS"),m=e("DEFe"),v="__seriesMapHighDown",h="__seriesMapCallKey",c=g.extendChartView({type:"map",render:function(n,a,u,r){if(r&&r.type==="mapToggleSelect"&&r.from===this.uid)return;var l=this.group;if(l.removeAll(),n.getHostGeoModel())return;if(r&&r.type==="geoRoam"&&r.componentType==="series"&&r.seriesId===n.id){var t=this._mapDraw;t&&l.add(t.group)}else if(n.needsDrawMap){var t=this._mapDraw||new m(u,!0);l.add(t.group),t.draw(n,a,u,this,r),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;n.get("showLegendSymbol")&&a.getComponent("legend")&&this._renderSymbols(n,a,u)},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(n,a,u){var r=n.originalData,l=this.group;r.each(r.mapDimension("value"),function(t,s){if(isNaN(t))return;var d=r.getItemLayout(s);if(!d||!d.point)return;var p=d.point,b=d.offset,w=new A.Circle({style:{fill:n.getData().getVisual("color")},shape:{cx:p[0]+b*9,cy:p[1],r:3},silent:!0,z2:8+(b?0:A.Z2_EMPHASIS_LIFT+1)});if(!b){var E=n.mainSeries.getData(),S=r.getName(s),x=E.indexOfName(S),T=r.getItemModel(s),L=T.getModel("label"),y=T.getModel("emphasis.label"),C=E.getItemGraphicEl(x),O=f.retrieve2(n.getFormattedLabel(x,"normal"),S),N=f.retrieve2(n.getFormattedLabel(x,"emphasis"),O),k=C[v],F=Math.random();if(!k){k=C[v]={};var B=f.curry(o,!0),H=f.curry(o,!1);C.on("mouseover",B).on("mouseout",H).on("emphasis",B).on("normal",H)}C[h]=F,f.extend(k,{recordVersion:F,circle:w,labelModel:L,hoverLabelModel:y,emphasisText:N,normalText:O}),i(k,!1)}l.add(w)})}});function o(n){var a=this[v];a&&a.recordVersion===this[h]&&i(a,n)}function i(n,a){var u=n.circle,r=n.labelModel,l=n.hoverLabelModel,t=n.emphasisText,s=n.normalText;a?(u.style.extendFrom(A.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),u.__mapOriginalZ2=u.z2,u.z2+=A.Z2_EMPHASIS_LIFT):(A.setTextStyle(u.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),u.dirty(!1),u.__mapOriginalZ2!=null&&(u.z2=u.__mapOriginalZ2,u.__mapOriginalZ2=null))}D.exports=c},pwpV:function(D,_,e){},pzxd:function(D,_,e){var g=e("bYtY"),f=g.retrieve2,A=g.retrieve3,m=g.each,v=g.normalizeCssArray,h=g.isString,c=g.isObject,o=e("6GrX"),i=e("VpOo"),n=e("Xnb7"),a=e("fW2E"),u=e("gut8"),r=u.ContextCachedBy,l=u.WILL_BE_RESTORED,t=o.DEFAULT_FONT,s={left:1,right:1,center:1},d={top:1,bottom:1,middle:1},p=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function E(K){return S(K),m(K.rich,S),K}function S(K){if(K){K.font=o.makeFont(K);var V=K.textAlign;V==="middle"&&(V="center"),K.textAlign=V==null||s[V]?V:"left";var z=K.textVerticalAlign||K.textBaseline;z==="center"&&(z="middle"),K.textVerticalAlign=z==null||d[z]?z:"top";var X=K.textPadding;X&&(K.textPadding=v(K.textPadding))}}function x(K,V,z,X,G,le){X.rich?L(K,V,z,X,G,le):T(K,V,z,X,G,le)}function T(K,V,z,X,G,le){"use strict";var Y=N(X),me,we=!1,pe=V.__attrCachedBy===r.PLAIN_TEXT;le!==l?(le&&(me=le.style,we=!Y&&pe&&me),V.__attrCachedBy=Y?r.NONE:r.PLAIN_TEXT):pe&&(V.__attrCachedBy=r.NONE);var Fe=X.font||t;(!we||Fe!==(me.font||t))&&(V.font=Fe);var Xe=K.__computedFont;K.__styleFont!==Fe&&(K.__styleFont=Fe,Xe=K.__computedFont=V.font);var dt=X.textPadding,Ee=X.textLineHeight,Se=K.__textCotentBlock;(!Se||K.__dirtyText)&&(Se=K.__textCotentBlock=o.parsePlainText(z,Xe,dt,Ee,X.truncate));var at=Se.outerHeight,_e=Se.lines,ce=Se.lineHeight,ee=B(w,K,X,G),se=ee.baseX,ke=ee.baseY,Ce=ee.textAlign||"left",ze=ee.textVerticalAlign;C(V,X,G,se,ke);var Oe=o.adjustTextY(ke,at,ze),ae=se,ge=Oe;if(Y||dt){var Le=o.getWidth(z,Xe),Ze=Le;dt&&(Ze+=dt[1]+dt[3]);var vt=o.adjustTextX(se,Ze,Ce);Y&&k(K,V,X,vt,Oe,Ze,at),dt&&(ae=j(se,Ce,dt),ge+=dt[0])}V.textAlign=Ce,V.textBaseline="middle",V.globalAlpha=X.opacity||1;for(var Ct=0;Ct<p.length;Ct++){var Be=p[Ct],Rt=Be[0],He=Be[1],wt=X[Rt];(!we||wt!==me[Rt])&&(V[He]=a(V,He,wt||Be[2]))}ge+=ce/2;var Ge=X.textStrokeWidth,et=we?me.textStrokeWidth:null,rt=!we||Ge!==et,lt=!we||rt||X.textStroke!==me.textStroke,Ve=W(X.textStroke,Ge),ie=R(X.textFill);if(Ve&&(rt&&(V.lineWidth=Ge),lt&&(V.strokeStyle=Ve)),ie&&((!we||X.textFill!==me.textFill)&&(V.fillStyle=ie)),_e.length===1)Ve&&V.strokeText(_e[0],ae,ge),ie&&V.fillText(_e[0],ae,ge);else for(var Ct=0;Ct<_e.length;Ct++)Ve&&V.strokeText(_e[Ct],ae,ge),ie&&V.fillText(_e[Ct],ae,ge),ge+=ce}function L(K,V,z,X,G,le){le!==l&&(V.__attrCachedBy=r.NONE);var Y=K.__textCotentBlock;(!Y||K.__dirtyText)&&(Y=K.__textCotentBlock=o.parseRichText(z,X)),y(K,V,Y,X,G)}function y(K,V,z,X,G){var le=z.width,Y=z.outerWidth,me=z.outerHeight,we=X.textPadding,pe=B(w,K,X,G),Fe=pe.baseX,Xe=pe.baseY,dt=pe.textAlign,Ee=pe.textVerticalAlign;C(V,X,G,Fe,Xe);var Se=o.adjustTextX(Fe,Y,dt),at=o.adjustTextY(Xe,me,Ee),_e=Se,ce=at;we&&(_e+=we[3],ce+=we[0]);var ee=_e+le;N(X)&&k(K,V,X,Se,at,Y,me);for(var se=0;se<z.lines.length;se++){for(var ke=z.lines[se],Ce=ke.tokens,ze=Ce.length,Oe=ke.lineHeight,ae=ke.width,ge=0,Le=_e,Ze=ee,vt=ze-1,Ct;ge<ze&&(Ct=Ce[ge],!Ct.textAlign||Ct.textAlign==="left");)O(K,V,Ct,X,Oe,ce,Le,"left"),ae-=Ct.width,Le+=Ct.width,ge++;for(;vt>=0&&(Ct=Ce[vt],Ct.textAlign==="right");)O(K,V,Ct,X,Oe,ce,Ze,"right"),ae-=Ct.width,Ze-=Ct.width,vt--;for(Le+=(le-(Le-_e)-(ee-Ze)-ae)/2;ge<=vt;)Ct=Ce[ge],O(K,V,Ct,X,Oe,ce,Le+Ct.width/2,"center"),Le+=Ct.width,ge++;ce+=Oe}}function C(K,V,z,X,G){if(z&&V.textRotation){var le=V.textOrigin;le==="center"?(X=z.width/2+z.x,G=z.height/2+z.y):le&&(X=le[0]+z.x,G=le[1]+z.y),K.translate(X,G),K.rotate(-V.textRotation),K.translate(-X,-G)}}function O(K,V,z,X,G,le,Y,me){var we=X.rich[z.styleName]||{};we.text=z.text;var pe=z.textVerticalAlign,Fe=le+G/2;pe==="top"?Fe=le+z.height/2:pe==="bottom"&&(Fe=le+G-z.height/2),!z.isLineHolder&&N(we)&&k(K,V,we,me==="right"?Y-z.width:me==="center"?Y-z.width/2:Y,Fe-z.height/2,z.width,z.height);var Xe=z.textPadding;Xe&&(Y=j(Y,me,Xe),Fe-=z.height/2-Xe[2]-z.textHeight/2),H(V,"shadowBlur",A(we.textShadowBlur,X.textShadowBlur,0)),H(V,"shadowColor",we.textShadowColor||X.textShadowColor||"transparent"),H(V,"shadowOffsetX",A(we.textShadowOffsetX,X.textShadowOffsetX,0)),H(V,"shadowOffsetY",A(we.textShadowOffsetY,X.textShadowOffsetY,0)),H(V,"textAlign",me),H(V,"textBaseline","middle"),H(V,"font",z.font||t);var dt=W(we.textStroke||X.textStroke,Se),Ee=R(we.textFill||X.textFill),Se=f(we.textStrokeWidth,X.textStrokeWidth);dt&&(H(V,"lineWidth",Se),H(V,"strokeStyle",dt),V.strokeText(z.text,Y,Fe)),Ee&&(H(V,"fillStyle",Ee),V.fillText(z.text,Y,Fe))}function N(K){return!!(K.textBackgroundColor||K.textBorderWidth&&K.textBorderColor)}function k(K,V,z,X,G,le,Y){var me=z.textBackgroundColor,we=z.textBorderWidth,pe=z.textBorderColor,Fe=h(me);if(H(V,"shadowBlur",z.textBoxShadowBlur||0),H(V,"shadowColor",z.textBoxShadowColor||"transparent"),H(V,"shadowOffsetX",z.textBoxShadowOffsetX||0),H(V,"shadowOffsetY",z.textBoxShadowOffsetY||0),Fe||we&&pe){V.beginPath();var Xe=z.textBorderRadius;Xe?i.buildPath(V,{x:X,y:G,width:le,height:Y,r:Xe}):V.rect(X,G,le,Y),V.closePath()}if(Fe)if(H(V,"fillStyle",me),z.fillOpacity!=null){var dt=V.globalAlpha;V.globalAlpha=z.fillOpacity*z.opacity,V.fill(),V.globalAlpha=dt}else V.fill();else if(c(me)){var Ee=me.image;Ee=n.createOrUpdateImage(Ee,null,K,F,me),Ee&&n.isImageReady(Ee)&&V.drawImage(Ee,X,G,le,Y)}if(we&&pe)if(H(V,"lineWidth",we),H(V,"strokeStyle",pe),z.strokeOpacity!=null){var dt=V.globalAlpha;V.globalAlpha=z.strokeOpacity*z.opacity,V.stroke(),V.globalAlpha=dt}else V.stroke()}function F(K,V){V.image=K}function B(K,V,z,X){var G=z.x||0,le=z.y||0,Y=z.textAlign,me=z.textVerticalAlign;if(X){var we=z.textPosition;if(we instanceof Array)G=X.x+U(we[0],X.width),le=X.y+U(we[1],X.height);else{var pe=V&&V.calculateTextPosition?V.calculateTextPosition(b,z,X):o.calculateTextPosition(b,z,X);G=pe.x,le=pe.y,Y=Y||pe.textAlign,me=me||pe.textVerticalAlign}var Fe=z.textOffset;Fe&&(G+=Fe[0],le+=Fe[1])}return K=K||{},K.baseX=G,K.baseY=le,K.textAlign=Y,K.textVerticalAlign=me,K}function H(K,V,z){return K[V]=a(K,V,z),K[V]}function W(K,V){return K==null||V<=0||K==="transparent"||K==="none"?null:K.image||K.colorStops?"#000":K}function R(K){return K==null||K==="none"?null:K.image||K.colorStops?"#000":K}function U(K,V){return typeof K=="string"?K.lastIndexOf("%")>=0?parseFloat(K)/100*V:parseFloat(K):K}function j(K,V,z){return V==="right"?K-z[1]:V==="center"?K+z[3]/2-z[1]/2:K+z[3]}function P(K,V){return K!=null&&(K||V.textBackgroundColor||V.textBorderWidth&&V.textBorderColor||V.textPadding)}_.normalizeTextStyle=E,_.renderText=x,_.getBoxPosition=B,_.getStroke=W,_.getFill=R,_.parsePercent=U,_.needDrawText=P},"q/+u":function(D,_,e){var g=e("ProS"),f=e("9wZj"),A=e("yWXo"),m=e("h8O9");g.extendChartView({type:"scatter",render:function(v,h,c){var o=v.getData(),i=this._updateSymbolDraw(o,v);i.updateData(o,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,h,c){var o=v.getData(),i=this._updateSymbolDraw(o,v);i.incrementalPrepareUpdate(o),this._finished=!1},incrementalRender:function(v,h,c){this._symbolDraw.incrementalUpdate(v,h.getData(),{clipShape:this._getClipShape(h)}),this._finished=v.end===h.getData().count()},updateTransform:function(v,h,c){var o=v.getData();if(this.group.dirty(),!this._finished||o.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=m().reset(v);i.progress&&i.progress({start:0,end:o.count()},o),this._symbolDraw.updateLayout(o)},_getClipShape:function(v){var h=v.coordinateSystem,c=h&&h.getArea&&h.getArea();return v.get("clip",!0)?c:null},_updateSymbolDraw:function(v,h){var c=this._symbolDraw,o=h.pipelineContext,i=o.large;return(!c||i!==this._isLargeDraw)&&(c&&c.remove(),c=this._symbolDraw=i?new A:new f,this._isLargeDraw=i,this.group.removeAll()),this.group.add(c.group),c},remove:function(v,h){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(D,_){var e=["lineStyle","normal","opacity"],g={seriesType:"parallel",reset:function(f,A,m){var v=f.getModel("itemStyle"),h=f.getModel("lineStyle"),c=A.get("color"),o=h.get("color")||v.get("color")||c[f.seriesIndex%c.length],i=f.get("inactiveOpacity"),n=f.get("activeOpacity"),a=f.getModel("lineStyle").getLineStyle(),u=f.coordinateSystem,r=f.getData(),l={normal:a.opacity,active:n,inactive:i};r.setVisual("color",o);function t(s,d){u.eachActiveState(d,function(p,b){var w=l[p];if(p==="normal"&&d.hasItemOption){var E=d.getItemModel(b).get(e,!0);E!=null&&(w=E)}d.setItemVisual(b,"opacity",w)},s.start,s.end)}return{progress:t}}};D.exports=g},q4HE:function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=g+f+A,v="\\ufe0e\\ufe0f",h="["+e+"]",c="["+m+"]",o="\\ud83c[\\udffb-\\udfff]",i="(?:"+c+"|"+o+")",n="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+r+"(?:"+[n,a,u].join("|")+")"+t+l+")*",d=t+l+s,p="(?:"+[n+c+"?",c,a,u,h].join("|")+")",b=RegExp(o+"(?="+o+")|"+p+d,"g");function w(E){for(var S=b.lastIndex=0;b.test(E);)++S;return S}D.exports=w},q7KB:function(D,_,e){},qH13:function(D,_,e){var g=e("ItGF"),f=e("QBsz"),A=f.applyTransform,m=e("mFDi"),v=e("Qe9p"),h=e("6GrX"),c=e("pzxd"),o=e("ni6a"),i=e("Gev7"),n=e("Dagg"),a=e("dqUG"),u=e("y+Vt"),r=e("IMiH"),l=e("QuXc"),t=e("06Qe"),s=r.CMD,d=Math.round,p=Math.sqrt,b=Math.abs,w=Math.cos,E=Math.sin,S=Math.max;if(!g.canvasSupported){var x=",",T="progid:DXImageTransform.Microsoft",L=21600,y=L/2,C=1e5,O=1e3,N=function(ke){ke.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",ke.coordsize=L+","+L,ke.coordorigin="0,0"},k=function(ke){return String(ke).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},F=function(ke,Ce,ze){return"rgb("+[ke,Ce,ze].join(",")+")"},B=function(ke,Ce){Ce&&ke&&Ce.parentNode!==ke&&ke.appendChild(Ce)},H=function(ke,Ce){Ce&&ke&&Ce.parentNode===ke&&ke.removeChild(Ce)},W=function(ke,Ce,ze){return(parseFloat(ke)||0)*C+(parseFloat(Ce)||0)*O+ze},R=c.parsePercent,U=function(ke,Ce,ze){var Oe=v.parse(Ce);ze=+ze,isNaN(ze)&&(ze=1),Oe&&(ke.color=F(Oe[0],Oe[1],Oe[2]),ke.opacity=ze*Oe[3])},j=function(ke){var Ce=v.parse(ke);return[F(Ce[0],Ce[1],Ce[2]),Ce[3]]},P=function(ke,Ce,ze){var Oe=Ce.fill;if(Oe!=null)if(Oe instanceof l){var ae,ge=0,Le=[0,0],Ze=0,vt=1,Ct=ze.getBoundingRect(),Be=Ct.width,Rt=Ct.height;if(Oe.type==="linear"){ae="gradient";var He=ze.transform,wt=[Oe.x*Be,Oe.y*Rt],Ge=[Oe.x2*Be,Oe.y2*Rt];He&&(A(wt,wt,He),A(Ge,Ge,He));var et=Ge[0]-wt[0],rt=Ge[1]-wt[1];ge=Math.atan2(et,rt)*180/Math.PI,ge<0&&(ge+=360),ge<1e-6&&(ge=0)}else{ae="gradientradial";var wt=[Oe.x*Be,Oe.y*Rt],He=ze.transform,lt=ze.scale,Ve=Be,ie=Rt;Le=[(wt[0]-Ct.x)/Ve,(wt[1]-Ct.y)/ie],He&&A(wt,wt,He),Ve/=lt[0]*L,ie/=lt[1]*L;var $=S(Ve,ie);Ze=2*0/$,vt=2*Oe.r/$-Ze}var it=Oe.colorStops.slice();it.sort(function(ve,fe){return ve.offset-fe.offset});for(var Qe=it.length,ye=[],Zt=[],ht=0;ht<Qe;ht++){var ct=it[ht],yt=j(ct.color);Zt.push(ct.offset*vt+Ze+" "+yt[0]),(ht===0||ht===Qe-1)&&ye.push(yt)}if(Qe>=2){var It=ye[0][0],or=ye[1][0],Bt=ye[0][1]*Ce.opacity,Ae=ye[1][1]*Ce.opacity;ke.type=ae,ke.method="none",ke.focus="100%",ke.angle=ge,ke.color=It,ke.color2=or,ke.colors=Zt.join(","),ke.opacity=Ae,ke.opacity2=Bt}ae==="radial"&&(ke.focusposition=Le.join(","))}else U(ke,Oe,Ce.opacity)},K=function(ke,Ce){Ce.lineDash&&(ke.dashstyle=Ce.lineDash.join(" ")),Ce.stroke!=null&&!(Ce.stroke instanceof l)&&U(ke,Ce.stroke,Ce.opacity)},V=function(ke,Ce,ze,Oe){var ae=Ce==="fill",ge=ke.getElementsByTagName(Ce)[0];ze[Ce]!=null&&ze[Ce]!=="none"&&(ae||!ae&&ze.lineWidth)?(ke[ae?"filled":"stroked"]="true",ze[Ce]instanceof l&&H(ke,ge),ge||(ge=t.createNode(Ce)),ae?P(ge,ze,Oe):K(ge,ze),B(ke,ge)):(ke[ae?"filled":"stroked"]="false",H(ke,ge))},z=[[],[],[]],X=function(ke,Ce){var ze=s.M,Oe=s.C,ae=s.L,ge=s.A,Le=s.Q,Ze=[],vt,Ct,Be,Rt,He,wt,Ge=ke.data,et=ke.len();for(Rt=0;Rt<et;){Be=Ge[Rt++],Ct="",vt=0;switch(Be){case ze:Ct=" m ",vt=1,He=Ge[Rt++],wt=Ge[Rt++],z[0][0]=He,z[0][1]=wt;break;case ae:Ct=" l ",vt=1,He=Ge[Rt++],wt=Ge[Rt++],z[0][0]=He,z[0][1]=wt;break;case Le:case Oe:Ct=" c ",vt=3;var rt=Ge[Rt++],lt=Ge[Rt++],Ve=Ge[Rt++],ie=Ge[Rt++],$,it;Be===Le?($=Ve,it=ie,Ve=(Ve+2*rt)/3,ie=(ie+2*lt)/3,rt=(He+2*rt)/3,lt=(wt+2*lt)/3):($=Ge[Rt++],it=Ge[Rt++]),z[0][0]=rt,z[0][1]=lt,z[1][0]=Ve,z[1][1]=ie,z[2][0]=$,z[2][1]=it,He=$,wt=it;break;case ge:var Qe=0,ye=0,Zt=1,ht=1,ct=0;Ce&&(Qe=Ce[4],ye=Ce[5],Zt=p(Ce[0]*Ce[0]+Ce[1]*Ce[1]),ht=p(Ce[2]*Ce[2]+Ce[3]*Ce[3]),ct=Math.atan2(-Ce[1]/ht,Ce[0]/Zt));var yt=Ge[Rt++],It=Ge[Rt++],or=Ge[Rt++],Bt=Ge[Rt++],Ae=Ge[Rt++]+ct,ve=Ge[Rt++]+Ae+ct;Rt++;var fe=Ge[Rt++],ue=yt+w(Ae)*or,Ne=It+E(Ae)*Bt,rt=yt+w(ve)*or,lt=It+E(ve)*Bt,je=fe?" wa ":" at ";Math.abs(ue-rt)<1e-4&&(Math.abs(ve-Ae)>.01?fe&&(ue+=270/L):Math.abs(Ne-It)<1e-4?fe&&ue<yt||!fe&&ue>yt?lt-=270/L:lt+=270/L:fe&&Ne<It||!fe&&Ne>It?rt+=270/L:rt-=270/L),Ze.push(je,d(((yt-or)*Zt+Qe)*L-y),x,d(((It-Bt)*ht+ye)*L-y),x,d(((yt+or)*Zt+Qe)*L-y),x,d(((It+Bt)*ht+ye)*L-y),x,d((ue*Zt+Qe)*L-y),x,d((Ne*ht+ye)*L-y),x,d((rt*Zt+Qe)*L-y),x,d((lt*ht+ye)*L-y)),He=rt,wt=lt;break;case s.R:var Ke=z[0],Ye=z[1];Ke[0]=Ge[Rt++],Ke[1]=Ge[Rt++],Ye[0]=Ke[0]+Ge[Rt++],Ye[1]=Ke[1]+Ge[Rt++],Ce&&(A(Ke,Ke,Ce),A(Ye,Ye,Ce)),Ke[0]=d(Ke[0]*L-y),Ye[0]=d(Ye[0]*L-y),Ke[1]=d(Ke[1]*L-y),Ye[1]=d(Ye[1]*L-y),Ze.push(" m ",Ke[0],x,Ke[1]," l ",Ye[0],x,Ke[1]," l ",Ye[0],x,Ye[1]," l ",Ke[0],x,Ye[1]);break;case s.Z:Ze.push(" x ")}if(vt>0){Ze.push(Ct);for(var Pe=0;Pe<vt;Pe++){var nt=z[Pe];Ce&&A(nt,nt,Ce),Ze.push(d(nt[0]*L-y),x,d(nt[1]*L-y),Pe<vt-1?x:"")}}}return Ze.join("")};u.prototype.brushVML=function(se){var ke=this.style,Ce=this._vmlEl;Ce||(Ce=t.createNode("shape"),N(Ce),this._vmlEl=Ce),V(Ce,"fill",ke,this),V(Ce,"stroke",ke,this);var ze=this.transform,Oe=ze!=null,ae=Ce.getElementsByTagName("stroke")[0];if(ae){var ge=ke.lineWidth;if(Oe&&!ke.strokeNoScale){var Le=ze[0]*ze[3]-ze[1]*ze[2];ge*=p(b(Le))}ae.weight=ge+"px"}var Ze=this.path||(this.path=new r);this.__dirtyPath&&(Ze.beginPath(),Ze.subPixelOptimize=!1,this.buildPath(Ze,this.shape),Ze.toStatic(),this.__dirtyPath=!1),Ce.path=X(Ze,this.transform),Ce.style.zIndex=W(this.zlevel,this.z,this.z2),B(se,Ce),ke.text!=null?this.drawRectText(se,this.getBoundingRect()):this.removeRectText(se)},u.prototype.onRemove=function(se){H(se,this._vmlEl),this.removeRectText(se)},u.prototype.onAdd=function(se){B(se,this._vmlEl),this.appendRectText(se)};var G=function(ke){return typeof ke=="object"&&ke.tagName&&ke.tagName.toUpperCase()==="IMG"};n.prototype.brushVML=function(se){var ke=this.style,Ce=ke.image,ze,Oe;if(G(Ce)){var ae=Ce.src;if(ae===this._imageSrc)ze=this._imageWidth,Oe=this._imageHeight;else{var ge=Ce.runtimeStyle,Le=ge.width,Ze=ge.height;ge.width="auto",ge.height="auto",ze=Ce.width,Oe=Ce.height,ge.width=Le,ge.height=Ze,this._imageSrc=ae,this._imageWidth=ze,this._imageHeight=Oe}Ce=ae}else Ce===this._imageSrc&&(ze=this._imageWidth,Oe=this._imageHeight);if(!Ce)return;var vt=ke.x||0,Ct=ke.y||0,Be=ke.width,Rt=ke.height,He=ke.sWidth,wt=ke.sHeight,Ge=ke.sx||0,et=ke.sy||0,rt=He&&wt,lt=this._vmlEl;lt||(lt=t.doc.createElement("div"),N(lt),this._vmlEl=lt);var Ve=lt.style,ie=!1,$,it=1,Qe=1;if(this.transform&&($=this.transform,it=p($[0]*$[0]+$[1]*$[1]),Qe=p($[2]*$[2]+$[3]*$[3]),ie=$[1]||$[2]),ie){var ye=[vt,Ct],Zt=[vt+Be,Ct],ht=[vt,Ct+Rt],ct=[vt+Be,Ct+Rt];A(ye,ye,$),A(Zt,Zt,$),A(ht,ht,$),A(ct,ct,$);var yt=S(ye[0],Zt[0],ht[0],ct[0]),It=S(ye[1],Zt[1],ht[1],ct[1]),or=[];or.push("M11=",$[0]/it,x,"M12=",$[2]/Qe,x,"M21=",$[1]/it,x,"M22=",$[3]/Qe,x,"Dx=",d(vt*it+$[4]),x,"Dy=",d(Ct*Qe+$[5])),Ve.padding="0 "+d(yt)+"px "+d(It)+"px 0",Ve.filter=T+".Matrix("+or.join("")+", SizingMethod=clip)"}else $&&(vt=vt*it+$[4],Ct=Ct*Qe+$[5]),Ve.filter="",Ve.left=d(vt)+"px",Ve.top=d(Ct)+"px";var Bt=this._imageEl,Ae=this._cropEl;Bt||(Bt=t.doc.createElement("div"),this._imageEl=Bt);var ve=Bt.style;if(rt){if(ze&&Oe)ve.width=d(it*ze*Be/He)+"px",ve.height=d(Qe*Oe*Rt/wt)+"px";else{var fe=new Image,ue=this;fe.onload=function(){fe.onload=null,ze=fe.width,Oe=fe.height,ve.width=d(it*ze*Be/He)+"px",ve.height=d(Qe*Oe*Rt/wt)+"px",ue._imageWidth=ze,ue._imageHeight=Oe,ue._imageSrc=Ce},fe.src=Ce}Ae||(Ae=t.doc.createElement("div"),Ae.style.overflow="hidden",this._cropEl=Ae);var Ne=Ae.style;Ne.width=d((Be+Ge*Be/He)*it),Ne.height=d((Rt+et*Rt/wt)*Qe),Ne.filter=T+".Matrix(Dx="+-Ge*Be/He*it+",Dy="+-et*Rt/wt*Qe+")",Ae.parentNode||lt.appendChild(Ae),Bt.parentNode!==Ae&&Ae.appendChild(Bt)}else ve.width=d(it*Be)+"px",ve.height=d(Qe*Rt)+"px",lt.appendChild(Bt),Ae&&Ae.parentNode&&(lt.removeChild(Ae),this._cropEl=null);var je="",Ke=ke.opacity;Ke<1&&(je+=".Alpha(opacity="+d(Ke*100)+") "),je+=T+".AlphaImageLoader(src="+Ce+", SizingMethod=scale)",ve.filter=je,lt.style.zIndex=W(this.zlevel,this.z,this.z2),B(se,lt),ke.text!=null&&this.drawRectText(se,this.getBoundingRect())},n.prototype.onRemove=function(se){H(se,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(se)},n.prototype.onAdd=function(se){B(se,this._vmlEl),this.appendRectText(se)};var le="normal",Y={},me=0,we=100,pe=document.createElement("div"),Fe=function(ke){var Ce=Y[ke];if(!Ce){me>we&&(me=0,Y={});var ze=pe.style,Oe;try{ze.font=ke,Oe=ze.fontFamily.split(",")[0]}catch(ae){}Ce={style:ze.fontStyle||le,variant:ze.fontVariant||le,weight:ze.fontWeight||le,size:parseFloat(ze.fontSize||12)|0,family:Oe||"Microsoft YaHei"},Y[ke]=Ce,me++}return Ce},Xe;h.$override("measureText",function(se,ke){var Ce=t.doc;Xe||(Xe=Ce.createElement("div"),Xe.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Xe));try{Xe.style.font=ke}catch(ze){}return Xe.innerHTML="",Xe.appendChild(Ce.createTextNode(se)),{width:Xe.offsetWidth}});for(var dt=new m,Ee=function(ke,Ce,ze,Oe){var ae=this.style;this.__dirty&&c.normalizeTextStyle(ae,!0);var ge=ae.text;if(ge!=null&&(ge+=""),!ge)return;if(ae.rich){var Le=h.parseRichText(ge,ae);ge=[];for(var Ze=0;Ze<Le.lines.length;Ze++){for(var vt=Le.lines[Ze].tokens,Ct=[],Be=0;Be<vt.length;Be++)Ct.push(vt[Be].text);ge.push(Ct.join(""))}ge=ge.join(`
`)}var Rt,He,wt=ae.textAlign,Ge=ae.textVerticalAlign,et=Fe(ae.font),rt=et.style+" "+et.variant+" "+et.weight+" "+et.size+'px "'+et.family+'"';ze=ze||h.getBoundingRect(ge,rt,wt,Ge,ae.textPadding,ae.textLineHeight);var lt=this.transform;if(lt&&!Oe&&(dt.copy(Ce),dt.applyTransform(lt),Ce=dt),Oe)Rt=Ce.x,He=Ce.y;else{var Ve=ae.textPosition;if(Ve instanceof Array)Rt=Ce.x+R(Ve[0],Ce.width),He=Ce.y+R(Ve[1],Ce.height),wt=wt||"left";else{var ie=this.calculateTextPosition?this.calculateTextPosition({},ae,Ce):h.calculateTextPosition({},ae,Ce);Rt=ie.x,He=ie.y,wt=wt||ie.textAlign,Ge=Ge||ie.textVerticalAlign}}Rt=h.adjustTextX(Rt,ze.width,wt),He=h.adjustTextY(He,ze.height,Ge),He+=ze.height/2;var $=t.createNode,it=this._textVmlEl,Qe,ye,Zt;it?(Zt=it.firstChild,Qe=Zt.nextSibling,ye=Qe.nextSibling):(it=$("line"),Qe=$("path"),ye=$("textpath"),Zt=$("skew"),ye.style["v-text-align"]="left",N(it),Qe.textpathok=!0,ye.on=!0,it.from="0 0",it.to="1000 0.05",B(it,Zt),B(it,Qe),B(it,ye),this._textVmlEl=it);var ht=[Rt,He],ct=it.style;lt&&Oe?(A(ht,ht,lt),Zt.on=!0,Zt.matrix=lt[0].toFixed(3)+x+lt[2].toFixed(3)+x+lt[1].toFixed(3)+x+lt[3].toFixed(3)+",0,0",Zt.offset=(d(ht[0])||0)+","+(d(ht[1])||0),Zt.origin="0 0",ct.left="0px",ct.top="0px"):(Zt.on=!1,ct.left=d(Rt)+"px",ct.top=d(He)+"px"),ye.string=k(ge);try{ye.style.font=rt}catch(yt){}V(it,"fill",{fill:ae.textFill,opacity:ae.opacity},this),V(it,"stroke",{stroke:ae.textStroke,opacity:ae.opacity,lineDash:ae.lineDash||null},this),it.style.zIndex=W(this.zlevel,this.z,this.z2),B(ke,it)},Se=function(ke){H(ke,this._textVmlEl),this._textVmlEl=null},at=function(ke){B(ke,this._textVmlEl)},_e=[o,i,n,u,a],ce=0;ce<_e.length;ce++){var ee=_e[ce].prototype;ee.drawRectText=Ee,ee.removeRectText=Se,ee.appendRectText=at}a.prototype.brushVML=function(se){var ke=this.style;ke.text!=null?this.drawRectText(se,{x:ke.x||0,y:ke.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(se)},a.prototype.onRemove=function(se){this.removeRectText(se)},a.prototype.onAdd=function(se){this.appendRectText(se)}}},qJCg:function(D,_,e){var g=e("BlVb"),f=e("mFDi"),A=e("IwbS"),m=A.linePolygonIntersect,v={lineX:h(0),lineY:h(1),rect:{point:function(i,n,a){return i&&a.boundingRect.contain(i[0],i[1])},rect:function(i,n,a){return i&&a.boundingRect.intersect(i)}},polygon:{point:function(i,n,a){return i&&a.boundingRect.contain(i[0],i[1])&&g.contain(a.range,i[0],i[1])},rect:function(i,n,a){var u=a.range;if(!i||u.length<=1)return!1;var r=i.x,l=i.y,t=i.width,s=i.height,d=u[0];if(g.contain(u,r,l)||g.contain(u,r+t,l)||g.contain(u,r,l+s)||g.contain(u,r+t,l+s)||f.create(i).contain(d[0],d[1])||m(r,l,r+t,l,u)||m(r,l,r,l+s,u)||m(r+t,l,r+t,l+s,u)||m(r,l+s,r+t,l+s,u))return!0}}};function h(i){var n=["x","y"],a=["width","height"];return{point:function(u,r,l){if(u){var t=l.range,s=u[i];return c(s,t)}},rect:function(u,r,l){if(u){var t=l.range,s=[u[n[i]],u[n[i]]+u[a[i]]];return s[1]<s[0]&&s.reverse(),c(s[0],t)||c(s[1],t)||c(t[0],s)||c(t[1],s)}}}}function c(i,n){return n[0]<=i&&i<=n[1]}var o=v;D.exports=o},qMZE:function(D,_,e){var g=e("JEkh"),f=g.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});D.exports=f},qNPg:function(D,_,e){"use strict";e.d(_,"a",function(){return z});var g=e("rePB"),f=e("VTBJ"),A=e("KQm4"),m=e("ODXe"),v=e("Ff2n"),h=e("q1tI"),c=e("4IlW"),o=e("TSYQ"),i=e.n(o),n=e("6cGi"),a=e("bX4T"),u=e("8XRh"),r=e("8OUc"),l=e("c+Xe"),t=function(G,le){var Y=G.prefixCls,me=G.id,we=G.inputElement,pe=G.disabled,Fe=G.tabIndex,Xe=G.autoFocus,dt=G.autoComplete,Ee=G.editable,Se=G.accessibilityIndex,at=G.value,_e=G.onKeyDown,ce=G.onMouseDown,ee=G.onChange,se=G.onPaste,ke=G.onCompositionStart,Ce=G.onCompositionEnd,ze=G.open,Oe=G.attrs,ae=we||h.createElement("input",null),ge=ae,Le=ge.ref,Ze=ge.props,vt=Ze.onKeyDown,Ct=Ze.onChange,Be=Ze.onMouseDown,Rt=Ze.onCompositionStart,He=Ze.onCompositionEnd,wt=Ze.style;return ae=h.cloneElement(ae,Object(f.a)(Object(f.a)({id:me,ref:Object(l.a)(le,Le),disabled:pe,tabIndex:Fe,autoComplete:dt||"off",autoFocus:Xe,className:"".concat(Y,"-selection-search-input"),style:Object(f.a)(Object(f.a)({},wt),{},{opacity:Ee?null:0}),role:"combobox","aria-expanded":ze,"aria-haspopup":"listbox","aria-owns":"".concat(me,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(me,"_list"),"aria-activedescendant":"".concat(me,"_list_").concat(Se)},Oe),{},{value:Ee?at:"",readOnly:!Ee,unselectable:Ee?null:"on",onKeyDown:function(et){_e(et),vt&&vt(et)},onMouseDown:function(et){ce(et),Be&&Be(et)},onChange:function(et){ee(et),Ct&&Ct(et)},onCompositionStart:function(et){ke(et),Rt&&Rt(et)},onCompositionEnd:function(et){Ce(et),He&&He(et)},onPaste:se})),ae},s=h.forwardRef(t);s.displayName="Input";var d=s,p=e("WKfj");function b(X,G){p.b?h.useLayoutEffect(X,G):h.useEffect(X,G)}var w="__RC_SELECT_MAX_REST_COUNT__",E=function(G){var le=G.id,Y=G.prefixCls,me=G.values,we=G.open,pe=G.searchValue,Fe=G.inputRef,Xe=G.placeholder,dt=G.disabled,Ee=G.mode,Se=G.showSearch,at=G.autoFocus,_e=G.autoComplete,ce=G.accessibilityIndex,ee=G.tabIndex,se=G.removeIcon,ke=G.choiceTransitionName,Ce=G.maxTagCount,ze=G.maxTagTextLength,Oe=G.maxTagPlaceholder,ae=Oe===void 0?function(yt){return"+ ".concat(yt.length," ...")}:Oe,ge=G.tagRender,Le=G.onSelect,Ze=G.onInputChange,vt=G.onInputPaste,Ct=G.onInputKeyDown,Be=G.onInputMouseDown,Rt=G.onInputCompositionStart,He=G.onInputCompositionEnd,wt=h.useState(!1),Ge=Object(m.a)(wt,2),et=Ge[0],rt=Ge[1],lt=h.useRef(null),Ve=h.useState(0),ie=Object(m.a)(Ve,2),$=ie[0],it=ie[1];h.useEffect(function(){rt(!0)},[]);var Qe=we||Ee==="tags"?pe:"",ye=Ee==="tags"||we&&Se;b(function(){it(lt.current.scrollWidth)},[Qe]);var Zt=me,ht;typeof Ce=="number"&&(ht=me.length-Ce,Zt=me.slice(0,Ce)),typeof ze=="number"&&(Zt=Zt.map(function(yt){var It=yt.label,or=Object(v.a)(yt,["label"]),Bt=It;if(typeof It=="string"||typeof It=="number"){var Ae=String(Bt);Ae.length>ze&&(Bt="".concat(Ae.slice(0,ze),"..."))}return Object(f.a)(Object(f.a)({},or),{},{label:Bt})})),ht>0&&Zt.push({key:w,label:typeof ae=="function"?ae(me.slice(Ce)):ae});var ct=h.createElement(u.CSSMotionList,{component:!1,keys:Zt,motionName:ke,motionAppear:et},function(yt){var It=yt.key,or=yt.label,Bt=yt.value,Ae=yt.disabled,ve=yt.className,fe=yt.style,ue=It||Bt,Ne=It!==w&&!Ae,je=function(Pe){Pe.preventDefault(),Pe.stopPropagation()},Ke=function(Pe){Pe&&Pe.stopPropagation(),Le(Bt,{selected:!1})};return typeof ge=="function"?h.createElement("span",{key:ue,onMouseDown:je,className:ve,style:fe},ge({label:or,value:Bt,disabled:Ae,closable:Ne,onClose:Ke})):h.createElement("span",{key:ue,className:i()(ve,"".concat(Y,"-selection-item"),Object(g.a)({},"".concat(Y,"-selection-item-disabled"),Ae)),style:fe},h.createElement("span",{className:"".concat(Y,"-selection-item-content")},or),Ne&&h.createElement(r.a,{className:"".concat(Y,"-selection-item-remove"),onMouseDown:je,onClick:Ke,customizeIcon:se},"\xD7"))});return h.createElement(h.Fragment,null,ct,h.createElement("span",{className:"".concat(Y,"-selection-search"),style:{width:$}},h.createElement(d,{ref:Fe,open:we,prefixCls:Y,id:le,inputElement:null,disabled:dt,autoFocus:at,autoComplete:_e,editable:ye,accessibilityIndex:ce,value:Qe,onKeyDown:Ct,onMouseDown:Be,onChange:Ze,onPaste:vt,onCompositionStart:Rt,onCompositionEnd:He,tabIndex:ee,attrs:Object(a.a)(G,!0)}),h.createElement("span",{ref:lt,className:"".concat(Y,"-selection-search-mirror"),"aria-hidden":!0},Qe,"\xA0")),!me.length&&!Qe&&h.createElement("span",{className:"".concat(Y,"-selection-placeholder")},Xe))},S=E,x=function(G){var le=G.inputElement,Y=G.prefixCls,me=G.id,we=G.inputRef,pe=G.disabled,Fe=G.autoFocus,Xe=G.autoComplete,dt=G.accessibilityIndex,Ee=G.mode,Se=G.open,at=G.values,_e=G.placeholder,ce=G.tabIndex,ee=G.showSearch,se=G.searchValue,ke=G.activeValue,Ce=G.onInputKeyDown,ze=G.onInputMouseDown,Oe=G.onInputChange,ae=G.onInputPaste,ge=G.onInputCompositionStart,Le=G.onInputCompositionEnd,Ze=h.useState(!1),vt=Object(m.a)(Ze,2),Ct=vt[0],Be=vt[1],Rt=Ee==="combobox",He=Rt||ee&&Se,wt=at[0],Ge=se||"";Rt&&ke&&!Ct&&(Ge=ke),h.useEffect(function(){Rt&&Be(!1)},[Rt,ke]);var et=Ee!=="combobox"&&!Se?!1:!!Ge,rt=wt&&(typeof wt.label=="string"||typeof wt.label=="number")?wt.label.toString():void 0;return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(Y,"-selection-search")},h.createElement(d,{ref:we,prefixCls:Y,id:me,open:Se,inputElement:le,disabled:pe,autoFocus:Fe,autoComplete:Xe,editable:He,accessibilityIndex:dt,value:Ge,onKeyDown:Ce,onMouseDown:ze,onChange:function(Ve){Be(!0),Oe(Ve)},onPaste:ae,onCompositionStart:ge,onCompositionEnd:Le,tabIndex:ce,attrs:Object(a.a)(G,!0)})),!Rt&&wt&&!et&&h.createElement("span",{className:"".concat(Y,"-selection-item"),title:rt},wt.label),!wt&&!et&&h.createElement("span",{className:"".concat(Y,"-selection-placeholder")},_e))},T=x;function L(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,G=h.useRef(null),le=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(le.current)}},[]);function Y(me){(me||G.current===null)&&(G.current=me),window.clearTimeout(le.current),le.current=window.setTimeout(function(){G.current=null},X)}return[function(){return G.current},Y]}var y=function(G,le){var Y=Object(h.useRef)(null),me=Object(h.useRef)(!1),we=G.prefixCls,pe=G.multiple,Fe=G.open,Xe=G.mode,dt=G.showSearch,Ee=G.tokenWithEnter,Se=G.onSearch,at=G.onSearchSubmit,_e=G.onToggleOpen,ce=G.onInputKeyDown,ee=G.domRef;h.useImperativeHandle(le,function(){return{focus:function(){Y.current.focus()},blur:function(){Y.current.blur()}}});var se=L(0),ke=Object(m.a)(se,2),Ce=ke[0],ze=ke[1],Oe=function(et){var rt=et.which;(rt===c.a.UP||rt===c.a.DOWN)&&et.preventDefault(),ce&&ce(et),rt===c.a.ENTER&&Xe==="tags"&&!me.current&&!Fe&&at(et.target.value),[c.a.SHIFT,c.a.TAB,c.a.BACKSPACE,c.a.ESC].includes(rt)||_e(!0)},ae=function(){ze(!0)},ge=Object(h.useRef)(null),Le=function(et){Se(et,!0,me.current)!==!1&&_e(!0)},Ze=function(){me.current=!0},vt=function(){me.current=!1},Ct=function(et){var rt=et.target.value;if(Ee&&ge.current&&/[\r\n]/.test(ge.current)){var lt=ge.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");rt=rt.replace(lt,ge.current)}ge.current=null,Le(rt)},Be=function(et){var rt=et.clipboardData,lt=rt.getData("text");ge.current=lt},Rt=function(et){var rt=Ce();if(et.target!==Y.current){rt||et.preventDefault();var lt=document.body.style.msTouchAction!==void 0;lt?setTimeout(function(){Y.current.focus()}):Y.current.focus()}(Xe!=="combobox"&&(!dt||!rt)||!Fe)&&(Fe&&Se("",!0,!1),_e())},He={inputRef:Y,onInputKeyDown:Oe,onInputMouseDown:ae,onInputChange:Ct,onInputPaste:Be,onInputCompositionStart:Ze,onInputCompositionEnd:vt},wt=pe?h.createElement(S,Object.assign({},G,He)):h.createElement(T,Object.assign({},G,He));return h.createElement("div",{ref:ee,className:"".concat(we,"-selector"),onMouseDown:Rt},wt)},C=h.forwardRef(y);C.displayName="Selector";var O=C,N=e("uciX"),k=function(G){var le=typeof G!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:le,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:le,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:le,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:le,adjustY:1}}}},F=function(G,le){var Y=G.prefixCls,me=G.disabled,we=G.visible,pe=G.children,Fe=G.popupElement,Xe=G.containerWidth,dt=G.animation,Ee=G.transitionName,Se=G.dropdownStyle,at=G.dropdownClassName,_e=G.direction,ce=_e===void 0?"ltr":_e,ee=G.dropdownMatchSelectWidth,se=ee===void 0?!0:ee,ke=G.dropdownRender,Ce=G.dropdownAlign,ze=G.getPopupContainer,Oe=G.empty,ae=G.getTriggerDOMNode,ge=Object(v.a)(G,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Le="".concat(Y,"-dropdown"),Ze=Fe;ke&&(Ze=ke(Fe));var vt=h.useMemo(function(){return k(se)},[se]),Ct=dt?"".concat(Le,"-").concat(dt):Ee,Be=h.useRef(null);h.useImperativeHandle(le,function(){return{getPopupElement:function(){return Be.current}}});var Rt=Object(f.a)({minWidth:Xe},Se);return typeof se=="number"?Rt.width=se:se&&(Rt.width=Xe),h.createElement(N.a,Object.assign({},ge,{showAction:[],hideAction:[],popupPlacement:ce==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:vt,prefixCls:Le,popupTransitionName:Ct,popup:h.createElement("div",{ref:Be},Ze),popupAlign:Ce,popupVisible:we,getPopupContainer:ze,popupClassName:i()(at,Object(g.a)({},"".concat(Le,"-empty"),Oe)),popupStyle:Rt,getTriggerDOMNode:ae}),pe)},B=h.forwardRef(F);B.displayName="SelectTrigger";var H=B,W=e("wPlo");function R(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,G=h.useState(!1),le=Object(m.a)(G,2),Y=le[0],me=le[1],we=h.useRef(null),pe=function(){window.clearTimeout(we.current)};h.useEffect(function(){return pe},[]);var Fe=function(dt,Ee){pe(),we.current=window.setTimeout(function(){me(dt),Ee&&Ee()},X)};return[Y,Fe,pe]}var U=e("2Qr1");function j(X,G,le){var Y=h.useRef(null);Y.current={elements:X.filter(function(me){return me}),open:G,triggerOpen:le},h.useEffect(function(){function me(we){var pe=we.target;Y.current.open&&Y.current.elements.every(function(Fe){return!Fe.contains(pe)&&Fe!==pe})&&Y.current.triggerOpen(!1)}return window.addEventListener("mousedown",me),function(){return window.removeEventListener("mousedown",me)}},[])}function P(X){var G=h.useRef(X),le=h.useMemo(function(){var Y=new Map;G.current.forEach(function(we){var pe=we.value,Fe=we.label;pe!==Fe&&Y.set(pe,Fe)});var me=X.map(function(we){var pe=Y.get(we.value);return we.value===we.label&&pe?Object(f.a)(Object(f.a)({},we),{},{label:pe}):we});return G.current=me,me},[X]);return le}function K(X,G){var le=h.useRef(null),Y=h.useMemo(function(){var we=new Map;return G.forEach(function(pe){var Fe=pe.data.value;we.set(Fe,pe)}),we},[X,G]);le.current=Y;var me=function(pe){return pe.map(function(Fe){return le.current.get(Fe)}).filter(Boolean)};return me}var V=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function z(X){var G=X.prefixCls,le=X.components.optionList,Y=X.convertChildrenToData,me=X.flattenOptions,we=X.getLabeledValue,pe=X.filterOptions,Fe=X.isValueDisabled,Xe=X.findValueOption,dt=X.warningProps,Ee=X.fillOptionsWithMissingValue,Se=X.omitDOMProps;function at(ce,ee){var se,ke=ce.prefixCls,Ce=ke===void 0?G:ke,ze=ce.className,Oe=ce.id,ae=ce.open,ge=ce.defaultOpen,Le=ce.options,Ze=ce.children,vt=ce.mode,Ct=ce.value,Be=ce.defaultValue,Rt=ce.labelInValue,He=ce.showSearch,wt=ce.inputValue,Ge=ce.searchValue,et=ce.filterOption,rt=ce.optionFilterProp,lt=rt===void 0?"value":rt,Ve=ce.autoClearSearchValue,ie=Ve===void 0?!0:Ve,$=ce.onSearch,it=ce.allowClear,Qe=ce.clearIcon,ye=ce.showArrow,Zt=ce.inputIcon,ht=ce.menuItemSelectedIcon,ct=ce.disabled,yt=ce.loading,It=ce.defaultActiveFirstOption,or=ce.notFoundContent,Bt=or===void 0?"Not Found":or,Ae=ce.optionLabelProp,ve=ce.backfill,fe=ce.getInputElement,ue=ce.getPopupContainer,Ne=ce.listHeight,je=Ne===void 0?200:Ne,Ke=ce.listItemHeight,Ye=Ke===void 0?20:Ke,Pe=ce.animation,nt=ce.transitionName,At=ce.virtual,Ot=ce.dropdownStyle,ne=ce.dropdownClassName,he=ce.dropdownMatchSelectWidth,Q=ce.dropdownRender,te=ce.dropdownAlign,be=ce.showAction,Ie=be===void 0?[]:be,Re=ce.direction,$e=ce.tokenSeparators,gt=ce.tagRender,Wt=ce.onPopupScroll,$t=ce.onDropdownVisibleChange,Dt=ce.onFocus,Kt=ce.onBlur,Gt=ce.onKeyUp,Qt=ce.onKeyDown,Mt=ce.onMouseDown,dr=ce.onChange,er=ce.onSelect,st=ce.onDeselect,xt=ce.onClear,ut=ce.internalProps,pt=ut===void 0?{}:ut,_t=Object(v.a)(ce,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Tt=pt.mark===W.a,ft=Se?Se(_t):_t;V.forEach(function(Rn){delete ft[Rn]});var Ht=Object(h.useRef)(null),kt=Object(h.useRef)(null),ir=Object(h.useRef)(null),Xt=Object(h.useRef)(null),mr=Object(h.useMemo)(function(){return($e||[]).some(function(Rn){return[`
`,`\r
`].includes(Rn)})},[$e]),Ar=R(),Nr=Object(m.a)(Ar,3),kr=Nr[0],tn=Nr[1],qr=Nr[2],Lr=Object(h.useState)(),Qr=Object(m.a)(Lr,2),Ir=Qr[0],ur=Qr[1];Object(h.useEffect)(function(){ur("rc_select_".concat(Object(p.a)()))},[]);var pr=Oe||Ir,cr=Ae;cr===void 0&&(cr=Le?"label":"children");var fr=vt==="combobox"?!1:Rt,xr=vt==="tags"||vt==="multiple",Yr=He!==void 0?He:xr||vt==="combobox",un=Object(h.useRef)(null);h.useImperativeHandle(ee,function(){return{focus:ir.current.focus,blur:ir.current.blur}});var Nn=Object(n.a)(Be,{value:Ct}),jr=Object(m.a)(Nn,2),Tn=jr[0],gn=jr[1],Pn=Object(h.useMemo)(function(){return Object(p.e)(Tn,{labelInValue:fr,combobox:vt==="combobox"})},[Tn,fr]),zn=Object(h.useMemo)(function(){return new Set(Pn)},[Pn]),qn=Object(h.useState)(null),Yn=Object(m.a)(qn,2),Vn=Yn[0],An=Yn[1],on=Object(h.useState)(""),ia=Object(m.a)(on,2),xa=ia[0],ta=ia[1],Ii=xa;vt==="combobox"&&Tn!==void 0?Ii=Tn:Ge!==void 0?Ii=Ge:wt&&(Ii=wt);var Ci=Object(h.useMemo)(function(){var Rn=Le;return Rn===void 0&&(Rn=Y(Ze)),vt==="tags"&&Ee&&(Rn=Ee(Rn,Tn,cr,Rt)),Rn||[]},[Le,Ze,vt,Tn]),Gn=Object(h.useMemo)(function(){return me(Ci,ce)},[Ci]),Oa=K(Pn,Gn),mn=Object(h.useMemo)(function(){if(!Ii||!Yr)return Object(A.a)(Ci);var Rn=pe(Ii,Ci,{optionFilterProp:lt,filterOption:vt==="combobox"&&et===void 0?function(){return!0}:et});return vt==="tags"&&Rn.every(function(En){return En[lt]!==Ii})&&Rn.unshift({value:Ii,label:Ii,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Rn},[Ci,Ii,vt,Yr]),On=Object(h.useMemo)(function(){return me(mn,ce)},[mn]);Object(h.useEffect)(function(){Xt.current&&Xt.current.scrollTo&&Xt.current.scrollTo(0)},[Ii]);var Ln=Object(h.useMemo)(function(){var Rn=Pn.map(function(En){var _n=Oa([En]),Xn=we(En,{options:_n,prevValue:Tn,labelInValue:fr,optionLabelProp:cr});return Object(f.a)(Object(f.a)({},Xn),{},{disabled:Fe(En,_n)})});return!vt&&Rn.length===1&&Rn[0].value===null&&Rn[0].label===null?[]:Rn},[Tn,Ci,vt]);Ln=P(Ln);var In=function(En,_n,Xn){var ai=Oa([En]),ri=Xe([En],ai)[0];if(!pt.skipTriggerSelect){var Di=fr?we(En,{options:ai,prevValue:Tn,labelInValue:fr,optionLabelProp:cr}):En;_n&&er?er(Di,ri):!_n&&st&&st(Di,ri)}Tt&&(_n&&pt.onRawSelect?pt.onRawSelect(En,ri,Xn):!_n&&pt.onRawDeselect&&pt.onRawDeselect(En,ri,Xn))},jn=Object(h.useState)([]),ni=Object(m.a)(jn,2),di=ni[0],Na=ni[1],Qi=function(En){if(Tt&&pt.skipTriggerChange)return;var _n=Oa(En),Xn=Object(p.f)(Array.from(En),{labelInValue:fr,options:_n,getLabeledValue:we,prevValue:Tn,optionLabelProp:cr}),ai=xr?Xn:Xn[0];if(dr&&(Pn.length!==0||Xn.length!==0)){var ri=Xe(En,_n,{prevValueOptions:di});Na(ri.map(function(Di,yi){var xi=Object(f.a)({},Di);return Object.defineProperty(xi,"_INTERNAL_OPTION_VALUE_",{get:function(){return En[yi]}}),xi})),dr(ai,xr?ri:ri[0])}gn(ai)},ma=function(En,_n){var Xn=_n.selected,ai=_n.source;if(ct)return;var ri;xr?(ri=new Set(Pn),Xn?ri.add(En):ri.delete(En)):(ri=new Set,ri.add(En)),(xr||!xr&&Array.from(Pn)[0]!==En)&&Qi(Array.from(ri)),In(En,!xr||Xn,ai),vt==="combobox"?(ta(String(En)),An("")):(!xr||ie)&&(ta(""),An(""))},Ba=function(En,_n){ma(En,Object(f.a)(Object(f.a)({},_n),{},{source:"option"}))},Qa=function(En,_n){ma(En,Object(f.a)(Object(f.a)({},_n),{},{source:"selection"}))},Wi=vt==="combobox"&&fe&&fe()||null,Co=Object(n.a)(void 0,{defaultValue:ge,value:ae}),aa=Object(m.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Bt&&!mn.length;(ct||mo&&ha&&vt==="combobox")&&(ha=!1);var Fn=mo?!1:ha,$i=function(En){var _n=En!==void 0?En:!ha;Hi!==_n&&!ct&&(ga(_n),$t&&$t(_n))};j([Ht.current,kt.current&&kt.current.getPopupElement()],Fn,$i);var eo=function(En,_n,Xn){var ai=!0,ri=En;An(null);var Di=Xn?null:Object(U.f)(En,$e),yi=Di;if(vt==="combobox")_n&&Qi([ri]);else if(Di){ri="",vt!=="tags"&&(yi=Di.map(function(Li){var Un=Gn.find(function(Ri){var fa=Ri.data;return fa[cr]===Li});return Un?Un.data.value:null}).filter(function(Li){return Li!==null}));var xi=Array.from(new Set([].concat(Object(A.a)(Pn),Object(A.a)(yi))));Qi(xi),xi.forEach(function(Li){In(Li,!0,"input")}),$i(!1),ai=!1}return ta(ri),$&&Ii!==ri&&$(ri),ai},To=function(En){var _n=Array.from(new Set([].concat(Object(A.a)(Pn),[En])));Qi(_n),_n.forEach(function(Xn){In(Xn,!0,"input")}),ta("")};Object(h.useEffect)(function(){Hi&&!!ct&&ga(!1)},[ct]),Object(h.useEffect)(function(){!ha&&!xr&&vt!=="combobox"&&eo("",!1,!1)},[ha]);var uo=L(),rr=Object(m.a)(uo,2),Tr=rr[0],Pr=rr[1],Wr=function(En){var _n=Tr(),Xn=En.which;if(!ha&&Xn===c.a.ENTER&&$i(!0),Pr(!!Ii),Xn===c.a.BACKSPACE&&!_n&&xr&&!Ii&&Pn.length){var ai=Object(p.c)(Ln,Pn);ai.removedValue!==null&&(Qi(ai.values),In(ai.removedValue,!1,"input"))}for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];if(ha&&Xt.current){var xi;(xi=Xt.current).onKeyDown.apply(xi,[En].concat(Di))}Qt&&Qt.apply(void 0,[En].concat(Di))},hn=function(En){for(var _n=arguments.length,Xn=new Array(_n>1?_n-1:0),ai=1;ai<_n;ai++)Xn[ai-1]=arguments[ai];if(ha&&Xt.current){var ri;(ri=Xt.current).onKeyUp.apply(ri,[En].concat(Xn))}Gt&&Gt.apply(void 0,[En].concat(Xn))},tt=Object(h.useRef)(!1),jt=function(){tn(!0),ct||(Dt&&!tt.current&&Dt.apply(void 0,arguments),Ie.includes("focus")&&$i(!0)),tt.current=!0},Jt=function(){if(tn(!1,function(){tt.current=!1,$i(!1)}),ct)return;Ii&&(vt==="tags"?(eo("",!1,!1),Qi(Array.from(new Set([].concat(Object(A.a)(Pn),[Ii]))))):vt==="multiple"&&ta("")),Kt&&Kt.apply(void 0,arguments)},nr=[];Object(h.useEffect)(function(){return function(){nr.forEach(function(Rn){return clearTimeout(Rn)}),nr.splice(0,nr.length)}},[]);var Or=function(En){var _n=En.target,Xn=kt.current&&kt.current.getPopupElement();if(Xn&&Xn.contains(_n)){var ai=setTimeout(function(){var xi=nr.indexOf(ai);xi!==-1&&nr.splice(xi,1),qr(),Xn.contains(document.activeElement)||ir.current.focus()});nr.push(ai)}if(Mt){for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];Mt.apply(void 0,[En].concat(Di))}},wr=Object(h.useState)(0),Er=Object(m.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=It!==void 0?It:vt!=="combobox",an=function(En,_n){Jr(_n),ve&&vt==="combobox"&&En!==null&&An(String(En))},St=Object(h.useState)(null),Vt=Object(m.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(h.useState)({}),Dr=Object(m.a)(Mr,2),rn=Dr[1];function fn(){rn({})}b(function(){if(Fn){var Rn=Math.ceil(Ht.current.offsetWidth);sr!==Rn&&br(Rn)}},[Fn]);var wn=h.createElement(le,{ref:Xt,prefixCls:Ce,id:pr,open:ha,childrenAsData:!Le,options:mn,flattenOptions:On,multiple:xr,values:zn,height:je,itemHeight:Ye,onSelect:Ba,onToggleOpen:$i,onActiveValue:an,defaultActiveFirstOption:Zr,notFoundContent:Bt,onScroll:Wt,searchValue:Ii,menuItemSelectedIcon:ht,virtual:At!==!1&&he!==!1,onMouseEnter:fn}),Hn,Sn=function(){Tt&&pt.onClear&&pt.onClear(),xt&&xt(),Qi([]),eo("",!1,!1)};!ct&&it&&(Pn.length||Ii)&&(Hn=h.createElement(r.a,{className:"".concat(Ce,"-clear"),onMouseDown:Sn,customizeIcon:Qe},"\xD7"));var bn=ye!==void 0?ye:yt||!xr&&vt!=="combobox",Mn;bn&&(Mn=h.createElement(r.a,{className:i()("".concat(Ce,"-arrow"),Object(g.a)({},"".concat(Ce,"-arrow-loading"),yt)),customizeIcon:Zt,customizeIconProps:{loading:yt,searchValue:Ii,open:ha,focused:kr,showSearch:Yr}}));var vn=i()(Ce,ze,(se={},Object(g.a)(se,"".concat(Ce,"-focused"),kr),Object(g.a)(se,"".concat(Ce,"-multiple"),xr),Object(g.a)(se,"".concat(Ce,"-single"),!xr),Object(g.a)(se,"".concat(Ce,"-allow-clear"),it),Object(g.a)(se,"".concat(Ce,"-show-arrow"),bn),Object(g.a)(se,"".concat(Ce,"-disabled"),ct),Object(g.a)(se,"".concat(Ce,"-loading"),yt),Object(g.a)(se,"".concat(Ce,"-open"),ha),Object(g.a)(se,"".concat(Ce,"-customize-input"),Wi),Object(g.a)(se,"".concat(Ce,"-show-search"),Yr),se));return h.createElement("div",Object.assign({className:vn},ft,{ref:Ht,onMouseDown:Or,onKeyDown:Wr,onKeyUp:hn,onFocus:jt,onBlur:Jt}),kr&&!ha&&h.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Pn.join(", "))),h.createElement(H,{ref:kt,disabled:ct,prefixCls:Ce,visible:Fn,popupElement:wn,containerWidth:sr,animation:Pe,transitionName:nt,dropdownStyle:Ot,dropdownClassName:ne,direction:Re,dropdownMatchSelectWidth:he,dropdownRender:Q,dropdownAlign:te,getPopupContainer:ue,empty:!Ci.length,getTriggerDOMNode:function(){return un.current}},h.createElement(O,Object.assign({},ce,{domRef:un,prefixCls:Ce,inputElement:Wi,ref:ir,id:pr,showSearch:Yr,mode:vt,accessibilityIndex:zr,multiple:xr,tagRender:gt,values:Ln,open:ha,onToggleOpen:$i,searchValue:Ii,activeValue:Vn,onSearch:eo,onSearchSubmit:To,onSelect:Qa,tokenWithEnter:mr}))),Mn,Hn)}var _e=h.forwardRef(at);return _e}},qPY4:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("u4NN"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},qWUW:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("DL4k")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="CaretDownOutlined";var c=A.forwardRef(h);_.default=c},qWt2:function(D,_,e){var g=e("ProS"),f=g.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});D.exports=f},qZFw:function(D,_,e){var g=e("bYtY"),f=e("6GrX"),A=e("hM6l"),m=e("4NO4"),v=m.makeInner,h=v();function c(i,n){n=n||[0,360],A.call(this,"angle",i,n),this.type="category"}c.prototype={constructor:c,pointToData:function(i,n){return this.polar.pointToData(i,n)[this.dim==="radius"?0:1]},dataToAngle:A.prototype.dataToCoord,angleToData:A.prototype.coordToData,calculateCategoryInterval:function(){var i=this,n=i.getLabelModel(),a=i.scale,u=a.getExtent(),r=a.count();if(u[1]-u[0]<1)return 0;var l=u[0],t=i.dataToCoord(l+1)-i.dataToCoord(l),s=Math.abs(t),d=f.getBoundingRect(l,n.getFont(),"center","top"),p=Math.max(d.height,7),b=p/s;isNaN(b)&&(b=Infinity);var w=Math.max(0,Math.floor(b)),E=h(i.model),S=E.lastAutoInterval,x=E.lastTickCount;return S!=null&&x!=null&&Math.abs(S-w)<=1&&Math.abs(x-r)<=1&&S>w?w=S:(E.lastTickCount=r,E.lastAutoInterval=w),w}},g.inherits(c,A);var o=c;D.exports=o},qZTm:function(D,_,e){var g=e("fR/l"),f=e("MvSz"),A=e("7GkX");function m(v){return g(v,A,f)}D.exports=m},qgGe:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),A=e("Bsck"),m=e("VaxA"),v=m.wrapTreePathInfo,h=f.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(o,i){var n={name:o.name,children:o.data};c(n);var a=o.levels||[],u={};return u.levels=a,A.createTree(n,this,u).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(o){var i=f.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(o);return i.treePathInfo=v(n,this),i},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(o){o?this._viewRoot=o:o=this._viewRoot;var i=this.getRawData().tree.root;(!o||o!==i&&!i.contains(o))&&(this._viewRoot=i)}});function c(o){var i=0;g.each(o.children,function(a){c(a);var u=a.value;g.isArray(u)&&(u=u[0]),i+=u});var n=o.value;g.isArray(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=i),n<0&&(n=0),g.isArray(o.value)?o.value[0]=n:o.value=n}D.exports=h},qj72:function(D,_,e){var g=e("bYtY");function f(m,v){return v=v||[0,0],g.map(["x","y"],function(h,c){var o=this.getAxis(h),i=v[c],n=m[c]/2;return o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(i-n)-o.dataToCoord(i+n))},this)}function A(m){var v=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=A},qrJ5:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("cDf5"),h=e.n(v),c=e("J4zp"),o=e.n(c),i=e("q1tI"),n=e.n(i),a=e("TSYQ"),u=e.n(a),r=e("H84U"),l=e("o/2+"),t=e("CWQg"),s=e("ACnJ"),d=function(E,S){var x={};for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&S.indexOf(T)<0&&(x[T]=E[T]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,T=Object.getOwnPropertySymbols(E);L<T.length;L++)S.indexOf(T[L])<0&&Object.prototype.propertyIsEnumerable.call(E,T[L])&&(x[T[L]]=E[T[L]]);return x},p=Object(t.a)("top","middle","bottom","stretch"),b=Object(t.a)("start","end","center","space-around","space-between"),w=i.forwardRef(function(E,S){var x=i.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),T=o()(x,2),L=T[0],y=T[1],C=i.useRef();C.current=E.gutter,i.useEffect(function(){var k=s.a.subscribe(function(F){var B=C.current||0;(!Array.isArray(B)&&h()(B)==="object"||Array.isArray(B)&&(h()(B[0])==="object"||h()(B[1])==="object"))&&y(F)});return function(){s.a.unsubscribe(k)}},[]);var O=function(){var F=[0,0],B=E.gutter,H=B===void 0?0:B,W=Array.isArray(H)?H:[H,0];return W.forEach(function(R,U){if(h()(R)==="object")for(var j=0;j<s.b.length;j++){var P=s.b[j];if(L[P]&&R[P]!==void 0){F[U]=R[P];break}}else F[U]=R||0}),F},N=function(F){var B,H=F.getPrefixCls,W=F.direction,R=E.prefixCls,U=E.justify,j=E.align,P=E.className,K=E.style,V=E.children,z=d(E,["prefixCls","justify","align","className","style","children"]),X=H("row",R),G=O(),le=u()(X,(B={},m()(B,"".concat(X,"-").concat(U),U),m()(B,"".concat(X,"-").concat(j),j),m()(B,"".concat(X,"-rtl"),W==="rtl"),B),P),Y=f()(f()(f()({},G[0]>0?{marginLeft:G[0]/-2,marginRight:G[0]/-2}:{}),G[1]>0?{marginTop:G[1]/-2,marginBottom:G[1]/2}:{}),K),me=f()({},z);return delete me.gutter,i.createElement(l.a.Provider,{value:{gutter:G}},i.createElement("div",f()({},me,{className:le,style:Y,ref:S}),V))};return i.createElement(r.a,null,N)});w.displayName="Row",_.a=w},"qt/9":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var A=e("nVfU"),m=A.layout,v=e("f5Yq");e("Ae16"),g.registerLayout(f.curry(m,"pictorialBar")),g.registerVisual(v("pictorialBar","roundRect"))},quyA:function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=g+f+A,v="\\ufe0e\\ufe0f",h="\\u200d",c=RegExp("["+h+e+m+v+"]");function o(i){return c.test(i)}D.exports=o},qwVE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("K4ya"),m=e("XxSj"),v=g.PRIORITY.VISUAL.COMPONENT;g.registerVisual(v,{createOnAllSeries:!0,reset:function(c,o){var i=[];return o.eachComponent("visualMap",function(n){var a=c.pipelineContext;if(!n.isTargetSeries(c)||a&&a.large)return;i.push(A.incrementalApplyVisual(n.stateList,n.targetVisuals,f.bind(n.getValueState,n),n.getDataDimension(c.getData())))}),i}}),g.registerVisual(v,{createOnAllSeries:!0,reset:function(c,o){var i=c.getData(),n=[];o.eachComponent("visualMap",function(a){if(a.isTargetSeries(c)){var u=a.getVisualMeta(f.bind(h,null,c,a))||{stops:[],outerColors:[]},r=a.getDataDimension(i),l=i.getDimensionInfo(r);l!=null&&(u.dimension=l.index,n.push(u))}}),c.getData().setVisual("visualMeta",n)}});function h(c,o,i,n){for(var a=o.targetVisuals[n],u=m.prepareVisualTypes(a),r={color:c.getData().getVisual("color")},l=0,t=u.length;l<t;l++){var s=u[l],d=a[s==="opacity"?"__alphaForOpacity":s];d&&d.applyVisual(i,p,b)}return r.color;function p(w){return r[w]}function b(w,E){r[w]=E}}},"r+aA":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("s2MQ")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="EyeInvisibleOutlined";var c=A.forwardRef(h);_.default=c},"r/2G":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("+Zaj"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},r6Bn:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),A=e("4fz+"),m=e("BPZU");function v(o,i){return o.zlevel===i.zlevel?o.z===i.z?o.z2-i.z2:o.z-i.z:o.zlevel-i.zlevel}var h=function(){this._roots=[],this._displayList=[],this._displayListLen=0};h.prototype={constructor:h,traverse:function(i,n){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(i,n)},getDisplayList:function(i,n){return n=n||!1,i&&this.updateDisplayList(n),this._displayList},updateDisplayList:function(i){this._displayListLen=0;for(var n=this._roots,a=this._displayList,u=0,r=n.length;u<r;u++)this._updateAndAddDisplayable(n[u],null,i);a.length=this._displayListLen,f.canvasSupported&&m(a,v)},_updateAndAddDisplayable:function(i,n,a){if(i.ignore&&!a)return;i.beforeUpdate(),i.__dirty&&i.update(),i.afterUpdate();var u=i.clipPath;if(u){n?n=n.slice():n=[];for(var r=u,l=i;r;)r.parent=l,r.updateTransform(),n.push(r),l=r,r=r.clipPath}if(i.isGroup){for(var t=i._children,s=0;s<t.length;s++){var d=t[s];i.__dirty&&(d.__dirty=!0),this._updateAndAddDisplayable(d,n,a)}i.__dirty=!1}else i.__clipPaths=n,this._displayList[this._displayListLen++]=i},addRoot:function(i){if(i.__storage===this)return;i instanceof A&&i.addChildrenToStorage(this),this.addToStorage(i),this._roots.push(i)},delRoot:function(i){if(i==null){for(var n=0;n<this._roots.length;n++){var a=this._roots[n];a instanceof A&&a.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(i instanceof Array){for(var n=0,u=i.length;n<u;n++)this.delRoot(i[n]);return}var r=g.indexOf(this._roots,i);r>=0&&(this.delFromStorage(i),this._roots.splice(r,1),i instanceof A&&i.delChildrenFromStorage(this))},addToStorage:function(i){return i&&(i.__storage=this,i.dirty(!1)),this},delFromStorage:function(i){return i&&(i.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var c=h;D.exports=c},rA99:function(D,_,e){var g=e("y+Vt"),f=e("QBsz"),A=e("Sj9i"),m=A.quadraticSubdivide,v=A.cubicSubdivide,h=A.quadraticAt,c=A.cubicAt,o=A.quadraticDerivativeAt,i=A.cubicDerivativeAt,n=[];function a(r,l,t){var s=r.cpx2,d=r.cpy2;return s===null||d===null?[(t?i:c)(r.x1,r.cpx1,r.cpx2,r.x2,l),(t?i:c)(r.y1,r.cpy1,r.cpy2,r.y2,l)]:[(t?o:h)(r.x1,r.cpx1,r.x2,l),(t?o:h)(r.y1,r.cpy1,r.y2,l)]}var u=g.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,t){var s=t.x1,d=t.y1,p=t.x2,b=t.y2,w=t.cpx1,E=t.cpy1,S=t.cpx2,x=t.cpy2,T=t.percent;if(T===0)return;l.moveTo(s,d),S==null||x==null?(T<1&&(m(s,w,p,T,n),w=n[1],p=n[2],m(d,E,b,T,n),E=n[1],b=n[2]),l.quadraticCurveTo(w,E,p,b)):(T<1&&(v(s,w,S,p,T,n),w=n[1],S=n[2],p=n[3],v(d,E,x,b,T,n),E=n[1],x=n[2],b=n[3]),l.bezierCurveTo(w,E,S,x,p,b))},pointAt:function(l){return a(this.shape,l,!1)},tangentAt:function(l){var t=a(this.shape,l,!0);return f.normalize(t,t)}});D.exports=u},"rAM+":function(D,_,e){"use strict";e.d(_,"a",function(){return f});var g=e("Qw5x");function f(A,m){var v;if(typeof Symbol=="undefined"||A[Symbol.iterator]==null){if(Array.isArray(A)||(v=Object(g.a)(A))||m&&A&&typeof A.length=="number"){v&&(A=v);var h=0,c=function(){};return{s:c,n:function(){return h>=A.length?{done:!0}:{done:!1,value:A[h++]}},e:function(u){throw u},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,n;return{s:function(){v=A[Symbol.iterator]()},n:function(){var u=v.next();return o=u.done,u},e:function(u){i=!0,n=u},f:function(){try{!o&&v.return!=null&&v.return()}finally{if(i)throw n}}}}},rEGp:function(D,_){function e(g){var f=-1,A=Array(g.size);return g.forEach(function(m){A[++f]=m}),A}D.exports=e},rHrb:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CopyToClipboard=void 0;var g=A(e("q1tI")),f=A(e("+QRC"));function A(b){return b&&b.__esModule?b:{default:b}}function m(b){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(E){return typeof E}:m=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},m(b)}function v(b,w){var E=Object.keys(b);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(b);w&&(S=S.filter(function(x){return Object.getOwnPropertyDescriptor(b,x).enumerable})),E.push.apply(E,S)}return E}function h(b){for(var w=1;w<arguments.length;w++){var E=arguments[w]!=null?arguments[w]:{};w%2?v(E,!0).forEach(function(S){d(b,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(E)):v(E).forEach(function(S){Object.defineProperty(b,S,Object.getOwnPropertyDescriptor(E,S))})}return b}function c(b,w){if(b==null)return{};var E=o(b,w),S,x;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(b);for(x=0;x<T.length;x++){if(S=T[x],w.indexOf(S)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(b,S))continue;E[S]=b[S]}}return E}function o(b,w){if(b==null)return{};var E={},S=Object.keys(b),x,T;for(T=0;T<S.length;T++){if(x=S[T],w.indexOf(x)>=0)continue;E[x]=b[x]}return E}function i(b,w){if(!(b instanceof w))throw new TypeError("Cannot call a class as a function")}function n(b,w){for(var E=0;E<w.length;E++){var S=w[E];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(b,S.key,S)}}function a(b,w,E){return w&&n(b.prototype,w),E&&n(b,E),b}function u(b,w){return w&&(m(w)==="object"||typeof w=="function")?w:l(b)}function r(b){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},r(b)}function l(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function t(b,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(w&&w.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),w&&s(b,w)}function s(b,w){return s=Object.setPrototypeOf||function(S,x){return S.__proto__=x,S},s(b,w)}function d(b,w,E){return w in b?Object.defineProperty(b,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):b[w]=E,b}var p=function(b){t(w,b);function w(){var E,S;i(this,w);for(var x=arguments.length,T=new Array(x),L=0;L<x;L++)T[L]=arguments[L];return S=u(this,(E=r(w)).call.apply(E,[this].concat(T))),d(l(S),"onClick",function(y){var C=S.props,O=C.text,N=C.onCopy,k=C.children,F=C.options,B=g.default.Children.only(k),H=(0,f.default)(O,F);N&&N(O,H),B&&B.props&&typeof B.props.onClick=="function"&&B.props.onClick(y)}),S}return a(w,[{key:"render",value:function(){var S=this.props,x=S.text,T=S.onCopy,L=S.options,y=S.children,C=c(S,["text","onCopy","options","children"]),O=g.default.Children.only(y);return g.default.cloneElement(O,h({},C,{onClick:this.onClick}))}}]),w}(g.default.PureComponent);_.CopyToClipboard=p,d(p,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="ReloadOutlined";var h=_.a=g.forwardRef(v)},rUJ1:function(D,_){var e=/[&<>"']/,g=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,A=/[<>"']|&(?!#?\w+;)/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},v=function(y){return m[y]};function h(L,y){if(y){if(e.test(L))return L.replace(g,v)}else if(f.test(L))return L.replace(A,v);return L}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function o(L){return L.replace(c,function(y,C){return C=C.toLowerCase(),C==="colon"?":":C.charAt(0)==="#"?C.charAt(1)==="x"?String.fromCharCode(parseInt(C.substring(2),16)):String.fromCharCode(+C.substring(1)):""})}var i=/(^|[^\[])\^/g;function n(L,y){L=L.source||L,y=y||"";var C={replace:function(N,k){return k=k.source||k,k=k.replace(i,"$1"),L=L.replace(N,k),C},getRegex:function(){return new RegExp(L,y)}};return C}var a=/[^\w:]/g,u=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r(L,y,C){if(L){var O;try{O=decodeURIComponent(o(C)).replace(a,"").toLowerCase()}catch(N){return null}if(O.indexOf("javascript:")===0||O.indexOf("vbscript:")===0||O.indexOf("data:")===0)return null}y&&!u.test(C)&&(C=p(y,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(N){return null}return C}var l={},t=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,d=/^([^:]+:\/*[^/]*)[\s\S]*$/;function p(L,y){l[" "+L]||(t.test(L)?l[" "+L]=L+"/":l[" "+L]=S(L,"/",!0)),L=l[" "+L];var C=L.indexOf(":")===-1;return y.substring(0,2)==="//"?C?y:L.replace(s,"$1")+y:y.charAt(0)==="/"?C?y:L.replace(d,"$1")+y:L+y}var b={exec:function(){}};function w(L){for(var y=1,C,O;y<arguments.length;y++){C=arguments[y];for(O in C)Object.prototype.hasOwnProperty.call(C,O)&&(L[O]=C[O])}return L}function E(L,y){var C=L.replace(/\|/g,function(k,F,B){for(var H=!1,W=F;--W>=0&&B[W]==="\\";)H=!H;return H?"|":" |"}),O=C.split(/ \|/),N=0;if(O.length>y)O.splice(y);else for(;O.length<y;)O.push("");for(;N<O.length;N++)O[N]=O[N].trim().replace(/\\\|/g,"|");return O}function S(L,y,C){var O=L.length;if(O===0)return"";for(var N=0;N<O;){var k=L.charAt(O-N-1);if(k===y&&!C)N++;else if(k!==y&&C)N++;else break}return L.substr(0,O-N)}function x(L,y){if(L.indexOf(y[1])===-1)return-1;for(var C=L.length,O=0,N=0;N<C;N++)if(L[N]==="\\")N++;else if(L[N]===y[0])O++;else if(L[N]===y[1]&&(O--,O<0))return N;return-1}function T(L){L&&L.sanitize&&!L.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}D.exports={escape:h,unescape:o,edit:n,cleanUrl:r,resolveUrl:p,noopTest:b,merge:w,splitCells:E,rtrim:S,findClosingBracket:x,checkSanitizeDeprecation:T}},rdUC:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"localStorage",read:m,write:v,each:h,remove:c,clearAll:o};function A(){return f.localStorage}function m(i){return A().getItem(i)}function v(i,n){return A().setItem(i,n)}function h(i){for(var n=A().length-1;n>=0;n--){var a=A().key(n);i(m(a),a)}}function c(i){return A().removeItem(i)}function o(){return A().clear()}},rdor:function(D,_,e){var g=e("lOQZ"),f=g.circularLayout;function A(m){m.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&f(v,"symbolSize")})}D.exports=A},rfSb:function(D,_,e){var g=e("T4UG"),f=e("sdST"),A=e("L0Ub"),m=A.getDimensionTypeByAxis,v=e("YXkt"),h=e("bYtY"),c=e("4NO4"),o=c.groupData,i=e("7aKB"),n=i.encodeHTML,a=e("xKMd"),u=2,r=g.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){r.superApply(this,"init",arguments),this.legendVisualProvider=new a(h.bind(this.getData,this),h.bind(this.getRawData,this))},fixData:function(t){var s=t.length,d=o(t,function(B){return B[2]}),p=[];d.buckets.each(function(B,H){p.push({name:H,dataList:B})});for(var b=p.length,w=-1,E=-1,S=0;S<b;++S){var x=p[S].dataList.length;x>w&&(w=x,E=S)}for(var T=0;T<b;++T){if(T===E)continue;for(var L=p[T].name,y=0;y<w;++y){for(var C=p[E].dataList[y][0],O=p[T].dataList.length,N=-1,k=0;k<O;++k){var F=p[T].dataList[k][0];if(F===C){N=k;break}}N===-1&&(t[s]=[],t[s][0]=C,t[s][1]=0,t[s][2]=L,s++)}}return t},getInitialData:function(t,s){for(var d=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],p=d.get("type"),b=h.filter(t.data,function(C){return C[2]!==void 0}),w=this.fixData(b||[]),E=[],S=this.nameMap=h.createHashMap(),x=0,T=0;T<w.length;++T)E.push(w[T][u]),S.get(w[T][u])||(S.set(w[T][u],x),x++);var L=f(w,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(p)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),y=new v(L,this);return y.initData(w),y},getLayerSeries:function(){for(var t=this.getData(),s=t.count(),d=[],p=0;p<s;++p)d[p]=p;var b=t.mapDimension("single"),w=o(d,function(S){return t.get("name",S)}),E=[];return w.buckets.each(function(S,x){S.sort(function(T,L){return t.get(b,T)-t.get(b,L)}),E.push({name:x,indices:S})}),E},getAxisTooltipData:function(t,s,d){h.isArray(t)||(t=t?[t]:[]);for(var p=this.getData(),b=this.getLayerSeries(),w=[],E=b.length,S,x=0;x<E;++x){for(var T=Number.MAX_VALUE,L=-1,y=b[x].indices.length,C=0;C<y;++C){var O=p.get(t[0],b[x].indices[C]),N=Math.abs(O-s);N<=T&&(S=O,T=N,L=b[x].indices[C])}w.push(L)}return{dataIndices:w,nestestValue:S}},formatTooltip:function(t){var s=this.getData(),d=s.getName(t),p=s.get(s.mapDimension("value"),t);return(isNaN(p)||p==null)&&(p="-"),n(d+" : "+p)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=r;D.exports=l},rkZ5:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("c8qY"),v=e("D9ME"),h=e("fls0"),c=e("RSch"),o=e("akwb"),i=e("o40c"),n=e("ZYIC"),a=e("sK/D"),u=a.createClipPath,r=A.extendChartView({type:"lines",init:function(){},render:function(l,t,s){var d=l.getData(),p=this._updateLineDraw(d,l),b=l.get("zlevel"),w=l.get("effect.trailLength"),E=s.getZr(),S=E.painter.getType()==="svg";S||E.painter.getLayer(b).clear(!0),this._lastZlevel!=null&&!S&&E.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&w&&(S||E.configLayer(b,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(w/10+.9,1),0)})),p.updateData(d);var x=l.get("clip",!0)&&u(l.coordinateSystem,!1,l);x?this.group.setClipPath(x):this.group.removeClipPath(),this._lastZlevel=b,this._finished=!0},incrementalPrepareRender:function(l,t,s){var d=l.getData(),p=this._updateLineDraw(d,l);p.incrementalPrepareUpdate(d),this._clearLayer(s),this._finished=!1},incrementalRender:function(l,t,s){this._lineDraw.incrementalUpdate(l,t.getData()),this._finished=l.end===t.getData().count()},updateTransform:function(l,t,s){var d=l.getData(),p=l.pipelineContext;if(!this._finished||p.large||p.progressiveRender)return{update:!0};var b=n.reset(l);b.progress&&b.progress({start:0,end:d.count()},d),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,t){var s=this._lineDraw,d=this._showEffect(t),p=!!t.get("polyline"),b=t.pipelineContext,w=b.large;return(!s||d!==this._hasEffet||p!==this._isPolyline||w!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=w?new i:new m(p?d?o:c:d?v:h),this._hasEffet=d,this._isPolyline=p,this._isLargeDraw=w,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var t=l.getZr(),s=t.painter.getType()==="svg";!s&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});D.exports=r},rmlV:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,v){var h=.5522848,c=v.cx,o=v.cy,i=v.rx,n=v.ry,a=i*h,u=n*h;m.moveTo(c-i,o),m.bezierCurveTo(c-i,o-u,c-a,o-n,c,o-n),m.bezierCurveTo(c+a,o-n,c+i,o-u,c+i,o),m.bezierCurveTo(c+i,o+u,c+a,o+n,c,o+n),m.bezierCurveTo(c-a,o+n,c-i,o+u,c-i,o),m.closePath()}});D.exports=f},rnVJ:function(D,_,e){var g=e("bYtY"),f=["rect","polygon","keep","clear"];function A(v,h){var c=v&&v.brush;if(g.isArray(c)||(c=c?[c]:[]),!c.length)return;var o=[];g.each(c,function(r){var l=r.hasOwnProperty("toolbox")?r.toolbox:[];l instanceof Array&&(o=o.concat(l))});var i=v&&v.toolbox;g.isArray(i)&&(i=i[0]),i||(i={feature:{}},v.toolbox=[i]);var n=i.feature||(i.feature={}),a=n.brush||(n.brush={}),u=a.type||(a.type=[]);u.push.apply(u,o),m(u),h&&!u.length&&u.push.apply(u,f)}function m(v){var h={};g.each(v,function(c){h[c]=1}),v.length=0,g.each(h,function(c,o){v.push(o)})}D.exports=A},rwxt:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("GdRQ");function f(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function A(c,o){for(var i=0;i<o.length;i++){var n=o[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(c,n.key,n)}}function m(c,o,i){return o&&A(c.prototype,o),i&&A(c,i),c}var v=!g.supportsCursorURIs||g.isTouchDevice,h=function(){function c(){f(this,c),this._target=null,this._canvas=document.createElement("canvas"),v&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return m(c,[{key:"attach",value:function(i){if(this._target&&this.detach(),this._target=i,v){document.body.appendChild(this._canvas);var n={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,n),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,n),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,n),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,n)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(v){var i={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,i),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,i),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,i),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,i),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(i,n,a,u,r){if(u===0||r===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-n,this._position.y=this._position.y+this._hotSpot.y-a,this._hotSpot.x=n,this._hotSpot.y=a;var l=this._canvas.getContext("2d");this._canvas.width=u,this._canvas.height=r;var t;try{t=new ImageData(new Uint8ClampedArray(i),u,r)}catch(d){t=l.createImageData(u,r),t.data.set(new Uint8ClampedArray(i))}if(l.clearRect(0,0,u,r),l.putImageData(t,0,0),v)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+n+" "+a+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(i,n){if(!v)return;window.visualViewport?(this._position.x=i+window.visualViewport.offsetLeft,this._position.y=n+window.visualViewport.offsetTop):(this._position.x=i,this._position.y=n),this._updatePosition();var a=document.elementFromPoint(i,n);this._updateVisibility(a)}},{key:"_handleMouseOver",value:function(i){this._handleMouseMove(i)}},{key:"_handleMouseLeave",value:function(i){this._updateVisibility(i.relatedTarget)}},{key:"_handleMouseMove",value:function(i){this._updateVisibility(i.target),this._position.x=i.clientX-this._hotSpot.x,this._position.y=i.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(i){var n=this,a=document.elementFromPoint(i.clientX,i.clientY);this._updateVisibility(a),this._captureIsActive()&&window.setTimeout(function(){if(!n._target)return;a=document.elementFromPoint(i.clientX,i.clientY),n._updateVisibility(a)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(i){return i?i===this._target?!0:this._target.contains(i)?!(window.getComputedStyle(i).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(i){this._captureIsActive()&&(i=document.captureElement),this._shouldShowCursor(i)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),c}();_.default=h},rySg:function(D,_,e){e("SMc4"),e("8nMs")},s2MQ:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};_.default=g},s2lz:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("IwbS"),m=e("gPAo"),v=e("VaxA"),h=e("9hCq"),c=e("SgGq"),o=e("mFDi"),i=e("Fofx"),n=e("5s0K"),a=e("KCsZ"),u=e("7aKB"),r=u.windowOpen,l=f.bind,t=A.Group,s=A.Rect,d=f.each,p=3,b=["label"],w=["emphasis","label"],E=["upperLabel"],S=["emphasis","upperLabel"],x=10,T=1,L=2,y=a([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(B){var H=y(B);return H.stroke=H.fill=H.lineWidth=null,H},O=g.extendChartView({type:"treemap",init:function(B,H){this._containerGroup,this._storage=N(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(B,H,W,R){var U=H.findComponents({mainType:"series",subType:"treemap",query:R});if(f.indexOf(U,B)<0)return;this.seriesModel=B,this.api=W,this.ecModel=H;var j=["treemapZoomToNode","treemapRootToNode"],P=v.retrieveTargetInfo(R,j,B),K=R&&R.type,V=B.layoutInfo,z=!this._oldTree,X=this._storage,G=K==="treemapRootToNode"&&P&&X?{rootNodeGroup:X.nodeGroup[P.node.getRawIndex()],direction:R.direction}:null,le=this._giveContainerGroup(V),Y=this._doRender(le,B,G);!z&&(!K||K==="treemapZoomToNode"||K==="treemapRootToNode")?this._doAnimation(le,Y,B,G):Y.renderFinally(),this._resetController(W),this._renderBreadcrumb(B,W,P)},_giveContainerGroup:function(B){var H=this._containerGroup;return H||(H=this._containerGroup=new t,this._initEvents(H),this.group.add(H)),H.attr("position",[B.x,B.y]),H},_doRender:function(B,H,W){var R=H.getData().tree,U=this._oldTree,j=N(),P=N(),K=this._storage,V=[],z=f.curry(k,H,P,K,W,j,V);G(R.root?[R.root]:[],U&&U.root?[U.root]:[],B,R===U||!U,0);var X=le(K);return this._oldTree=R,this._storage=P,{lastsForAnimation:j,willDeleteEls:X,renderFinally:Y};function G(me,we,pe,Fe,Xe){Fe?(we=me,d(me,function(Se,at){!Se.isRemoved()&&Ee(at,at)})):new m(we,me,dt,dt).add(Ee).update(Ee).remove(f.curry(Ee,null)).execute();function dt(Se){return Se.getId()}function Ee(Se,at){var _e=Se!=null?me[Se]:null,ce=at!=null?we[at]:null,ee=z(_e,ce,pe,Xe);ee&&G(_e&&_e.viewChildren||[],ce&&ce.viewChildren||[],ee,Fe,Xe+1)}}function le(me){var we=N();return me&&d(me,function(pe,Fe){var Xe=we[Fe];d(pe,function(dt){dt&&(Xe.push(dt),dt.__tmWillDelete=1)})}),we}function Y(){d(X,function(me){d(me,function(we){we.parent&&we.parent.remove(we)})}),d(V,function(me){me.invisible=!0,me.dirty()})}},_doAnimation:function(B,H,W,R){if(!W.get("animation"))return;var U=W.get("animationDurationUpdate"),j=W.get("animationEasing"),P=n.createWrap();d(H.willDeleteEls,function(K,V){d(K,function(z,X){if(z.invisible)return;var G=z.parent,le;if(R&&R.direction==="drillDown")le=G===R.rootNodeGroup?{shape:{x:0,y:0,width:G.__tmNodeWidth,height:G.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var Y=0,me=0;G.__tmWillDelete||(Y=G.__tmNodeWidth/2,me=G.__tmNodeHeight/2),le=V==="nodeGroup"?{position:[Y,me],style:{opacity:0}}:{shape:{x:Y,y:me,width:0,height:0},style:{opacity:0}}}le&&P.add(z,le,U,j)})}),d(this._storage,function(K,V){d(K,function(z,X){var G=H.lastsForAnimation[V][X],le={};if(!G)return;V==="nodeGroup"?G.old&&(le.position=z.position.slice(),z.attr("position",G.old)):(G.old&&(le.shape=f.extend({},z.shape),z.setShape(G.old)),G.fadein?(z.setStyle("opacity",0),le.style={opacity:1}):z.style.opacity!==1&&(le.style={opacity:1})),P.add(z,le,U,j)})},this),this._state="animating",P.done(l(function(){this._state="ready",H.renderFinally()},this)).start()},_resetController:function(B){var H=this._controller;H||(H=this._controller=new c(B.getZr()),H.enable(this.seriesModel.get("roam")),H.on("pan",l(this._onPan,this)),H.on("zoom",l(this._onZoom,this)));var W=new o(0,0,B.getWidth(),B.getHeight());H.setPointerChecker(function(R,U,j){return W.contain(U,j)})},_clearController:function(){var B=this._controller;B&&(B.dispose(),B=null)},_onPan:function(B){if(this._state!=="animating"&&(Math.abs(B.dx)>p||Math.abs(B.dy)>p)){var H=this.seriesModel.getData().tree.root;if(!H)return;var W=H.getLayout();if(!W)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:W.x+B.dx,y:W.y+B.dy,width:W.width,height:W.height}})}},_onZoom:function(B){var H=B.originX,W=B.originY;if(this._state!=="animating"){var R=this.seriesModel.getData().tree.root;if(!R)return;var U=R.getLayout();if(!U)return;var j=new o(U.x,U.y,U.width,U.height),P=this.seriesModel.layoutInfo;H-=P.x,W-=P.y;var K=i.create();i.translate(K,K,[-H,-W]),i.scale(K,K,[B.scale,B.scale]),i.translate(K,K,[H,W]),j.applyTransform(K),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:j.x,y:j.y,width:j.width,height:j.height}})}},_initEvents:function(B){B.on("click",function(H){if(this._state!=="ready")return;var W=this.seriesModel.get("nodeClick",!0);if(!W)return;var R=this.findTarget(H.offsetX,H.offsetY);if(!R)return;var U=R.node;if(U.getLayout().isLeafRoot)this._rootToNode(R);else if(W==="zoomToNode")this._zoomToNode(R);else if(W==="link"){var j=U.hostTree.data.getItemModel(U.dataIndex),P=j.get("link",!0),K=j.get("target",!0)||"blank";P&&r(P,K)}},this)},_renderBreadcrumb:function(B,H,W){W||(W=B.get("leafDepth",!0)!=null?{node:B.getViewRoot()}:this.findTarget(H.getWidth()/2,H.getHeight()/2),W||(W={node:B.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h(this.group))).render(B,H,W.node,l(R,this));function R(U){this._state!=="animating"&&(v.aboveViewRoot(B.getViewRoot(),U)?this._rootToNode({node:U}):this._zoomToNode({node:U}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=N(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(B){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},_rootToNode:function(B){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},findTarget:function(B,H){var W,R=this.seriesModel.getViewRoot();return R.eachNode({attr:"viewChildren",order:"preorder"},function(U){var j=this._storage.background[U.getRawIndex()];if(j){var P=j.transformCoordToLocal(B,H),K=j.shape;if(K.x<=P[0]&&P[0]<=K.x+K.width&&K.y<=P[1]&&P[1]<=K.y+K.height)W={node:U,offsetX:P[0],offsetY:P[1]};else return!1}},this),W}});function N(){return{nodeGroup:[],background:[],content:[]}}function k(B,H,W,R,U,j,P,K,V,z){if(!P)return;var X=P.getLayout(),G=B.getData();if(G.setItemGraphicEl(P.dataIndex,null),!X||!X.isInView)return;var le=X.width,Y=X.height,me=X.borderWidth,we=X.invisible,pe=P.getRawIndex(),Fe=K&&K.getRawIndex(),Xe=P.viewChildren,dt=X.upperHeight,Ee=Xe&&Xe.length,Se=P.getModel("itemStyle"),at=P.getModel("emphasis.itemStyle"),_e=ge("nodeGroup",t);if(!_e)return;if(V.add(_e),_e.attr("position",[X.x||0,X.y||0]),_e.__tmNodeWidth=le,_e.__tmNodeHeight=Y,X.isAboveViewRoot)return _e;var ce=P.getModel(),ee=ge("background",s,z,T);if(ee&&ke(_e,ee,Ee&&X.upperLabelHeight),Ee)A.isHighDownDispatcher(_e)&&A.setAsHighDownDispatcher(_e,!1),ee&&(A.setAsHighDownDispatcher(ee,!0),G.setItemGraphicEl(P.dataIndex,ee));else{var se=ge("content",s,z,L);se&&Ce(_e,se),ee&&A.isHighDownDispatcher(ee)&&A.setAsHighDownDispatcher(ee,!1),A.setAsHighDownDispatcher(_e,!0),G.setItemGraphicEl(P.dataIndex,_e)}return _e;function ke(vt,Ct,Be){if(Ct.dataIndex=P.dataIndex,Ct.seriesIndex=B.seriesIndex,Ct.setShape({x:0,y:0,width:le,height:Y}),we)ze(Ct);else{Ct.invisible=!1;var Rt=P.getVisual("borderColor",!0),He=at.get("borderColor"),wt=C(Se);wt.fill=Rt;var Ge=y(at);if(Ge.fill=He,Be){var et=le-2*me;Oe(wt,Ge,Rt,et,dt,{x:me,y:0,width:et,height:dt})}else wt.text=Ge.text=null;Ct.setStyle(wt),A.setElementHoverStyle(Ct,Ge)}vt.add(Ct)}function Ce(vt,Ct){Ct.dataIndex=P.dataIndex,Ct.seriesIndex=B.seriesIndex;var Be=Math.max(le-2*me,0),Rt=Math.max(Y-2*me,0);if(Ct.culling=!0,Ct.setShape({x:me,y:me,width:Be,height:Rt}),we)ze(Ct);else{Ct.invisible=!1;var He=P.getVisual("color",!0),wt=C(Se);wt.fill=He;var Ge=y(at);Oe(wt,Ge,He,Be,Rt),Ct.setStyle(wt),A.setElementHoverStyle(Ct,Ge)}vt.add(Ct)}function ze(vt){!vt.invisible&&j.push(vt)}function Oe(vt,Ct,Be,Rt,He,wt){var Ge=ce.get("name"),et=ce.getModel(wt?E:b),rt=ce.getModel(wt?S:w),lt=et.getShallow("show");A.setLabelStyle(vt,Ct,et,rt,{defaultText:lt?Ge:null,autoColor:Be,isRectText:!0,labelFetcher:B,labelDataIndex:P.dataIndex,labelProp:wt?"upperLabel":"label"}),ae(vt,wt,X),ae(Ct,wt,X),wt&&(vt.textRect=f.clone(wt)),vt.truncate=lt&&et.get("ellipsis")?{outerWidth:Rt,outerHeight:He,minChar:2}:null}function ae(vt,Ct,Be){var Rt=vt.text;if(!Ct&&Be.isLeafRoot&&Rt!=null){var He=B.get("drillDownIcon",!0);vt.text=He?He+" "+Rt:Rt}}function ge(vt,Ct,Be,Rt){var He=Fe!=null&&W[vt][Fe],wt=U[vt];return He?(W[vt][Fe]=null,Le(wt,He,vt)):we||(He=new Ct({z:F(Be,Rt)}),He.__tmDepth=Be,He.__tmStorageName=vt,Ze(wt,He,vt)),H[vt][pe]=He}function Le(vt,Ct,Be){var Rt=vt[pe]={};Rt.old=Be==="nodeGroup"?Ct.position.slice():f.extend({},Ct.shape)}function Ze(vt,Ct,Be){var Rt=vt[pe]={},He=P.parentNode;if(He&&(!R||R.direction==="drillDown")){var wt=0,Ge=0,et=U.background[He.getRawIndex()];!R&&et&&et.old&&(wt=et.old.width,Ge=et.old.height),Rt.old=Be==="nodeGroup"?[0,Ge]:{x:wt,y:Ge,width:0,height:0}}Rt.fadein=Be!=="nodeGroup"}}function F(B,H){var W=B*x+H;return(W-1)/W}D.exports=O},sAZ8:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("+rIm"),m=e("/IIm"),v=e("9KIM"),h=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],o=g.extendComponentView({type:"parallelAxis",init:function(r,l){o.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",f.bind(this._onBrush,this))},render:function(r,l,t,s){if(i(r,l,s))return;this.axisModel=r,this.api=t,this.group.removeAll();var d=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!r.get("show"))return;var p=a(r,l),b=p.coordinateSystem,w=r.getAreaSelectStyle(),E=w.width,S=r.axis.dim,x=b.getAxisLayout(S),T=f.extend({strokeContainThreshold:E},x),L=new A(r,T);f.each(c,L.add,L),this._axisGroup.add(L.getGroup()),this._refreshBrushController(T,w,r,p,E,t);var y=s&&s.animation===!1?null:r;h.groupTransition(d,this._axisGroup,y)},_refreshBrushController:function(r,l,t,s,d,p){var b=t.axis.getExtent(),w=b[1]-b[0],E=Math.min(30,Math.abs(w)*.1),S=h.BoundingRect.create({x:b[0],y:-d/2,width:w,height:d});S.x-=E,S.width+=2*E,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,position:r.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(S),isTargetByCursor:v.makeRectIsTargetByCursor(S,p,s),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(S,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(n(t))},_onBrush:function(r,l){var t=this.axisModel,s=t.axis,d=f.map(r,function(p){return[s.coordToData(p.range[0],!0),s.coordToData(p.range[1],!0)]});(!t.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:d})},dispose:function(){this._brushController.dispose()}});function i(r,l,t){return t&&t.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:t})[0]===r}function n(r){var l=r.axis;return f.map(r.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(t[0],!0),l.dataToCoord(t[1],!0)]}})}function a(r,l){return l.getComponent("parallel",r.get("parallelIndex"))}var u=o;D.exports=u},sE09:function(D,_,e){},sEf8:function(D,_){function e(g){return function(f){return g(f)}}D.exports=e},sGsY:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),o=e("H84U"),i=e("B6l+"),n=e.n(i),a=function(P){var K=P.value,V=P.formatter,z=P.precision,X=P.decimalSeparator,G=P.groupSeparator,le=G===void 0?"":G,Y=P.prefixCls,me;if(typeof V=="function")me=V(K);else{var we=String(K),pe=we.match(/^(-?)(\d*)(\.(\d+))?$/);if(!pe||we==="-")me=we;else{var Fe=pe[1],Xe=pe[2]||"0",dt=pe[4]||"";Xe=Xe.replace(/\B(?=(\d{3})+(?!\d))/g,le),typeof z=="number"&&(dt=n()(dt,z,"0").slice(0,z)),dt&&(dt="".concat(X).concat(dt)),me=[v.createElement("span",{key:"int",className:"".concat(Y,"-content-value-int")},Fe,Xe),dt&&v.createElement("span",{key:"decimal",className:"".concat(Y,"-content-value-decimal")},dt)]}}return v.createElement("span",{className:"".concat(Y,"-content-value")},me)},u=a,r=function(P){var K=P.prefixCls,V=P.className,z=P.style,X=P.valueStyle,G=P.value,le=G===void 0?0:G,Y=P.title,me=P.valueRender,we=P.prefix,pe=P.suffix,Fe=P.direction,Xe=P.onMouseEnter,dt=P.onMouseLeave,Ee=v.createElement(u,m()({},P,{value:le})),Se=c()(K,V,f()({},"".concat(K,"-rtl"),Fe==="rtl"));return v.createElement("div",{className:Se,style:z,onMouseEnter:Xe,onMouseLeave:dt},Y&&v.createElement("div",{className:"".concat(K,"-title")},Y),v.createElement("div",{style:X,className:"".concat(K,"-content")},we&&v.createElement("span",{className:"".concat(K,"-content-prefix")},we),me?me(Ee):Ee,pe&&v.createElement("span",{className:"".concat(K,"-content-suffix")},pe)))};r.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(o.c)({prefixCls:"statistic"})(r),t=l,s=e("lwsE"),d=e.n(s),p=e("W8MJ"),b=e.n(p),w=e("7W2i"),E=e.n(w),S=e("LQ03"),x=e.n(S),T=e("J4zp"),L=e.n(T),y=e("QQZ/"),C=e.n(y),O=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function N(j,P){var K=j,V=/\[[^\]]*]/g,z=(P.match(V)||[]).map(function(Y){return Y.slice(1,-1)}),X=P.replace(V,"[]"),G=O.reduce(function(Y,me){var we=L()(me,2),pe=we[0],Fe=we[1];if(Y.indexOf(pe)!==-1){var Xe=Math.floor(K/Fe);return K-=Xe*Fe,Y.replace(new RegExp("".concat(pe,"+"),"g"),function(dt){var Ee=dt.length;return C()(Xe.toString(),Ee,"0")})}return Y},X),le=0;return G.replace(V,function(){var Y=z[le];return le+=1,Y})}function k(j,P){var K=P.format,V=K===void 0?"":K,z=new Date(j).getTime(),X=Date.now(),G=Math.max(z-X,0);return N(G,V)}var F=e("0n0R"),B=1e3/30;function H(j){return new Date(j).getTime()}var W=function(j){E()(K,j);var P=x()(K);function K(){var V;return d()(this,K),V=P.apply(this,arguments),V.syncTimer=function(){var z=V.props.value,X=H(z);X>=Date.now()?V.startTimer():V.stopTimer()},V.startTimer=function(){if(V.countdownId)return;V.countdownId=window.setInterval(function(){V.forceUpdate()},B)},V.stopTimer=function(){var z=V.props,X=z.onFinish,G=z.value;if(V.countdownId){clearInterval(V.countdownId),V.countdownId=void 0;var le=H(G);X&&le<Date.now()&&X()}},V.formatCountdown=function(z,X){var G=V.props.format;return k(z,m()(m()({},X),{format:G}))},V.valueRender=function(z){return Object(F.a)(z,{title:void 0})},V}return b()(K,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return v.createElement(t,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),K}(v.Component);W.defaultProps={format:"HH:mm:ss"};var R=W;t.Countdown=R;var U=_.a=t},"sK/D":function(D,_,e){var g=e("IwbS"),f=e("OELB"),A=f.round;function m(c,o,i){var n=c.getArea(),a=c.getBaseAxis().isHorizontal(),u=n.x,r=n.y,l=n.width,t=n.height,s=i.get("lineStyle.width")||2;u-=s/2,r-=s/2,l+=s,t+=s,u=Math.floor(u),l=Math.round(l);var d=new g.Rect({shape:{x:u,y:r,width:l,height:t}});return o&&(d.shape[a?"width":"height"]=0,g.initProps(d,{shape:{width:l,height:t}},i)),d}function v(c,o,i){var n=c.getArea(),a=new g.Sector({shape:{cx:A(c.cx,1),cy:A(c.cy,1),r0:A(n.r0,1),r:A(n.r,1),startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});return o&&(a.shape.endAngle=n.startAngle,g.initProps(a,{shape:{endAngle:n.endAngle}},i)),a}function h(c,o,i){if(c){if(c.type==="polar")return v(c,o,i);if(c.type==="cartesian2d")return m(c,o,i)}else return null;return null}_.createGridClipPath=m,_.createPolarClipPath=v,_.createClipPath=h},sKgW:function(D,_){var e=9007199254740991,g=Math.floor;function f(A,m){var v="";if(!A||m<1||m>e)return v;do m%2&&(v+=A),m=g(m/2),m&&(A+=A);while(m);return v}D.exports=f},sPJy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("AOa7"),m=e.n(A),v=e("lUTK"),h=e("qVdP")},sPtV:function(D,_,e){"use strict";e.d(_,"a",function(){return m});var g=e("q1tI"),f=e.n(g),A=e("hkKa");function m(v){var h=g.useRef(v),c=Object(A.a)();return[function(){return h.current},function(o){h.current=o,c()}]}},sRBo:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("KCY9"),m=e.n(A)},sRwP:function(D,_,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(D,_,e){var g=e("4fz+"),f=e("iRjW"),A=e("Yl7c"),m=function(){this.group=new g,this.uid=f.getUID("viewComponent")};m.prototype={constructor:m,init:function(c,o){},render:function(c,o,i,n){},dispose:function(){},filterForExposedEvent:null};var v=m.prototype;v.updateView=v.updateLayout=v.updateVisual=function(c,o,i,n){},A.enableClassExtend(m),A.enableClassManagement(m,{registerWhenExtend:!0});var h=m;D.exports=h},"sW+o":function(D,_,e){var g=e("SrGk"),f=e("bYtY"),A=e("SUKs"),m=e("Qe9p");function v(c,o){g.call(this,c,o,["linearGradient","radialGradient"],"__gradient_in_use__")}f.inherits(v,g),v.prototype.addWithoutUpdate=function(c,o){if(o&&o.style){var i=this;f.each(["fill","stroke"],function(n){if(o.style[n]&&(o.style[n].type==="linear"||o.style[n].type==="radial")){var a=o.style[n],u=i.getDefs(!0),r;a._dom?(r=a._dom,u.contains(a._dom)||i.addDom(r)):r=i.add(a),i.markUsed(o);var l=r.getAttribute("id");c.setAttribute(n,"url(#"+l+")")}})}},v.prototype.add=function(c){var o;if(c.type==="linear")o=this.createElement("linearGradient");else if(c.type==="radial")o=this.createElement("radialGradient");else return A("Illegal gradient type."),null;return c.id=c.id||this.nextId++,o.setAttribute("id","zr"+this._zrId+"-gradient-"+c.id),this.updateDom(c,o),this.addDom(o),o},v.prototype.update=function(c){var o=this;g.prototype.update.call(this,c,function(){var i=c.type,n=c._dom.tagName;i==="linear"&&n==="linearGradient"||i==="radial"&&n==="radialGradient"?o.updateDom(c,c._dom):(o.removeDom(c),o.add(c))})},v.prototype.updateDom=function(c,o){if(c.type==="linear")o.setAttribute("x1",c.x),o.setAttribute("y1",c.y),o.setAttribute("x2",c.x2),o.setAttribute("y2",c.y2);else if(c.type==="radial")o.setAttribute("cx",c.x),o.setAttribute("cy",c.y),o.setAttribute("r",c.r);else{A("Illegal gradient type.");return}c.global?o.setAttribute("gradientUnits","userSpaceOnUse"):o.setAttribute("gradientUnits","objectBoundingBox"),o.innerHTML="";for(var i=c.colorStops,n=0,a=i.length;n<a;++n){var u=this.createElement("stop");u.setAttribute("offset",i[n].offset*100+"%");var r=i[n].color;if(r.indexOf("rgba">-1)){var l=m.parse(r)[3],t=m.toHex(r);u.setAttribute("stop-color","#"+t),u.setAttribute("stop-opacity",l)}else u.setAttribute("stop-color",i[n].color);o.appendChild(u)}c._dom=o},v.prototype.markUsed=function(c){if(c.style){var o=c.style.fill;o&&o._dom&&g.prototype.markUsed.call(this,o._dom),o=c.style.stroke,o&&o._dom&&g.prototype.markUsed.call(this,o._dom)}};var h=v;D.exports=h},sboe:function(D,_,e){"use strict";e.d(_,"a",function(){return A});var g=e("q1tI"),f=e.n(g),A=g.createContext(null)},sdST:function(D,_,e){var g=e("hi0g");function f(A,m){return m=m||{},g(m.coordDimensions||[],A,{dimsDef:m.dimensionsDefine||A.dimensionsDefine,encodeDef:m.encodeDefine||A.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}D.exports=f},seXi:function(D,_,e){var g=e("qZTm"),f=1,A=Object.prototype,m=A.hasOwnProperty;function v(h,c,o,i,n,a){var u=o&f,r=g(h),l=r.length,t=g(c),s=t.length;if(l!=s&&!u)return!1;for(var d=l;d--;){var p=r[d];if(!(u?p in c:m.call(c,p)))return!1}var b=a.get(h),w=a.get(c);if(b&&w)return b==c&&w==h;var E=!0;a.set(h,c),a.set(c,h);for(var S=u;++d<l;){p=r[d];var x=h[p],T=c[p];if(i)var L=u?i(T,x,p,c,h,a):i(x,T,p,h,c,a);if(!(L===void 0?x===T||n(x,T,o,i,a):L)){E=!1;break}S||(S=p=="constructor")}if(E&&!S){var y=h.constructor,C=c.constructor;y!=C&&"constructor"in h&&"constructor"in c&&!(typeof y=="function"&&y instanceof y&&typeof C=="function"&&C instanceof C)&&(E=!1)}return a.delete(h),a.delete(c),E}D.exports=v},shjB:function(D,_){var e=9007199254740991;function g(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=e}D.exports=g},sjKO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=A;var g=30,f=12;function A(m,v){var h,c,o,i,n,a,u,r,l,t,s,d,p,b,w,E,S,x,T,L,y,C,O,N,k;h=m.state,c=m.next_in,N=m.input,o=c+(m.avail_in-5),i=m.next_out,k=m.output,n=i-(v-m.avail_out),a=i+(m.avail_out-257),u=h.dmax,r=h.wsize,l=h.whave,t=h.wnext,s=h.window,d=h.hold,p=h.bits,b=h.lencode,w=h.distcode,E=(1<<h.lenbits)-1,S=(1<<h.distbits)-1;e:do{p<15&&(d+=N[c++]<<p,p+=8,d+=N[c++]<<p,p+=8),x=b[d&E];t:for(;;){if(T=x>>>24,d>>>=T,p-=T,T=x>>>16&255,T===0)k[i++]=x&65535;else if(T&16){L=x&65535,T&=15,T&&(p<T&&(d+=N[c++]<<p,p+=8),L+=d&(1<<T)-1,d>>>=T,p-=T),p<15&&(d+=N[c++]<<p,p+=8,d+=N[c++]<<p,p+=8),x=w[d&S];r:for(;;){if(T=x>>>24,d>>>=T,p-=T,T=x>>>16&255,T&16){if(y=x&65535,T&=15,p<T&&(d+=N[c++]<<p,p+=8,p<T&&(d+=N[c++]<<p,p+=8)),y+=d&(1<<T)-1,y>u){m.msg="invalid distance too far back",h.mode=g;break e}if(d>>>=T,p-=T,T=i-n,y>T){if(T=y-T,T>l&&h.sane){m.msg="invalid distance too far back",h.mode=g;break e}if(C=0,O=s,t===0){if(C+=r-T,T<L){L-=T;do k[i++]=s[C++];while(--T);C=i-y,O=k}}else if(t<T){if(C+=r+t-T,T-=t,T<L){L-=T;do k[i++]=s[C++];while(--T);if(C=0,t<L){T=t,L-=T;do k[i++]=s[C++];while(--T);C=i-y,O=k}}}else if(C+=t-T,T<L){L-=T;do k[i++]=s[C++];while(--T);C=i-y,O=k}for(;L>2;)k[i++]=O[C++],k[i++]=O[C++],k[i++]=O[C++],L-=3;L&&(k[i++]=O[C++],L>1&&(k[i++]=O[C++]))}else{C=i-y;do k[i++]=k[C++],k[i++]=k[C++],k[i++]=k[C++],L-=3;while(L>2);L&&(k[i++]=k[C++],L>1&&(k[i++]=k[C++]))}}else if((T&64)===0){x=w[(x&65535)+(d&(1<<T)-1)];continue r}else{m.msg="invalid distance code",h.mode=g;break e}break}}else if((T&64)===0){x=b[(x&65535)+(d&(1<<T)-1)];continue t}else if(T&32){h.mode=f;break e}else{m.msg="invalid literal/length code",h.mode=g;break e}break}}while(c<o&&i<a);L=p>>3,c-=L,p-=L<<3,d&=(1<<p)-1,m.next_in=c,m.next_out=i,m.avail_in=c<o?5+(o-c):5-(c-o),m.avail_out=i<a?257+(a-i):257-(i-a),h.hold=d,h.bits=p;return}},szbU:function(D,_,e){var g=e("bYtY"),f=g.each;function A(v){var h=v&&v.visualMap;g.isArray(h)||(h=h?[h]:[]),f(h,function(c){if(!c)return;m(c,"splitList")&&!m(c,"pieces")&&(c.pieces=c.splitList,delete c.splitList);var o=c.pieces;o&&g.isArray(o)&&f(o,function(i){g.isObject(i)&&(m(i,"start")&&!m(i,"min")&&(i.min=i.start),m(i,"end")&&!m(i,"max")&&(i.max=i.end))})})}function m(v,h){return v&&v.hasOwnProperty&&v.hasOwnProperty(h)}D.exports=A},t23M:function(D,_,e){"use strict";var g=e("VTBJ"),f=e("1OyB"),A=e("vuIU"),m=e("Ji7U"),v=e("LK+K"),h=e("q1tI"),c=e.n(h),o=e("m+aA"),i=e("Zm9Q"),n=e("Kwbf"),a=e("c+Xe"),u=e("bdgK"),r="rc-observer-key",l=function(t){Object(m.a)(d,t);var s=Object(v.a)(d);function d(){var p;return Object(f.a)(this,d),p=s.apply(this,arguments),p.resizeObserver=null,p.childNode=null,p.currentElement=null,p.state={width:0,height:0,offsetHeight:0,offsetWidth:0},p.onResize=function(b){var w=p.props.onResize,E=b[0].target,S=E.getBoundingClientRect(),x=S.width,T=S.height,L=E.offsetWidth,y=E.offsetHeight,C=Math.floor(x),O=Math.floor(T);if(p.state.width!==C||p.state.height!==O||p.state.offsetWidth!==L||p.state.offsetHeight!==y){var N={width:C,height:O,offsetWidth:L,offsetHeight:y};p.setState(N),w&&Promise.resolve().then(function(){w(Object(g.a)(Object(g.a)({},N),{},{offsetWidth:L,offsetHeight:y}))})}},p.setChildNode=function(b){p.childNode=b},p}return Object(A.a)(d,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var b=this.props.disabled;if(b){this.destroyObserver();return}var w=Object(o.a)(this.childNode||this),E=w!==this.currentElement;E&&(this.destroyObserver(),this.currentElement=w),!this.resizeObserver&&w&&(this.resizeObserver=new u.default(this.onResize),this.resizeObserver.observe(w))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var b=this.props.children,w=Object(i.a)(b);if(w.length>1)Object(n.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(w.length===0)return Object(n.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var E=w[0];if(h.isValidElement(E)&&Object(a.c)(E)){var S=E.ref;w[0]=h.cloneElement(E,{ref:Object(a.a)(S,this.setChildNode)})}return w.length===1?w[0]:w.map(function(x,T){return!h.isValidElement(x)||"key"in x&&x.key!==null?x:h.cloneElement(x,{key:"".concat(r,"-").concat(T)})})}}]),d}(h.Component);l.displayName="ResizeObserver",_.a=l},t3Fx:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=Object.assign||function(s){for(var d=1;d<arguments.length;d++){var p=arguments[d];for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&(s[b]=p[b])}return s},f=function(){function s(d,p){for(var b=0;b<p.length;b++){var w=p[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(d,w.key,w)}}return function(d,p,b){return p&&s(d.prototype,p),b&&s(d,b),d}}(),A=e("q1tI"),m=a(A),v=e("17x9"),h=a(v),c=e("aUsF"),o=a(c),i=e("u3os"),n=e("kzFp");function a(s){return s&&s.__esModule?s:{default:s}}function u(s,d){if(!(s instanceof d))throw new TypeError("Cannot call a class as a function")}function r(s,d){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:s}function l(s,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);s.prototype=Object.create(d&&d.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(s,d):s.__proto__=d)}var t=function(s){l(d,s);function d(p){u(this,d);var b=r(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p));return b.getEchartsInstance=function(){return b.echartsLib.getInstanceByDom(b.echartsElement)||b.echartsLib.init(b.echartsElement,b.props.theme,b.props.opts)},b.dispose=function(){if(b.echartsElement){try{(0,i.clear)(b.echartsElement)}catch(w){console.warn(w)}b.echartsLib.dispose(b.echartsElement)}},b.rerender=function(){var w=b.props,E=w.onEvents,S=w.onChartReady,x=b.renderEchartDom();b.bindEvents(x,E||{}),typeof S=="function"&&b.props.onChartReady(x),b.echartsElement&&(0,i.bind)(b.echartsElement,function(){try{x.resize()}catch(T){console.warn(T)}})},b.bindEvents=function(w,E){var S=function(L,y){typeof L=="string"&&typeof y=="function"&&w.on(L,function(C){y(C,w)})};for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&S(x,E[x])},b.renderEchartDom=function(){var w=b.getEchartsInstance();return w.setOption(b.props.option,b.props.notMerge||!1,b.props.lazyUpdate||!1),b.props.showLoading?w.showLoading(b.props.loadingOption||null):w.hideLoading(),w},b.echartsLib=p.echarts,b.echartsElement=null,b}return f(d,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(b){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(b,this.props))return;if(!(0,o.default)(b.theme,this.props.theme)||!(0,o.default)(b.opts,this.props.opts)||!(0,o.default)(b.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var w=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,o.default)((0,n.pick)(this.props,w),(0,n.pick)(b,w)))return;var E=this.renderEchartDom();if(!(0,o.default)(b.style,this.props.style)||!(0,o.default)(b.className,this.props.className))try{E.resize()}catch(S){console.warn(S)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var b=this,w=this.props,E=w.style,S=w.className,x=g({height:300},E);return m.default.createElement("div",{ref:function(L){b.echartsElement=L},style:x,className:"echarts-for-react "+S})}}]),d}(A.Component);_.default=t,t.propTypes={option:h.default.object.isRequired,echarts:h.default.object,notMerge:h.default.bool,lazyUpdate:h.default.bool,style:h.default.object,className:h.default.string,theme:h.default.oneOfType([h.default.string,h.default.object]),onChartReady:h.default.func,showLoading:h.default.bool,loadingOption:h.default.object,onEvents:h.default.object,opts:h.default.shape({devicePixelRatio:h.default.number,renderer:h.default.oneOf(["canvas","svg"]),width:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])]),height:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:h.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),A=e("Qxkt"),m=e("Znkb"),v=e("+rIm"),h=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(a,u,r){u[1]>u[0]&&(u=u.slice().reverse());var l=a.coordToPoint([u[0],r]),t=a.coordToPoint([u[1],r]);return{x1:l[0],y1:l[1],x2:t[0],y2:t[1]}}function o(a){var u=a.getRadiusAxis();return u.inverse?0:1}function i(a){var u=a[0],r=a[a.length-1];u&&r&&Math.abs(Math.abs(u.coord-r.coord)-360)<1e-4&&a.pop()}var n=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(a,u){if(this.group.removeAll(),!a.get("show"))return;var r=a.axis,l=r.polar,t=l.getRadiusAxis().getExtent(),s=r.getTicksCoords(),d=r.getMinorTicksCoords(),p=g.map(r.getViewLabels(),function(b){var b=g.clone(b);return b.coord=r.dataToCoord(b.tickValue),b});i(p),i(s),g.each(h,function(b){a.get(b+".show")&&(!r.scale.isBlank()||b==="axisLine")&&this["_"+b](a,l,s,d,t,p)},this)},_axisLine:function(a,u,r,l,t){var s=a.getModel("axisLine.lineStyle"),d=o(u),p=d?0:1,b;t[p]===0?b=new f.Circle({shape:{cx:u.cx,cy:u.cy,r:t[d]},style:s.getLineStyle(),z2:1,silent:!0}):b=new f.Ring({shape:{cx:u.cx,cy:u.cy,r:t[d],r0:t[p]},style:s.getLineStyle(),z2:1,silent:!0}),b.style.fill=null,this.group.add(b)},_axisTick:function(a,u,r,l,t){var s=a.getModel("axisTick"),d=(s.get("inside")?-1:1)*s.get("length"),p=t[o(u)],b=g.map(r,function(w){return new f.Line({shape:c(u,[p,p+d],w.coord)})});this.group.add(f.mergePath(b,{style:g.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")})}))},_minorTick:function(a,u,r,l,t){if(!l.length)return;for(var s=a.getModel("axisTick"),d=a.getModel("minorTick"),p=(s.get("inside")?-1:1)*d.get("length"),b=t[o(u)],w=[],E=0;E<l.length;E++)for(var S=0;S<l[E].length;S++)w.push(new f.Line({shape:c(u,[b,b+p],l[E][S].coord)}));this.group.add(f.mergePath(w,{style:g.defaults(d.getModel("lineStyle").getLineStyle(),g.defaults(s.getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(a,u,r,l,t,s){var d=a.getCategories(!0),p=a.getModel("axisLabel"),b=p.get("margin"),w=a.get("triggerEvent");g.each(s,function(E,S){var x=p,T=E.tickValue,L=t[o(u)],y=u.coordToPoint([L+b,E.coord]),C=u.cx,O=u.cy,N=Math.abs(y[0]-C)/L<.3?"center":y[0]>C?"left":"right",k=Math.abs(y[1]-O)/L<.3?"middle":y[1]>O?"top":"bottom";d&&d[T]&&d[T].textStyle&&(x=new A(d[T].textStyle,p,p.ecModel));var F=new f.Text({silent:v.isLabelSilent(a)});this.group.add(F),f.setTextStyle(F.style,x,{x:y[0],y:y[1],textFill:x.getTextColor()||a.get("axisLine.lineStyle.color"),text:E.formattedLabel,textAlign:N,textVerticalAlign:k}),w&&(F.eventData=v.makeAxisEventDataBase(a),F.eventData.targetType="axisLabel",F.eventData.value=E.rawLabel)},this)},_splitLine:function(a,u,r,l,t){var s=a.getModel("splitLine"),d=s.getModel("lineStyle"),p=d.get("color"),b=0;p=p instanceof Array?p:[p];for(var w=[],E=0;E<r.length;E++){var S=b++%p.length;w[S]=w[S]||[],w[S].push(new f.Line({shape:c(u,t,r[E].coord)}))}for(var E=0;E<w.length;E++)this.group.add(f.mergePath(w[E],{style:g.defaults({stroke:p[E%p.length]},d.getLineStyle()),silent:!0,z:a.get("z")}))},_minorSplitLine:function(a,u,r,l,t){if(!l.length)return;for(var s=a.getModel("minorSplitLine"),d=s.getModel("lineStyle"),p=[],b=0;b<l.length;b++)for(var w=0;w<l[b].length;w++)p.push(new f.Line({shape:c(u,t,l[b][w].coord)}));this.group.add(f.mergePath(p,{style:d.getLineStyle(),silent:!0,z:a.get("z")}))},_splitArea:function(a,u,r,l,t){if(!r.length)return;var s=a.getModel("splitArea"),d=s.getModel("areaStyle"),p=d.get("color"),b=0;p=p instanceof Array?p:[p];for(var w=[],E=Math.PI/180,S=-r[0].coord*E,x=Math.min(t[0],t[1]),T=Math.max(t[0],t[1]),L=a.get("clockwise"),y=1;y<r.length;y++){var C=b++%p.length;w[C]=w[C]||[],w[C].push(new f.Sector({shape:{cx:u.cx,cy:u.cy,r0:x,r:T,startAngle:S,endAngle:-r[y].coord*E,clockwise:L},silent:!0})),S=-r[y].coord*E}for(var y=0;y<w.length;y++)this.group.add(f.mergePath(w[y],{style:g.defaults({fill:p[y%p.length]},d.getAreaStyle()),silent:!0}))}});D.exports=n},tMB7:function(D,_,e){var g=e("y1pI");function f(A){var m=this.__data__,v=g(m,A);return v<0?void 0:m[v][1]}D.exports=f},tSko:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("SRve")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="PlusOutlined";var c=A.forwardRef(h);_.default=c},tadb:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"DataView");D.exports=A},tceW:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={getBarItemStyle:function(m){var v=f(this,m);if(this.getBorderLineDash){var h=this.getBorderLineDash();h&&(v.lineDash=h)}return v}};D.exports=A},txkQ:function(D,_,e){var g=e("aX58");_.zrender=g;var f=e("Fofx");_.matrix=f;var A=e("QBsz");_.vector=A;var m=e("bYtY"),v=e("Qe9p");_.color=v;var h=e("IwbS"),c=e("OELB");_.number=c;var o=e("7aKB");_.format=o;var i=e("iLNv"),n=i.throttle;_.throttle=i.throttle;var a=e("FUi9");_.helper=a;var u=e("vafp");_.parseGeoJSON=u;var r=e("YXkt");_.List=r;var l=e("Qxkt");_.Model=l;var t=e("hM6l");_.Axis=t;var s=e("ItGF");_.env=s;var d=u,p={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(w){p[w]=m[w]});var b={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(w){b[w]=h[w]}),_.parseGeoJson=d,_.util=p,_.graphic=b},u3DP:function(D,_,e){var g=e("6GrX"),f=e("OELB"),A=f.parsePercent,m=Math.PI/180;function v(i,n,a,u,r,l,t,s,d,p){i.sort(function(N,k){return N.y-k.y});function b(N,k,F,B){for(var H=N;H<k&&!(i[H].y+F>d+t);H++)if(i[H].y+=F,H>N&&H+1<k&&i[H+1].y>i[H].y+i[H].height){w(H,F/2);return}w(k-1,F/2)}function w(N,k){for(var F=N;F>=0&&!(i[F].y-k<d);F--)if(i[F].y-=k,F>0&&i[F].y>i[F-1].y+i[F-1].height)break}function E(N,k,F,B,H,W){for(var R=(W>0,k?Number.MAX_VALUE:0),U=0,j=N.length;U<j;U++){if(N[U].labelAlignTo!=="none")continue;var P=Math.abs(N[U].y-B),K=N[U].len,V=N[U].len2,z=P<H+K?Math.sqrt((H+K+V)*(H+K+V)-P*P):Math.abs(N[U].x-F);k&&z>=R&&(z=R-10),!k&&z<=R&&(z=R+10),N[U].x=F+z*W,R=z}}for(var S=0,x,T=i.length,L=[],y=[],C=0;C<T;C++){if(i[C].position==="outer"&&i[C].labelAlignTo==="labelLine"){var O=i[C].x-p;i[C].linePoints[1][0]+=O,i[C].x=p}x=i[C].y-S,x<0&&b(C,T,-x,r),S=i[C].y+i[C].height}t-S<0&&w(T-1,S-t);for(var C=0;C<T;C++)i[C].y>=a?y.push(i[C]):L.push(i[C]);E(L,!1,n,a,u,r),E(y,!0,n,a,u,r)}function h(i,n,a,u,r,l,t,s){for(var d=[],p=[],b=Number.MAX_VALUE,w=-Number.MAX_VALUE,E=0;E<i.length;E++){if(c(i[E]))continue;i[E].x<n?(b=Math.min(b,i[E].x),d.push(i[E])):(w=Math.max(w,i[E].x),p.push(i[E]))}v(p,n,a,u,1,r,l,t,s,w),v(d,n,a,u,-1,r,l,t,s,b);for(var E=0;E<i.length;E++){var S=i[E];if(c(S))continue;var x=S.linePoints;if(x){var T=S.labelAlignTo==="edge",L=S.textRect.width,y;T?S.x<n?y=x[2][0]-S.labelDistance-t-S.labelMargin:y=t+r-S.labelMargin-x[2][0]-S.labelDistance:S.x<n?y=S.x-t-S.bleedMargin:y=t+r-S.x-S.bleedMargin,y<S.textRect.width&&(S.text=g.truncateText(S.text,y,S.font),S.labelAlignTo==="edge"&&(L=g.getWidth(S.text,S.font)));var C=x[1][0]-x[2][0];T?S.x<n?x[2][0]=t+S.labelMargin+L+S.labelDistance:x[2][0]=t+r-S.labelMargin-L-S.labelDistance:(S.x<n?x[2][0]=S.x+S.labelDistance:x[2][0]=S.x-S.labelDistance,x[1][0]=x[2][0]+C),x[1][1]=x[2][1]=S.y}}}function c(i){return i.position==="center"}function o(i,n,a,u,r,l){var t=i.getData(),s=[],d,p,b=!1,w=(i.get("minShowLabelAngle")||0)*m;t.each(function(E){var S=t.getItemLayout(E),x=t.getItemModel(E),T=x.getModel("label"),L=T.get("position")||x.get("emphasis.label.position"),y=T.get("distanceToLabelLine"),C=T.get("alignTo"),O=A(T.get("margin"),a),N=T.get("bleedMargin"),k=T.getFont(),F=x.getModel("labelLine"),B=F.get("length");B=A(B,a);var H=F.get("length2");if(H=A(H,a),S.angle<w)return;var W=(S.startAngle+S.endAngle)/2,R=Math.cos(W),U=Math.sin(W),j,P,K,V;d=S.cx,p=S.cy;var z=i.getFormattedLabel(E,"normal")||t.getName(E),X=g.getBoundingRect(z,k,V,"top"),G=L==="inside"||L==="inner";if(L==="center")j=S.cx,P=S.cy,V="center";else{var le=(G?(S.r+S.r0)/2*R:S.r*R)+d,Y=(G?(S.r+S.r0)/2*U:S.r*U)+p;if(j=le+R*3,P=Y+U*3,!G){var me=le+R*(B+n-S.r),we=Y+U*(B+n-S.r),pe=me+(R<0?-1:1)*H,Fe=we;C==="edge"?j=R<0?r+O:r+a-O:j=pe+(R<0?-y:y),P=Fe,K=[[le,Y],[me,we],[pe,Fe]]}V=G?"center":C==="edge"?R>0?"right":"left":R>0?"left":"right"}var Xe,dt=T.get("rotate");typeof dt=="number"?Xe=dt*(Math.PI/180):Xe=dt?R<0?-W+Math.PI:-W:0,b=!!Xe,S.label={x:j,y:P,position:L,height:X.height,len:B,len2:H,linePoints:K,textAlign:V,verticalAlign:"middle",rotation:Xe,inside:G,labelDistance:y,labelAlignTo:C,labelMargin:O,bleedMargin:N,textRect:X,text:z,font:k},G||s.push(S.label)}),!b&&i.get("avoidLabelOverlap")&&h(s,d,p,n,a,u,r,l)}D.exports=o},u3os:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ver=_.clear=_.bind=void 0;var g=e("P4Qj"),f=function(h,c){var o=(0,g.getSensor)(h);return o.bind(c),function(){o.unbind(c)}};_.bind=f;var A=function(h){var c=(0,g.getSensor)(h);(0,g.removeSensor)(c)};_.clear=A;var m="1.0.1";_.ver=m},u4NN:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("Uc92")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="EyeOutlined";var c=A.forwardRef(h);_.default=c},u8Dt:function(D,_,e){var g=e("YESw"),f="__lodash_hash_undefined__",A=Object.prototype,m=A.hasOwnProperty;function v(h){var c=this.__data__;if(g){var o=c[h];return o===f?void 0:o}return m.call(c,h)?c[h]:void 0}D.exports=v},u9fO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("b80e"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},uAnK:function(D,_,e){var g=e("bYtY"),f=e("Kagy"),A=e("KxfA"),m=A.retrieveRawValue;function v(h,c){var o=c.getModel("aria");if(o.get("show")){if(o.get("description")){h.setAttribute("aria-label",o.get("description"));return}}else return;var i=0;c.eachSeries(function(E,S){++i},this);var n=o.get("data.maxCount")||10,a=o.get("series.maxCount")||10,u=Math.min(i,a),r;if(i<1)return;var l=b();l?r=d(p("general.withTitle"),{title:l}):r=p("general.withoutTitle");var t=[],s=i>1?"series.multiple.prefix":"series.single.prefix";r+=d(p(s),{seriesCount:i}),c.eachSeries(function(E,S){if(S<u){var x,T=E.get("name"),L="series."+(i>1?"multiple":"single")+".";x=p(T?L+"withName":L+"withoutName"),x=d(x,{seriesId:E.seriesIndex,seriesName:E.get("name"),seriesType:w(E.subType)});var y=E.getData();window.data=y,y.count()>n?x+=d(p("data.partialData"),{displayCnt:n}):x+=p("data.allData");for(var C=[],O=0;O<y.count();O++)if(O<n){var N=y.getName(O),k=m(y,O);C.push(d(p(N?"data.withName":"data.withoutName"),{name:N,value:k}))}x+=C.join(p("data.separator.middle"))+p("data.separator.end"),t.push(x)}}),r+=t.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),h.setAttribute("aria-label",r);function d(E,S){if(typeof E!="string")return E;var x=E;return g.each(S,function(T,L){x=x.replace(new RegExp("\\{\\s*"+L+"\\s*\\}","g"),T)}),x}function p(E){var S=o.get(E);if(S==null){for(var x=E.split("."),T=f.aria,L=0;L<x.length;++L)T=T[x[L]];return T}else return S}function b(){var E=c.getModel("title").option;return E&&E.length&&(E=E[0]),E&&E.text}function w(E){return f.series.typeNames[E]||"\u81EA\u5B9A\u4E49\u56FE"}}D.exports=v},uK0f:function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(f,A,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var v=f||[],h=[],c=0;do{var o=v.filter(function(i){return A(i,c)})[0];if(!o)break;h.push(o),v=o[m.childrenKeyName]||[],c+=1}while(v.length>0);return h}return g})},uOyE:function(D,_,e){var g=e("ProS");g.registerAction({type:"brush",event:"brush"},function(f,A){A.eachComponent({mainType:"brush",query:f},function(m){m.setAreas(f.areas)})}),g.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),g.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(D,_,e){D.exports=g;function g(){return e("gaXo"),{}}},ugBc:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};_.default=g},v56E:function(D,_,e){},v5uJ:function(D,_,e){var g=e("ProS"),f=e("2B6p"),A=f.updateCenterAndZoom;g.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var c=m.dataIndex,o=h.getData().tree,i=o.getNodeByDataIndex(c);i.isExpand=!i.isExpand})}),g.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var c=h.coordinateSystem,o=A(c,m);h.setCenter&&h.setCenter(o.center),h.setZoom&&h.setZoom(o.zoom)})})},"vF/C":function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("visualMap",function(f){return!f.categories&&(!(f.pieces?f.pieces.length>0:f.splitNumber>0)||f.calculable)?"continuous":"piecewise"})},vKoX:function(D,_,e){var g=e("SrGk"),f=e("bYtY");function A(h,c){g.call(this,h,c,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(A,g),A.prototype.addWithoutUpdate=function(h,c){if(c&&m(c.style)){var o;if(c._shadowDom){o=c._shadowDom;var i=this.getDefs(!0);i.contains(c._shadowDom)||this.addDom(o)}else o=this.add(c);this.markUsed(c);var n=o.getAttribute("id");h.style.filter="url(#"+n+")"}},A.prototype.add=function(h){var c=this.createElement("filter");return h._shadowDomId=h._shadowDomId||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-shadow-"+h._shadowDomId),this.updateDom(h,c),this.addDom(c),c},A.prototype.update=function(h,c){var o=c.style;if(m(o)){var i=this;g.prototype.update.call(this,c,function(){i.updateDom(c,c._shadowDom)})}else this.remove(h,c)},A.prototype.remove=function(h,c){c._shadowDomId!=null&&(this.removeDom(h),h.style.filter="")},A.prototype.updateDom=function(h,c){var o=c.getElementsByTagName("feDropShadow");o.length===0?o=this.createElement("feDropShadow"):o=o[0];var i=h.style,n=h.scale&&h.scale[0]||1,a=h.scale&&h.scale[1]||1,u,r,l,t;if(i.shadowBlur||i.shadowOffsetX||i.shadowOffsetY)u=i.shadowOffsetX||0,r=i.shadowOffsetY||0,l=i.shadowBlur,t=i.shadowColor;else if(i.textShadowBlur)u=i.textShadowOffsetX||0,r=i.textShadowOffsetY||0,l=i.textShadowBlur,t=i.textShadowColor;else{this.removeDom(c,i);return}o.setAttribute("dx",u/n),o.setAttribute("dy",r/a),o.setAttribute("flood-color",t);var s=l/2/n,d=l/2/a,p=s+" "+d;o.setAttribute("stdDeviation",p),c.setAttribute("x","-100%"),c.setAttribute("y","-100%"),c.setAttribute("width",Math.ceil(l/2*200)+"%"),c.setAttribute("height",Math.ceil(l/2*200)+"%"),c.appendChild(o),h._shadowDom=c},A.prototype.markUsed=function(h){h._shadowDom&&g.prototype.markUsed.call(this,h._shadowDom)};function m(h){return h&&(h.shadowBlur||h.shadowOffsetX||h.shadowOffsetY||h.textShadowBlur||h.textShadowOffsetX||h.textShadowOffsetY)}var v=A;D.exports=v},vL6D:function(D,_,e){var g=e("bYtY"),f=e("+rIm"),A=e("IwbS"),m=e("7bkD"),v=e("Znkb"),h=e("WN+l"),c=h.rectCoordAxisBuildSplitArea,o=h.rectCoordAxisHandleRemove,i=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine"],a=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,l,t,s){var d=this.group;d.removeAll();var p=this._axisGroup;this._axisGroup=new A.Group;var b=m.layout(r),w=new f(r,b);g.each(i,w.add,w),d.add(this._axisGroup),d.add(w.getGroup()),g.each(n,function(E){r.get(E+".show")&&this["_"+E](r)},this),A.groupTransition(p,this._axisGroup,r),a.superCall(this,"render",r,l,t,s)},remove:function(){o(this)},_splitLine:function(r){var l=r.axis;if(l.scale.isBlank())return;var t=r.getModel("splitLine"),s=t.getModel("lineStyle"),d=s.get("width"),p=s.get("color");p=p instanceof Array?p:[p];for(var b=r.coordinateSystem.getRect(),w=l.isHorizontal(),E=[],S=0,x=l.getTicksCoords({tickModel:t}),T=[],L=[],y=0;y<x.length;++y){var C=l.toGlobalCoord(x[y].coord);w?(T[0]=C,T[1]=b.y,L[0]=C,L[1]=b.y+b.height):(T[0]=b.x,T[1]=C,L[0]=b.x+b.width,L[1]=C);var O=S++%p.length;E[O]=E[O]||[],E[O].push(new A.Line({subPixelOptimize:!0,shape:{x1:T[0],y1:T[1],x2:L[0],y2:L[1]},style:{lineWidth:d},silent:!0}))}for(var y=0;y<E.length;++y)this.group.add(A.mergePath(E[y],{style:{stroke:p[y%p.length],lineDash:s.getLineDash(d),lineWidth:d},silent:!0}))},_splitArea:function(r){c(this,this._axisGroup,r,r)}}),u=a;D.exports=u},vWvF:function(D,_,e){var g=e("Bq2U"),f=e("SUKs"),A=e("bYtY"),m=A.isString,v=A.isFunction,h=A.isObject,c=A.isArrayLike,o=A.indexOf,i=function(){this.animators=[]};i.prototype={constructor:i,animate:function(t,s){var d,p=!1,b=this,w=this.__zr;if(t){var E=t.split("."),S=b;p=E[0]==="shape";for(var x=0,T=E.length;x<T;x++){if(!S)continue;S=S[E[x]]}S&&(d=S)}else d=b;if(!d){f('Property "'+t+'" is not existed in element '+b.id);return}var L=b.animators,y=new g(d,s);return y.during(function(C){b.dirty(p)}).done(function(){L.splice(o(L,y),1)}),L.push(y),w&&w.animation.addAnimator(y),y},stopAnimation:function(t){for(var s=this.animators,d=s.length,p=0;p<d;p++)s[p].stop(t);return s.length=0,this},animateTo:function(t,s,d,p,b,w){n(this,t,s,d,p,b,w)},animateFrom:function(t,s,d,p,b,w){n(this,t,s,d,p,b,w,!0)}};function n(l,t,s,d,p,b,w,E){m(d)?(b=p,p=d,d=0):v(p)?(b=p,p="linear",d=0):v(d)?(b=d,d=0):v(s)?(b=s,s=500):s||(s=500),l.stopAnimation(),a(l,"",l,t,s,d,E);var S=l.animators.slice(),x=S.length;function T(){x--,x||b&&b()}x||b&&b();for(var L=0;L<S.length;L++)S[L].done(T).start(p,w)}function a(l,t,s,d,p,b,w){var E={},S=0;for(var x in d){if(!d.hasOwnProperty(x))continue;s[x]!=null?h(d[x])&&!c(d[x])?a(l,t?t+"."+x:x,s[x],d[x],p,b,w):(w?(E[x]=s[x],u(l,t,x,d[x])):E[x]=d[x],S++):d[x]!=null&&!w&&u(l,t,x,d[x])}S>0&&l.animate(t,!1).when(p==null?500:p,E).delay(b||0)}function u(l,t,s,d){if(!t)l.attr(s,d);else{var p={};p[t]={},p[t][s]=d,l.attr(p)}}var r=i;D.exports=r},vZ6x:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("IwbS"),v=e("4NO4"),h=e("9KIM"),c=A.each,o=A.indexOf,i=A.curry,n=["dataToPoint","pointToData"],a=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function u(y,C,O){var N=this._targetInfoList=[],k={},F=t(C,y);c(s,function(B,H){(!O||!O.include||o(O.include,H)>=0)&&B(F,N,k)})}var r=u.prototype;r.setOutputRanges=function(y,C){this.matchOutputRanges(y,C,function(O,N,k){if((O.coordRanges||(O.coordRanges=[])).push(N),!O.coordRange){O.coordRange=N;var F=b[O.brushType](0,k,N);O.__rangeOffset={offset:E[O.brushType](F.values,O.range,[1,1]),xyMinMax:F.xyMinMax}}})},r.matchOutputRanges=function(y,C,O){c(y,function(N){var k=this.findTargetInfo(N,C);k&&k!==!0&&A.each(k.coordSyses,function(F){var B=b[N.brushType](1,F,N.range);O(N,B.values,F,C)})},this)},r.setInputRanges=function(y,C){c(y,function(O){var N=this.findTargetInfo(O,C);if(O.range=O.range||[],N&&N!==!0){O.panelId=N.panelId;var k=b[O.brushType](0,N.coordSys,O.coordRange),F=O.__rangeOffset;O.range=F?E[O.brushType](k.values,F.offset,x(k.xyMinMax,F.xyMinMax)):k.values}},this)},r.makePanelOpts=function(y,C){return A.map(this._targetInfoList,function(O){var N=O.getPanelRect();return{panelId:O.panelId,defaultBrushType:C&&C(O),clipPath:h.makeRectPanelClipPath(N),isTargetByCursor:h.makeRectIsTargetByCursor(N,y,O.coordSysModel),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(N)}})},r.controlSeries=function(y,C,O){var N=this.findTargetInfo(y,O);return N===!0||N&&o(N.coordSyses,C.coordinateSystem)>=0},r.findTargetInfo=function(y,C){for(var O=this._targetInfoList,N=t(C,y),k=0;k<O.length;k++){var F=O[k],B=y.panelId;if(B){if(F.panelId===B)return F}else for(var k=0;k<d.length;k++)if(d[k](N,F))return F}return!0};function l(y){return y[0]>y[1]&&y.reverse(),y}function t(y,C){return v.parseFinder(y,C,{includeMainTypes:a})}var s={grid:function(y,C){var O=y.xAxisModels,N=y.yAxisModels,k=y.gridModels,F=A.createHashMap(),B={},H={};if(!O&&!N&&!k)return;c(O,function(W){var R=W.axis.grid.model;F.set(R.id,R),B[R.id]=!0}),c(N,function(W){var R=W.axis.grid.model;F.set(R.id,R),H[R.id]=!0}),c(k,function(W){F.set(W.id,W),B[W.id]=!0,H[W.id]=!0}),F.each(function(W){var R=W.coordinateSystem,U=[];c(R.getCartesians(),function(j,P){(o(O,j.getAxis("x").model)>=0||o(N,j.getAxis("y").model)>=0)&&U.push(j)}),C.push({panelId:"grid--"+W.id,gridModel:W,coordSysModel:W,coordSys:U[0],coordSyses:U,getPanelRect:p.grid,xAxisDeclared:B[W.id],yAxisDeclared:H[W.id]})})},geo:function(y,C){c(y.geoModels,function(O){var N=O.coordinateSystem;C.push({panelId:"geo--"+O.id,geoModel:O,coordSysModel:O,coordSys:N,coordSyses:[N],getPanelRect:p.geo})})}},d=[function(y,C){var O=y.xAxisModel,N=y.yAxisModel,k=y.gridModel;return!k&&O&&(k=O.axis.grid.model),!k&&N&&(k=N.axis.grid.model),k&&k===C.gridModel},function(y,C){var O=y.geoModel;return O&&O===C.geoModel}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var y=this.coordSys,C=y.getBoundingRect().clone();return C.applyTransform(m.getTransform(y)),C}},b={lineX:i(w,0),lineY:i(w,1),rect:function(y,C,O){var N=C[n[y]]([O[0][0],O[1][0]]),k=C[n[y]]([O[0][1],O[1][1]]),F=[l([N[0],k[0]]),l([N[1],k[1]])];return{values:F,xyMinMax:F}},polygon:function(y,C,O){var N=[[Infinity,-Infinity],[Infinity,-Infinity]],k=A.map(O,function(F){var B=C[n[y]](F);return N[0][0]=Math.min(N[0][0],B[0]),N[1][0]=Math.min(N[1][0],B[1]),N[0][1]=Math.max(N[0][1],B[0]),N[1][1]=Math.max(N[1][1],B[1]),B});return{values:k,xyMinMax:N}}};function w(y,C,O,N){var k=O.getAxis(["x","y"][y]),F=l(A.map([0,1],function(H){return C?k.coordToData(k.toLocalCoord(N[H])):k.toGlobalCoord(k.dataToCoord(N[H]))})),B=[];return B[y]=F,B[1-y]=[NaN,NaN],{values:F,xyMinMax:B}}var E={lineX:i(S,0),lineY:i(S,1),rect:function(y,C,O){return[[y[0][0]-O[0]*C[0][0],y[0][1]-O[0]*C[0][1]],[y[1][0]-O[1]*C[1][0],y[1][1]-O[1]*C[1][1]]]},polygon:function(y,C,O){return A.map(y,function(N,k){return[N[0]-O[0]*C[k][0],N[1]-O[1]*C[k][1]]})}};function S(y,C,O,N){return[C[0]-N[y]*O[0],C[1]-N[y]*O[1]]}function x(y,C){var O=T(y),N=T(C),k=[O[0]/N[0],O[1]/N[1]];return isNaN(k[0])&&(k[0]=1),isNaN(k[1])&&(k[1]=1),k}function T(y){return y?[y[0][1]-y[0][0],y[1][1]-y[1][0]]:[NaN,NaN]}var L=u;D.exports=L},vZI5:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),A=e("5GhG"),m=A.seriesModelMixin,v=f.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(c,o,i){var n=o.getItemLayout(c);return n&&i.rect(n.brushRect)}});g.mixin(v,m,!0);var h=v;D.exports=h},vafp:function(D,_,e){var g=e("bYtY"),f=e("8nly");function A(h){if(!h.UTF8Encoding)return h;var c=h.UTF8Scale;c==null&&(c=1024);for(var o=h.features,i=0;i<o.length;i++)for(var n=o[i],a=n.geometry,u=a.coordinates,r=a.encodeOffsets,l=0;l<u.length;l++){var t=u[l];if(a.type==="Polygon")u[l]=m(t,r[l],c);else if(a.type==="MultiPolygon")for(var s=0;s<t.length;s++){var d=t[s];t[s]=m(d,r[l][s],c)}}return h.UTF8Encoding=!1,h}function m(h,c,o){for(var i=[],n=c[0],a=c[1],u=0;u<h.length;u+=2){var r=h.charCodeAt(u)-64,l=h.charCodeAt(u+1)-64;r=r>>1^-(r&1),l=l>>1^-(l&1),r+=n,l+=a,n=r,a=l,i.push([r/o,l/o])}return i}function v(h,c){return A(h),g.map(g.filter(h.features,function(o){return o.geometry&&o.properties&&o.geometry.coordinates.length>0}),function(o){var i=o.properties,n=o.geometry,a=n.coordinates,u=[];n.type==="Polygon"&&u.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),n.type==="MultiPolygon"&&g.each(a,function(l){l[0]&&u.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var r=new f(i[c||"name"],u,i.cp);return r.properties=i,r})}D.exports=v},vcCh:function(D,_,e){var g=e("ProS");e("0qV/"),g.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,A){A.eachComponent({mainType:"series",subType:"sankey",query:f},function(m){m.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getPointerEvent=g,_.stopEvent=f,_.setCapture=o,_.releaseCapture=i;function g(n){return n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:n}function f(n){n.stopPropagation(),n.preventDefault()}var A=!1,m=null;document.captureElement=null;function v(n){if(A)return;var a=new n.constructor(n.type,n);A=!0,document.captureElement?document.captureElement.dispatchEvent(a):m.dispatchEvent(a),A=!1,n.stopPropagation(),a.defaultPrevented&&n.preventDefault(),n.type==="mouseup"&&i()}function h(){var n=document.getElementById("noVNC_mouse_capture_elem");n.style.cursor=window.getComputedStyle(document.captureElement).cursor}var c=new MutationObserver(h);function o(n){if(n.setCapture)n.setCapture(),document.captureElement=n,n.addEventListener("mouseup",i);else{i();var a=document.getElementById("noVNC_mouse_capture_elem");a===null&&(a=document.createElement("div"),a.id="noVNC_mouse_capture_elem",a.style.position="fixed",a.style.top="0px",a.style.left="0px",a.style.width="100%",a.style.height="100%",a.style.zIndex=1e4,a.style.display="none",document.body.appendChild(a),a.addEventListener("contextmenu",v),a.addEventListener("mousemove",v),a.addEventListener("mouseup",v)),document.captureElement=n,c.observe(n,{attributes:!0}),h(),a.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function i(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,c.disconnect();var n=document.getElementById("noVNC_mouse_capture_elem");n.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(D,_,e){},"vk+C":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("RZPm"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},w5pM:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="PlusCircleOutlined";var h=_.a=g.forwardRef(v)},w6Tc:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("apAg"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;_.default=A,D.exports=A},wCAj:function(D,_,e){"use strict";var g=e("cDf5"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("J4zp"),h=e.n(v),c=e("pVnL"),o=e.n(c),i=e("q1tI"),n=e("TSYQ"),a=e.n(n),u=e("BGR+"),r=e("rePB"),l=e("VTBJ"),t=e("KQm4"),s=e("U8pU"),d=e("ODXe"),p=e("Gytx"),b=e.n(p),w=e("Kwbf"),E=e("t23M"),S=e("qx4F");function x(rr){return null}var T=x;function L(rr){return null}var y=L,C=e("Ff2n"),O=e("c+Xe"),N="RC_TABLE_KEY";function k(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function F(rr,Tr){if(!Tr&&typeof Tr!="number")return rr;for(var Pr=k(Tr),Wr=rr,hn=0;hn<Pr.length;hn+=1){if(!Wr)return null;var tt=Pr[hn];Wr=Wr[tt]}return Wr}function B(rr){var Tr=[],Pr={};return rr.forEach(function(Wr){for(var hn=Wr||{},tt=hn.key,jt=hn.dataIndex,Jt=tt||k(jt).join("-")||N;Pr[Jt];)Jt="".concat(Jt,"_next");Pr[Jt]=!0,Tr.push(Jt)}),Tr}function H(){var rr={};function Tr(tt,jt){jt&&Object.keys(jt).forEach(function(Jt){var nr=jt[Jt];nr&&Object(s.a)(nr)==="object"?(tt[Jt]=tt[Jt]||{},Tr(tt[Jt],nr)):tt[Jt]=nr})}for(var Pr=arguments.length,Wr=new Array(Pr),hn=0;hn<Pr;hn++)Wr[hn]=arguments[hn];return Wr.forEach(function(tt){Tr(rr,tt)}),rr}function W(rr){return rr!=null}function R(rr){return rr&&Object(s.a)(rr)==="object"&&!Array.isArray(rr)&&!i.isValidElement(rr)}function U(rr){return typeof rr=="string"?!0:Object(O.c)(rr)}function j(rr,Tr){var Pr,Wr=rr.prefixCls,hn=rr.className,tt=rr.record,jt=rr.index,Jt=rr.dataIndex,nr=rr.render,Or=rr.children,wr=rr.component,Er=wr===void 0?"td":wr,zr=rr.colSpan,Jr=rr.rowSpan,Zr=rr.fixLeft,an=rr.fixRight,St=rr.firstFixLeft,Vt=rr.lastFixLeft,sr=rr.firstFixRight,br=rr.lastFixRight,Mr=rr.appendNode,Dr=rr.additionalProps,rn=Dr===void 0?{}:Dr,fn=rr.ellipsis,wn=rr.align,Hn=rr.rowType,Sn=rr.isSticky,bn="".concat(Wr,"-cell"),Mn,vn;if(Or)vn=Or;else{var Rn=F(tt,Jt);if(vn=Rn,nr){var En=nr(Rn,tt,jt);R(En)?(vn=En.children,Mn=En.props):vn=En}}Object(s.a)(vn)==="object"&&!Array.isArray(vn)&&!i.isValidElement(vn)&&(vn=null),fn&&(Vt||sr)&&(vn=i.createElement("span",{className:"".concat(bn,"-content")},vn));var _n=Mn||{},Xn=_n.colSpan,ai=_n.rowSpan,ri=_n.style,Di=_n.className,yi=Object(C.a)(_n,["colSpan","rowSpan","style","className"]),xi=Xn!==void 0?Xn:zr,Li=ai!==void 0?ai:Jr;if(xi===0||Li===0)return null;var Un={},Ri=typeof Zr=="number",fa=typeof an=="number";Ri&&(Un.position="sticky",Un.left=Zr),fa&&(Un.position="sticky",Un.right=an);var Ui={};wn&&(Ui.textAlign=wn);var Mi,mi=fn===!0?{showTitle:!0}:fn;mi&&(mi.showTitle||Hn==="header")&&(typeof vn=="string"||typeof vn=="number"?Mi=vn.toString():i.isValidElement(vn)&&typeof vn.props.children=="string"&&(Mi=vn.props.children));var hi=Object(l.a)(Object(l.a)(Object(l.a)({title:Mi},yi),rn),{},{colSpan:xi&&xi!==1?xi:null,rowSpan:Li&&Li!==1?Li:null,className:a()(bn,hn,(Pr={},Object(r.a)(Pr,"".concat(bn,"-fix-left"),Ri),Object(r.a)(Pr,"".concat(bn,"-fix-left-first"),St),Object(r.a)(Pr,"".concat(bn,"-fix-left-last"),Vt),Object(r.a)(Pr,"".concat(bn,"-fix-right"),fa),Object(r.a)(Pr,"".concat(bn,"-fix-right-first"),sr),Object(r.a)(Pr,"".concat(bn,"-fix-right-last"),br),Object(r.a)(Pr,"".concat(bn,"-ellipsis"),fn),Object(r.a)(Pr,"".concat(bn,"-with-append"),Mr),Object(r.a)(Pr,"".concat(bn,"-fix-sticky"),(Ri||fa)&&Sn),Pr),rn.className,Di),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},rn.style),Ui),Un),ri),ref:U(Er)?Tr:null});return i.createElement(Er,Object.assign({},hi),Mr,vn)}var P=i.forwardRef(j);P.displayName="Cell";var K=i.memo(P,function(rr,Tr){return Tr.shouldCellUpdate?!Tr.shouldCellUpdate(Tr.record,rr.record):!1}),V=K,z=i.createContext(null),X=z;function G(rr,Tr,Pr,Wr,hn){var tt=Pr[rr]||{},jt=Pr[Tr]||{},Jt,nr;tt.fixed==="left"?Jt=Wr.left[rr]:jt.fixed==="right"&&(nr=Wr.right[Tr]);var Or=!1,wr=!1,Er=!1,zr=!1,Jr=Pr[Tr+1],Zr=Pr[rr-1];if(hn==="rtl"){if(Jt!==void 0){var an=Zr&&Zr.fixed==="left";zr=!an}else if(nr!==void 0){var St=Jr&&Jr.fixed==="right";Er=!St}}else if(Jt!==void 0){var Vt=Jr&&Jr.fixed==="left";Or=!Vt}else if(nr!==void 0){var sr=Zr&&Zr.fixed==="right";wr=!sr}return{fixLeft:Jt,fixRight:nr,lastFixLeft:Or,firstFixRight:wr,lastFixRight:Er,firstFixLeft:zr,isSticky:Wr.isSticky}}function le(rr){var Tr=rr.cells,Pr=rr.stickyOffsets,Wr=rr.flattenColumns,hn=rr.rowComponent,tt=rr.cellComponent,jt=rr.onHeaderRow,Jt=rr.index,nr=i.useContext(X),Or=nr.prefixCls,wr=nr.direction,Er;jt&&(Er=jt(Tr.map(function(Jr){return Jr.column}),Jt));var zr=B(Tr.map(function(Jr){return Jr.column}));return i.createElement(hn,Object.assign({},Er),Tr.map(function(Jr,Zr){var an=Jr.column,St=G(Jr.colStart,Jr.colEnd,Wr,Pr,wr),Vt;return an&&an.onHeaderCell&&(Vt=Jr.column.onHeaderCell(an)),i.createElement(V,Object.assign({},Jr,{ellipsis:an.ellipsis,align:an.align,component:tt,prefixCls:Or,key:zr[Zr]},St,{additionalProps:Vt,rowType:"header"}))}))}le.displayName="HeaderRow";var Y=le;function me(rr){var Tr=[];function Pr(jt,Jt){var nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tr[nr]=Tr[nr]||[];var Or=Jt,wr=jt.filter(Boolean).map(function(Er){var zr={key:Er.key,className:Er.className||"",children:Er.title,column:Er,colStart:Or},Jr=1,Zr=Er.children;return Zr&&Zr.length>0&&(Jr=Pr(Zr,Or,nr+1).reduce(function(an,St){return an+St},0),zr.hasSubColumns=!0),"colSpan"in Er&&(Jr=Er.colSpan),"rowSpan"in Er&&(zr.rowSpan=Er.rowSpan),zr.colSpan=Jr,zr.colEnd=zr.colStart+Jr-1,Tr[nr].push(zr),Or+=Jr,Jr});return wr}Pr(rr,0);for(var Wr=Tr.length,hn=function(Jt){Tr[Jt].forEach(function(nr){!("rowSpan"in nr)&&!nr.hasSubColumns&&(nr.rowSpan=Wr-Jt)})},tt=0;tt<Wr;tt+=1)hn(tt);return Tr}function we(rr){var Tr=rr.stickyOffsets,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.onHeaderRow,tt=i.useContext(X),jt=tt.prefixCls,Jt=tt.getComponent,nr=i.useMemo(function(){return me(Pr)},[Pr]),Or=Jt(["header","wrapper"],"thead"),wr=Jt(["header","row"],"tr"),Er=Jt(["header","cell"],"th");return i.createElement(Or,{className:"".concat(jt,"-thead")},nr.map(function(zr,Jr){var Zr=i.createElement(Y,{key:Jr,flattenColumns:Wr,cells:zr,stickyOffsets:Tr,rowComponent:wr,cellComponent:Er,onHeaderRow:hn,index:Jr});return Zr}))}var pe=we,Fe="RC_TABLE_INTERNAL_COL_DEFINE";function Xe(rr){var Tr=rr.expandable,Pr=Object(C.a)(rr,["expandable"]);return"expandable"in rr?Object(l.a)(Object(l.a)({},Pr),Tr):Pr}function dt(rr){return Object.keys(rr).reduce(function(Tr,Pr){return(Pr.substr(0,5)==="data-"||Pr.substr(0,5)==="aria-")&&(Tr[Pr]=rr[Pr]),Tr},{})}function Ee(rr){for(var Tr=rr.colWidths,Pr=rr.columns,Wr=rr.columCount,hn=[],tt=Wr||Pr.length,jt=!1,Jt=tt-1;Jt>=0;Jt-=1){var nr=Tr[Jt],Or=Pr&&Pr[Jt],wr=Or&&Or[Fe];(nr||wr||jt)&&(hn.unshift(i.createElement("col",Object.assign({key:Jt,style:{width:nr,minWidth:nr}},wr))),jt=!0)}return i.createElement("colgroup",null,hn)}var Se=Ee;function at(rr,Tr){return Object(i.useMemo)(function(){for(var Pr=[],Wr=0;Wr<Tr;Wr+=1){var hn=rr[Wr];if(hn)Pr[Wr]=hn;else return null}return Pr},[rr.join("_"),Tr])}function _e(rr){var Tr=rr.noData,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.colWidths,tt=rr.columCount,jt=rr.stickyOffsets,Jt=rr.direction,nr=rr.fixHeader,Or=Object(C.a)(rr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),wr=i.useContext(X),Er=wr.prefixCls,zr=wr.scrollbarSize,Jr=wr.isSticky,Zr=Jr&&!nr?0:zr,an=Wr[Wr.length-1],St={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(Er,"-cell-scrollbar")}}},Vt=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Pr),[St]):Pr},[Zr,Pr]),sr=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Wr),[St]):Wr},[Zr,Wr]),br=Object(i.useMemo)(function(){var Dr=jt.right,rn=jt.left;return Object(l.a)(Object(l.a)({},jt),{},{left:Jt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+Zr})),[0]):rn,right:Jt==="rtl"?Dr:[].concat(Object(t.a)(Dr.map(function(fn){return fn+Zr})),[0]),isSticky:Jr})},[Zr,jt,Jr]),Mr=at(hn,tt);return i.createElement("table",{style:{tableLayout:"fixed",visibility:Tr||Mr?null:"hidden"}},i.createElement(Se,{colWidths:Mr?[].concat(Object(t.a)(Mr),[Zr]):[],columCount:tt+1,columns:sr}),i.createElement(pe,Object.assign({},Or,{stickyOffsets:br,columns:Vt,flattenColumns:sr})))}var ce=_e,ee=i.createContext(null),se=ee;function ke(rr){var Tr=rr.prefixCls,Pr=rr.children,Wr=rr.component,hn=rr.cellComponent,tt=rr.fixHeader,jt=rr.fixColumn,Jt=rr.horizonScroll,nr=rr.className,Or=rr.expanded,wr=rr.componentWidth,Er=rr.colSpan,zr=i.useContext(X),Jr=zr.scrollbarSize;return i.useMemo(function(){var Zr=Pr;return jt&&(Zr=i.createElement("div",{style:{width:wr-(tt?Jr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Tr,"-expanded-row-fixed")},Zr)),i.createElement(Wr,{className:nr,style:{display:Or?null:"none"}},i.createElement(V,{component:hn,prefixCls:Tr,colSpan:Er},Zr))},[Pr,Wr,tt,Jt,nr,Or,wr,Er,Jr])}var Ce=ke;function ze(rr){var Tr=rr.className,Pr=rr.style,Wr=rr.record,hn=rr.index,tt=rr.rowKey,jt=rr.getRowKey,Jt=rr.rowExpandable,nr=rr.expandedKeys,Or=rr.onRow,wr=rr.indent,Er=wr===void 0?0:wr,zr=rr.rowComponent,Jr=rr.cellComponent,Zr=rr.childrenColumnName,an=i.useContext(X),St=an.prefixCls,Vt=an.fixedInfoList,sr=i.useContext(se),br=sr.fixHeader,Mr=sr.fixColumn,Dr=sr.horizonScroll,rn=sr.componentWidth,fn=sr.flattenColumns,wn=sr.expandableType,Hn=sr.expandRowByClick,Sn=sr.onTriggerExpand,bn=sr.rowClassName,Mn=sr.expandedRowClassName,vn=sr.indentSize,Rn=sr.expandIcon,En=sr.expandedRowRender,_n=sr.expandIconColumnIndex,Xn=i.useState(!1),ai=Object(d.a)(Xn,2),ri=ai[0],Di=ai[1],yi=nr&&nr.has(rr.recordKey);i.useEffect(function(){yi&&Di(!0)},[yi]);var xi=wn==="row"&&(!Jt||Jt(Wr)),Li=wn==="nest",Un=Zr&&Wr&&Wr[Zr],Ri=xi||Li,fa;Or&&(fa=Or(Wr,hn));var Ui=function(sa){if(Hn&&Ri&&Sn(Wr,sa),fa&&fa.onClick){for(var Ni,$n=arguments.length,Ai=new Array($n>1?$n-1:0),_i=1;_i<$n;_i++)Ai[_i-1]=arguments[_i];(Ni=fa).onClick.apply(Ni,[sa].concat(Ai))}},Mi;typeof bn=="string"?Mi=bn:typeof bn=="function"&&(Mi=bn(Wr,hn,Er));var mi=B(fn),hi=i.createElement(zr,Object.assign({},fa,{"data-row-key":tt,className:a()(Tr,"".concat(St,"-row"),"".concat(St,"-row-level-").concat(Er),Mi,fa&&fa.className),style:Object(l.a)(Object(l.a)({},Pr),fa?fa.style:null),onClick:Ui}),fn.map(function(oa,sa){var Ni=oa.render,$n=oa.dataIndex,Ai=oa.className,_i=mi[sa],Vi=Vt[sa],Xi;sa===(_n||0)&&Li&&(Xi=i.createElement(i.Fragment,null,i.createElement("span",{style:{paddingLeft:"".concat(vn*Er,"px")},className:"".concat(St,"-row-indent indent-level-").concat(Er)}),Rn({prefixCls:St,expanded:yi,expandable:Un,record:Wr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Wr,hn)),i.createElement(V,Object.assign({className:Ai,ellipsis:oa.ellipsis,align:oa.align,component:Jr,prefixCls:St,key:_i,record:Wr,index:hn,dataIndex:$n,render:Ni,shouldCellUpdate:oa.shouldCellUpdate},Vi,{appendNode:Xi,additionalProps:bi}))})),qi;if(xi&&(ri||yi)){var va=En(Wr,hn,Er+1,yi),Ea=Mn&&Mn(Wr,hn,Er);qi=i.createElement(Ce,{expanded:yi,className:a()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(Er+1),Ea),prefixCls:St,fixHeader:br,fixColumn:Mr,horizonScroll:Dr,component:zr,componentWidth:rn,cellComponent:Jr,colSpan:fn.length},va)}var ya;return Un&&yi&&(ya=(Wr[Zr]||[]).map(function(oa,sa){var Ni=jt(oa,sa);return i.createElement(ze,Object.assign({},rr,{key:Ni,rowKey:Ni,record:oa,recordKey:Ni,index:sa,indent:Er+1}))})),i.createElement(i.Fragment,null,hi,qi,ya)}ze.displayName="BodyRow";var Oe=ze,ae=i.createContext(null),ge=ae;function Le(rr){var Tr=rr.data,Pr=rr.getRowKey,Wr=rr.measureColumnWidth,hn=rr.expandedKeys,tt=rr.onRow,jt=rr.rowExpandable,Jt=rr.emptyNode,nr=rr.childrenColumnName,Or=i.useContext(ge),wr=Or.onColumnResize,Er=i.useContext(X),zr=Er.prefixCls,Jr=Er.getComponent,Zr=i.useContext(se),an=Zr.fixHeader,St=Zr.horizonScroll,Vt=Zr.flattenColumns,sr=Zr.componentWidth;return i.useMemo(function(){var br=Jr(["body","wrapper"],"tbody"),Mr=Jr(["body","row"],"tr"),Dr=Jr(["body","cell"],"td"),rn;Tr.length?rn=Tr.map(function(wn,Hn){var Sn=Pr(wn,Hn);return i.createElement(Oe,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Mr,cellComponent:Dr,expandedKeys:hn,onRow:tt,getRowKey:Pr,rowExpandable:jt,childrenColumnName:nr})}):rn=i.createElement(Ce,{expanded:!0,className:"".concat(zr,"-placeholder"),prefixCls:zr,fixHeader:an,fixColumn:St,horizonScroll:St,component:Mr,componentWidth:sr,cellComponent:Dr,colSpan:Vt.length},Jt);var fn=B(Vt);return i.createElement(br,{className:"".concat(zr,"-tbody")},Wr&&i.createElement("tr",{"aria-hidden":"true",className:"".concat(zr,"-measure-row"),style:{height:0}},fn.map(function(wn){return i.createElement(E.a,{key:wn,onResize:function(Sn){var bn=Sn.offsetWidth;wr(wn,bn)}},i.createElement("td",{style:{padding:0,border:0,height:0}}))})),rn)},[Tr,zr,tt,Wr,hn,Pr,Jr,sr,Jt,Vt])}var Ze=i.memo(Le);Ze.displayName="Body";var vt=Ze,Ct=e("Zm9Q");function Be(rr){return Object(Ct.a)(rr).filter(function(Tr){return i.isValidElement(Tr)}).map(function(Tr){var Pr=Tr.key,Wr=Tr.props,hn=Wr.children,tt=Object(C.a)(Wr,["children"]),jt=Object(l.a)({key:Pr},tt);return hn&&(jt.children=Be(hn)),jt})}function Rt(rr){return rr.reduce(function(Tr,Pr){var Wr=Pr.fixed,hn=Wr===!0?"left":Wr,tt=Pr.children;return tt&&tt.length>0?[].concat(Object(t.a)(Tr),Object(t.a)(Rt(tt).map(function(jt){return Object(l.a)({fixed:hn},jt)}))):[].concat(Object(t.a)(Tr),[Object(l.a)(Object(l.a)({},Pr),{},{fixed:hn})])},[])}function He(rr){for(var Tr=!0,Pr=0;Pr<rr.length;Pr+=1){var Wr=rr[Pr];if(Tr&&Wr.fixed!=="left")Tr=!1;else if(!Tr&&Wr.fixed==="left"){Object(w.a)(!1,"Index ".concat(Pr-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,tt=rr.length-1;tt>=0;tt-=1){var jt=rr[tt];if(hn&&jt.fixed!=="right")hn=!1;else if(!hn&&jt.fixed==="right"){Object(w.a)(!1,"Index ".concat(tt+1," of `columns` missing `fixed='right'` prop."));break}}}function wt(rr){return rr.map(function(Tr){var Pr=Tr.fixed,Wr=Object(C.a)(Tr,["fixed"]),hn=Pr;return Pr==="left"?hn="right":Pr==="right"&&(hn="left"),Object(l.a)({fixed:hn},Wr)})}function Ge(rr,Tr){var Pr=rr.prefixCls,Wr=rr.columns,hn=rr.children,tt=rr.expandable,jt=rr.expandedKeys,Jt=rr.getRowKey,nr=rr.onTriggerExpand,Or=rr.expandIcon,wr=rr.rowExpandable,Er=rr.expandIconColumnIndex,zr=rr.direction,Jr=rr.expandRowByClick,Zr=i.useMemo(function(){return Wr||Be(hn)},[Wr,hn]),an=i.useMemo(function(){if(tt){var sr,br=Er||0,Mr=Zr[br],Dr=(sr={},Object(r.a)(sr,Fe,{className:"".concat(Pr,"-expand-icon-col")}),Object(r.a)(sr,"title",""),Object(r.a)(sr,"fixed",Mr?Mr.fixed:null),Object(r.a)(sr,"className","".concat(Pr,"-row-expand-icon-cell")),Object(r.a)(sr,"render",function(wn,Hn,Sn){var bn=Jt(Hn,Sn),Mn=jt.has(bn),vn=wr?wr(Hn):!0,Rn=Or({prefixCls:Pr,expanded:Mn,expandable:vn,record:Hn,onExpand:nr});return Jr?i.createElement("span",{onClick:function(_n){return _n.stopPropagation()}},Rn):Rn}),sr),rn=Zr.slice();return br>=0&&rn.splice(br,0,Dr),rn}return Zr},[tt,Zr,Jt,jt,Or,zr]),St=i.useMemo(function(){var sr=an;return Tr&&(sr=Tr(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Tr,an,zr]),Vt=i.useMemo(function(){return zr==="rtl"?wt(Rt(St)):Rt(St)},[St,zr]);return[St,Vt]}var et=Ge,rt=e("xEkU"),lt=e.n(rt);function Ve(rr){var Tr=Object(i.useRef)(rr),Pr=Object(i.useState)({}),Wr=Object(d.a)(Pr,2),hn=Wr[1],tt=Object(i.useRef)(null),jt=Object(i.useRef)([]);function Jt(nr){tt.current===null&&(jt.current=[],tt.current=lt()(function(){jt.current.forEach(function(Or){Tr.current=Or(Tr.current)}),tt.current=null,hn({})})),jt.current.push(nr)}return Object(i.useEffect)(function(){return function(){lt.a.cancel(tt.current)}},[]),[Tr.current,Jt]}function ie(rr){var Tr=Object(i.useRef)(rr),Pr=Object(i.useRef)(null);function Wr(){window.clearTimeout(Pr.current)}function hn(jt){Tr.current=jt,Wr(),Pr.current=window.setTimeout(function(){Tr.current=null,Pr.current=null},100)}function tt(){return Tr.current}return Object(i.useEffect)(function(){return Wr},[]),[hn,tt]}function $(rr,Tr,Pr){var Wr=Object(i.useMemo)(function(){for(var hn=[],tt=[],jt=0,Jt=0,nr=0;nr<Tr;nr+=1)if(Pr==="rtl"){tt[nr]=Jt,Jt+=rr[nr]||0;var Or=Tr-nr-1;hn[Or]=jt,jt+=rr[Or]||0}else{hn[nr]=jt,jt+=rr[nr]||0;var wr=Tr-nr-1;tt[wr]=Jt,Jt+=rr[wr]||0}return{left:hn,right:tt}},[rr,Tr,Pr]);return Wr}var it=$;function Qe(rr){var Tr=rr.className,Pr=rr.children;return i.createElement("div",{className:Tr},Pr)}var ye=Qe;function Zt(rr){var Tr=rr.className,Pr=rr.index,Wr=rr.children,hn=rr.colSpan,tt=rr.rowSpan,jt=i.useContext(X),Jt=jt.prefixCls,nr=jt.fixedInfoList,Or=nr[Pr];return i.createElement(V,Object.assign({className:Tr,index:Pr,component:"td",prefixCls:Jt,record:null,dataIndex:null,render:function(){return{children:Wr,props:{colSpan:hn,rowSpan:tt}}}},Or))}function ht(rr){return i.createElement("tr",Object.assign({},rr))}function ct(rr){var Tr=rr.children,Pr=i.useContext(X),Wr=Pr.prefixCls;return i.createElement("tfoot",{className:"".concat(Wr,"-summary")},Tr)}var yt=ct,It={Cell:Zt,Row:ht};function or(rr){var Tr,Pr=rr.prefixCls,Wr=rr.record,hn=rr.onExpand,tt=rr.expanded,jt=rr.expandable,Jt="".concat(Pr,"-row-expand-icon");if(!jt)return i.createElement("span",{className:a()(Jt,"".concat(Pr,"-row-spaced"))});var nr=function(wr){hn(Wr,wr),wr.stopPropagation()};return i.createElement("span",{className:a()(Jt,(Tr={},Object(r.a)(Tr,"".concat(Pr,"-row-expanded"),tt),Object(r.a)(Tr,"".concat(Pr,"-row-collapsed"),!tt),Tr)),onClick:nr})}function Bt(rr,Tr,Pr){var Wr=[];function hn(tt){(tt||[]).forEach(function(jt,Jt){Wr.push(Tr(jt,Jt)),hn(jt[Pr])})}return hn(rr),Wr}var Ae=e("zT1h"),ve=e("y0+3"),fe=function(Tr,Pr){var Wr,hn,tt=Tr.scrollBodyRef,jt=Tr.onScroll,Jt=Tr.offsetScroll,nr=i.useContext(X),Or=nr.prefixCls,wr=((Wr=tt.current)===null||Wr===void 0?void 0:Wr.scrollWidth)||0,Er=((hn=tt.current)===null||hn===void 0?void 0:hn.clientWidth)||0,zr=wr&&Er*(Er/wr),Jr=i.useRef(),Zr=Ve({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(d.a)(Zr,2),St=an[0],Vt=an[1],sr=i.useRef({delta:0,x:0}),br=i.useState(!1),Mr=Object(d.a)(br,2),Dr=Mr[0],rn=Mr[1],fn=function(){rn(!1)},wn=function(vn){vn.persist(),sr.current.delta=vn.pageX-St.scrollLeft,sr.current.x=0,rn(!0),vn.preventDefault()},Hn=function(vn){var Rn,En=vn||((Rn=window)===null||Rn===void 0?void 0:Rn.event),_n=En.buttons;if(!Dr||_n===0){Dr&&rn(!1);return}var Xn=sr.current.x+vn.pageX-sr.current.x-sr.current.delta;Xn<=0&&(Xn=0),Xn+zr>=Er&&(Xn=Er-zr),jt({scrollLeft:Xn/Er*(wr+2)}),sr.current.x=vn.pageX},Sn=function(){var vn=Object(ve.b)(tt.current).top,Rn=vn+tt.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Rn-Object(S.a)()<=En||vn>=En-Jt?Vt(function(_n){return Object(l.a)(Object(l.a)({},_n),{},{isHiddenScrollBar:!0})}):Vt(function(_n){return Object(l.a)(Object(l.a)({},_n),{},{isHiddenScrollBar:!1})})},bn=function(vn){Vt(function(Rn){return Object(l.a)(Object(l.a)({},Rn),{},{scrollLeft:vn/wr*Er||0})})};return i.useImperativeHandle(Pr,function(){return{setScrollLeft:bn}}),i.useEffect(function(){var Mn=Object(Ae.a)(document.body,"mouseup",fn,!1),vn=Object(Ae.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Mn.remove(),vn.remove()}},[zr,Dr]),i.useEffect(function(){var Mn=Object(Ae.a)(window,"scroll",Sn,!1),vn=Object(Ae.a)(window,"resize",Sn,!1);return function(){Mn.remove(),vn.remove()}},[]),i.useEffect(function(){St.isHiddenScrollBar||Vt(function(Mn){var vn,Rn;return Object(l.a)(Object(l.a)({},Mn),{},{scrollLeft:tt.current.scrollLeft/((vn=tt.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Rn=tt.current)===null||Rn===void 0?void 0:Rn.clientWidth)})})},[St.isHiddenScrollBar]),wr<=Er||!zr||St.isHiddenScrollBar?null:i.createElement("div",{style:{height:Object(S.a)(),width:Er,bottom:Jt},className:"".concat(Or,"-sticky-scroll")},i.createElement("div",{onMouseDown:wn,ref:Jr,className:a()("".concat(Or,"-sticky-scroll-bar"),Object(r.a)({},"".concat(Or,"-sticky-scroll-bar-active"),Dr)),style:{width:"".concat(zr,"px"),transform:"translate3d(".concat(St.scrollLeft,"px, 0, 0)")}}))},ue=i.forwardRef(fe);function Ne(rr,Tr){return i.useMemo(function(){var Pr=!!rr;return{isSticky:Pr,stickyClassName:Pr?"".concat(Tr,"-sticky-header"):"",offsetHeader:Object(s.a)(rr)==="object"&&rr.offsetHeader||0,offsetScroll:Object(s.a)(rr)==="object"&&rr.offsetScroll||0}},[rr,Tr])}var je=[],Ke={},Ye="rc-table-internal-hook",Pe=i.memo(function(rr){var Tr=rr.children;return Tr},function(rr,Tr){return b()(rr.props,Tr.props)?rr.pingLeft!==Tr.pingLeft||rr.pingRight!==Tr.pingRight:!1});function nt(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.rowClassName,tt=rr.style,jt=rr.data,Jt=rr.rowKey,nr=rr.scroll,Or=rr.tableLayout,wr=rr.direction,Er=rr.title,zr=rr.footer,Jr=rr.summary,Zr=rr.id,an=rr.showHeader,St=rr.components,Vt=rr.emptyText,sr=rr.onRow,br=rr.onHeaderRow,Mr=rr.internalHooks,Dr=rr.transformColumns,rn=rr.internalRefs,fn=rr.sticky,wn=jt||je,Hn=!!wn.length,Sn=i.useState(0),bn=Object(d.a)(Sn,2),Mn=bn[0],vn=bn[1];i.useEffect(function(){vn(Object(S.a)())});var Rn=i.useMemo(function(){return H(St,{})},[St]),En=i.useCallback(function(ka,La){return F(Rn,ka)||La},[Rn]),_n=i.useMemo(function(){return typeof Jt=="function"?Jt:function(ka){var La=ka&&ka[Jt];return La}},[Jt]),Xn=Xe(rr),ai=Xn.expandIcon,ri=Xn.expandedRowKeys,Di=Xn.defaultExpandedRowKeys,yi=Xn.defaultExpandAllRows,xi=Xn.expandedRowRender,Li=Xn.onExpand,Un=Xn.onExpandedRowsChange,Ri=Xn.expandRowByClick,fa=Xn.rowExpandable,Ui=Xn.expandIconColumnIndex,Mi=Xn.expandedRowClassName,mi=Xn.childrenColumnName,hi=Xn.indentSize,qi=ai||or,va=mi||"children",Ea=i.useMemo(function(){return xi?"row":rr.expandable&&Mr===Ye&&rr.expandable.__PARENT_RENDER_ICON__||wn.some(function(ka){return ka&&Object(s.a)(ka)==="object"&&ka[va]})?"nest":!1},[!!xi,wn]),ya=i.useState(function(){return Di||(yi?Bt(wn,_n,va):[])}),oa=Object(d.a)(ya,2),sa=oa[0],Ni=oa[1],$n=i.useMemo(function(){return new Set(ri||sa||[])},[ri,sa]),Ai=i.useCallback(function(ka){var La=_n(ka,wn.indexOf(ka)),Oo,_o=$n.has(La);_o?($n.delete(La),Oo=Object(t.a)($n)):Oo=[].concat(Object(t.a)($n),[La]),Ni(Oo),Li&&Li(!_o,ka),Un&&Un(Oo)},[_n,$n,wn,Li,Un]),_i=i.useState(0),Vi=Object(d.a)(_i,2),Xi=Vi[0],bi=Vi[1],Aa=et(Object(l.a)(Object(l.a)(Object(l.a)({},rr),Xn),{},{expandable:!!xi,expandedKeys:$n,getRowKey:_n,onTriggerExpand:Ai,expandIcon:qi,expandIconColumnIndex:Ui,direction:wr}),Mr===Ye?Dr:null),ca=Object(d.a)(Aa,2),la=ca[0],gi=ca[1],Pa=i.useMemo(function(){return{columns:la,flattenColumns:gi}},[la,gi]),Ma=i.useRef(),ra=i.useRef(),Yi=i.useRef(),Xa=i.useState(!1),Ki=Object(d.a)(Xa,2),zi=Ki[0],ba=Ki[1],Ua=i.useState(!1),wa=Object(d.a)(Ua,2),vi=wa[0],Ya=wa[1],Ka=Ve(new Map),pa=Object(d.a)(Ka,2),Oi=pa[0],So=pa[1],za=B(gi),ja=za.map(function(ka){return Oi.get(ka)}),qa=i.useMemo(function(){return ja},[ja.join("_")]),ho=it(qa,gi.length,wr),Ca=nr&&W(nr.y),to=nr&&W(nr.x),Lo=to&&gi.some(function(ka){var La=ka.fixed;return La}),_a=i.useRef(),ki=Ne(fn,Pr),Ja=ki.isSticky,Da=ki.offsetHeader,pi=ki.offsetScroll,Gi=ki.stickyClassName,oo,go,fo;Ca&&(go={overflowY:"scroll",maxHeight:nr.y}),to&&(oo={overflowX:"auto"},Ca||(go={overflowY:"hidden"}),fo={width:nr.x===!0?"auto":nr.x,minWidth:"100%"});var Ta=i.useCallback(function(ka,La){So(function(Oo){var _o=new Map(Oo);return _o.set(ka,La),_o})},[]),Fi=ie(null),Ra=Object(d.a)(Fi,2),Vo=Ra[0],ro=Ra[1];function vo(ka,La){La&&(typeof La=="function"?La(ka):La.scrollLeft!==ka&&(La.scrollLeft=ka))}var po=function(La){var Oo=La.currentTarget,_o=La.scrollLeft,ts=typeof _o=="number"?_o:Oo.scrollLeft,Bo=Oo||Ke;if(!ro()||ro()===Bo){var rs;Vo(Bo),vo(ts,ra.current),vo(ts,Yi.current),vo(ts,(rs=_a.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Oo){var ms=Oo.scrollWidth,ls=Oo.clientWidth;ba(ts>0),Ya(ts<ms-ls)}},Zi=function(){Yi.current&&po({currentTarget:Yi.current})},xo=function(La){var Oo=La.width;Zi(),bi(Ma.current?Ma.current.offsetWidth:Oo)};i.useEffect(function(){return Zi},[]),i.useEffect(function(){to&&Zi()},[to]),i.useEffect(function(){Mr===Ye&&rn&&(rn.body.current=Yi.current)});var is=En(["table"],"table"),Jo=i.useMemo(function(){return Or||(Lo?nr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(ka){var La=ka.ellipsis;return La})?"fixed":"auto")},[Ca,Lo,gi,Or]),Is,Cs={colWidths:qa,columCount:gi.length,stickyOffsets:ho,onHeaderRow:br,fixHeader:Ca},Ts=i.useMemo(function(){return Hn?null:typeof Vt=="function"?Vt():Vt},[Hn,Vt]),Go=i.createElement(vt,{data:wn,measureColumnWidth:Ca||to||Ja,expandedKeys:$n,rowExpandable:fa,getRowKey:_n,onRow:sr,emptyNode:Ts,childrenColumnName:va}),bo=i.createElement(Se,{colWidths:gi.map(function(ka){var La=ka.width;return La}),columns:gi}),Za=Jr&&i.createElement(yt,null,Jr(wn)),Ga=En(["body"]);if(Ca||Ja){var so;typeof Ga=="function"?(so=Ga(wn,{scrollbarSize:Mn,ref:Yi,onScroll:po}),Cs.colWidths=gi.map(function(ka,La){var Oo=ka.width,_o=La===la.length-1?Oo-Mn:Oo;return typeof _o=="number"&&!Number.isNaN(_o)?_o:(Object(w.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):so=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),onScroll:po,ref:Yi,className:a()("".concat(Pr,"-body"))},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,Go,Za),Ja&&i.createElement(ue,{ref:_a,offsetScroll:pi,scrollBodyRef:Yi,onScroll:po})),Is=i.createElement(i.Fragment,null,an!==!1&&i.createElement("div",{style:Object(l.a)({overflow:"hidden"},Ja?{top:Da}:{}),onScroll:po,ref:ra,className:a()("".concat(Pr,"-header"),Object(r.a)({},Gi,!!Gi))},i.createElement(ce,Object.assign({noData:!wn.length},Cs,Pa,{direction:wr}))),so)}else Is=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),className:a()("".concat(Pr,"-content")),onScroll:po,ref:Yi},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,an!==!1&&i.createElement(pe,Object.assign({},Cs,Pa)),Go,Za));var ps=dt(rr),Sr=i.createElement("div",Object.assign({className:a()(Pr,Wr,(Tr={},Object(r.a)(Tr,"".concat(Pr,"-rtl"),wr==="rtl"),Object(r.a)(Tr,"".concat(Pr,"-ping-left"),zi),Object(r.a)(Tr,"".concat(Pr,"-ping-right"),vi),Object(r.a)(Tr,"".concat(Pr,"-layout-fixed"),Or==="fixed"),Object(r.a)(Tr,"".concat(Pr,"-fixed-header"),Ca),Object(r.a)(Tr,"".concat(Pr,"-fixed-column"),Lo),Object(r.a)(Tr,"".concat(Pr,"-scroll-horizontal"),to),Object(r.a)(Tr,"".concat(Pr,"-has-fix-left"),gi[0]&&gi[0].fixed),Object(r.a)(Tr,"".concat(Pr,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right"),Tr)),style:tt,id:Zr,ref:Ma},ps),i.createElement(Pe,{pingLeft:zi,pingRight:vi,props:Object(l.a)(Object(l.a)({},rr),{},{stickyOffsets:ho,mergedExpandedKeys:$n})},Er&&i.createElement(ye,{className:"".concat(Pr,"-title")},Er(wn)),i.createElement("div",{className:"".concat(Pr,"-container")},Is),zr&&i.createElement(ye,{className:"".concat(Pr,"-footer")},zr(wn))));to&&(Sr=i.createElement(E.a,{onResize:xo},Sr));var Xo=i.useMemo(function(){return{prefixCls:Pr,getComponent:En,scrollbarSize:Mn,direction:wr,fixedInfoList:gi.map(function(ka,La){return G(La,La,gi,ho,wr)}),isSticky:Ja}},[Pr,En,Mn,wr,gi,ho,wr,Ja]),ss=i.useMemo(function(){return Object(l.a)(Object(l.a)({},Pa),{},{tableLayout:Jo,rowClassName:hn,expandedRowClassName:Mi,componentWidth:Xi,fixHeader:Ca,fixColumn:Lo,horizonScroll:to,expandIcon:qi,expandableType:Ea,expandRowByClick:Ri,expandedRowRender:xi,onTriggerExpand:Ai,expandIconColumnIndex:Ui,indentSize:hi})},[Pa,Jo,hn,Mi,Xi,Ca,Lo,to,qi,Ea,Ri,xi,Ai,Ui,hi]),Ls=i.useMemo(function(){return{onColumnResize:Ta}},[Ta]);return i.createElement(X.Provider,{value:Xo},i.createElement(se.Provider,{value:ss},i.createElement(ge.Provider,{value:Ls},Sr)))}nt.Column=y,nt.ColumnGroup=T,nt.Summary=It,nt.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var At=nt,Ot=At,ne=e("W9HT"),he=e("NUBc"),Q=e("H84U"),te=function(rr,Tr){var Pr={};for(var Wr in rr)Object.prototype.hasOwnProperty.call(rr,Wr)&&Tr.indexOf(Wr)<0&&(Pr[Wr]=rr[Wr]);if(rr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,Wr=Object.getOwnPropertySymbols(rr);hn<Wr.length;hn++)Tr.indexOf(Wr[hn])<0&&Object.prototype.propertyIsEnumerable.call(rr,Wr[hn])&&(Pr[Wr[hn]]=rr[Wr[hn]]);return Pr},be=10;function Ie(rr,Tr){var Pr={current:Tr.current,pageSize:Tr.pageSize},Wr=rr&&f()(rr)==="object"?rr:{};return Object.keys(Wr).forEach(function(hn){var tt=Tr[hn];typeof tt!="function"&&(Pr[hn]=tt)}),Pr}function Re(){for(var rr={},Tr=arguments.length,Pr=new Array(Tr),Wr=0;Wr<Tr;Wr++)Pr[Wr]=arguments[Wr];return Pr.forEach(function(hn){hn&&Object.keys(hn).forEach(function(tt){var jt=hn[tt];jt!==void 0&&(rr[tt]=jt)})}),rr}function $e(rr,Tr,Pr){var Wr=Tr&&f()(Tr)==="object"?Tr:{},hn=Wr.total,tt=hn===void 0?0:hn,jt=te(Wr,["total"]),Jt=Object(i.useState)(function(){return{current:"defaultCurrent"in jt?jt.defaultCurrent:1,pageSize:"defaultPageSize"in jt?jt.defaultPageSize:be}}),nr=h()(Jt,2),Or=nr[0],wr=nr[1],Er=Re(Or,jt,{total:tt>0?tt:rr});if(!tt){var zr=Math.ceil(rr/Er.pageSize);zr<Er.current&&(Er.current=1)}var Jr=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Vt=arguments.length>1?arguments[1]:void 0;wr(o()(o()({},Er),{current:St,pageSize:Vt||Er.pageSize}))},Zr=function(St,Vt){var sr=Er==null?void 0:Er.pageSize;Vt&&Vt!==sr&&(St=1,Tr&&Tr.onShowSizeChange&&Tr.onShowSizeChange(St,Vt)),Tr&&Tr.onChange&&Tr.onChange(St,Vt),Jr(St,Vt),Pr(St,Vt||sr)};return Tr===!1?[{},function(){}]:[o()(o()({},Er),{onChange:Zr}),Jr]}function gt(rr,Tr,Pr){var Wr=i.useRef({});function hn(tt){if(!Wr.current||Wr.current.data!==rr||Wr.current.childrenColumnName!==Tr||Wr.current.getRowKey!==Pr){var jt=function nr(Or){Or.forEach(function(wr,Er){var zr=Pr(wr,Er);Jt.set(zr,wr),wr&&f()(wr)==="object"&&Tr in wr&&nr(wr[Tr]||[])})},Jt=new Map;jt(rr),Wr.current={data:rr,childrenColumnName:Tr,kvMap:Jt,getRowKey:Pr}}return Wr.current.kvMap.get(tt)}return[hn]}var Wt=e("SA+Z"),$t=e.n(Wt),Dt=e("RIqP"),Kt=e.n(Dt),Gt=e("HQEm"),Qt=e.n(Gt),Mt=e("815F"),dr=e("NvD2"),er=e("OZM5"),st=e("6cGi"),xt=e("kaz8"),ut=e("jsC+"),pt=e("BvKs"),_t=e("9yH6"),Tt=e("uaoM"),ft="SELECT_ALL",Ht="SELECT_INVERT";function kt(rr){return rr&&rr.fixed}function ir(rr,Tr){var Pr=[];return(rr||[]).forEach(function(Wr){Pr.push(Wr),Wr&&f()(Wr)==="object"&&Tr in Wr&&(Pr=[].concat(Kt()(Pr),Kt()(ir(Wr[Tr],Tr))))}),Pr}function Xt(rr,Tr){var Pr=rr||{},Wr=Pr.preserveSelectedRowKeys,hn=Pr.selectedRowKeys,tt=Pr.getCheckboxProps,jt=Pr.onChange,Jt=Pr.onSelect,nr=Pr.onSelectAll,Or=Pr.onSelectInvert,wr=Pr.onSelectMultiple,Er=Pr.columnWidth,zr=Pr.type,Jr=Pr.selections,Zr=Pr.fixed,an=Pr.renderCell,St=Pr.hideSelectAll,Vt=Pr.checkStrictly,sr=Vt===void 0?!0:Vt,br=Tr.prefixCls,Mr=Tr.data,Dr=Tr.pageData,rn=Tr.getRecordByKey,fn=Tr.getRowKey,wn=Tr.expandType,Hn=Tr.childrenColumnName,Sn=Tr.locale,bn=Tr.expandIconColumnIndex,Mn=Tr.getPopupContainer,vn=i.useRef(new Map),Rn=Object(st.a)(hn||[],{value:hn}),En=h()(Rn,2),_n=En[0],Xn=En[1],ai=Object(i.useMemo)(function(){return sr?{keyEntities:null}:Object(Mt.a)(Mr,void 0,fn)},[Mr,fn,sr]),ri=ai.keyEntities,Di=Object(i.useMemo)(function(){return ir(Dr,Hn)},[Dr,Hn]),yi=Object(i.useMemo)(function(){var Ni=new Map;return Di.forEach(function($n,Ai){var _i=fn($n,Ai),Vi=(tt?tt($n):null)||{};Ni.set(_i,Vi)}),Ni},[Di,fn,tt]),xi=Object(i.useCallback)(function(Ni){var $n;return!!(($n=yi.get(fn(Ni)))===null||$n===void 0?void 0:$n.disabled)},[yi,fn]),Li=Object(i.useMemo)(function(){if(sr)return[_n,[]];var Ni=Object(dr.a)(_n,!0,ri,xi),$n=Ni.checkedKeys,Ai=Ni.halfCheckedKeys;return[$n,Ai]},[_n,sr,ri,xi]),Un=h()(Li,2),Ri=Un[0],fa=Un[1],Ui=Object(i.useMemo)(function(){var Ni=zr==="radio"?Ri.slice(0,1):Ri;return new Set(Ni)},[Ri,zr]),Mi=Object(i.useMemo)(function(){return zr==="radio"?new Set:new Set(fa)},[fa,zr]),mi=Object(i.useState)(null),hi=h()(mi,2),qi=hi[0],va=hi[1];i.useEffect(function(){rr||Xn([])},[!!rr]);var Ea=Object(i.useCallback)(function(Ni){var $n,Ai;if(Wr){var _i=new Map;$n=Ni,Ai=Ni.map(function(Vi){var Xi=rn(Vi);return!Xi&&vn.current.has(Vi)&&(Xi=vn.current.get(Vi)),_i.set(Vi,Xi),Xi}),vn.current=_i}else $n=[],Ai=[],Ni.forEach(function(Vi){var Xi=rn(Vi);Xi!==void 0&&($n.push(Vi),Ai.push(Xi))});Xn($n),jt&&jt($n,Ai)},[Xn,rn,jt,Wr]),ya=Object(i.useCallback)(function(Ni,$n,Ai,_i){if(Jt){var Vi=Ai.map(function(Xi){return rn(Xi)});Jt(rn(Ni),$n,Vi,_i)}Ea(Ai)},[Jt,rn,Ea]),oa=Object(i.useMemo)(function(){if(!Jr||St)return null;var Ni=Jr===!0?[ft,Ht]:Jr;return Ni.map(function($n){return $n===ft?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Mr.map(function(_i,Vi){return fn(_i,Vi)}))}}:$n===Ht?{key:"invert",text:Sn.selectInvert,onSelect:function(){var _i=new Set(Ui);Dr.forEach(function(Xi,bi){var Aa=fn(Xi,bi);_i.has(Aa)?_i.delete(Aa):_i.add(Aa)});var Vi=Array.from(_i);Ea(Vi),Or&&(Object(Tt.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Or(Vi))}}:$n})},[Jr,Ui,Dr,fn,Or,Ea]),sa=Object(i.useCallback)(function(Ni){if(!rr)return Ni;var $n=new Set(Ui),Ai=Di.map(fn).filter(function(zi){return!yi.get(zi).disabled}),_i=Ai.every(function(zi){return $n.has(zi)}),Vi=Ai.some(function(zi){return $n.has(zi)}),Xi=function(){var ba=[];_i?Ai.forEach(function(wa){$n.delete(wa),ba.push(wa)}):Ai.forEach(function(wa){$n.has(wa)||($n.add(wa),ba.push(wa))});var Ua=Array.from($n);Ea(Ua),nr&&nr(!_i,Ua.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(zr!=="radio"){var Aa;if(oa){var ca=i.createElement(pt.a,{getPopupContainer:Mn},oa.map(function(zi,ba){var Ua=zi.key,wa=zi.text,vi=zi.onSelect;return i.createElement(pt.a.Item,{key:Ua||ba,onClick:function(){vi&&vi(Ai)}},wa)}));Aa=i.createElement("div",{className:"".concat(br,"-selection-extra")},i.createElement(ut.a,{overlay:ca,getPopupContainer:Mn},i.createElement("span",null,i.createElement(Qt.a,null))))}var la=Di.every(function(zi,ba){var Ua=fn(zi,ba),wa=yi.get(Ua)||{};return wa.disabled});bi=!St&&i.createElement("div",{className:"".concat(br,"-selection")},i.createElement(xt.a,{checked:!la&&!!Di.length&&_i,indeterminate:!_i&&Vi,onChange:Xi,disabled:Di.length===0||la}),Aa)}var gi;zr==="radio"?gi=function(ba,Ua,wa){var vi=fn(Ua,wa),Ya=$n.has(vi);return{node:i.createElement(_t.a,o()({},yi.get(vi),{checked:Ya,onClick:function(pa){return pa.stopPropagation()},onChange:function(pa){$n.has(vi)||ya(vi,!0,[vi],pa.nativeEvent)}})),checked:Ya}}:gi=function(ba,Ua,wa){var vi,Ya=fn(Ua,wa),Ka=$n.has(Ya),pa=Mi.has(Ya),Oi=yi.get(Ya),So;return wn==="nest"?(So=pa,Object(Tt.a)(!(typeof(Oi==null?void 0:Oi.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=Oi==null?void 0:Oi.indeterminate)!==null&&vi!==void 0?vi:pa,{node:i.createElement(xt.a,o()({},Oi,{indeterminate:So,checked:Ka,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var qa=ja.nativeEvent,ho=qa.shiftKey,Ca=-1,to=-1;if(ho&&sr){var Lo=new Set([qi,Ya]);Ai.some(function(Fi,Ra){if(Lo.has(Fi))if(Ca===-1)Ca=Ra;else return to=Ra,!0;return!1})}if(to!==-1&&Ca!==to&&sr){var _a=Ai.slice(Ca,to+1),ki=[];Ka?_a.forEach(function(Fi){$n.has(Fi)&&(ki.push(Fi),$n.delete(Fi))}):_a.forEach(function(Fi){$n.has(Fi)||(ki.push(Fi),$n.add(Fi))});var Ja=Array.from($n);Ea(Ja),wr&&wr(!Ka,Ja.map(function(Fi){return rn(Fi)}),ki.map(function(Fi){return rn(Fi)}))}else{var Da=Ri;if(sr){var pi=Ka?Object(er.b)(Da,Ya):Object(er.a)(Da,Ya);ya(Ya,!Ka,pi,qa)}else{var Gi=Object(dr.a)([].concat(Kt()(Da),[Ya]),!0,ri,xi),oo=Gi.checkedKeys,go=Gi.halfCheckedKeys,fo=oo;if(Ka){var Ta=new Set(oo);Ta.delete(Ya),fo=Object(dr.a)(Array.from(Ta),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}ya(Ya,!Ka,fo,qa)}}va(Ya)}})),checked:Ka}};var Pa=function(ba,Ua,wa){var vi=gi(ba,Ua,wa),Ya=vi.node,Ka=vi.checked;return an?an(Ka,Ua,wa,Ya):Ya},Ma=m()({width:Er,className:"".concat(br,"-selection-column"),title:rr.columnTitle||bi,render:Pa},Fe,{className:"".concat(br,"-selection-col")});if(wn==="row"&&Ni.length&&!bn){var ra=$t()(Ni),Yi=ra[0],Xa=ra.slice(1),Ki=Zr||kt(Xa[0]);return Ki&&(Yi.fixed=Ki),[Yi,o()(o()({},Ma),{fixed:Ki})].concat(Kt()(Xa))}return[o()(o()({},Ma),{fixed:Zr||kt(Ni[0])})].concat(Kt()(Ni))},[fn,Di,rr,Ri,Ui,Mi,Er,oa,wn,qi,yi,wr,ya,xi]);return[sa,Ui]}var mr=e("6SEX"),Ar=e.n(mr),Nr=e("i8CU"),kr=e.n(Nr),tn=e("3S7+");function qr(rr,Tr){return"key"in rr&&rr.key!==void 0&&rr.key!==null?rr.key:rr.dataIndex?Array.isArray(rr.dataIndex)?rr.dataIndex.join("."):rr.dataIndex:Tr}function Lr(rr,Tr){return Tr?"".concat(Tr,"-").concat(rr):"".concat(rr)}function Qr(rr,Tr){return typeof rr=="function"?rr(Tr):rr}var Ir="ascend",ur="descend";function pr(rr){return f()(rr.sorter)==="object"&&typeof rr.sorter.multiple=="number"?rr.sorter.multiple:!1}function cr(rr){return typeof rr=="function"?rr:rr&&f()(rr)==="object"&&rr.compare?rr.compare:!1}function fr(rr,Tr){return Tr?rr[rr.indexOf(Tr)+1]:rr[0]}function xr(rr,Tr,Pr){var Wr=[];function hn(tt,jt){Wr.push({column:tt,key:qr(tt,jt),multiplePriority:pr(tt),sortOrder:tt.sortOrder})}return(rr||[]).forEach(function(tt,jt){var Jt=Lr(jt,Pr);tt.children?("sortOrder"in tt&&hn(tt,Jt),Wr=[].concat(Kt()(Wr),Kt()(xr(tt.children,Tr,Jt)))):tt.sorter&&("sortOrder"in tt?hn(tt,Jt):Tr&&tt.defaultSortOrder&&Wr.push({column:tt,key:qr(tt,Jt),multiplePriority:pr(tt),sortOrder:tt.defaultSortOrder}))}),Wr}function Yr(rr,Tr,Pr,Wr,hn,tt,jt,Jt){return(Tr||[]).map(function(nr,Or){var wr=Lr(Or,Jt),Er=nr;if(Er.sorter){var zr=Er.sortDirections||hn,Jr=Er.showSorterTooltip===void 0?jt:Er.showSorterTooltip,Zr=qr(Er,wr),an=Pr.find(function(Hn){var Sn=Hn.key;return Sn===Zr}),St=an?an.sortOrder:null,Vt=fr(zr,St),sr=zr.includes(Ir)&&i.createElement(kr.a,{className:a()("".concat(rr,"-column-sorter-up"),{active:St===Ir})}),br=zr.includes(ur)&&i.createElement(Ar.a,{className:a()("".concat(rr,"-column-sorter-down"),{active:St===ur})}),Mr=tt||{},Dr=Mr.cancelSort,rn=Mr.triggerAsc,fn=Mr.triggerDesc,wn=Dr;Vt===ur?wn=fn:Vt===Ir&&(wn=rn),Er=o()(o()({},Er),{className:a()(Er.className,m()({},"".concat(rr,"-column-sort"),St)),title:function(Sn){var bn=i.createElement("div",{className:"".concat(rr,"-column-sorters")},i.createElement("span",null,Qr(nr.title,Sn)),i.createElement("span",{className:a()("".concat(rr,"-column-sorter"),m()({},"".concat(rr,"-column-sorter-full"),sr&&br))},i.createElement("span",{className:"".concat(rr,"-column-sorter-inner")},sr,br)));return Jr?i.createElement(tn.a,{title:wn},i.createElement("div",{className:"".concat(rr,"-column-sorters-with-tooltip")},bn)):bn},onHeaderCell:function(Sn){var bn=nr.onHeaderCell&&nr.onHeaderCell(Sn)||{},Mn=bn.onClick;return bn.onClick=function(vn){Wr({column:nr,key:Zr,sortOrder:Vt,multiplePriority:pr(nr)}),Mn&&Mn(vn)},bn.className=a()(bn.className,"".concat(rr,"-column-has-sorters")),bn}})}return"children"in Er&&(Er=o()(o()({},Er),{children:Yr(rr,Er.children,Pr,Wr,hn,tt,jt,wr)})),Er})}function un(rr){var Tr=rr.column,Pr=rr.sortOrder;return{column:Tr,order:Pr,field:Tr.dataIndex,columnKey:Tr.key}}function Nn(rr){var Tr=rr.filter(function(Pr){var Wr=Pr.sortOrder;return Wr}).map(un);return Tr.length===0&&rr.length?o()(o()({},un(rr[rr.length-1])),{column:void 0}):Tr.length<=1?Tr[0]||{}:Tr}function jr(rr,Tr,Pr){var Wr=Tr.slice().sort(function(jt,Jt){return Jt.multiplePriority-jt.multiplePriority}),hn=rr.slice(),tt=Wr.filter(function(jt){var Jt=jt.column.sorter,nr=jt.sortOrder;return cr(Jt)&&nr});return tt.length?hn.sort(function(jt,Jt){for(var nr=0;nr<tt.length;nr+=1){var Or=tt[nr],wr=Or.column.sorter,Er=Or.sortOrder,zr=cr(wr);if(zr&&Er){var Jr=zr(jt,Jt,Er);if(Jr!==0)return Er===Ir?Jr:-Jr}}return 0}).map(function(jt){var Jt=jt[Pr];return Jt?o()(o()({},jt),m()({},Pr,jr(Jt,Tr,Pr))):jt}):hn}function Tn(rr){var Tr=rr.prefixCls,Pr=rr.mergedColumns,Wr=rr.onSorterChange,hn=rr.sortDirections,tt=rr.tableLocale,jt=rr.showSorterTooltip,Jt=i.useState(xr(Pr,!0)),nr=h()(Jt,2),Or=nr[0],wr=nr[1],Er=i.useMemo(function(){var St=!0,Vt=xr(Pr,!1);if(!Vt.length)return Or;var sr=[];function br(Dr){St?sr.push(Dr):sr.push(o()(o()({},Dr),{sortOrder:null}))}var Mr=null;return Vt.forEach(function(Dr){Mr===null?(br(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?St=!1:Mr=!0)):(Mr&&Dr.multiplePriority!==!1||(St=!1),br(Dr))}),sr},[Pr,Or]),zr=i.useMemo(function(){var St=Er.map(function(Vt){var sr=Vt.column,br=Vt.sortOrder;return{column:sr,order:br}});return{sortColumns:St,sortColumn:St[0]&&St[0].column,sortOrder:St[0]&&St[0].order}},[Er]);function Jr(St){var Vt;St.multiplePriority===!1||!Er.length||Er[0].multiplePriority===!1?Vt=[St]:Vt=[].concat(Kt()(Er.filter(function(sr){var br=sr.key;return br!==St.key})),[St]),wr(Vt),Wr(Nn(Vt),Vt)}var Zr=function(Vt){return Yr(Tr,Vt,Er,Jr,hn,tt,jt)},an=function(){return Nn(Er)};return[Zr,Er,zr,an]}var gn=e("Y+p1"),Pn=e.n(gn),zn=e("5Uyt"),qn=e.n(zn),Yn=e("2/Rp"),Vn=e("ECub"),An=function(Tr){return i.createElement("div",{className:Tr.className,onClick:function(Wr){return Wr.stopPropagation()}},Tr.children)},on=An,ia=e("sPtV"),xa=pt.a.SubMenu,ta=pt.a.Item;function Ii(rr){return rr.some(function(Tr){var Pr=Tr.children;return Pr})}function Ci(rr){var Tr=rr.filters,Pr=rr.prefixCls,Wr=rr.filteredKeys,hn=rr.filterMultiple,tt=rr.locale;return Tr.length===0?i.createElement(i.Fragment,null,i.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:tt.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Tr.map(function(jt,Jt){var nr=String(jt.value);if(jt.children)return i.createElement(xa,{key:nr||Jt,title:jt.text,popupClassName:"".concat(Pr,"-dropdown-submenu")},Ci({filters:jt.children,prefixCls:Pr,filteredKeys:Wr,filterMultiple:hn,locale:tt}));var Or=hn?xt.a:_t.a;return i.createElement(ta,{key:jt.value!==void 0?nr:Jt},i.createElement(Or,{checked:Wr.includes(nr)}),i.createElement("span",null,jt.text))})}function Gn(rr){var Tr,Pr=rr.prefixCls,Wr=rr.column,hn=rr.dropdownPrefixCls,tt=rr.columnKey,jt=rr.filterMultiple,Jt=rr.filterState,nr=rr.triggerFilter,Or=rr.locale,wr=rr.children,Er=rr.getPopupContainer,zr=Wr.filterDropdownVisible,Jr=Wr.onFilterDropdownVisibleChange,Zr=i.useState(!1),an=h()(Zr,2),St=an[0],Vt=an[1],sr=!!(Jt&&(((Tr=Jt.filteredKeys)===null||Tr===void 0?void 0:Tr.length)||Jt.forceFiltered)),br=function(hi){Vt(hi),Jr&&Jr(hi)},Mr=typeof zr=="boolean"?zr:St,Dr=Jt&&Jt.filteredKeys,rn=Object(ia.a)(Dr||[]),fn=h()(rn,2),wn=fn[0],Hn=fn[1],Sn=function(hi){var qi=hi.selectedKeys;Hn(qi)};i.useEffect(function(){Sn({selectedKeys:Dr||[]})},[Dr]);var bn=i.useState([]),Mn=h()(bn,2),vn=Mn[0],Rn=Mn[1],En=i.useRef(),_n=function(hi){En.current=window.setTimeout(function(){Rn(hi)})},Xn=function(){window.clearTimeout(En.current)};i.useEffect(function(){return function(){window.clearTimeout(En.current)}},[]);var ai=function(hi){br(!1);var qi=hi&&hi.length?hi:null;if(qi===null&&(!Jt||!Jt.filteredKeys))return null;if(Pn()(qi,Jt==null?void 0:Jt.filteredKeys))return null;nr({column:Wr,key:tt,filteredKeys:qi})},ri=function(){ai(wn())},Di=function(){Hn([]),ai([])},yi=function(hi){hi&&Dr!==void 0&&Hn(Dr||[]),br(hi),!hi&&!Wr.filterDropdown&&ri()},xi=a()(m()({},"".concat(hn,"-menu-without-submenu"),!Ii(Wr.filters||[]))),Li;if(typeof Wr.filterDropdown=="function")Li=Wr.filterDropdown({prefixCls:"".concat(hn,"-custom"),setSelectedKeys:function(hi){return Sn({selectedKeys:hi})},selectedKeys:wn(),confirm:ri,clearFilters:Di,filters:Wr.filters,visible:Mr});else if(Wr.filterDropdown)Li=Wr.filterDropdown;else{var Un=wn()||[];Li=i.createElement(i.Fragment,null,i.createElement(pt.a,{multiple:jt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Xn,onSelect:Sn,onDeselect:Sn,selectedKeys:Un,getPopupContainer:Er,openKeys:vn,onOpenChange:_n},Ci({filters:Wr.filters||[],prefixCls:Pr,filteredKeys:wn(),filterMultiple:jt,locale:Or})),i.createElement("div",{className:"".concat(Pr,"-dropdown-btns")},i.createElement(Yn.a,{type:"link",size:"small",disabled:Un.length===0,onClick:Di},Or.filterReset),i.createElement(Yn.a,{type:"primary",size:"small",onClick:ri},Or.filterConfirm)))}var Ri=i.createElement(on,{className:"".concat(Pr,"-dropdown")},Li),fa;typeof Wr.filterIcon=="function"?fa=Wr.filterIcon(sr):Wr.filterIcon?fa=Wr.filterIcon:fa=i.createElement(qn.a,null);var Ui=i.useContext(Q.b),Mi=Ui.direction;return i.createElement("div",{className:a()("".concat(Pr,"-column"))},i.createElement("span",{className:"".concat(Pr,"-column-title")},wr),i.createElement("span",{className:a()("".concat(Pr,"-trigger-container"),m()({},"".concat(Pr,"-trigger-container-open"),Mr)),onClick:function(hi){hi.stopPropagation()}},i.createElement(ut.a,{overlay:Ri,trigger:["click"],visible:Mr,onVisibleChange:yi,getPopupContainer:Er,placement:Mi==="rtl"?"bottomLeft":"bottomRight"},i.createElement("span",{role:"button",tabIndex:-1,className:a()("".concat(Pr,"-trigger"),{active:sr})},fa))))}var Oa=Gn;function mn(rr,Tr,Pr){var Wr=[];return(rr||[]).forEach(function(hn,tt){var jt=Lr(tt,Pr);"children"in hn?Wr=[].concat(Kt()(Wr),Kt()(mn(hn.children,Tr,jt))):(hn.filters||"filterDropdown"in hn||"onFilter"in hn)&&("filteredValue"in hn?Wr.push({column:hn,key:qr(hn,jt),filteredKeys:hn.filteredValue,forceFiltered:hn.filtered}):Wr.push({column:hn,key:qr(hn,jt),filteredKeys:Tr&&hn.defaultFilteredValue?hn.defaultFilteredValue:void 0,forceFiltered:hn.filtered}))}),Wr}function On(rr,Tr,Pr,Wr,hn,tt,jt,Jt){return Pr.map(function(nr,Or){var wr=Lr(Or,Jt),Er=nr.filterMultiple,zr=Er===void 0?!0:Er;if(nr.filters||"filterDropdown"in nr){var Jr=qr(nr,wr),Zr=Wr.find(function(an){var St=an.key;return Jr===St});return o()(o()({},nr),{title:function(St){return i.createElement(Oa,{prefixCls:"".concat(rr,"-filter"),dropdownPrefixCls:Tr,column:nr,columnKey:Jr,filterState:Zr,filterMultiple:zr,triggerFilter:hn,locale:jt,getPopupContainer:tt},Qr(nr.title,St))}})}return"children"in nr?o()(o()({},nr),{children:On(rr,Tr,nr.children,Wr,hn,tt,jt,wr)}):nr})}function Ln(rr){var Tr={};return rr.forEach(function(Pr){var Wr=Pr.key,hn=Pr.filteredKeys;Tr[Wr]=hn||null}),Tr}function In(rr){var Tr=[];return(rr||[]).forEach(function(Pr){var Wr=Pr.value,hn=Pr.children;Tr.push(Wr),hn&&(Tr=[].concat(Kt()(Tr),Kt()(In(hn))))}),Tr}function jn(rr,Tr){return Tr.reduce(function(Pr,Wr){var hn=Wr.column,tt=hn.onFilter,jt=hn.filters,Jt=Wr.filteredKeys;return tt&&Jt&&Jt.length?Pr.filter(function(nr){return Jt.some(function(Or){var wr=In(jt),Er=wr.findIndex(function(Jr){return String(Jr)===String(Or)}),zr=Er!==-1?wr[Er]:Or;return tt(zr,nr)})}):Pr},rr)}function ni(rr){var Tr=rr.prefixCls,Pr=rr.dropdownPrefixCls,Wr=rr.mergedColumns,hn=rr.onFilterChange,tt=rr.getPopupContainer,jt=rr.locale,Jt=i.useState(mn(Wr,!0)),nr=h()(Jt,2),Or=nr[0],wr=nr[1],Er=i.useMemo(function(){var an=mn(Wr,!1);return an.every(function(St){var Vt=St.filteredKeys;return Vt===void 0})?Or:an},[Wr,Or]),zr=i.useCallback(function(){return Ln(Er)},[Er]),Jr=function(St){var Vt=Er.filter(function(sr){var br=sr.key;return br!==St.key});Vt.push(St),wr(Vt),hn(Ln(Vt),Vt)},Zr=function(St){return On(Tr,Pr,St,Er,Jr,tt,jt)};return[Zr,Er,zr]}var di=ni;function Na(rr,Tr){return rr.map(function(Pr){var Wr=o()({},Pr);return Wr.title=Qr(Pr.title,Tr),"children"in Wr&&(Wr.children=Na(Wr.children,Tr)),Wr})}function Qi(rr){var Tr=i.useCallback(function(Pr){return Na(Pr,rr)},[rr]);return[Tr]}function ma(rr){return function(Pr){var Wr,hn=Pr.prefixCls,tt=Pr.onExpand,jt=Pr.record,Jt=Pr.expanded,nr=Pr.expandable,Or="".concat(hn,"-row-expand-icon");return i.createElement("button",{type:"button",onClick:function(Er){tt(jt,Er),Er.stopPropagation()},className:a()(Or,(Wr={},m()(Wr,"".concat(Or,"-spaced"),!nr),m()(Wr,"".concat(Or,"-expanded"),nr&&Jt),m()(Wr,"".concat(Or,"-collapsed"),nr&&!Jt),Wr)),"aria-label":Jt?rr.collapse:rr.expand})}}var Ba=ma,Qa=e("zAh6"),Wi=e("ZvpZ"),Co=Wi.a,aa=e("3Nzz");function Hi(rr){return null}var ga=Hi;function ha(rr){return null}var mo=ha,Fn=e("5OYt"),$i=[];function eo(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.style,tt=rr.size,jt=rr.bordered,Jt=rr.dropdownPrefixCls,nr=rr.dataSource,Or=rr.pagination,wr=rr.rowSelection,Er=rr.rowKey,zr=rr.rowClassName,Jr=rr.columns,Zr=rr.children,an=rr.childrenColumnName,St=rr.onChange,Vt=rr.getPopupContainer,sr=rr.loading,br=rr.expandIcon,Mr=rr.expandable,Dr=rr.expandedRowRender,rn=rr.expandIconColumnIndex,fn=rr.indentSize,wn=rr.scroll,Hn=rr.sortDirections,Sn=rr.locale,bn=rr.showSorterTooltip,Mn=bn===void 0?!0:bn;Object(Tt.a)(!(typeof Er=="function"&&Er.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var vn=Object(Fn.a)(),Rn=i.useMemo(function(){var Ta=new Set(Object.keys(vn).filter(function(Fi){return vn[Fi]}));return(Jr||Be(Zr)).filter(function(Fi){return!Fi.responsive||Fi.responsive.some(function(Ra){return Ta.has(Ra)})})},[Zr,Jr,vn]),En=Object(u.default)(rr,["className","style","columns"]),_n=i.useContext(aa.b),Xn=i.useContext(Q.b),ai=Xn.locale,ri=ai===void 0?Co:ai,Di=Xn.renderEmpty,yi=Xn.direction,xi=tt||_n,Li=o()(o()({},ri.Table),Sn),Un=nr||$i,Ri=i.useContext(Q.b),fa=Ri.getPrefixCls,Ui=fa("table",Pr),Mi=fa("dropdown",Jt),mi=o()({childrenColumnName:an,expandIconColumnIndex:rn},Mr),hi=mi.childrenColumnName,qi=hi===void 0?"children":hi,va=i.useMemo(function(){return Un.some(function(Ta){var Fi;return(Fi=Ta)===null||Fi===void 0?void 0:Fi[qi]})?"nest":Dr||Mr&&Mr.expandedRowRender?"row":null},[Un]),Ea={body:i.useRef()},ya=i.useMemo(function(){return typeof Er=="function"?Er:function(Ta){var Fi;return(Fi=Ta)===null||Fi===void 0?void 0:Fi[Er]}},[Er]),oa=gt(Un,qi,ya),sa=h()(oa,1),Ni=sa[0],$n={},Ai=function(Fi,Ra){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=o()(o()({},$n),Fi);Vo&&($n.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Or&&Or.onChange&&Or.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Qa.a)(0,{getContainer:function(){return Ea.body.current}}),St&&St(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(Un,ro.sorterStates,qi),ro.filterStates),action:Ra})},_i=function(Fi,Ra){Ai({sorter:Fi,sorterStates:Ra},"sort",!1)},Vi=Tn({prefixCls:Ui,mergedColumns:Rn,onSorterChange:_i,sortDirections:Hn||["ascend","descend"],tableLocale:Li,showSorterTooltip:Mn}),Xi=h()(Vi,4),bi=Xi[0],Aa=Xi[1],ca=Xi[2],la=Xi[3],gi=i.useMemo(function(){return jr(Un,Aa,qi)},[Un,Aa]);$n.sorter=la(),$n.sorterStates=Aa;var Pa=function(Fi,Ra){Ai({filters:Fi,filterStates:Ra},"filter",!0)},Ma=di({prefixCls:Ui,locale:Li,dropdownPrefixCls:Mi,mergedColumns:Rn,onFilterChange:Pa,getPopupContainer:Vt}),ra=h()(Ma,3),Yi=ra[0],Xa=ra[1],Ki=ra[2],zi=jn(gi,Xa);$n.filters=Ki(),$n.filterStates=Xa;var ba=i.useMemo(function(){return o()({},ca)},[ca]),Ua=Qi(ba),wa=h()(Ua,1),vi=wa[0],Ya=function(Fi,Ra){Ai({pagination:o()(o()({},$n.pagination),{current:Fi,pageSize:Ra})},"paginate")},Ka=$e(zi.length,Or,Ya),pa=h()(Ka,2),Oi=pa[0],So=pa[1];$n.pagination=Or===!1?{}:Ie(Or,Oi),$n.resetPagination=So;var za=i.useMemo(function(){if(Or===!1||!Oi.pageSize)return zi;var Ta=Oi.current,Fi=Ta===void 0?1:Ta,Ra=Oi.total,Vo=Oi.pageSize,ro=Vo===void 0?be:Vo;return zi.length<Ra?zi.length>ro?(Object(Tt.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),zi.slice((Fi-1)*ro,Fi*ro)):zi:zi.slice((Fi-1)*ro,Fi*ro)},[!!Or,zi,Oi&&Oi.current,Oi&&Oi.pageSize,Oi&&Oi.total]),ja=Xt(wr,{prefixCls:Ui,data:zi,pageData:za,getRowKey:ya,getRecordByKey:Ni,expandType:va,childrenColumnName:qi,locale:Li,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:Vt}),qa=h()(ja,2),ho=qa[0],Ca=qa[1],to=function(Fi,Ra,Vo){var ro;return typeof zr=="function"?ro=a()(zr(Fi,Ra,Vo)):ro=a()(zr),a()(m()({},"".concat(Ui,"-row-selected"),Ca.has(ya(Fi,Ra))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||br||Ba(Li),va==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=wr?1:0:mi.expandIconColumnIndex>0&&wr&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof fn=="number"?fn:15);var Lo=i.useCallback(function(Ta){return vi(ho(Yi(bi(Ta))))},[bi,Yi,ho]),_a,ki;if(Or!==!1){var Ja;Oi.size?Ja=Oi.size:Ja=xi==="small"||xi==="middle"?"small":void 0;var Da=function(Fi){return i.createElement(he.a,o()({className:"".concat(Ui,"-pagination ").concat(Ui,"-pagination-").concat(Fi)},Oi,{size:Ja}))},pi=yi==="rtl"?"left":"right";if(Oi.position!==null&&Array.isArray(Oi.position)){var Gi=Oi.position.find(function(Ta){return Ta.indexOf("top")!==-1}),oo=Oi.position.find(function(Ta){return Ta.indexOf("bottom")!==-1});!Gi&&!oo?ki=Da(pi):(Gi&&(_a=Da(Gi.toLowerCase().replace("top",""))),oo&&(ki=Da(oo.toLowerCase().replace("bottom",""))))}else ki=Da(pi)}var go;typeof sr=="boolean"?go={spinning:sr}:f()(sr)==="object"&&(go=o()({spinning:!0},sr));var fo=a()("".concat(Ui,"-wrapper"),Wr,m()({},"".concat(Ui,"-wrapper-rtl"),yi==="rtl"));return i.createElement("div",{className:fo,style:hn},i.createElement(ne.a,o()({spinning:!1},go),_a,i.createElement(Ot,o()({},En,{columns:Rn,direction:yi,expandable:mi,prefixCls:Ui,className:a()((Tr={},m()(Tr,"".concat(Ui,"-middle"),xi==="middle"),m()(Tr,"".concat(Ui,"-small"),xi==="small"),m()(Tr,"".concat(Ui,"-bordered"),jt),m()(Tr,"".concat(Ui,"-empty"),Un.length===0),Tr)),data:za,rowKey:ya,rowClassName:to,emptyText:Sn&&Sn.emptyText||Di("Table"),internalHooks:Ye,internalRefs:Ea,transformColumns:Lo})),zi&&zi.length>0&&ki))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=ft,eo.SELECTION_INVERT=Ht,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=It;var To=eo,uo=_.a=To},wDdD:function(D,_,e){var g=e("ProS"),f=e("bYtY");e("98bh"),e("GrNh");var A=e("d4KN"),m=e("mOdp"),v=e("KS52"),h=e("0/Rx");A("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),g.registerVisual(m("pie")),g.registerLayout(f.curry(v,"pie")),g.registerProcessor(h("pie"))},"wF/u":function(D,_,e){var g=e("e5cp"),f=e("ExA7");function A(m,v,h,c,o){return m===v?!0:m==null||v==null||!f(m)&&!f(v)?m!==m&&v!==v:g(m,v,h,c,A,o)}D.exports=A},wJg7:function(D,_){var e=9007199254740991,g=/^(?:0|[1-9]\d*)$/;function f(A,m){var v=typeof A;return m=m==null?e:m,!!m&&(v=="number"||v!="symbol"&&g.test(A))&&(A>-1&&A%1==0)&&A<m}D.exports=f},wOnQ:function(D,_,e){/*!
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/(function(g,f){D.exports=f()})(this,function(){"use strict";/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var g=function(Z,Me){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Je,Lt){Je.__proto__=Lt}||function(Je,Lt){for(var tr in Lt)Lt.hasOwnProperty(tr)&&(Je[tr]=Lt[tr])},g(Z,Me)};function f(qe,Z){g(qe,Z);function Me(){this.constructor=qe}qe.prototype=Z===null?Object.create(Z):(Me.prototype=Z.prototype,new Me)}var A=function(){return A=Object.assign||function(Me){for(var Je,Lt=1,tr=arguments.length;Lt<tr;Lt++){Je=arguments[Lt];for(var vr in Je)Object.prototype.hasOwnProperty.call(Je,vr)&&(Me[vr]=Je[vr])}return Me},A.apply(this,arguments)};function m(qe,Z,Me,Je){return new(Me||(Me=Promise))(function(Lt,tr){function vr(Kr){try{Hr(Je.next(Kr))}catch(cn){tr(cn)}}function _r(Kr){try{Hr(Je.throw(Kr))}catch(cn){tr(cn)}}function Hr(Kr){Kr.done?Lt(Kr.value):new Me(function(cn){cn(Kr.value)}).then(vr,_r)}Hr((Je=Je.apply(qe,Z||[])).next())})}function v(qe,Z){var Me={label:0,sent:function(){if(tr[0]&1)throw tr[1];return tr[1]},trys:[],ops:[]},Je,Lt,tr,vr;return vr={next:_r(0),throw:_r(1),return:_r(2)},typeof Symbol=="function"&&(vr[Symbol.iterator]=function(){return this}),vr;function _r(Kr){return function(cn){return Hr([Kr,cn])}}function Hr(Kr){if(Je)throw new TypeError("Generator is already executing.");for(;Me;)try{if(Je=1,Lt&&(tr=Kr[0]&2?Lt.return:Kr[0]?Lt.throw||((tr=Lt.return)&&tr.call(Lt),0):Lt.next)&&!(tr=tr.call(Lt,Kr[1])).done)return tr;(Lt=0,tr)&&(Kr=[Kr[0]&2,tr.value]);switch(Kr[0]){case 0:case 1:tr=Kr;break;case 4:return Me.label++,{value:Kr[1],done:!1};case 5:Me.label++,Lt=Kr[1],Kr=[0];continue;case 7:Kr=Me.ops.pop(),Me.trys.pop();continue;default:if(!(tr=Me.trys,tr=tr.length>0&&tr[tr.length-1])&&(Kr[0]===6||Kr[0]===2)){Me=0;continue}if(Kr[0]===3&&(!tr||Kr[1]>tr[0]&&Kr[1]<tr[3])){Me.label=Kr[1];break}if(Kr[0]===6&&Me.label<tr[1]){Me.label=tr[1],tr=Kr;break}if(tr&&Me.label<tr[2]){Me.label=tr[2],Me.ops.push(Kr);break}tr[2]&&Me.ops.pop(),Me.trys.pop();continue}Kr=Z.call(qe,Me)}catch(cn){Kr=[6,cn],Lt=0}finally{Je=tr=0}if(Kr[0]&5)throw Kr[1];return{value:Kr[0]?Kr[1]:void 0,done:!0}}}for(var h=function(){function qe(Z,Me,Je,Lt){this.left=Z,this.top=Me,this.width=Je,this.height=Lt}return qe.prototype.add=function(Z,Me,Je,Lt){return new qe(this.left+Z,this.top+Me,this.width+Je,this.height+Lt)},qe.fromClientRect=function(Z){return new qe(Z.left,Z.top,Z.width,Z.height)},qe}(),c=function(Z){return h.fromClientRect(Z.getBoundingClientRect())},o=function(Z){var Me=Z.body,Je=Z.documentElement;if(!Me||!Je)throw new Error("Unable to get document size");var Lt=Math.max(Math.max(Me.scrollWidth,Je.scrollWidth),Math.max(Me.offsetWidth,Je.offsetWidth),Math.max(Me.clientWidth,Je.clientWidth)),tr=Math.max(Math.max(Me.scrollHeight,Je.scrollHeight),Math.max(Me.offsetHeight,Je.offsetHeight),Math.max(Me.clientHeight,Je.clientHeight));return new h(0,0,Lt,tr)},i=function(Z){for(var Me=[],Je=0,Lt=Z.length;Je<Lt;){var tr=Z.charCodeAt(Je++);if(tr>=55296&&tr<=56319&&Je<Lt){var vr=Z.charCodeAt(Je++);(vr&64512)===56320?Me.push(((tr&1023)<<10)+(vr&1023)+65536):(Me.push(tr),Je--)}else Me.push(tr)}return Me},n=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];if(String.fromCodePoint)return String.fromCodePoint.apply(String,Z);var Je=Z.length;if(!Je)return"";for(var Lt=[],tr=-1,vr="";++tr<Je;){var _r=Z[tr];_r<=65535?Lt.push(_r):(_r-=65536,Lt.push((_r>>10)+55296,_r%1024+56320)),(tr+1===Je||Lt.length>16384)&&(vr+=String.fromCharCode.apply(String,Lt),Lt.length=0)}return vr},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),r=0;r<a.length;r++)u[a.charCodeAt(r)]=r;var l=function(Z){var Me=Z.length*.75,Je=Z.length,Lt,tr=0,vr,_r,Hr,Kr;Z[Z.length-1]==="="&&(Me--,Z[Z.length-2]==="="&&Me--);var cn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Me):new Array(Me),sn=Array.isArray(cn)?cn:new Uint8Array(cn);for(Lt=0;Lt<Je;Lt+=4)vr=u[Z.charCodeAt(Lt)],_r=u[Z.charCodeAt(Lt+1)],Hr=u[Z.charCodeAt(Lt+2)],Kr=u[Z.charCodeAt(Lt+3)],sn[tr++]=vr<<2|_r>>4,sn[tr++]=(_r&15)<<4|Hr>>2,sn[tr++]=(Hr&3)<<6|Kr&63;return cn},t=function(Z){for(var Me=Z.length,Je=[],Lt=0;Lt<Me;Lt+=2)Je.push(Z[Lt+1]<<8|Z[Lt]);return Je},s=function(Z){for(var Me=Z.length,Je=[],Lt=0;Lt<Me;Lt+=4)Je.push(Z[Lt+3]<<24|Z[Lt+2]<<16|Z[Lt+1]<<8|Z[Lt]);return Je},d=5,p=6+5,b=2,w=p-d,E=65536>>d,S=1<<d,x=S-1,T=1024>>d,L=E+T,y=L,C=2048>>6,O=y+C,N=65536>>p,k=1<<w,F=k-1,B=function(Z,Me,Je){return Z.slice?Z.slice(Me,Je):new Uint16Array(Array.prototype.slice.call(Z,Me,Je))},H=function(Z,Me,Je){return Z.slice?Z.slice(Me,Je):new Uint32Array(Array.prototype.slice.call(Z,Me,Je))},W=function(Z){var Me=l(Z),Je=Array.isArray(Me)?s(Me):new Uint32Array(Me),Lt=Array.isArray(Me)?t(Me):new Uint16Array(Me),tr=24,vr=B(Lt,tr/2,Je[4]/2),_r=Je[5]===2?B(Lt,(tr+Je[4])/2):H(Je,Math.ceil((tr+Je[4])/4));return new R(Je[0],Je[1],Je[2],Je[3],vr,_r)},R=function(){function qe(Z,Me,Je,Lt,tr,vr){this.initialValue=Z,this.errorValue=Me,this.highStart=Je,this.highValueIndex=Lt,this.index=tr,this.data=vr}return qe.prototype.get=function(Z){var Me;if(Z>=0){if(Z<55296||Z>56319&&Z<=65535)return Me=this.index[Z>>d],Me=(Me<<b)+(Z&x),this.data[Me];if(Z<=65535)return Me=this.index[E+(Z-55296>>d)],Me=(Me<<b)+(Z&x),this.data[Me];if(Z<this.highStart)return Me=O-N+(Z>>p),Me=this.index[Me],Me+=Z>>d&F,Me=this.index[Me],Me=(Me<<b)+(Z&x),this.data[Me];if(Z<=1114111)return this.data[this.highValueIndex]}return this.errorValue},qe}(),U="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",j=50,P=1,K=2,V=3,z=4,X=5,G=7,le=8,Y=9,me=10,we=11,pe=12,Fe=13,Xe=14,dt=15,Ee=16,Se=17,at=18,_e=19,ce=20,ee=21,se=22,ke=23,Ce=24,ze=25,Oe=26,ae=27,ge=28,Le=29,Ze=30,vt=31,Ct=32,Be=33,Rt=34,He=35,wt=36,Ge=37,et=38,rt=39,lt=40,Ve=41,ie=42,$=43,it="!",Qe="\xD7",ye="\xF7",Zt=W(U),ht=[Ze,wt],ct=[P,K,V,X],yt=[me,le],It=[ae,Oe],or=ct.concat(yt),Bt=[et,rt,lt,Rt,He],Ae=[dt,Fe],ve=function(Z,Me){Me===void 0&&(Me="strict");var Je=[],Lt=[],tr=[];return Z.forEach(function(vr,_r){var Hr=Zt.get(vr);if(Hr>j?(tr.push(!0),Hr-=j):tr.push(!1),["normal","auto","loose"].indexOf(Me)!==-1&&[8208,8211,12316,12448].indexOf(vr)!==-1)return Lt.push(_r),Je.push(Ee);if(Hr===z||Hr===we){if(_r===0)return Lt.push(_r),Je.push(Ze);var Kr=Je[_r-1];return or.indexOf(Kr)===-1?(Lt.push(Lt[_r-1]),Je.push(Kr)):(Lt.push(_r),Je.push(Ze))}if(Lt.push(_r),Hr===vt)return Je.push(Me==="strict"?ee:Ge);if(Hr===ie)return Je.push(Ze);if(Hr===Le)return Je.push(Ze);if(Hr===$)return vr>=131072&&vr<=196605||vr>=196608&&vr<=262141?Je.push(Ge):Je.push(Ze);Je.push(Hr)}),[Lt,Je,tr]},fe=function(Z,Me,Je,Lt){var tr=Lt[Je];if(Array.isArray(Z)?Z.indexOf(tr)!==-1:Z===tr)for(var vr=Je;vr<=Lt.length;){vr++;var _r=Lt[vr];if(_r===Me)return!0;if(_r!==me)break}if(tr===me)for(var vr=Je;vr>0;){vr--;var Hr=Lt[vr];if(Array.isArray(Z)?Z.indexOf(Hr)!==-1:Z===Hr)for(var Kr=Je;Kr<=Lt.length;){Kr++;var _r=Lt[Kr];if(_r===Me)return!0;if(_r!==me)break}if(Hr!==me)break}return!1},ue=function(Z,Me){for(var Je=Z;Je>=0;){var Lt=Me[Je];if(Lt===me)Je--;else return Lt}return 0},Ne=function(Z,Me,Je,Lt,tr){if(Je[Lt]===0)return Qe;var vr=Lt-1;if(Array.isArray(tr)&&tr[vr]===!0)return Qe;var _r=vr-1,Hr=vr+1,Kr=Me[vr],cn=_r>=0?Me[_r]:0,sn=Me[Hr];if(Kr===K&&sn===V)return Qe;if(ct.indexOf(Kr)!==-1)return it;if(ct.indexOf(sn)!==-1)return Qe;if(yt.indexOf(sn)!==-1)return Qe;if(ue(vr,Me)===le)return ye;if(Zt.get(Z[vr])===we&&(sn===Ge||sn===Ct||sn===Be))return Qe;if(Kr===G||sn===G)return Qe;if(Kr===Y)return Qe;if([me,Fe,dt].indexOf(Kr)===-1&&sn===Y)return Qe;if([Se,at,_e,Ce,ge].indexOf(sn)!==-1)return Qe;if(ue(vr,Me)===se)return Qe;if(fe(ke,se,vr,Me))return Qe;if(fe([Se,at],ee,vr,Me))return Qe;if(fe(pe,pe,vr,Me))return Qe;if(Kr===me)return ye;if(Kr===ke||sn===ke)return Qe;if(sn===Ee||Kr===Ee)return ye;if([Fe,dt,ee].indexOf(sn)!==-1||Kr===Xe)return Qe;if(cn===wt&&Ae.indexOf(Kr)!==-1)return Qe;if(Kr===ge&&sn===wt)return Qe;if(sn===ce&&ht.concat(ce,_e,ze,Ge,Ct,Be).indexOf(Kr)!==-1)return Qe;if(ht.indexOf(sn)!==-1&&Kr===ze||ht.indexOf(Kr)!==-1&&sn===ze)return Qe;if(Kr===ae&&[Ge,Ct,Be].indexOf(sn)!==-1||[Ge,Ct,Be].indexOf(Kr)!==-1&&sn===Oe)return Qe;if(ht.indexOf(Kr)!==-1&&It.indexOf(sn)!==-1||It.indexOf(Kr)!==-1&&ht.indexOf(sn)!==-1)return Qe;if([ae,Oe].indexOf(Kr)!==-1&&(sn===ze||[se,dt].indexOf(sn)!==-1&&Me[Hr+1]===ze)||[se,dt].indexOf(Kr)!==-1&&sn===ze||Kr===ze&&[ze,ge,Ce].indexOf(sn)!==-1)return Qe;if([ze,ge,Ce,Se,at].indexOf(sn)!==-1)for(var kn=vr;kn>=0;){var si=Me[kn];if(si===ze)return Qe;if([ge,Ce].indexOf(si)!==-1)kn--;else break}if([ae,Oe].indexOf(sn)!==-1)for(var kn=[Se,at].indexOf(Kr)!==-1?_r:vr;kn>=0;){var si=Me[kn];if(si===ze)return Qe;if([ge,Ce].indexOf(si)!==-1)kn--;else break}if(et===Kr&&[et,rt,Rt,He].indexOf(sn)!==-1||[rt,Rt].indexOf(Kr)!==-1&&[rt,lt].indexOf(sn)!==-1||[lt,He].indexOf(Kr)!==-1&&sn===lt)return Qe;if(Bt.indexOf(Kr)!==-1&&[ce,Oe].indexOf(sn)!==-1||Bt.indexOf(sn)!==-1&&Kr===ae)return Qe;if(ht.indexOf(Kr)!==-1&&ht.indexOf(sn)!==-1)return Qe;if(Kr===Ce&&ht.indexOf(sn)!==-1)return Qe;if(ht.concat(ze).indexOf(Kr)!==-1&&sn===se||ht.concat(ze).indexOf(sn)!==-1&&Kr===at)return Qe;if(Kr===Ve&&sn===Ve){for(var Kn=Je[vr],fi=1;Kn>0&&(Kn--,Me[Kn]===Ve);)fi++;if(fi%2!==0)return Qe}return Kr===Ct&&sn===Be?Qe:ye},je=function(Z,Me){Me||(Me={lineBreak:"normal",wordBreak:"normal"});var Je=ve(Z,Me.lineBreak),Lt=Je[0],tr=Je[1],vr=Je[2];(Me.wordBreak==="break-all"||Me.wordBreak==="break-word")&&(tr=tr.map(function(Hr){return[ze,Ze,ie].indexOf(Hr)!==-1?Ge:Hr}));var _r=Me.wordBreak==="keep-all"?vr.map(function(Hr,Kr){return Hr&&Z[Kr]>=19968&&Z[Kr]<=40959}):void 0;return[Lt,tr,_r]},Ke=function(){function qe(Z,Me,Je,Lt){this.codePoints=Z,this.required=Me===it,this.start=Je,this.end=Lt}return qe.prototype.slice=function(){return n.apply(void 0,this.codePoints.slice(this.start,this.end))},qe}(),Ye=function(Z,Me){var Je=i(Z),Lt=je(Je,Me),tr=Lt[0],vr=Lt[1],_r=Lt[2],Hr=Je.length,Kr=0,cn=0;return{next:function(){if(cn>=Hr)return{done:!0,value:null};for(var kn=Qe;cn<Hr&&(kn=Ne(Je,vr,tr,++cn,_r))===Qe;);if(kn!==Qe||cn===Hr){var si=new Ke(Je,kn,Kr,cn);return Kr=cn,{value:si,done:!1}}return{done:!0,value:null}}}},Pe;(function(qe){qe[qe.STRING_TOKEN=0]="STRING_TOKEN",qe[qe.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",qe[qe.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",qe[qe.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",qe[qe.COMMA_TOKEN=4]="COMMA_TOKEN",qe[qe.HASH_TOKEN=5]="HASH_TOKEN",qe[qe.DELIM_TOKEN=6]="DELIM_TOKEN",qe[qe.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",qe[qe.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",qe[qe.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",qe[qe.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",qe[qe.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",qe[qe.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",qe[qe.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",qe[qe.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",qe[qe.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",qe[qe.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",qe[qe.NUMBER_TOKEN=17]="NUMBER_TOKEN",qe[qe.FUNCTION=18]="FUNCTION",qe[qe.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",qe[qe.IDENT_TOKEN=20]="IDENT_TOKEN",qe[qe.COLUMN_TOKEN=21]="COLUMN_TOKEN",qe[qe.URL_TOKEN=22]="URL_TOKEN",qe[qe.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",qe[qe.CDC_TOKEN=24]="CDC_TOKEN",qe[qe.CDO_TOKEN=25]="CDO_TOKEN",qe[qe.COLON_TOKEN=26]="COLON_TOKEN",qe[qe.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",qe[qe.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",qe[qe.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",qe[qe.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",qe[qe.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",qe[qe.EOF_TOKEN=32]="EOF_TOKEN"})(Pe||(Pe={}));var nt=1<<0,At=1<<1,Ot=1<<2,ne=1<<3,he=10,Q=47,te=92,be=9,Ie=32,Re=34,$e=61,gt=35,Wt=36,$t=37,Dt=39,Kt=40,Gt=41,Qt=95,Mt=45,dr=33,er=60,st=62,xt=64,ut=91,pt=93,_t=61,Tt=123,ft=63,Ht=125,kt=124,ir=126,Xt=128,mr=65533,Ar=42,Nr=43,kr=44,tn=58,qr=59,Lr=46,Qr=0,Ir=8,ur=11,pr=14,cr=31,fr=127,xr=-1,Yr=48,un=97,Nn=101,jr=102,Tn=117,gn=122,Pn=65,zn=69,qn=70,Yn=85,Vn=90,An=function(Z){return Z>=Yr&&Z<=57},on=function(Z){return Z>=55296&&Z<=57343},ia=function(Z){return An(Z)||Z>=Pn&&Z<=qn||Z>=un&&Z<=jr},xa=function(Z){return Z>=un&&Z<=gn},ta=function(Z){return Z>=Pn&&Z<=Vn},Ii=function(Z){return xa(Z)||ta(Z)},Ci=function(Z){return Z>=Xt},Gn=function(Z){return Z===he||Z===be||Z===Ie},Oa=function(Z){return Ii(Z)||Ci(Z)||Z===Qt},mn=function(Z){return Oa(Z)||An(Z)||Z===Mt},On=function(Z){return Z>=Qr&&Z<=Ir||Z===ur||Z>=pr&&Z<=cr||Z===fr},Ln=function(Z,Me){return Z!==te?!1:Me!==he},In=function(Z,Me,Je){return Z===Mt?Oa(Me)||Ln(Me,Je):Oa(Z)?!0:!!(Z===te&&Ln(Z,Me))},jn=function(Z,Me,Je){return Z===Nr||Z===Mt?An(Me)?!0:Me===Lr&&An(Je):Z===Lr?An(Me):An(Z)},ni=function(Z){var Me=0,Je=1;(Z[Me]===Nr||Z[Me]===Mt)&&(Z[Me]===Mt&&(Je=-1),Me++);for(var Lt=[];An(Z[Me]);)Lt.push(Z[Me++]);var tr=Lt.length?parseInt(n.apply(void 0,Lt),10):0;Z[Me]===Lr&&Me++;for(var vr=[];An(Z[Me]);)vr.push(Z[Me++]);var _r=vr.length,Hr=_r?parseInt(n.apply(void 0,vr),10):0;(Z[Me]===zn||Z[Me]===Nn)&&Me++;var Kr=1;(Z[Me]===Nr||Z[Me]===Mt)&&(Z[Me]===Mt&&(Kr=-1),Me++);for(var cn=[];An(Z[Me]);)cn.push(Z[Me++]);var sn=cn.length?parseInt(n.apply(void 0,cn),10):0;return Je*(tr+Hr*Math.pow(10,-_r))*Math.pow(10,Kr*sn)},di={type:Pe.LEFT_PARENTHESIS_TOKEN},Na={type:Pe.RIGHT_PARENTHESIS_TOKEN},Qi={type:Pe.COMMA_TOKEN},ma={type:Pe.SUFFIX_MATCH_TOKEN},Ba={type:Pe.PREFIX_MATCH_TOKEN},Qa={type:Pe.COLUMN_TOKEN},Wi={type:Pe.DASH_MATCH_TOKEN},Co={type:Pe.INCLUDE_MATCH_TOKEN},aa={type:Pe.LEFT_CURLY_BRACKET_TOKEN},Hi={type:Pe.RIGHT_CURLY_BRACKET_TOKEN},ga={type:Pe.SUBSTRING_MATCH_TOKEN},ha={type:Pe.BAD_URL_TOKEN},mo={type:Pe.BAD_STRING_TOKEN},Fn={type:Pe.CDO_TOKEN},$i={type:Pe.CDC_TOKEN},eo={type:Pe.COLON_TOKEN},To={type:Pe.SEMICOLON_TOKEN},uo={type:Pe.LEFT_SQUARE_BRACKET_TOKEN},rr={type:Pe.RIGHT_SQUARE_BRACKET_TOKEN},Tr={type:Pe.WHITESPACE_TOKEN},Pr={type:Pe.EOF_TOKEN},Wr=function(){function qe(){this._value=[]}return qe.prototype.write=function(Z){this._value=this._value.concat(i(Z))},qe.prototype.read=function(){for(var Z=[],Me=this.consumeToken();Me!==Pr;)Z.push(Me),Me=this.consumeToken();return Z},qe.prototype.consumeToken=function(){var Z=this.consumeCodePoint();switch(Z){case Re:return this.consumeStringToken(Re);case gt:var Me=this.peekCodePoint(0),Je=this.peekCodePoint(1),Lt=this.peekCodePoint(2);if(mn(Me)||Ln(Je,Lt)){var tr=In(Me,Je,Lt)?At:nt,vr=this.consumeName();return{type:Pe.HASH_TOKEN,value:vr,flags:tr}}break;case Wt:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ma;break;case Dt:return this.consumeStringToken(Dt);case Kt:return di;case Gt:return Na;case Ar:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ga;break;case Nr:if(jn(Z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Z),this.consumeNumericToken();break;case kr:return Qi;case Mt:var _r=Z,Hr=this.peekCodePoint(0),Kr=this.peekCodePoint(1);if(jn(_r,Hr,Kr))return this.reconsumeCodePoint(Z),this.consumeNumericToken();if(In(_r,Hr,Kr))return this.reconsumeCodePoint(Z),this.consumeIdentLikeToken();if(Hr===Mt&&Kr===st)return this.consumeCodePoint(),this.consumeCodePoint(),$i;break;case Lr:if(jn(Z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Z),this.consumeNumericToken();break;case Q:if(this.peekCodePoint(0)===Ar)for(this.consumeCodePoint();;){var cn=this.consumeCodePoint();if(cn===Ar&&(cn=this.consumeCodePoint(),cn===Q))return this.consumeToken();if(cn===xr)return this.consumeToken()}break;case tn:return eo;case qr:return To;case er:if(this.peekCodePoint(0)===dr&&this.peekCodePoint(1)===Mt&&this.peekCodePoint(2)===Mt)return this.consumeCodePoint(),this.consumeCodePoint(),Fn;break;case xt:var sn=this.peekCodePoint(0),kn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(In(sn,kn,si)){var vr=this.consumeName();return{type:Pe.AT_KEYWORD_TOKEN,value:vr}}break;case ut:return uo;case te:if(Ln(Z,this.peekCodePoint(0)))return this.reconsumeCodePoint(Z),this.consumeIdentLikeToken();break;case pt:return rr;case _t:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Ba;break;case Tt:return aa;case Ht:return Hi;case Tn:case Yn:var Kn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return Kn===Nr&&(ia(fi)||fi===ft)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Z),this.consumeIdentLikeToken();case kt:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Wi;if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Qa;break;case ir:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Co;break;case xr:return Pr}return Gn(Z)?(this.consumeWhiteSpace(),Tr):An(Z)?(this.reconsumeCodePoint(Z),this.consumeNumericToken()):Oa(Z)?(this.reconsumeCodePoint(Z),this.consumeIdentLikeToken()):{type:Pe.DELIM_TOKEN,value:n(Z)}},qe.prototype.consumeCodePoint=function(){var Z=this._value.shift();return typeof Z=="undefined"?-1:Z},qe.prototype.reconsumeCodePoint=function(Z){this._value.unshift(Z)},qe.prototype.peekCodePoint=function(Z){return Z>=this._value.length?-1:this._value[Z]},qe.prototype.consumeUnicodeRangeToken=function(){for(var Z=[],Me=this.consumeCodePoint();ia(Me)&&Z.length<6;)Z.push(Me),Me=this.consumeCodePoint();for(var Je=!1;Me===ft&&Z.length<6;)Z.push(Me),Me=this.consumeCodePoint(),Je=!0;if(Je){var Lt=parseInt(n.apply(void 0,Z.map(function(Hr){return Hr===ft?Yr:Hr})),16),tr=parseInt(n.apply(void 0,Z.map(function(Hr){return Hr===ft?qn:Hr})),16);return{type:Pe.UNICODE_RANGE_TOKEN,start:Lt,end:tr}}var vr=parseInt(n.apply(void 0,Z),16);if(this.peekCodePoint(0)===Mt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),Me=this.consumeCodePoint();for(var _r=[];ia(Me)&&_r.length<6;)_r.push(Me),Me=this.consumeCodePoint();var tr=parseInt(n.apply(void 0,_r),16);return{type:Pe.UNICODE_RANGE_TOKEN,start:vr,end:tr}}else return{type:Pe.UNICODE_RANGE_TOKEN,start:vr,end:vr}},qe.prototype.consumeIdentLikeToken=function(){var Z=this.consumeName();return Z.toLowerCase()==="url"&&this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),{type:Pe.FUNCTION_TOKEN,value:Z}):{type:Pe.IDENT_TOKEN,value:Z}},qe.prototype.consumeUrlToken=function(){var Z=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr)return{type:Pe.URL_TOKEN,value:""};var Me=this.peekCodePoint(0);if(Me===Dt||Me===Re){var Je=this.consumeStringToken(this.consumeCodePoint());return Je.type===Pe.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt)?(this.consumeCodePoint(),{type:Pe.URL_TOKEN,value:Je.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var Lt=this.consumeCodePoint();if(Lt===xr||Lt===Gt)return{type:Pe.URL_TOKEN,value:n.apply(void 0,Z)};if(Gn(Lt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt?(this.consumeCodePoint(),{type:Pe.URL_TOKEN,value:n.apply(void 0,Z)}):(this.consumeBadUrlRemnants(),ha);if(Lt===Re||Lt===Dt||Lt===Kt||On(Lt))return this.consumeBadUrlRemnants(),ha;if(Lt===te)if(Ln(Lt,this.peekCodePoint(0)))Z.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else Z.push(Lt)}},qe.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},qe.prototype.consumeBadUrlRemnants=function(){for(;;){var Z=this.consumeCodePoint();if(Z===Gt||Z===xr)return;Ln(Z,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},qe.prototype.consumeStringSlice=function(Z){for(var Me=6e4,Je="";Z>0;){var Lt=Math.min(Me,Z);Je+=n.apply(void 0,this._value.splice(0,Lt)),Z-=Lt}return this._value.shift(),Je},qe.prototype.consumeStringToken=function(Z){var Me="",Je=0;do{var Lt=this._value[Je];if(Lt===xr||Lt===void 0||Lt===Z)return Me+=this.consumeStringSlice(Je),{type:Pe.STRING_TOKEN,value:Me};if(Lt===he)return this._value.splice(0,Je),mo;if(Lt===te){var tr=this._value[Je+1];tr!==xr&&tr!==void 0&&(tr===he?(Me+=this.consumeStringSlice(Je),Je=-1,this._value.shift()):Ln(Lt,tr)&&(Me+=this.consumeStringSlice(Je),Me+=n(this.consumeEscapedCodePoint()),Je=-1))}Je++}while(!0)},qe.prototype.consumeNumber=function(){var Z=[],Me=Ot,Je=this.peekCodePoint(0);for((Je===Nr||Je===Mt)&&Z.push(this.consumeCodePoint());An(this.peekCodePoint(0));)Z.push(this.consumeCodePoint());Je=this.peekCodePoint(0);var Lt=this.peekCodePoint(1);if(Je===Lr&&An(Lt))for(Z.push(this.consumeCodePoint(),this.consumeCodePoint()),Me=ne;An(this.peekCodePoint(0));)Z.push(this.consumeCodePoint());Je=this.peekCodePoint(0),Lt=this.peekCodePoint(1);var tr=this.peekCodePoint(2);if((Je===zn||Je===Nn)&&((Lt===Nr||Lt===Mt)&&An(tr)||An(Lt)))for(Z.push(this.consumeCodePoint(),this.consumeCodePoint()),Me=ne;An(this.peekCodePoint(0));)Z.push(this.consumeCodePoint());return[ni(Z),Me]},qe.prototype.consumeNumericToken=function(){var Z=this.consumeNumber(),Me=Z[0],Je=Z[1],Lt=this.peekCodePoint(0),tr=this.peekCodePoint(1),vr=this.peekCodePoint(2);if(In(Lt,tr,vr)){var _r=this.consumeName();return{type:Pe.DIMENSION_TOKEN,number:Me,flags:Je,unit:_r}}return Lt===$t?(this.consumeCodePoint(),{type:Pe.PERCENTAGE_TOKEN,number:Me,flags:Je}):{type:Pe.NUMBER_TOKEN,number:Me,flags:Je}},qe.prototype.consumeEscapedCodePoint=function(){var Z=this.consumeCodePoint();if(ia(Z)){for(var Me=n(Z);ia(this.peekCodePoint(0))&&Me.length<6;)Me+=n(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var Je=parseInt(Me,16);return Je===0||on(Je)||Je>1114111?mr:Je}return Z===xr?mr:Z},qe.prototype.consumeName=function(){for(var Z="";;){var Me=this.consumeCodePoint();if(mn(Me))Z+=n(Me);else if(Ln(Me,this.peekCodePoint(0)))Z+=n(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Me),Z}},qe}(),hn=function(){function qe(Z){this._tokens=Z}return qe.create=function(Z){var Me=new Wr;return Me.write(Z),new qe(Me.read())},qe.parseValue=function(Z){return qe.create(Z).parseComponentValue()},qe.parseValues=function(Z){return qe.create(Z).parseComponentValues()},qe.prototype.parseComponentValue=function(){for(var Z=this.consumeToken();Z.type===Pe.WHITESPACE_TOKEN;)Z=this.consumeToken();if(Z.type===Pe.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Z);var Me=this.consumeComponentValue();do Z=this.consumeToken();while(Z.type===Pe.WHITESPACE_TOKEN);if(Z.type===Pe.EOF_TOKEN)return Me;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},qe.prototype.parseComponentValues=function(){for(var Z=[];;){var Me=this.consumeComponentValue();if(Me.type===Pe.EOF_TOKEN)return Z;Z.push(Me),Z.push()}},qe.prototype.consumeComponentValue=function(){var Z=this.consumeToken();switch(Z.type){case Pe.LEFT_CURLY_BRACKET_TOKEN:case Pe.LEFT_SQUARE_BRACKET_TOKEN:case Pe.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(Z.type);case Pe.FUNCTION_TOKEN:return this.consumeFunction(Z)}return Z},qe.prototype.consumeSimpleBlock=function(Z){for(var Me={type:Z,values:[]},Je=this.consumeToken();;){if(Je.type===Pe.EOF_TOKEN||Jr(Je,Z))return Me;this.reconsumeToken(Je),Me.values.push(this.consumeComponentValue()),Je=this.consumeToken()}},qe.prototype.consumeFunction=function(Z){for(var Me={name:Z.value,values:[],type:Pe.FUNCTION};;){var Je=this.consumeToken();if(Je.type===Pe.EOF_TOKEN||Je.type===Pe.RIGHT_PARENTHESIS_TOKEN)return Me;this.reconsumeToken(Je),Me.values.push(this.consumeComponentValue())}},qe.prototype.consumeToken=function(){var Z=this._tokens.shift();return typeof Z=="undefined"?Pr:Z},qe.prototype.reconsumeToken=function(Z){this._tokens.unshift(Z)},qe}(),tt=function(Z){return Z.type===Pe.DIMENSION_TOKEN},jt=function(Z){return Z.type===Pe.NUMBER_TOKEN},Jt=function(Z){return Z.type===Pe.IDENT_TOKEN},nr=function(Z){return Z.type===Pe.STRING_TOKEN},Or=function(Z,Me){return Jt(Z)&&Z.value===Me},wr=function(Z){return Z.type!==Pe.WHITESPACE_TOKEN},Er=function(Z){return Z.type!==Pe.WHITESPACE_TOKEN&&Z.type!==Pe.COMMA_TOKEN},zr=function(Z){var Me=[],Je=[];return Z.forEach(function(Lt){if(Lt.type===Pe.COMMA_TOKEN){if(Je.length===0)throw new Error("Error parsing function args, zero tokens for arg");Me.push(Je),Je=[];return}Lt.type!==Pe.WHITESPACE_TOKEN&&Je.push(Lt)}),Je.length&&Me.push(Je),Me},Jr=function(Z,Me){return Me===Pe.LEFT_CURLY_BRACKET_TOKEN&&Z.type===Pe.RIGHT_CURLY_BRACKET_TOKEN||Me===Pe.LEFT_SQUARE_BRACKET_TOKEN&&Z.type===Pe.RIGHT_SQUARE_BRACKET_TOKEN?!0:Me===Pe.LEFT_PARENTHESIS_TOKEN&&Z.type===Pe.RIGHT_PARENTHESIS_TOKEN},Zr=function(Z){return Z.type===Pe.NUMBER_TOKEN||Z.type===Pe.DIMENSION_TOKEN},an=function(Z){return Z.type===Pe.PERCENTAGE_TOKEN||Zr(Z)},St=function(Z){return Z.length>1?[Z[0],Z[1]]:[Z[0]]},Vt={type:Pe.NUMBER_TOKEN,number:0,flags:Ot},sr={type:Pe.PERCENTAGE_TOKEN,number:50,flags:Ot},br={type:Pe.PERCENTAGE_TOKEN,number:100,flags:Ot},Mr=function(Z,Me,Je){var Lt=Z[0],tr=Z[1];return[Dr(Lt,Me),Dr(typeof tr!="undefined"?tr:Lt,Je)]},Dr=function(Z,Me){if(Z.type===Pe.PERCENTAGE_TOKEN)return Z.number/100*Me;if(tt(Z))switch(Z.unit){case"rem":case"em":return 16*Z.number;case"px":default:return Z.number}return Z.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(Z){if(Z.type===Pe.DIMENSION_TOKEN)switch(Z.unit){case rn:return Math.PI*Z.number/180;case fn:return Math.PI/200*Z.number;case wn:return Z.number;case Hn:return Math.PI*2*Z.number}throw new Error("Unsupported angle type")}},bn=function(Z){return Z.type===Pe.DIMENSION_TOKEN&&(Z.unit===rn||Z.unit===fn||Z.unit===wn||Z.unit===Hn)},Mn=function(Z){var Me=Z.filter(Jt).map(function(Je){return Je.value}).join(" ");switch(Me){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Vt,Vt];case"to top":case"bottom":return vn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Vt,br];case"to right":case"left":return vn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[br,br];case"to bottom":case"top":return vn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[br,Vt];case"to left":case"right":return vn(270)}return 0},vn=function(Z){return Math.PI*Z/180},Rn={name:"color",parse:function(Z){if(Z.type===Pe.FUNCTION){var Me=xi[Z.name];if(typeof Me=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Z.name+'"');return Me(Z.values)}if(Z.type===Pe.HASH_TOKEN){if(Z.value.length===3){var Je=Z.value.substring(0,1),Lt=Z.value.substring(1,2),tr=Z.value.substring(2,3);return Xn(parseInt(Je+Je,16),parseInt(Lt+Lt,16),parseInt(tr+tr,16),1)}if(Z.value.length===4){var Je=Z.value.substring(0,1),Lt=Z.value.substring(1,2),tr=Z.value.substring(2,3),vr=Z.value.substring(3,4);return Xn(parseInt(Je+Je,16),parseInt(Lt+Lt,16),parseInt(tr+tr,16),parseInt(vr+vr,16)/255)}if(Z.value.length===6){var Je=Z.value.substring(0,2),Lt=Z.value.substring(2,4),tr=Z.value.substring(4,6);return Xn(parseInt(Je,16),parseInt(Lt,16),parseInt(tr,16),1)}if(Z.value.length===8){var Je=Z.value.substring(0,2),Lt=Z.value.substring(2,4),tr=Z.value.substring(4,6),vr=Z.value.substring(6,8);return Xn(parseInt(Je,16),parseInt(Lt,16),parseInt(tr,16),parseInt(vr,16)/255)}}if(Z.type===Pe.IDENT_TOKEN){var _r=Li[Z.value.toUpperCase()];if(typeof _r!="undefined")return _r}return Li.TRANSPARENT}},En=function(Z){return(255&Z)===0},_n=function(Z){var Me=255&Z,Je=255&Z>>8,Lt=255&Z>>16,tr=255&Z>>24;return Me<255?"rgba("+tr+","+Lt+","+Je+","+Me/255+")":"rgb("+tr+","+Lt+","+Je+")"},Xn=function(Z,Me,Je,Lt){return(Z<<24|Me<<16|Je<<8|Math.round(Lt*255)<<0)>>>0},ai=function(Z,Me){if(Z.type===Pe.NUMBER_TOKEN)return Z.number;if(Z.type===Pe.PERCENTAGE_TOKEN){var Je=Me===3?1:255;return Me===3?Z.number/100*Je:Math.round(Z.number/100*Je)}return 0},ri=function(Z){var Me=Z.filter(Er);if(Me.length===3){var Je=Me.map(ai),Lt=Je[0],tr=Je[1],vr=Je[2];return Xn(Lt,tr,vr,1)}if(Me.length===4){var _r=Me.map(ai),Lt=_r[0],tr=_r[1],vr=_r[2],Hr=_r[3];return Xn(Lt,tr,vr,Hr)}return 0};function Di(qe,Z,Me){return Me<0&&(Me+=1),Me>=1&&(Me-=1),Me<1/6?(Z-qe)*Me*6+qe:Me<1/2?Z:Me<2/3?(Z-qe)*6*(2/3-Me)+qe:qe}var yi=function(Z){var Me=Z.filter(Er),Je=Me[0],Lt=Me[1],tr=Me[2],vr=Me[3],_r=(Je.type===Pe.NUMBER_TOKEN?vn(Je.number):Sn.parse(Je))/(Math.PI*2),Hr=an(Lt)?Lt.number/100:0,Kr=an(tr)?tr.number/100:0,cn=typeof vr!="undefined"&&an(vr)?Dr(vr,1):1;if(Hr===0)return Xn(Kr*255,Kr*255,Kr*255,1);var sn=Kr<=.5?Kr*(Hr+1):Kr+Hr-Kr*Hr,kn=Kr*2-sn,si=Di(kn,sn,_r+1/3),Kn=Di(kn,sn,_r),fi=Di(kn,sn,_r-1/3);return Xn(si*255,Kn*255,fi*255,cn)},xi={hsl:yi,hsla:yi,rgb:ri,rgba:ri},Li={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Un;(function(qe){qe[qe.VALUE=0]="VALUE",qe[qe.LIST=1]="LIST",qe[qe.IDENT_VALUE=2]="IDENT_VALUE",qe[qe.TYPE_VALUE=3]="TYPE_VALUE",qe[qe.TOKEN_VALUE=4]="TOKEN_VALUE"})(Un||(Un={}));var Ri;(function(qe){qe[qe.BORDER_BOX=0]="BORDER_BOX",qe[qe.PADDING_BOX=1]="PADDING_BOX",qe[qe.CONTENT_BOX=2]="CONTENT_BOX"})(Ri||(Ri={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(Z){return Z.map(function(Me){if(Jt(Me))switch(Me.value){case"padding-box":return Ri.PADDING_BOX;case"content-box":return Ri.CONTENT_BOX}return Ri.BORDER_BOX})}},Ui={name:"background-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Mi=function(Z){var Me=Rn.parse(Z[0]),Je=Z[1];return Je&&an(Je)?{color:Me,stop:Je}:{color:Me,stop:null}},mi=function(Z,Me){var Je=Z[0],Lt=Z[Z.length-1];Je.stop===null&&(Je.stop=Vt),Lt.stop===null&&(Lt.stop=br);for(var tr=[],vr=0,_r=0;_r<Z.length;_r++){var Hr=Z[_r].stop;if(Hr!==null){var Kr=Dr(Hr,Me);Kr>vr?tr.push(Kr):tr.push(vr),vr=Kr}else tr.push(null)}for(var cn=null,_r=0;_r<tr.length;_r++){var sn=tr[_r];if(sn===null)cn===null&&(cn=_r);else if(cn!==null){for(var kn=_r-cn,si=tr[cn-1],Kn=(sn-si)/(kn+1),fi=1;fi<=kn;fi++)tr[cn+fi-1]=Kn*fi;cn=null}}return Z.map(function(da,Ti){var na=da.color;return{color:na,stop:Math.max(Math.min(1,tr[Ti]/Me),0)}})},hi=function(Z,Me,Je){var Lt=Me/2,tr=Je/2,vr=Dr(Z[0],Me)-Lt,_r=tr-Dr(Z[1],Je);return(Math.atan2(_r,vr)+Math.PI*2)%(Math.PI*2)},qi=function(Z,Me,Je){var Lt=typeof Z=="number"?Z:hi(Z,Me,Je),tr=Math.abs(Me*Math.sin(Lt))+Math.abs(Je*Math.cos(Lt)),vr=Me/2,_r=Je/2,Hr=tr/2,Kr=Math.sin(Lt-Math.PI/2)*Hr,cn=Math.cos(Lt-Math.PI/2)*Hr;return[tr,vr-cn,vr+cn,_r-Kr,_r+Kr]},va=function(Z,Me){return Math.sqrt(Z*Z+Me*Me)},Ea=function(Z,Me,Je,Lt,tr){var vr=[[0,0],[0,Me],[Z,0],[Z,Me]];return vr.reduce(function(_r,Hr){var Kr=Hr[0],cn=Hr[1],sn=va(Je-Kr,Lt-cn);return(tr?sn<_r.optimumDistance:sn>_r.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:_r},{optimumDistance:tr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ya=function(Z,Me,Je,Lt,tr){var vr=0,_r=0;switch(Z.size){case ki.CLOSEST_SIDE:Z.shape===_a.CIRCLE?vr=_r=Math.min(Math.abs(Me),Math.abs(Me-Lt),Math.abs(Je),Math.abs(Je-tr)):Z.shape===_a.ELLIPSE&&(vr=Math.min(Math.abs(Me),Math.abs(Me-Lt)),_r=Math.min(Math.abs(Je),Math.abs(Je-tr)));break;case ki.CLOSEST_CORNER:if(Z.shape===_a.CIRCLE)vr=_r=Math.min(va(Me,Je),va(Me,Je-tr),va(Me-Lt,Je),va(Me-Lt,Je-tr));else if(Z.shape===_a.ELLIPSE){var Hr=Math.min(Math.abs(Je),Math.abs(Je-tr))/Math.min(Math.abs(Me),Math.abs(Me-Lt)),Kr=Ea(Lt,tr,Me,Je,!0),cn=Kr[0],sn=Kr[1];vr=va(cn-Me,(sn-Je)/Hr),_r=Hr*vr}break;case ki.FARTHEST_SIDE:Z.shape===_a.CIRCLE?vr=_r=Math.max(Math.abs(Me),Math.abs(Me-Lt),Math.abs(Je),Math.abs(Je-tr)):Z.shape===_a.ELLIPSE&&(vr=Math.max(Math.abs(Me),Math.abs(Me-Lt)),_r=Math.max(Math.abs(Je),Math.abs(Je-tr)));break;case ki.FARTHEST_CORNER:if(Z.shape===_a.CIRCLE)vr=_r=Math.max(va(Me,Je),va(Me,Je-tr),va(Me-Lt,Je),va(Me-Lt,Je-tr));else if(Z.shape===_a.ELLIPSE){var Hr=Math.max(Math.abs(Je),Math.abs(Je-tr))/Math.max(Math.abs(Me),Math.abs(Me-Lt)),kn=Ea(Lt,tr,Me,Je,!1),cn=kn[0],sn=kn[1];vr=va(cn-Me,(sn-Je)/Hr),_r=Hr*vr}break}return Array.isArray(Z.size)&&(vr=Dr(Z.size[0],Lt),_r=Z.size.length===2?Dr(Z.size[1],tr):vr),[vr,_r]},oa=function(Z){var Me=vn(180),Je=[];return zr(Z).forEach(function(Lt,tr){if(tr===0){var vr=Lt[0];if(vr.type===Pe.IDENT_TOKEN&&vr.value==="to"){Me=Mn(Lt);return}else if(bn(vr)){Me=Sn.parse(vr);return}}var _r=Mi(Lt);Je.push(_r)}),{angle:Me,stops:Je,type:Ca.LINEAR_GRADIENT}},sa=function(Z){var Me=vn(180),Je=[];return zr(Z).forEach(function(Lt,tr){if(tr===0){var vr=Lt[0];if(vr.type===Pe.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(vr.value)!==-1){Me=Mn(Lt);return}else if(bn(vr)){Me=(Sn.parse(vr)+vn(270))%vn(360);return}}var _r=Mi(Lt);Je.push(_r)}),{angle:Me,stops:Je,type:Ca.LINEAR_GRADIENT}},Ni=function(Z){var Me=123;if(Z.createRange){var Je=Z.createRange();if(Je.getBoundingClientRect){var Lt=Z.createElement("boundtest");Lt.style.height=Me+"px",Lt.style.display="block",Z.body.appendChild(Lt),Je.selectNode(Lt);var tr=Je.getBoundingClientRect(),vr=Math.round(tr.height);if(Z.body.removeChild(Lt),vr===Me)return!0}}return!1},$n=function(){return typeof new Image().crossOrigin!="undefined"},Ai=function(){return typeof new XMLHttpRequest().responseType=="string"},_i=function(Z){var Me=new Image,Je=Z.createElement("canvas"),Lt=Je.getContext("2d");if(!Lt)return!1;Me.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Lt.drawImage(Me,0,0),Je.toDataURL()}catch(tr){return!1}return!0},Vi=function(Z){return Z[0]===0&&Z[1]===255&&Z[2]===0&&Z[3]===255},Xi=function(Z){var Me=Z.createElement("canvas"),Je=100;Me.width=Je,Me.height=Je;var Lt=Me.getContext("2d");if(!Lt)return Promise.reject(!1);Lt.fillStyle="rgb(0, 255, 0)",Lt.fillRect(0,0,Je,Je);var tr=new Image,vr=Me.toDataURL();tr.src=vr;var _r=bi(Je,Je,0,0,tr);return Lt.fillStyle="red",Lt.fillRect(0,0,Je,Je),Aa(_r).then(function(Hr){Lt.drawImage(Hr,0,0);var Kr=Lt.getImageData(0,0,Je,Je).data;Lt.fillStyle="red",Lt.fillRect(0,0,Je,Je);var cn=Z.createElement("div");return cn.style.backgroundImage="url("+vr+")",cn.style.height=Je+"px",Vi(Kr)?Aa(bi(Je,Je,0,0,cn)):Promise.reject(!1)}).then(function(Hr){return Lt.drawImage(Hr,0,0),Vi(Lt.getImageData(0,0,Je,Je).data)}).catch(function(){return!1})},bi=function(Z,Me,Je,Lt,tr){var vr="http://www.w3.org/2000/svg",_r=document.createElementNS(vr,"svg"),Hr=document.createElementNS(vr,"foreignObject");return _r.setAttributeNS(null,"width",Z.toString()),_r.setAttributeNS(null,"height",Me.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",Je.toString()),Hr.setAttributeNS(null,"y",Lt.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),_r.appendChild(Hr),Hr.appendChild(tr),_r},Aa=function(Z){return new Promise(function(Me,Je){var Lt=new Image;Lt.onload=function(){return Me(Lt)},Lt.onerror=Je,Lt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Z))})},ca={get SUPPORT_RANGE_BOUNDS(){var qe=Ni(document);return Object.defineProperty(ca,"SUPPORT_RANGE_BOUNDS",{value:qe}),qe},get SUPPORT_SVG_DRAWING(){var qe=_i(document);return Object.defineProperty(ca,"SUPPORT_SVG_DRAWING",{value:qe}),qe},get SUPPORT_FOREIGNOBJECT_DRAWING(){var qe=typeof Array.from=="function"&&typeof window.fetch=="function"?Xi(document):Promise.resolve(!1);return Object.defineProperty(ca,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:qe}),qe},get SUPPORT_CORS_IMAGES(){var qe=$n();return Object.defineProperty(ca,"SUPPORT_CORS_IMAGES",{value:qe}),qe},get SUPPORT_RESPONSE_TYPE(){var qe=Ai();return Object.defineProperty(ca,"SUPPORT_RESPONSE_TYPE",{value:qe}),qe},get SUPPORT_CORS_XHR(){var qe="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ca,"SUPPORT_CORS_XHR",{value:qe}),qe}},la=function(){function qe(Z){var Me=Z.id,Je=Z.enabled;this.id=Me,this.enabled=Je,this.start=Date.now()}return qe.prototype.debug=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(Z)):this.info.apply(this,Z))},qe.prototype.getTime=function(){return Date.now()-this.start},qe.create=function(Z){qe.instances[Z.id]=new qe(Z)},qe.destroy=function(Z){delete qe.instances[Z]},qe.getInstance=function(Z){var Me=qe.instances[Z];if(typeof Me=="undefined")throw new Error("No logger instance found with id "+Z);return Me},qe.prototype.info=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(Z)))},qe.prototype.error=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(Z)):this.info.apply(this,Z))},qe.instances={},qe}(),gi=function(){function qe(){}return qe.create=function(Z,Me){return qe._caches[Z]=new Pa(Z,Me)},qe.destroy=function(Z){delete qe._caches[Z]},qe.open=function(Z){var Me=qe._caches[Z];if(typeof Me!="undefined")return Me;throw new Error('Cache with key "'+Z+'" not found')},qe.getOrigin=function(Z){var Me=qe._link;return Me?(Me.href=Z,Me.href=Me.href,Me.protocol+Me.hostname+Me.port):"about:blank"},qe.isSameOrigin=function(Z){return qe.getOrigin(Z)===qe._origin},qe.setContext=function(Z){qe._link=Z.document.createElement("a"),qe._origin=qe.getOrigin(Z.location.href)},qe.getInstance=function(){var Z=qe._current;if(Z===null)throw new Error("No cache instance attached");return Z},qe.attachInstance=function(Z){qe._current=Z},qe.detachInstance=function(){qe._current=null},qe._caches={},qe._origin="about:blank",qe._current=null,qe}(),Pa=function(){function qe(Z,Me){this.id=Z,this._options=Me,this._cache={}}return qe.prototype.addImage=function(Z){var Me=Promise.resolve();return this.has(Z)||(ba(Z)||Xa(Z))&&(this._cache[Z]=this.loadImage(Z)),Me},qe.prototype.match=function(Z){return this._cache[Z]},qe.prototype.loadImage=function(Z){return m(this,void 0,void 0,function(){var Me,Je,Lt,tr,vr=this;return v(this,function(_r){switch(_r.label){case 0:return Me=gi.isSameOrigin(Z),Je=!Ki(Z)&&this._options.useCORS===!0&&ca.SUPPORT_CORS_IMAGES&&!Me,Lt=!Ki(Z)&&!Me&&typeof this._options.proxy=="string"&&ca.SUPPORT_CORS_XHR&&!Je,!Me&&this._options.allowTaint===!1&&!Ki(Z)&&!Lt&&!Je?[2]:(tr=Z,Lt?[4,this.proxy(tr)]:[3,2]);case 1:tr=_r.sent(),_r.label=2;case 2:return la.getInstance(this.id).debug("Added image "+Z.substring(0,256)),[4,new Promise(function(Hr,Kr){var cn=new Image;cn.onload=function(){return Hr(cn)},cn.onerror=Kr,(zi(tr)||Je)&&(cn.crossOrigin="anonymous"),cn.src=tr,cn.complete===!0&&setTimeout(function(){return Hr(cn)},500),vr._options.imageTimeout>0&&setTimeout(function(){return Kr("Timed out ("+vr._options.imageTimeout+"ms) loading image")},vr._options.imageTimeout)})];case 3:return[2,_r.sent()]}})})},qe.prototype.has=function(Z){return typeof this._cache[Z]!="undefined"},qe.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},qe.prototype.proxy=function(Z){var Me=this,Je=this._options.proxy;if(!Je)throw new Error("No proxy defined");var Lt=Z.substring(0,256);return new Promise(function(tr,vr){var _r=ca.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(_r==="text")tr(Hr.response);else{var cn=new FileReader;cn.addEventListener("load",function(){return tr(cn.result)},!1),cn.addEventListener("error",function(sn){return vr(sn)},!1),cn.readAsDataURL(Hr.response)}else vr("Failed to proxy resource "+Lt+" with status code "+Hr.status)},Hr.onerror=vr,Hr.open("GET",Je+"?url="+encodeURIComponent(Z)+"&responseType="+_r),_r!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=_r),Me._options.imageTimeout){var Kr=Me._options.imageTimeout;Hr.timeout=Kr,Hr.ontimeout=function(){return vr("Timed out ("+Kr+"ms) proxying "+Lt)}}Hr.send()})},qe}(),Ma=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Yi=/^data:image\/.*/i,Xa=function(Z){return ca.SUPPORT_SVG_DRAWING||!Ua(Z)},Ki=function(Z){return Yi.test(Z)},zi=function(Z){return ra.test(Z)},ba=function(Z){return Z.substr(0,4)==="blob"},Ua=function(Z){return Z.substr(-3).toLowerCase()==="svg"||Ma.test(Z)},wa=function(Z){var Me=vn(180),Je=[],Lt=Ca.LINEAR_GRADIENT,tr=_a.CIRCLE,vr=ki.FARTHEST_CORNER,_r=[];return zr(Z).forEach(function(Hr,Kr){var cn=Hr[0];if(Kr===0){if(Jt(cn)&&cn.value==="linear"){Lt=Ca.LINEAR_GRADIENT;return}else if(Jt(cn)&&cn.value==="radial"){Lt=Ca.RADIAL_GRADIENT;return}}if(cn.type===Pe.FUNCTION){if(cn.name==="from"){var sn=Rn.parse(cn.values[0]);Je.push({stop:Vt,color:sn})}else if(cn.name==="to"){var sn=Rn.parse(cn.values[0]);Je.push({stop:br,color:sn})}else if(cn.name==="color-stop"){var kn=cn.values.filter(Er);if(kn.length===2){var sn=Rn.parse(kn[1]),si=kn[0];jt(si)&&Je.push({stop:{type:Pe.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),Lt===Ca.LINEAR_GRADIENT?{angle:(Me+vn(180))%vn(360),stops:Je,type:Lt}:{size:vr,shape:tr,stops:Je,position:_r,type:Lt}},vi="closest-side",Ya="farthest-side",Ka="closest-corner",pa="farthest-corner",Oi="circle",So="ellipse",za="cover",ja="contain",qa=function(Z){var Me=_a.CIRCLE,Je=ki.FARTHEST_CORNER,Lt=[],tr=[];return zr(Z).forEach(function(vr,_r){var Hr=!0;if(_r===0){var Kr=!1;Hr=vr.reduce(function(sn,kn){if(Kr)if(Jt(kn))switch(kn.value){case"center":return tr.push(sr),sn;case"top":case"left":return tr.push(Vt),sn;case"right":case"bottom":return tr.push(br),sn}else(an(kn)||Zr(kn))&&tr.push(kn);else if(Jt(kn))switch(kn.value){case Oi:return Me=_a.CIRCLE,!1;case So:return Me=_a.ELLIPSE,!1;case"at":return Kr=!0,!1;case vi:return Je=ki.CLOSEST_SIDE,!1;case za:case Ya:return Je=ki.FARTHEST_SIDE,!1;case ja:case Ka:return Je=ki.CLOSEST_CORNER,!1;case pa:return Je=ki.FARTHEST_CORNER,!1}else if(Zr(kn)||an(kn))return Array.isArray(Je)||(Je=[]),Je.push(kn),!1;return sn},Hr)}if(Hr){var cn=Mi(vr);Lt.push(cn)}}),{size:Je,shape:Me,stops:Lt,position:tr,type:Ca.RADIAL_GRADIENT}},ho=function(Z){var Me=_a.CIRCLE,Je=ki.FARTHEST_CORNER,Lt=[],tr=[];return zr(Z).forEach(function(vr,_r){var Hr=!0;if(_r===0?Hr=vr.reduce(function(cn,sn){if(Jt(sn))switch(sn.value){case"center":return tr.push(sr),!1;case"top":case"left":return tr.push(Vt),!1;case"right":case"bottom":return tr.push(br),!1}else if(an(sn)||Zr(sn))return tr.push(sn),!1;return cn},Hr):_r===1&&(Hr=vr.reduce(function(cn,sn){if(Jt(sn))switch(sn.value){case Oi:return Me=_a.CIRCLE,!1;case So:return Me=_a.ELLIPSE,!1;case ja:case vi:return Je=ki.CLOSEST_SIDE,!1;case Ya:return Je=ki.FARTHEST_SIDE,!1;case Ka:return Je=ki.CLOSEST_CORNER,!1;case za:case pa:return Je=ki.FARTHEST_CORNER,!1}else if(Zr(sn)||an(sn))return Array.isArray(Je)||(Je=[]),Je.push(sn),!1;return cn},Hr)),Hr){var Kr=Mi(vr);Lt.push(Kr)}}),{size:Je,shape:Me,stops:Lt,position:tr,type:Ca.RADIAL_GRADIENT}},Ca;(function(qe){qe[qe.URL=0]="URL",qe[qe.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",qe[qe.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(Z){return Z.type===Ca.LINEAR_GRADIENT},Lo=function(Z){return Z.type===Ca.RADIAL_GRADIENT},_a;(function(qe){qe[qe.CIRCLE=0]="CIRCLE",qe[qe.ELLIPSE=1]="ELLIPSE"})(_a||(_a={}));var ki;(function(qe){qe[qe.CLOSEST_SIDE=0]="CLOSEST_SIDE",qe[qe.FARTHEST_SIDE=1]="FARTHEST_SIDE",qe[qe.CLOSEST_CORNER=2]="CLOSEST_CORNER",qe[qe.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(ki||(ki={}));var Ja={name:"image",parse:function(Z){if(Z.type===Pe.URL_TOKEN){var Me={url:Z.value,type:Ca.URL};return gi.getInstance().addImage(Z.value),Me}if(Z.type===Pe.FUNCTION){var Je=pi[Z.name];if(typeof Je=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Z.name+'"');return Je(Z.values)}throw new Error("Unsupported image type")}};function Da(qe){return qe.type!==Pe.FUNCTION||pi[qe.name]}var pi={"linear-gradient":oa,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":qa,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":wa},Gi={name:"background-image",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){if(Z.length===0)return[];var Me=Z[0];return Me.type===Pe.IDENT_TOKEN&&Me.value==="none"?[]:Z.filter(function(Je){return Er(Je)&&Da(Je)}).map(Ja.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(Z){return Z.map(function(Me){if(Jt(Me))switch(Me.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},go={name:"background-position",initialValue:"0% 0%",type:Un.LIST,prefix:!1,parse:function(Z){return zr(Z).map(function(Me){return Me.filter(an)}).map(St)}},fo;(function(qe){qe[qe.REPEAT=0]="REPEAT",qe[qe.NO_REPEAT=1]="NO_REPEAT",qe[qe.REPEAT_X=2]="REPEAT_X",qe[qe.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var Ta={name:"background-repeat",initialValue:"repeat",prefix:!1,type:Un.LIST,parse:function(Z){return zr(Z).map(function(Me){return Me.filter(Jt).map(function(Je){return Je.value}).join(" ")}).map(Fi)}},Fi=function(Z){switch(Z){case"no-repeat":return fo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fo.REPEAT_Y;case"repeat":default:return fo.REPEAT}},Ra;(function(qe){qe.AUTO="auto",qe.CONTAIN="contain",qe.COVER="cover"})(Ra||(Ra={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:Un.LIST,parse:function(Z){return zr(Z).map(function(Me){return Me.filter(ro)})}},ro=function(Z){return Jt(Z)||an(Z)},vo=function(Z){return{name:"border-"+Z+"-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"}},po=vo("top"),Zi=vo("right"),xo=vo("bottom"),is=vo("left"),Jo=function(Z){return{name:"border-radius-"+Z,initialValue:"0 0",prefix:!1,type:Un.LIST,parse:function(Je){return St(Je.filter(an))}}},Is=Jo("top-left"),Cs=Jo("top-right"),Ts=Jo("bottom-right"),Go=Jo("bottom-left"),bo;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.SOLID=1]="SOLID"})(bo||(bo={}));var Za=function(Z){return{name:"border-"+Z+"-style",initialValue:"solid",prefix:!1,type:Un.IDENT_VALUE,parse:function(Je){switch(Je){case"none":return bo.NONE}return bo.SOLID}}},Ga=Za("top"),so=Za("right"),ps=Za("bottom"),Sr=Za("left"),Xo=function(Z){return{name:"border-"+Z+"-width",initialValue:"0",type:Un.VALUE,prefix:!1,parse:function(Je){return tt(Je)?Je.number:0}}},ss=Xo("top"),Ls=Xo("right"),ka=Xo("bottom"),La=Xo("left"),Oo={name:"color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},_o={name:"display",initialValue:"inline-block",prefix:!1,type:Un.LIST,parse:function(Z){return Z.filter(Jt).reduce(function(Me,Je){return Me|ts(Je.value)},0)}},ts=function(Z){switch(Z){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Bo;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.LEFT=1]="LEFT",qe[qe.RIGHT=2]="RIGHT",qe[qe.INLINE_START=3]="INLINE_START",qe[qe.INLINE_END=4]="INLINE_END"})(Bo||(Bo={}));var rs={name:"float",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"left":return Bo.LEFT;case"right":return Bo.RIGHT;case"inline-start":return Bo.INLINE_START;case"inline-end":return Bo.INLINE_END}return Bo.NONE}},ms={name:"letter-spacing",initialValue:"0",prefix:!1,type:Un.VALUE,parse:function(Z){return Z.type===Pe.IDENT_TOKEN&&Z.value==="normal"?0:Z.type===Pe.NUMBER_TOKEN||Z.type===Pe.DIMENSION_TOKEN?Z.number:0}},ls;(function(qe){qe.NORMAL="normal",qe.STRICT="strict"})(ls||(ls={}));var Ns={name:"line-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"strict":return ls.STRICT;case"normal":default:return ls.NORMAL}}},Ds={name:"line-height",initialValue:"normal",prefix:!1,type:Un.TOKEN_VALUE},as=function(Z,Me){return Jt(Z)&&Z.value==="normal"?1.2*Me:Z.type===Pe.NUMBER_TOKEN?Me*Z.number:an(Z)?Dr(Z,Me):Me},$s={name:"list-style-image",initialValue:"none",type:Un.VALUE,prefix:!1,parse:function(Z){return Z.type===Pe.IDENT_TOKEN&&Z.value==="none"?null:Ja.parse(Z)}},cs;(function(qe){qe[qe.INSIDE=0]="INSIDE",qe[qe.OUTSIDE=1]="OUTSIDE"})(cs||(cs={}));var Mo={name:"list-style-position",initialValue:"outside",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"inside":return cs.INSIDE;case"outside":default:return cs.OUTSIDE}}},Dn;(function(qe){qe[qe.NONE=-1]="NONE",qe[qe.DISC=0]="DISC",qe[qe.CIRCLE=1]="CIRCLE",qe[qe.SQUARE=2]="SQUARE",qe[qe.DECIMAL=3]="DECIMAL",qe[qe.CJK_DECIMAL=4]="CJK_DECIMAL",qe[qe.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",qe[qe.LOWER_ROMAN=6]="LOWER_ROMAN",qe[qe.UPPER_ROMAN=7]="UPPER_ROMAN",qe[qe.LOWER_GREEK=8]="LOWER_GREEK",qe[qe.LOWER_ALPHA=9]="LOWER_ALPHA",qe[qe.UPPER_ALPHA=10]="UPPER_ALPHA",qe[qe.ARABIC_INDIC=11]="ARABIC_INDIC",qe[qe.ARMENIAN=12]="ARMENIAN",qe[qe.BENGALI=13]="BENGALI",qe[qe.CAMBODIAN=14]="CAMBODIAN",qe[qe.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",qe[qe.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",qe[qe.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",qe[qe.DEVANAGARI=18]="DEVANAGARI",qe[qe.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",qe[qe.GEORGIAN=20]="GEORGIAN",qe[qe.GUJARATI=21]="GUJARATI",qe[qe.GURMUKHI=22]="GURMUKHI",qe[qe.HEBREW=22]="HEBREW",qe[qe.HIRAGANA=23]="HIRAGANA",qe[qe.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",qe[qe.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",qe[qe.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",qe[qe.KANNADA=27]="KANNADA",qe[qe.KATAKANA=28]="KATAKANA",qe[qe.KATAKANA_IROHA=29]="KATAKANA_IROHA",qe[qe.KHMER=30]="KHMER",qe[qe.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",qe[qe.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",qe[qe.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",qe[qe.LAO=34]="LAO",qe[qe.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",qe[qe.MALAYALAM=36]="MALAYALAM",qe[qe.MONGOLIAN=37]="MONGOLIAN",qe[qe.MYANMAR=38]="MYANMAR",qe[qe.ORIYA=39]="ORIYA",qe[qe.PERSIAN=40]="PERSIAN",qe[qe.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",qe[qe.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",qe[qe.TAMIL=43]="TAMIL",qe[qe.TELUGU=44]="TELUGU",qe[qe.THAI=45]="THAI",qe[qe.TIBETAN=46]="TIBETAN",qe[qe.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",qe[qe.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",qe[qe.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",qe[qe.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",qe[qe.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Dn||(Dn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"disc":return Dn.DISC;case"circle":return Dn.CIRCLE;case"square":return Dn.SQUARE;case"decimal":return Dn.DECIMAL;case"cjk-decimal":return Dn.CJK_DECIMAL;case"decimal-leading-zero":return Dn.DECIMAL_LEADING_ZERO;case"lower-roman":return Dn.LOWER_ROMAN;case"upper-roman":return Dn.UPPER_ROMAN;case"lower-greek":return Dn.LOWER_GREEK;case"lower-alpha":return Dn.LOWER_ALPHA;case"upper-alpha":return Dn.UPPER_ALPHA;case"arabic-indic":return Dn.ARABIC_INDIC;case"armenian":return Dn.ARMENIAN;case"bengali":return Dn.BENGALI;case"cambodian":return Dn.CAMBODIAN;case"cjk-earthly-branch":return Dn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Dn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Dn.CJK_IDEOGRAPHIC;case"devanagari":return Dn.DEVANAGARI;case"ethiopic-numeric":return Dn.ETHIOPIC_NUMERIC;case"georgian":return Dn.GEORGIAN;case"gujarati":return Dn.GUJARATI;case"gurmukhi":return Dn.GURMUKHI;case"hebrew":return Dn.HEBREW;case"hiragana":return Dn.HIRAGANA;case"hiragana-iroha":return Dn.HIRAGANA_IROHA;case"japanese-formal":return Dn.JAPANESE_FORMAL;case"japanese-informal":return Dn.JAPANESE_INFORMAL;case"kannada":return Dn.KANNADA;case"katakana":return Dn.KATAKANA;case"katakana-iroha":return Dn.KATAKANA_IROHA;case"khmer":return Dn.KHMER;case"korean-hangul-formal":return Dn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Dn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Dn.KOREAN_HANJA_INFORMAL;case"lao":return Dn.LAO;case"lower-armenian":return Dn.LOWER_ARMENIAN;case"malayalam":return Dn.MALAYALAM;case"mongolian":return Dn.MONGOLIAN;case"myanmar":return Dn.MYANMAR;case"oriya":return Dn.ORIYA;case"persian":return Dn.PERSIAN;case"simp-chinese-formal":return Dn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Dn.SIMP_CHINESE_INFORMAL;case"tamil":return Dn.TAMIL;case"telugu":return Dn.TELUGU;case"thai":return Dn.THAI;case"tibetan":return Dn.TIBETAN;case"trad-chinese-formal":return Dn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Dn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Dn.UPPER_ARMENIAN;case"disclosure-open":return Dn.DISCLOSURE_OPEN;case"disclosure-closed":return Dn.DISCLOSURE_CLOSED;case"none":default:return Dn.NONE}}},Os=function(Z){return{name:"margin-"+Z,initialValue:"0",prefix:!1,type:Un.TOKEN_VALUE}},Pt=Os("top"),oe=Os("right"),xe=Os("bottom"),Te=Os("left"),We;(function(qe){qe[qe.VISIBLE=0]="VISIBLE",qe[qe.HIDDEN=1]="HIDDEN",qe[qe.SCROLL=2]="SCROLL",qe[qe.AUTO=3]="AUTO"})(We||(We={}));var Et={name:"overflow",initialValue:"visible",prefix:!1,type:Un.LIST,parse:function(Z){return Z.filter(Jt).map(function(Me){switch(Me.value){case"hidden":return We.HIDDEN;case"scroll":return We.SCROLL;case"auto":return We.AUTO;case"visible":default:return We.VISIBLE}})}},Ut;(function(qe){qe.NORMAL="normal",qe.BREAK_WORD="break-word"})(Ut||(Ut={}));var hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"break-word":return Ut.BREAK_WORD;case"normal":default:return Ut.NORMAL}}},gr=function(Z){return{name:"padding-"+Z,initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length-percentage"}},Rr=gr("top"),$r=gr("right"),ln=gr("bottom"),yn=gr("left"),Cn;(function(qe){qe[qe.LEFT=0]="LEFT",qe[qe.CENTER=1]="CENTER",qe[qe.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Qn={name:"text-align",initialValue:"left",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function(qe){qe[qe.STATIC=0]="STATIC",qe[qe.RELATIVE=1]="RELATIVE",qe[qe.ABSOLUTE=2]="ABSOLUTE",qe[qe.FIXED=3]="FIXED",qe[qe.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"relative":return ti.RELATIVE;case"absolute":return ti.ABSOLUTE;case"fixed":return ti.FIXED;case"sticky":return ti.STICKY}return ti.STATIC}},ea={name:"text-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){return Z.length===1&&Or(Z[0],"none")?[]:zr(Z).map(function(Me){for(var Je={color:Li.TRANSPARENT,offsetX:Vt,offsetY:Vt,blur:Vt},Lt=0,tr=0;tr<Me.length;tr++){var vr=Me[tr];Zr(vr)?(Lt===0?Je.offsetX=vr:Lt===1?Je.offsetY=vr:Je.blur=vr,Lt++):Je.color=Rn.parse(vr)}return Je})}},ji;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.LOWERCASE=1]="LOWERCASE",qe[qe.UPPERCASE=2]="UPPERCASE",qe[qe.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"uppercase":return ji.UPPERCASE;case"lowercase":return ji.LOWERCASE;case"capitalize":return ji.CAPITALIZE}return ji.NONE}},lo={name:"transform",initialValue:"none",prefix:!0,type:Un.VALUE,parse:function(Z){if(Z.type===Pe.IDENT_TOKEN&&Z.value==="none")return null;if(Z.type===Pe.FUNCTION){var Me=Ao[Z.name];if(typeof Me=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Z.name+'"');return Me(Z.values)}return null}},Wa=function(Z){var Me=Z.filter(function(Je){return Je.type===Pe.NUMBER_TOKEN}).map(function(Je){return Je.number});return Me.length===6?Me:null},yo=function(Z){var Me=Z.filter(function(Ia){return Ia.type===Pe.NUMBER_TOKEN}).map(function(Ia){return Ia.number}),Je=Me[0],Lt=Me[1],tr=Me[2],vr=Me[3],_r=Me[4],Hr=Me[5],Kr=Me[6],cn=Me[7],sn=Me[8],kn=Me[9],si=Me[10],Kn=Me[11],fi=Me[12],da=Me[13],Ti=Me[14],na=Me[15];return Me.length===16?[Je,Lt,_r,Hr,fi,da]:null},Ao={matrix:Wa,matrix3d:yo},$a={type:Pe.PERCENTAGE_TOKEN,number:50,flags:Ot},ko=[$a,$a],No={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:Un.LIST,parse:function(Z){var Me=Z.filter(an);return Me.length!==2?ko:[Me[0],Me[1]]}},Ha;(function(qe){qe[qe.VISIBLE=0]="VISIBLE",qe[qe.HIDDEN=1]="HIDDEN",qe[qe.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},Fo;(function(qe){qe.NORMAL="normal",qe.BREAK_ALL="break-all",qe.KEEP_ALL="keep-all"})(Fo||(Fo={}));var Qo={name:"word-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"break-all":return Fo.BREAK_ALL;case"keep-all":return Fo.KEEP_ALL;case"normal":default:return Fo.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:Un.VALUE,parse:function(Z){if(Z.type===Pe.IDENT_TOKEN)return{auto:!0,order:0};if(jt(Z))return{auto:!1,order:Z.number};throw new Error("Invalid z-index number parsed")}},us={name:"opacity",initialValue:"1",type:Un.VALUE,prefix:!1,parse:function(Z){return jt(Z)?Z.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Xs={name:"text-decoration-line",initialValue:"none",prefix:!1,type:Un.LIST,parse:function(Z){return Z.filter(Jt).map(function(Me){switch(Me.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Me){return Me!==0})}},Ys={name:"font-family",initialValue:"",prefix:!1,type:Un.LIST,parse:function(Z){var Me=[],Je=[];return Z.forEach(function(Lt){switch(Lt.type){case Pe.IDENT_TOKEN:case Pe.STRING_TOKEN:Me.push(Lt.value);break;case Pe.NUMBER_TOKEN:Me.push(Lt.number.toString());break;case Pe.COMMA_TOKEN:Je.push(Me.join(" ")),Me.length=0;break}}),Me.length&&Je.push(Me.join(" ")),Je.map(function(Lt){return Lt.indexOf(" ")===-1?Lt:"'"+Lt+"'"})}},Yo={name:"font-size",initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length"},Eo={name:"font-weight",initialValue:"normal",type:Un.VALUE,prefix:!1,parse:function(Z){if(jt(Z))return Z.number;if(Jt(Z))switch(Z.value){case"bold":return 700;case"normal":default:return 400}return 400}},ds={name:"font-variant",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){return Z.filter(Jt).map(function(Me){return Me.value})}},hs;(function(qe){qe.NORMAL="normal",qe.ITALIC="italic",qe.OBLIQUE="oblique"})(hs||(hs={}));var Rs={name:"font-style",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Do=function(Z,Me){return(Z&Me)!==0},ys={name:"content",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){if(Z.length===0)return[];var Me=Z[0];return Me.type===Pe.IDENT_TOKEN&&Me.value==="none"?[]:Z}},Ms={name:"counter-increment",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(Z){if(Z.length===0)return null;var Me=Z[0];if(Me.type===Pe.IDENT_TOKEN&&Me.value==="none")return null;for(var Je=[],Lt=Z.filter(wr),tr=0;tr<Lt.length;tr++){var vr=Lt[tr],_r=Lt[tr+1];if(vr.type===Pe.IDENT_TOKEN){var Hr=_r&&jt(_r)?_r.number:1;Je.push({counter:vr.value,increment:Hr})}}return Je}},As={name:"counter-reset",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(Z){if(Z.length===0)return[];for(var Me=[],Je=Z.filter(wr),Lt=0;Lt<Je.length;Lt++){var tr=Je[Lt],vr=Je[Lt+1];if(Jt(tr)&&tr.value!=="none"){var _r=vr&&jt(vr)?vr.number:0;Me.push({counter:tr.value,reset:_r})}}return Me}},ks={name:"quotes",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(Z){if(Z.length===0)return null;var Me=Z[0];if(Me.type===Pe.IDENT_TOKEN&&Me.value==="none")return null;var Je=[],Lt=Z.filter(nr);if(Lt.length%2!==0)return null;for(var tr=0;tr<Lt.length;tr+=2){var vr=Lt[tr].value,_r=Lt[tr+1].value;Je.push({open:vr,close:_r})}return Je}},Hs=function(Z,Me,Je){if(!Z)return"";var Lt=Z[Math.min(Me,Z.length-1)];return Lt?Je?Lt.open:Lt.close:""},bs={name:"box-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){return Z.length===1&&Or(Z[0],"none")?[]:zr(Z).map(function(Me){for(var Je={color:255,offsetX:Vt,offsetY:Vt,blur:Vt,spread:Vt,inset:!1},Lt=0,tr=0;tr<Me.length;tr++){var vr=Me[tr];Or(vr,"inset")?Je.inset=!0:Zr(vr)?(Lt===0?Je.offsetX=vr:Lt===1?Je.offsetY=vr:Lt===2?Je.blur=vr:Je.spread=vr,Lt++):Je.color=Rn.parse(vr)}return Je})}},ua=function(){function qe(Z){this.backgroundClip=Wn(fa,Z.backgroundClip),this.backgroundColor=Wn(Ui,Z.backgroundColor),this.backgroundImage=Wn(Gi,Z.backgroundImage),this.backgroundOrigin=Wn(oo,Z.backgroundOrigin),this.backgroundPosition=Wn(go,Z.backgroundPosition),this.backgroundRepeat=Wn(Ta,Z.backgroundRepeat),this.backgroundSize=Wn(Vo,Z.backgroundSize),this.borderTopColor=Wn(po,Z.borderTopColor),this.borderRightColor=Wn(Zi,Z.borderRightColor),this.borderBottomColor=Wn(xo,Z.borderBottomColor),this.borderLeftColor=Wn(is,Z.borderLeftColor),this.borderTopLeftRadius=Wn(Is,Z.borderTopLeftRadius),this.borderTopRightRadius=Wn(Cs,Z.borderTopRightRadius),this.borderBottomRightRadius=Wn(Ts,Z.borderBottomRightRadius),this.borderBottomLeftRadius=Wn(Go,Z.borderBottomLeftRadius),this.borderTopStyle=Wn(Ga,Z.borderTopStyle),this.borderRightStyle=Wn(so,Z.borderRightStyle),this.borderBottomStyle=Wn(ps,Z.borderBottomStyle),this.borderLeftStyle=Wn(Sr,Z.borderLeftStyle),this.borderTopWidth=Wn(ss,Z.borderTopWidth),this.borderRightWidth=Wn(Ls,Z.borderRightWidth),this.borderBottomWidth=Wn(ka,Z.borderBottomWidth),this.borderLeftWidth=Wn(La,Z.borderLeftWidth),this.boxShadow=Wn(bs,Z.boxShadow),this.color=Wn(Oo,Z.color),this.display=Wn(_o,Z.display),this.float=Wn(rs,Z.cssFloat),this.fontFamily=Wn(Ys,Z.fontFamily),this.fontSize=Wn(Yo,Z.fontSize),this.fontStyle=Wn(Rs,Z.fontStyle),this.fontVariant=Wn(ds,Z.fontVariant),this.fontWeight=Wn(Eo,Z.fontWeight),this.letterSpacing=Wn(ms,Z.letterSpacing),this.lineBreak=Wn(Ns,Z.lineBreak),this.lineHeight=Wn(Ds,Z.lineHeight),this.listStyleImage=Wn($s,Z.listStyleImage),this.listStylePosition=Wn(Mo,Z.listStylePosition),this.listStyleType=Wn(Vs,Z.listStyleType),this.marginTop=Wn(Pt,Z.marginTop),this.marginRight=Wn(oe,Z.marginRight),this.marginBottom=Wn(xe,Z.marginBottom),this.marginLeft=Wn(Te,Z.marginLeft),this.opacity=Wn(us,Z.opacity);var Me=Wn(Et,Z.overflow);this.overflowX=Me[0],this.overflowY=Me[Me.length>1?1:0],this.overflowWrap=Wn(hr,Z.overflowWrap),this.paddingTop=Wn(Rr,Z.paddingTop),this.paddingRight=Wn($r,Z.paddingRight),this.paddingBottom=Wn(ln,Z.paddingBottom),this.paddingLeft=Wn(yn,Z.paddingLeft),this.position=Wn(wi,Z.position),this.textAlign=Wn(Qn,Z.textAlign),this.textDecorationColor=Wn(ns,Z.textDecorationColor||Z.color),this.textDecorationLine=Wn(Xs,Z.textDecorationLine),this.textShadow=Wn(ea,Z.textShadow),this.textTransform=Wn(Sa,Z.textTransform),this.transform=Wn(lo,Z.transform),this.transformOrigin=Wn(No,Z.transformOrigin),this.visibility=Wn(jo,Z.visibility),this.wordBreak=Wn(Qo,Z.wordBreak),this.zIndex=Wn(wo,Z.zIndex)}return qe.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},qe.prototype.isTransparent=function(){return En(this.backgroundColor)},qe.prototype.isTransformed=function(){return this.transform!==null},qe.prototype.isPositioned=function(){return this.position!==ti.STATIC},qe.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},qe.prototype.isFloating=function(){return this.float!==Bo.NONE},qe.prototype.isInlineLevel=function(){return Do(this.display,4)||Do(this.display,33554432)||Do(this.display,268435456)||Do(this.display,536870912)||Do(this.display,67108864)||Do(this.display,134217728)},qe}(),ui=function(){function qe(Z){this.content=Wn(ys,Z.content),this.quotes=Wn(ks,Z.quotes)}return qe}(),Bi=function(){function qe(Z){this.counterIncrement=Wn(Ms,Z.counterIncrement),this.counterReset=Wn(As,Z.counterReset)}return qe}(),Wn=function(Z,Me){var Je=new Wr,Lt=Me!==null&&typeof Me!="undefined"?Me.toString():Z.initialValue;Je.write(Lt);var tr=new hn(Je.read());switch(Z.type){case Un.IDENT_VALUE:var vr=tr.parseComponentValue();return Z.parse(Jt(vr)?vr.value:Z.initialValue);case Un.VALUE:return Z.parse(tr.parseComponentValue());case Un.LIST:return Z.parse(tr.parseComponentValues());case Un.TOKEN_VALUE:return tr.parseComponentValue();case Un.TYPE_VALUE:switch(Z.format){case"angle":return Sn.parse(tr.parseComponentValue());case"color":return Rn.parse(tr.parseComponentValue());case"image":return Ja.parse(tr.parseComponentValue());case"length":var _r=tr.parseComponentValue();return Zr(_r)?_r:Vt;case"length-percentage":var Hr=tr.parseComponentValue();return an(Hr)?Hr:Vt}}throw new Error("Attempting to parse unsupported css format type "+Z.format)},io=function(){function qe(Z){this.styles=new ua(window.getComputedStyle(Z,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&nl(Z)&&(Z.style.transform="none"),this.bounds=c(Z),this.flags=0}return qe}(),qo=function(){function qe(Z,Me){this.text=Z,this.bounds=Me}return qe}(),gs=function(Z,Me,Je){var Lt=$o(Z,Me),tr=[],vr=0;return Lt.forEach(function(_r){if(Me.textDecorationLine.length||_r.trim().length>0)if(ca.SUPPORT_RANGE_BOUNDS)tr.push(new qo(_r,Zo(Je,vr,_r.length)));else{var Hr=Je.splitText(_r.length);tr.push(new qo(_r,os(Je))),Je=Hr}else ca.SUPPORT_RANGE_BOUNDS||(Je=Je.splitText(_r.length));vr+=_r.length}),tr},os=function(Z){var Me=Z.ownerDocument;if(Me){var Je=Me.createElement("html2canvaswrapper");Je.appendChild(Z.cloneNode(!0));var Lt=Z.parentNode;if(Lt){Lt.replaceChild(Je,Z);var tr=c(Je);return Je.firstChild&&Lt.replaceChild(Je.firstChild,Je),tr}}return new h(0,0,0,0)},Zo=function(Z,Me,Je){var Lt=Z.ownerDocument;if(!Lt)throw new Error("Node has no owner document");var tr=Lt.createRange();return tr.setStart(Z,Me),tr.setEnd(Z,Me+Je),h.fromClientRect(tr.getBoundingClientRect())},$o=function(Z,Me){return Me.letterSpacing!==0?i(Z).map(function(Je){return n(Je)}):ws(Z,Me)},ws=function(Z,Me){for(var Je=Ye(Z,{lineBreak:Me.lineBreak,wordBreak:Me.overflowWrap===Ut.BREAK_WORD?"break-word":Me.wordBreak}),Lt=[],tr;!(tr=Je.next()).done;)tr.value&&Lt.push(tr.value.slice());return Lt},Ho=function(){function qe(Z,Me){this.text=ll(Z.data,Me.textTransform),this.textBounds=gs(this.text,Me,Z)}return qe}(),ll=function(Z,Me){switch(Me){case ji.LOWERCASE:return Z.toLowerCase();case ji.CAPITALIZE:return Z.replace(jl,cl);case ji.UPPERCASE:return Z.toUpperCase();default:return Z}},jl=/(^|\s|:|-|\(|\))([a-z])/g,cl=function(Z,Me,Je){return Z.length>0?Me+Je.toUpperCase():Z},Nl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.src=Me.currentSrc||Me.src,Je.intrinsicWidth=Me.naturalWidth,Je.intrinsicHeight=Me.naturalHeight,gi.getInstance().addImage(Je.src),Je}return Z}(io),_s=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.canvas=Me,Je.intrinsicWidth=Me.width,Je.intrinsicHeight=Me.height,Je}return Z}(io),Gs=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this,Lt=new XMLSerializer;return Je.svg="data:image/svg+xml,"+encodeURIComponent(Lt.serializeToString(Me)),Je.intrinsicWidth=Me.width.baseVal.value,Je.intrinsicHeight=Me.height.baseVal.value,gi.getInstance().addImage(Je.svg),Je}return Z}(io),el=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.value=Me.value,Je}return Z}(io),Hl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.start=Me.start,Je.reversed=typeof Me.reversed=="boolean"&&Me.reversed===!0,Je}return Z}(io),Kl=[{type:Pe.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:Pe.PERCENTAGE_TOKEN,flags:0,number:50}],nc=function(Z){return Z.width>Z.height?new h(Z.left+(Z.width-Z.height)/2,Z.top,Z.height,Z.height):Z.width<Z.height?new h(Z.left,Z.top+(Z.height-Z.width)/2,Z.width,Z.width):Z},ic=function(Z){var Me=Z.type===ac?new Array(Z.value.length+1).join("\u2022"):Z.value;return Me.length===0?Z.placeholder||"":Me},es="checkbox",tl="radio",ac="password",Rl=707406591,Ml=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;Je.type=Me.type.toLowerCase(),Je.checked=Me.checked,Je.value=ic(Me),(Je.type===es||Je.type===tl)&&(Je.styles.backgroundColor=3739148031,Je.styles.borderTopColor=Je.styles.borderRightColor=Je.styles.borderBottomColor=Je.styles.borderLeftColor=2779096575,Je.styles.borderTopWidth=Je.styles.borderRightWidth=Je.styles.borderBottomWidth=Je.styles.borderLeftWidth=1,Je.styles.borderTopStyle=Je.styles.borderRightStyle=Je.styles.borderBottomStyle=Je.styles.borderLeftStyle=bo.SOLID,Je.styles.backgroundClip=[Ri.BORDER_BOX],Je.styles.backgroundOrigin=[0],Je.bounds=nc(Je.bounds));switch(Je.type){case es:Je.styles.borderTopRightRadius=Je.styles.borderTopLeftRadius=Je.styles.borderBottomRightRadius=Je.styles.borderBottomLeftRadius=Kl;break;case tl:Je.styles.borderTopRightRadius=Je.styles.borderTopLeftRadius=Je.styles.borderBottomRightRadius=Je.styles.borderBottomLeftRadius=Dl;break}return Je}return Z}(io),bl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this,Lt=Me.options[Me.selectedIndex||0];return Je.value=Lt&&Lt.text||"",Je}return Z}(io),zl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.value=Me.value,Je}return Z}(io),ul=function(Z){return Rn.parse(hn.create(Z).parseComponentValue())},Wl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;Je.src=Me.src,Je.width=parseInt(Me.width,10)||0,Je.height=parseInt(Me.height,10)||0,Je.backgroundColor=Je.styles.backgroundColor;try{if(Me.contentWindow&&Me.contentWindow.document&&Me.contentWindow.document.documentElement){Je.tree=rl(Me.contentWindow.document.documentElement);var Lt=Me.contentWindow.document.documentElement?ul(getComputedStyle(Me.contentWindow.document.documentElement).backgroundColor):Li.TRANSPARENT,tr=Me.contentWindow.document.body?ul(getComputedStyle(Me.contentWindow.document.body).backgroundColor):Li.TRANSPARENT;Je.backgroundColor=En(Lt)?En(tr)?Je.styles.backgroundColor:tr:Lt}}catch(vr){}return Je}return Z}(io),oc=["OL","UL","MENU"],sc=function qe(Z,Me,Je){for(var Lt=Z.firstChild,tr=void 0;Lt;Lt=tr)if(tr=Lt.nextSibling,Ss(Lt)&&Lt.data.trim().length>0)Me.textNodes.push(new Ho(Lt,Me.styles));else if(Ks(Lt)){var vr=Fs(Lt);vr.styles.isVisible()&&(wl(Lt,vr,Je)?vr.flags|=4:dl(vr.styles)&&(vr.flags|=2),oc.indexOf(Lt.tagName)!==-1&&(vr.flags|=8),Me.elements.push(vr),!Cl(Lt)&&!Qs(Lt)&&!pl(Lt)&&qe(Lt,vr,Je))}},Fs=function(Z){return fl(Z)?new Nl(Z):il(Z)?new _s(Z):Qs(Z)?new Gs(Z):Sl(Z)?new el(Z):kl(Z)?new Hl(Z):Vl(Z)?new Ml(Z):pl(Z)?new bl(Z):Cl(Z)?new zl(Z):El(Z)?new Wl(Z):new io(Z)},rl=function(Z){var Me=Fs(Z);return Me.flags|=4,sc(Z,Me,Me),Me},wl=function(Z,Me,Je){return Me.styles.isPositionedWithZIndex()||Me.styles.opacity<1||Me.styles.isTransformed()||hl(Z)&&Je.styles.isTransparent()},dl=function(Z){return Z.isPositioned()||Z.isFloating()},Ss=function(Z){return Z.nodeType===Node.TEXT_NODE},Ks=function(Z){return Z.nodeType===Node.ELEMENT_NODE},nl=function(Z){return Ks(Z)&&typeof Z.style!="undefined"&&!Ps(Z)},Ps=function(Z){return typeof Z.className=="object"},Sl=function(Z){return Z.tagName==="LI"},kl=function(Z){return Z.tagName==="OL"},Vl=function(Z){return Z.tagName==="INPUT"},xl=function(Z){return Z.tagName==="HTML"},Qs=function(Z){return Z.tagName==="svg"},hl=function(Z){return Z.tagName==="BODY"},il=function(Z){return Z.tagName==="CANVAS"},fl=function(Z){return Z.tagName==="IMG"},El=function(Z){return Z.tagName==="IFRAME"},zs=function(Z){return Z.tagName==="STYLE"},Xl=function(Z){return Z.tagName==="SCRIPT"},Cl=function(Z){return Z.tagName==="TEXTAREA"},pl=function(Z){return Z.tagName==="SELECT"},Tl=function(){function qe(){this.counters={}}return qe.prototype.getCounterValue=function(Z){var Me=this.counters[Z];return Me&&Me.length?Me[Me.length-1]:1},qe.prototype.getCounterValues=function(Z){var Me=this.counters[Z];return Me||[]},qe.prototype.pop=function(Z){var Me=this;Z.forEach(function(Je){return Me.counters[Je].pop()})},qe.prototype.parse=function(Z){var Me=this,Je=Z.counterIncrement,Lt=Z.counterReset,tr=!0;Je!==null&&Je.forEach(function(_r){var Hr=Me.counters[_r.counter];Hr&&_r.increment!==0&&(tr=!1,Hr[Math.max(0,Hr.length-1)]+=_r.increment)});var vr=[];return tr&&Lt.forEach(function(_r){var Hr=Me.counters[_r.counter];vr.push(_r.counter),Hr||(Hr=Me.counters[_r.counter]=[]),Hr.push(_r.reset)}),vr},qe}(),Yl={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Fl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},ml={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Js=function(Z,Me,Je,Lt,tr,vr){return Z<Me||Z>Je?vl(Z,tr,vr.length>0):Lt.integers.reduce(function(_r,Hr,Kr){for(;Z>=Hr;)Z-=Hr,_r+=Lt.values[Kr];return _r},"")+vr},Ql=function(Z,Me,Je,Lt){var tr="";do Je||Z--,tr=Lt(Z)+tr,Z/=Me;while(Z*Me>=Me);return tr},Ro=function(Z,Me,Je,Lt,tr){var vr=Je-Me+1;return(Z<0?"-":"")+(Ql(Math.abs(Z),vr,Lt,function(_r){return n(Math.floor(_r%vr)+Me)})+tr)},Ws=function(Z,Me,Je){Je===void 0&&(Je=". ");var Lt=Me.length;return Ql(Math.abs(Z),Lt,!1,function(tr){return Me[Math.floor(tr%Lt)]})+Je},al=1<<0,Bs=1<<1,Us=1<<2,gl=1<<3,xs=function(Z,Me,Je,Lt,tr,vr){if(Z<-9999||Z>9999)return vl(Z,Dn.CJK_DECIMAL,tr.length>0);var _r=Math.abs(Z),Hr=tr;if(_r===0)return Me[0]+Hr;for(var Kr=0;_r>0&&Kr<=4;Kr++){var cn=_r%10;cn===0&&Do(vr,al)&&Hr!==""?Hr=Me[cn]+Hr:cn>1||cn===1&&Kr===0||cn===1&&Kr===1&&Do(vr,Bs)||cn===1&&Kr===1&&Do(vr,Us)&&Z>100||cn===1&&Kr>1&&Do(vr,gl)?Hr=Me[cn]+(Kr>0?Je[Kr-1]:"")+Hr:cn===1&&Kr>0&&(Hr=Je[Kr-1]+Hr),_r=Math.floor(_r/10)}return(Z<0?Lt:"")+Hr},ol="\u5341\u767E\u5343\u842C",Zs="\u62FE\u4F70\u4EDF\u842C",Pl="\u30DE\u30A4\u30CA\u30B9",Ll="\uB9C8\uC774\uB108\uC2A4",vl=function(Z,Me,Je){var Lt=Je?". ":"",tr=Je?"\u3001":"",vr=Je?", ":"",_r=Je?" ":"";switch(Me){case Dn.DISC:return"\u2022"+_r;case Dn.CIRCLE:return"\u25E6"+_r;case Dn.SQUARE:return"\u25FE"+_r;case Dn.DECIMAL_LEADING_ZERO:var Hr=Ro(Z,48,57,!0,Lt);return Hr.length<4?"0"+Hr:Hr;case Dn.CJK_DECIMAL:return Ws(Z,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tr);case Dn.LOWER_ROMAN:return Js(Z,1,3999,Yl,Dn.DECIMAL,Lt).toLowerCase();case Dn.UPPER_ROMAN:return Js(Z,1,3999,Yl,Dn.DECIMAL,Lt);case Dn.LOWER_GREEK:return Ro(Z,945,969,!1,Lt);case Dn.LOWER_ALPHA:return Ro(Z,97,122,!1,Lt);case Dn.UPPER_ALPHA:return Ro(Z,65,90,!1,Lt);case Dn.ARABIC_INDIC:return Ro(Z,1632,1641,!0,Lt);case Dn.ARMENIAN:case Dn.UPPER_ARMENIAN:return Js(Z,1,9999,Fl,Dn.DECIMAL,Lt);case Dn.LOWER_ARMENIAN:return Js(Z,1,9999,Fl,Dn.DECIMAL,Lt).toLowerCase();case Dn.BENGALI:return Ro(Z,2534,2543,!0,Lt);case Dn.CAMBODIAN:case Dn.KHMER:return Ro(Z,6112,6121,!0,Lt);case Dn.CJK_EARTHLY_BRANCH:return Ws(Z,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tr);case Dn.CJK_HEAVENLY_STEM:return Ws(Z,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tr);case Dn.CJK_IDEOGRAPHIC:case Dn.TRAD_CHINESE_INFORMAL:return xs(Z,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8CA0",tr,Bs|Us|gl);case Dn.TRAD_CHINESE_FORMAL:return xs(Z,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Zs,"\u8CA0",tr,al|Bs|Us|gl);case Dn.SIMP_CHINESE_INFORMAL:return xs(Z,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8D1F",tr,Bs|Us|gl);case Dn.SIMP_CHINESE_FORMAL:return xs(Z,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Zs,"\u8D1F",tr,al|Bs|Us|gl);case Dn.JAPANESE_INFORMAL:return xs(Z,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Pl,tr,0);case Dn.JAPANESE_FORMAL:return xs(Z,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Pl,tr,al|Bs|Us);case Dn.KOREAN_HANGUL_FORMAL:return xs(Z,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ll,vr,al|Bs|Us);case Dn.KOREAN_HANJA_INFORMAL:return xs(Z,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ll,vr,0);case Dn.KOREAN_HANJA_FORMAL:return xs(Z,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ll,vr,al|Bs|Us);case Dn.DEVANAGARI:return Ro(Z,2406,2415,!0,Lt);case Dn.GEORGIAN:return Js(Z,1,19999,Gl,Dn.DECIMAL,Lt);case Dn.GUJARATI:return Ro(Z,2790,2799,!0,Lt);case Dn.GURMUKHI:return Ro(Z,2662,2671,!0,Lt);case Dn.HEBREW:return Js(Z,1,10999,ml,Dn.DECIMAL,Lt);case Dn.HIRAGANA:return Ws(Z,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case Dn.HIRAGANA_IROHA:return Ws(Z,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case Dn.KANNADA:return Ro(Z,3302,3311,!0,Lt);case Dn.KATAKANA:return Ws(Z,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",tr);case Dn.KATAKANA_IROHA:return Ws(Z,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",tr);case Dn.LAO:return Ro(Z,3792,3801,!0,Lt);case Dn.MONGOLIAN:return Ro(Z,6160,6169,!0,Lt);case Dn.MYANMAR:return Ro(Z,4160,4169,!0,Lt);case Dn.ORIYA:return Ro(Z,2918,2927,!0,Lt);case Dn.PERSIAN:return Ro(Z,1776,1785,!0,Lt);case Dn.TAMIL:return Ro(Z,3046,3055,!0,Lt);case Dn.TELUGU:return Ro(Z,3174,3183,!0,Lt);case Dn.THAI:return Ro(Z,3664,3673,!0,Lt);case Dn.TIBETAN:return Ro(Z,3872,3881,!0,Lt);case Dn.DECIMAL:default:return Ro(Z,48,57,!0,Lt)}},ql="data-html2canvas-ignore",Bl=function(){function qe(Z,Me){if(this.options=Me,this.scrolledElements=[],this.referenceElement=Z,this.counters=new Tl,this.quoteDepth=0,!Z.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Z.ownerDocument.documentElement)}return qe.prototype.toIFrame=function(Z,Me){var Je=this,Lt=Jl(Z,Me);if(!Lt.contentWindow)return Promise.reject("Unable to find iframe window");var tr=Z.defaultView.pageXOffset,vr=Z.defaultView.pageYOffset,_r=Lt.contentWindow,Hr=_r.document,Kr=lc(Lt).then(function(){return m(Je,void 0,void 0,function(){var cn;return v(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(ec),_r&&(_r.scrollTo(Me.left,Me.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(_r.scrollY!==Me.top||_r.scrollX!==Me.left)&&(Hr.documentElement.style.top=-Me.top+"px",Hr.documentElement.style.left=-Me.left+"px",Hr.documentElement.style.position="absolute")),cn=this.options.onclone,typeof this.clonedReferenceElement=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hr.fonts&&Hr.fonts.ready?[4,Hr.fonts.ready]:[3,2];case 1:sn.sent(),sn.label=2;case 2:return typeof cn=="function"?[2,Promise.resolve().then(function(){return cn(Hr)}).then(function(){return Lt})]:[2,Lt]}})})});return Hr.open(),Hr.write($l(document.doctype)+"<html></html>"),Ol(this.referenceElement.ownerDocument,tr,vr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),Kr},qe.prototype.createElementClone=function(Z){if(il(Z))return this.createCanvasClone(Z);if(zs(Z))return this.createStyleClone(Z);var Me=Z.cloneNode(!1);return fl(Me)&&Me.loading==="lazy"&&(Me.loading="eager"),Me},qe.prototype.createStyleClone=function(Z){try{var Me=Z.sheet;if(Me&&Me.cssRules){var Je=[].slice.call(Me.cssRules,0).reduce(function(tr,vr){return vr&&typeof vr.cssText=="string"?tr+vr.cssText:tr},""),Lt=Z.cloneNode(!1);return Lt.textContent=Je,Lt}}catch(tr){if(la.getInstance(this.options.id).error("Unable to access cssRules property",tr),tr.name!=="SecurityError")throw tr}return Z.cloneNode(!1)},qe.prototype.createCanvasClone=function(Z){if(this.options.inlineImages&&Z.ownerDocument){var Me=Z.ownerDocument.createElement("img");try{return Me.src=Z.toDataURL(),Me}catch(vr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var Je=Z.cloneNode(!1);try{Je.width=Z.width,Je.height=Z.height;var Lt=Z.getContext("2d"),tr=Je.getContext("2d");return tr&&(Lt?tr.putImageData(Lt.getImageData(0,0,Z.width,Z.height),0,0):tr.drawImage(Z,0,0)),Je}catch(vr){}return Je},qe.prototype.cloneNode=function(Z){if(Ss(Z))return document.createTextNode(Z.data);if(!Z.ownerDocument)return Z.cloneNode(!1);var Me=Z.ownerDocument.defaultView;if(Me&&Ks(Z)&&(nl(Z)||Ps(Z))){var Je=this.createElementClone(Z),Lt=Me.getComputedStyle(Z),tr=Me.getComputedStyle(Z,":before"),vr=Me.getComputedStyle(Z,":after");this.referenceElement===Z&&nl(Je)&&(this.clonedReferenceElement=Je),hl(Je)&&uc(Je);for(var _r=this.counters.parse(new Bi(Lt)),Hr=this.resolvePseudoContent(Z,Je,tr,yl.BEFORE),Kr=Z.firstChild;Kr;Kr=Kr.nextSibling)(!Ks(Kr)||!Xl(Kr)&&!Kr.hasAttribute(ql)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Kr)))&&((!this.options.copyStyles||!Ks(Kr)||!zs(Kr))&&Je.appendChild(this.cloneNode(Kr)));Hr&&Je.insertBefore(Hr,Je.firstChild);var cn=this.resolvePseudoContent(Z,Je,vr,yl.AFTER);return cn&&Je.appendChild(cn),this.counters.pop(_r),Lt&&(this.options.copyStyles||Ps(Z))&&!El(Z)&&Zl(Lt,Je),(Z.scrollTop!==0||Z.scrollLeft!==0)&&this.scrolledElements.push([Je,Z.scrollLeft,Z.scrollTop]),(Cl(Z)||pl(Z))&&(Cl(Je)||pl(Je))&&(Je.value=Z.value),Je}return Z.cloneNode(!1)},qe.prototype.resolvePseudoContent=function(Z,Me,Je,Lt){var tr=this;if(!Je)return;var vr=Je.content,_r=Me.ownerDocument;if(!_r||!vr||vr==="none"||vr==="-moz-alt-content"||Je.display==="none")return;this.counters.parse(new Bi(Je));var Hr=new ui(Je),Kr=_r.createElement("html2canvaspseudoelement");Zl(Je,Kr),Hr.content.forEach(function(sn){if(sn.type===Pe.STRING_TOKEN)Kr.appendChild(_r.createTextNode(sn.value));else if(sn.type===Pe.URL_TOKEN){var kn=_r.createElement("img");kn.src=sn.value,kn.style.opacity="1",Kr.appendChild(kn)}else if(sn.type===Pe.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Jt);si.length&&Kr.appendChild(_r.createTextNode(Z.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var Kn=sn.values.filter(Er),fi=Kn[0],da=Kn[1];if(fi&&Jt(fi)){var Ti=tr.counters.getCounterValue(fi.value),na=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL;Kr.appendChild(_r.createTextNode(vl(Ti,na,!1)))}}else if(sn.name==="counters"){var Ia=sn.values.filter(Er),fi=Ia[0],Pi=Ia[1],da=Ia[2];if(fi&&Jt(fi)){var Io=tr.counters.getCounterValues(fi.value),no=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL,zo=Pi&&Pi.type===Pe.STRING_TOKEN?Pi.value:"",Po=Io.map(function(fs){return vl(fs,no,!1)}).join(zo);Kr.appendChild(_r.createTextNode(Po))}}}else if(sn.type===Pe.IDENT_TOKEN)switch(sn.value){case"open-quote":Kr.appendChild(_r.createTextNode(Hs(Hr.quotes,tr.quoteDepth++,!0)));break;case"close-quote":Kr.appendChild(_r.createTextNode(Hs(Hr.quotes,--tr.quoteDepth,!1)));break;default:Kr.appendChild(_r.createTextNode(sn.value))}}),Kr.className=js+" "+Il;var cn=Lt===yl.BEFORE?" "+js:" "+Il;return Ps(Me)?Me.className.baseValue+=cn:Me.className+=cn,Kr},qe.destroy=function(Z){return Z.parentNode?(Z.parentNode.removeChild(Z),!0):!1},qe}(),yl;(function(qe){qe[qe.BEFORE=0]="BEFORE",qe[qe.AFTER=1]="AFTER"})(yl||(yl={}));var Jl=function(Z,Me){var Je=Z.createElement("iframe");return Je.className="html2canvas-container",Je.style.visibility="hidden",Je.style.position="fixed",Je.style.left="-10000px",Je.style.top="0px",Je.style.border="0",Je.width=Me.width.toString(),Je.height=Me.height.toString(),Je.scrolling="no",Je.setAttribute(ql,"true"),Z.body.appendChild(Je),Je},lc=function(Z){return new Promise(function(Me,Je){var Lt=Z.contentWindow;if(!Lt)return Je("No window assigned for iframe");var tr=Lt.document;Lt.onload=Z.onload=tr.onreadystatechange=function(){Lt.onload=Z.onload=tr.onreadystatechange=null;var vr=setInterval(function(){tr.body.childNodes.length>0&&tr.readyState==="complete"&&(clearInterval(vr),Me(Z))},50)}})},Zl=function(Z,Me){for(var Je=Z.length-1;Je>=0;Je--){var Lt=Z.item(Je);Lt!=="content"&&Me.style.setProperty(Lt,Z.getPropertyValue(Lt))}return Me},$l=function(Z){var Me="";return Z&&(Me+="<!DOCTYPE ",Z.name&&(Me+=Z.name),Z.internalSubset&&(Me+=Z.internalSubset),Z.publicId&&(Me+='"'+Z.publicId+'"'),Z.systemId&&(Me+='"'+Z.systemId+'"'),Me+=">"),Me},Ol=function(Z,Me,Je){Z&&Z.defaultView&&(Me!==Z.defaultView.pageXOffset||Je!==Z.defaultView.pageYOffset)&&Z.defaultView.scrollTo(Me,Je)},ec=function(Z){var Me=Z[0],Je=Z[1],Lt=Z[2];Me.scrollLeft=Je,Me.scrollTop=Lt},cc=":before",_l=":after",js="___html2canvas___pseudoelement_before",Il="___html2canvas___pseudoelement_after",Al=`{
content: "" !important;
display: none !important;
}`,uc=function(Z){dc(Z,"."+js+cc+Al+`
.`+Il+_l+Al)},dc=function(Z,Me){var Je=Z.ownerDocument;if(Je){var Lt=Je.createElement("style");Lt.textContent=Me,Z.appendChild(Lt)}},sl;(function(qe){qe[qe.VECTOR=0]="VECTOR",qe[qe.BEZIER_CURVE=1]="BEZIER_CURVE"})(sl||(sl={}));var ot=function(Z,Me){return Z.length===Me.length?Z.some(function(Je,Lt){return Je===Me[Lt]}):!1},de=function(Z,Me,Je,Lt,tr){return Z.map(function(vr,_r){switch(_r){case 0:return vr.add(Me,Je);case 1:return vr.add(Me+Lt,Je);case 2:return vr.add(Me+Lt,Je+tr);case 3:return vr.add(Me,Je+tr)}return vr})},Ue=function(){function qe(Z,Me){this.type=sl.VECTOR,this.x=Z,this.y=Me}return qe.prototype.add=function(Z,Me){return new qe(this.x+Z,this.y+Me)},qe}(),bt=function(Z,Me,Je){return new Ue(Z.x+(Me.x-Z.x)*Je,Z.y+(Me.y-Z.y)*Je)},Ft=function(){function qe(Z,Me,Je,Lt){this.type=sl.BEZIER_CURVE,this.start=Z,this.startControl=Me,this.endControl=Je,this.end=Lt}return qe.prototype.subdivide=function(Z,Me){var Je=bt(this.start,this.startControl,Z),Lt=bt(this.startControl,this.endControl,Z),tr=bt(this.endControl,this.end,Z),vr=bt(Je,Lt,Z),_r=bt(Lt,tr,Z),Hr=bt(vr,_r,Z);return Me?new qe(this.start,Je,vr,Hr):new qe(Hr,_r,tr,this.end)},qe.prototype.add=function(Z,Me){return new qe(this.start.add(Z,Me),this.startControl.add(Z,Me),this.endControl.add(Z,Me),this.end.add(Z,Me))},qe.prototype.reverse=function(){return new qe(this.end,this.endControl,this.startControl,this.start)},qe}(),qt=function(Z){return Z.type===sl.BEZIER_CURVE},ar=function(){function qe(Z){var Me=Z.styles,Je=Z.bounds,Lt=Mr(Me.borderTopLeftRadius,Je.width,Je.height),tr=Lt[0],vr=Lt[1],_r=Mr(Me.borderTopRightRadius,Je.width,Je.height),Hr=_r[0],Kr=_r[1],cn=Mr(Me.borderBottomRightRadius,Je.width,Je.height),sn=cn[0],kn=cn[1],si=Mr(Me.borderBottomLeftRadius,Je.width,Je.height),Kn=si[0],fi=si[1],da=[];da.push((tr+Hr)/Je.width),da.push((Kn+sn)/Je.width),da.push((vr+fi)/Je.height),da.push((Kr+kn)/Je.height);var Ti=Math.max.apply(Math,da);Ti>1&&(tr/=Ti,vr/=Ti,Hr/=Ti,Kr/=Ti,sn/=Ti,kn/=Ti,Kn/=Ti,fi/=Ti);var na=Je.width-Hr,Ia=Je.height-kn,Pi=Je.width-sn,Io=Je.height-fi,no=Me.borderTopWidth,zo=Me.borderRightWidth,Po=Me.borderBottomWidth,Fa=Me.borderLeftWidth,Wo=Dr(Me.paddingTop,Z.bounds.width),fs=Dr(Me.paddingRight,Z.bounds.width),vs=Dr(Me.paddingBottom,Z.bounds.width),Es=Dr(Me.paddingLeft,Z.bounds.width);this.topLeftBorderBox=tr>0||vr>0?yr(Je.left,Je.top,tr,vr,lr.TOP_LEFT):new Ue(Je.left,Je.top),this.topRightBorderBox=Hr>0||Kr>0?yr(Je.left+na,Je.top,Hr,Kr,lr.TOP_RIGHT):new Ue(Je.left+Je.width,Je.top),this.bottomRightBorderBox=sn>0||kn>0?yr(Je.left+Pi,Je.top+Ia,sn,kn,lr.BOTTOM_RIGHT):new Ue(Je.left+Je.width,Je.top+Je.height),this.bottomLeftBorderBox=Kn>0||fi>0?yr(Je.left,Je.top+Io,Kn,fi,lr.BOTTOM_LEFT):new Ue(Je.left,Je.top+Je.height),this.topLeftPaddingBox=tr>0||vr>0?yr(Je.left+Fa,Je.top+no,Math.max(0,tr-Fa),Math.max(0,vr-no),lr.TOP_LEFT):new Ue(Je.left+Fa,Je.top+no),this.topRightPaddingBox=Hr>0||Kr>0?yr(Je.left+Math.min(na,Je.width+Fa),Je.top+no,na>Je.width+Fa?0:Hr-Fa,Kr-no,lr.TOP_RIGHT):new Ue(Je.left+Je.width-zo,Je.top+no),this.bottomRightPaddingBox=sn>0||kn>0?yr(Je.left+Math.min(Pi,Je.width-Fa),Je.top+Math.min(Ia,Je.height+no),Math.max(0,sn-zo),kn-Po,lr.BOTTOM_RIGHT):new Ue(Je.left+Je.width-zo,Je.top+Je.height-Po),this.bottomLeftPaddingBox=Kn>0||fi>0?yr(Je.left+Fa,Je.top+Io,Math.max(0,Kn-Fa),fi-Po,lr.BOTTOM_LEFT):new Ue(Je.left+Fa,Je.top+Je.height-Po),this.topLeftContentBox=tr>0||vr>0?yr(Je.left+Fa+Es,Je.top+no+Wo,Math.max(0,tr-(Fa+Es)),Math.max(0,vr-(no+Wo)),lr.TOP_LEFT):new Ue(Je.left+Fa+Es,Je.top+no+Wo),this.topRightContentBox=Hr>0||Kr>0?yr(Je.left+Math.min(na,Je.width+Fa+Es),Je.top+no+Wo,na>Je.width+Fa+Es?0:Hr-Fa+Es,Kr-(no+Wo),lr.TOP_RIGHT):new Ue(Je.left+Je.width-(zo+fs),Je.top+no+Wo),this.bottomRightContentBox=sn>0||kn>0?yr(Je.left+Math.min(Pi,Je.width-(Fa+Es)),Je.top+Math.min(Ia,Je.height+no+Wo),Math.max(0,sn-(zo+fs)),kn-(Po+vs),lr.BOTTOM_RIGHT):new Ue(Je.left+Je.width-(zo+fs),Je.top+Je.height-(Po+vs)),this.bottomLeftContentBox=Kn>0||fi>0?yr(Je.left+Fa+Es,Je.top+Io,Math.max(0,Kn-(Fa+Es)),fi-(Po+vs),lr.BOTTOM_LEFT):new Ue(Je.left+Fa+Es,Je.top+Je.height-(Po+vs))}return qe}(),lr;(function(qe){qe[qe.TOP_LEFT=0]="TOP_LEFT",qe[qe.TOP_RIGHT=1]="TOP_RIGHT",qe[qe.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",qe[qe.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(lr||(lr={}));var yr=function(Z,Me,Je,Lt,tr){var vr=4*((Math.sqrt(2)-1)/3),_r=Je*vr,Hr=Lt*vr,Kr=Z+Je,cn=Me+Lt;switch(tr){case lr.TOP_LEFT:return new Ft(new Ue(Z,cn),new Ue(Z,cn-Hr),new Ue(Kr-_r,Me),new Ue(Kr,Me));case lr.TOP_RIGHT:return new Ft(new Ue(Z,Me),new Ue(Z+_r,Me),new Ue(Kr,cn-Hr),new Ue(Kr,cn));case lr.BOTTOM_RIGHT:return new Ft(new Ue(Kr,Me),new Ue(Kr,Me+Hr),new Ue(Z+_r,cn),new Ue(Z,cn));case lr.BOTTOM_LEFT:default:return new Ft(new Ue(Kr,cn),new Ue(Kr-_r,cn),new Ue(Z,Me+Hr),new Ue(Z,Me))}},Vr=function(Z){return[Z.topLeftBorderBox,Z.topRightBorderBox,Z.bottomRightBorderBox,Z.bottomLeftBorderBox]},Xr=function(Z){return[Z.topLeftContentBox,Z.topRightContentBox,Z.bottomRightContentBox,Z.bottomLeftContentBox]},Br=function(Z){return[Z.topLeftPaddingBox,Z.topRightPaddingBox,Z.bottomRightPaddingBox,Z.bottomLeftPaddingBox]},Fr=function(){function qe(Z,Me,Je){this.type=0,this.offsetX=Z,this.offsetY=Me,this.matrix=Je,this.target=2|4}return qe}(),Gr=function(){function qe(Z,Me){this.type=1,this.target=Me,this.path=Z}return qe}(),dn=function(Z){return Z.type===0},pn=function(Z){return Z.type===1},ei=function(){function qe(Z){this.element=Z,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return qe}(),ci=function(){function qe(Z,Me){if(this.container=Z,this.effects=Me.slice(0),this.curves=new ar(Z),Z.styles.transform!==null){var Je=Z.bounds.left+Z.styles.transformOrigin[0].number,Lt=Z.bounds.top+Z.styles.transformOrigin[1].number,tr=Z.styles.transform;this.effects.push(new Fr(Je,Lt,tr))}if(Z.styles.overflowX!==We.VISIBLE){var vr=Vr(this.curves),_r=Br(this.curves);ot(vr,_r)?this.effects.push(new Gr(vr,2|4)):(this.effects.push(new Gr(vr,2)),this.effects.push(new Gr(_r,4)))}}return qe.prototype.getParentEffects=function(){var Z=this.effects.slice(0);if(this.container.styles.overflowX!==We.VISIBLE){var Me=Vr(this.curves),Je=Br(this.curves);ot(Me,Je)||Z.push(new Gr(Je,2|4))}return Z},qe}(),ii=function qe(Z,Me,Je,Lt){Z.container.elements.forEach(function(tr){var vr=Do(tr.flags,4),_r=Do(tr.flags,2),Hr=new ci(tr,Z.getParentEffects());Do(tr.styles.display,2048)&&Lt.push(Hr);var Kr=Do(tr.flags,8)?[]:Lt;if(vr||_r){var cn=vr||tr.styles.isPositioned()?Je:Me,sn=new ei(Hr);if(tr.styles.isPositioned()||tr.styles.opacity<1||tr.styles.isTransformed()){var kn=tr.styles.zIndex.order;if(kn<0){var si=0;cn.negativeZIndex.some(function(fi,da){return kn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),cn.negativeZIndex.splice(si,0,sn)}else if(kn>0){var Kn=0;cn.positiveZIndex.some(function(fi,da){return kn>=fi.element.container.styles.zIndex.order?(Kn=da+1,!1):Kn>0}),cn.positiveZIndex.splice(Kn,0,sn)}else cn.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else tr.styles.isFloating()?cn.nonPositionedFloats.push(sn):cn.nonPositionedInlineLevel.push(sn);qe(Hr,sn,vr?sn:Je,Kr)}else tr.styles.isInlineLevel()?Me.inlineLevel.push(Hr):Me.nonInlineLevel.push(Hr),qe(Hr,Me,Je,Kr);Do(tr.flags,8)&&Ji(tr,Kr)})},Ji=function(Z,Me){for(var Je=Z instanceof Hl?Z.start:1,Lt=Z instanceof Hl?Z.reversed:!1,tr=0;tr<Me.length;tr++){var vr=Me[tr];vr.container instanceof el&&typeof vr.container.value=="number"&&vr.container.value!==0&&(Je=vr.container.value),vr.listValue=vl(Je,vr.container.styles.listStyleType,!0),Je+=Lt?-1:1}},Si=function(Z){var Me=new ci(Z,[]),Je=new ei(Me),Lt=[];return ii(Me,Je,Je,Lt),Ji(Me.container,Lt),Je},Va=function(Z,Me){switch(Me){case 0:return Ei(Z.topLeftBorderBox,Z.topLeftPaddingBox,Z.topRightBorderBox,Z.topRightPaddingBox);case 1:return Ei(Z.topRightBorderBox,Z.topRightPaddingBox,Z.bottomRightBorderBox,Z.bottomRightPaddingBox);case 2:return Ei(Z.bottomRightBorderBox,Z.bottomRightPaddingBox,Z.bottomLeftBorderBox,Z.bottomLeftPaddingBox);case 3:default:return Ei(Z.bottomLeftBorderBox,Z.bottomLeftPaddingBox,Z.topLeftBorderBox,Z.topLeftPaddingBox)}},Ei=function(Z,Me,Je,Lt){var tr=[];return qt(Z)?tr.push(Z.subdivide(.5,!1)):tr.push(Z),qt(Je)?tr.push(Je.subdivide(.5,!0)):tr.push(Je),qt(Lt)?tr.push(Lt.subdivide(.5,!0).reverse()):tr.push(Lt),qt(Me)?tr.push(Me.subdivide(.5,!1).reverse()):tr.push(Me),tr},co=function(Z){var Me=Z.bounds,Je=Z.styles;return Me.add(Je.borderLeftWidth,Je.borderTopWidth,-(Je.borderRightWidth+Je.borderLeftWidth),-(Je.borderTopWidth+Je.borderBottomWidth))},Ko=function(Z){var Me=Z.styles,Je=Z.bounds,Lt=Dr(Me.paddingLeft,Je.width),tr=Dr(Me.paddingRight,Je.width),vr=Dr(Me.paddingTop,Je.width),_r=Dr(Me.paddingBottom,Je.width);return Je.add(Lt+Me.borderLeftWidth,vr+Me.borderTopWidth,-(Me.borderRightWidth+Me.borderLeftWidth+Lt+tr),-(Me.borderTopWidth+Me.borderBottomWidth+vr+_r))},ao=function(Z,Me){return Z===0?Me.bounds:Z===2?Ko(Me):co(Me)},Uo=function(Z,Me){return Z===Ri.BORDER_BOX?Me.bounds:Z===Ri.CONTENT_BOX?Ko(Me):co(Me)},I=function(Z,Me,Je){var Lt=ao(re(Z.styles.backgroundOrigin,Me),Z),tr=Uo(re(Z.styles.backgroundClip,Me),Z),vr=J(re(Z.styles.backgroundSize,Me),Je,Lt),_r=vr[0],Hr=vr[1],Kr=Mr(re(Z.styles.backgroundPosition,Me),Lt.width-_r,Lt.height-Hr),cn=De(re(Z.styles.backgroundRepeat,Me),Kr,vr,Lt,tr),sn=Math.round(Lt.left+Kr[0]),kn=Math.round(Lt.top+Kr[1]);return[cn,sn,kn,_r,Hr]},M=function(Z){return Jt(Z)&&Z.value===Ra.AUTO},q=function(Z){return typeof Z=="number"},J=function(Z,Me,Je){var Lt=Me[0],tr=Me[1],vr=Me[2],_r=Z[0],Hr=Z[1];if(an(_r)&&Hr&&an(Hr))return[Dr(_r,Je.width),Dr(Hr,Je.height)];var Kr=q(vr);if(Jt(_r)&&(_r.value===Ra.CONTAIN||_r.value===Ra.COVER)){if(q(vr)){var cn=Je.width/Je.height;return cn<vr!==(_r.value===Ra.COVER)?[Je.width,Je.width/vr]:[Je.height*vr,Je.height]}return[Je.width,Je.height]}var sn=q(Lt),kn=q(tr),si=sn||kn;if(M(_r)&&(!Hr||M(Hr))){if(sn&&kn)return[Lt,tr];if(!Kr&&!si)return[Je.width,Je.height];if(si&&Kr){var Kn=sn?Lt:tr*vr,fi=kn?tr:Lt/vr;return[Kn,fi]}var da=sn?Lt:Je.width,Ti=kn?tr:Je.height;return[da,Ti]}if(Kr){var na=0,Ia=0;return an(_r)?na=Dr(_r,Je.width):an(Hr)&&(Ia=Dr(Hr,Je.height)),M(_r)?na=Ia*vr:(!Hr||M(Hr))&&(Ia=na/vr),[na,Ia]}var Pi=null,Io=null;if(an(_r)?Pi=Dr(_r,Je.width):Hr&&an(Hr)&&(Io=Dr(Hr,Je.height)),Pi!==null&&(!Hr||M(Hr))&&(Io=sn&&kn?Pi/Lt*tr:Je.height),Io!==null&&M(_r)&&(Pi=sn&&kn?Io/tr*Lt:Je.width),Pi!==null&&Io!==null)return[Pi,Io];throw new Error("Unable to calculate background-size for element")},re=function(Z,Me){var Je=Z[Me];return typeof Je=="undefined"?Z[0]:Je},De=function(Z,Me,Je,Lt,tr){var vr=Me[0],_r=Me[1],Hr=Je[0],Kr=Je[1];switch(Z){case fo.REPEAT_X:return[new Ue(Math.round(Lt.left),Math.round(Lt.top+_r)),new Ue(Math.round(Lt.left+Lt.width),Math.round(Lt.top+_r)),new Ue(Math.round(Lt.left+Lt.width),Math.round(Kr+Lt.top+_r)),new Ue(Math.round(Lt.left),Math.round(Kr+Lt.top+_r))];case fo.REPEAT_Y:return[new Ue(Math.round(Lt.left+vr),Math.round(Lt.top)),new Ue(Math.round(Lt.left+vr+Hr),Math.round(Lt.top)),new Ue(Math.round(Lt.left+vr+Hr),Math.round(Lt.height+Lt.top)),new Ue(Math.round(Lt.left+vr),Math.round(Lt.height+Lt.top))];case fo.NO_REPEAT:return[new Ue(Math.round(Lt.left+vr),Math.round(Lt.top+_r)),new Ue(Math.round(Lt.left+vr+Hr),Math.round(Lt.top+_r)),new Ue(Math.round(Lt.left+vr+Hr),Math.round(Lt.top+_r+Kr)),new Ue(Math.round(Lt.left+vr),Math.round(Lt.top+_r+Kr))];default:return[new Ue(Math.round(tr.left),Math.round(tr.top)),new Ue(Math.round(tr.left+tr.width),Math.round(tr.top)),new Ue(Math.round(tr.left+tr.width),Math.round(tr.height+tr.top)),new Ue(Math.round(tr.left),Math.round(tr.height+tr.top))]}},mt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Nt="Hidden Text",zt=function(){function qe(Z){this._data={},this._document=Z}return qe.prototype.parseMetrics=function(Z,Me){var Je=this._document.createElement("div"),Lt=this._document.createElement("img"),tr=this._document.createElement("span"),vr=this._document.body;Je.style.visibility="hidden",Je.style.fontFamily=Z,Je.style.fontSize=Me,Je.style.margin="0",Je.style.padding="0",vr.appendChild(Je),Lt.src=mt,Lt.width=1,Lt.height=1,Lt.style.margin="0",Lt.style.padding="0",Lt.style.verticalAlign="baseline",tr.style.fontFamily=Z,tr.style.fontSize=Me,tr.style.margin="0",tr.style.padding="0",tr.appendChild(this._document.createTextNode(Nt)),Je.appendChild(tr),Je.appendChild(Lt);var _r=Lt.offsetTop-tr.offsetTop+2;Je.removeChild(tr),Je.appendChild(this._document.createTextNode(Nt)),Je.style.lineHeight="normal",Lt.style.verticalAlign="super";var Hr=Lt.offsetTop-Je.offsetTop+2;return vr.removeChild(Je),{baseline:_r,middle:Hr}},qe.prototype.getMetrics=function(Z,Me){var Je=Z+" "+Me;return typeof this._data[Je]=="undefined"&&(this._data[Je]=this.parseMetrics(Z,Me)),this._data[Je]},qe}(),Yt=1e4,Cr=function(){function qe(Z){this._activeEffects=[],this.canvas=Z.canvas?Z.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=Z,Z.canvas||(this.canvas.width=Math.floor(Z.width*Z.scale),this.canvas.height=Math.floor(Z.height*Z.scale),this.canvas.style.width=Z.width+"px",this.canvas.style.height=Z.height+"px"),this.fontMetrics=new zt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-Z.x+Z.scrollX,-Z.y+Z.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(Z.id).debug("Canvas renderer initialized ("+Z.width+"x"+Z.height+" at "+Z.x+","+Z.y+") with scale "+Z.scale)}return qe.prototype.applyEffects=function(Z,Me){for(var Je=this;this._activeEffects.length;)this.popEffect();Z.filter(function(Lt){return Do(Lt.target,Me)}).forEach(function(Lt){return Je.applyEffect(Lt)})},qe.prototype.applyEffect=function(Z){this.ctx.save(),dn(Z)&&(this.ctx.translate(Z.offsetX,Z.offsetY),this.ctx.transform(Z.matrix[0],Z.matrix[1],Z.matrix[2],Z.matrix[3],Z.matrix[4],Z.matrix[5]),this.ctx.translate(-Z.offsetX,-Z.offsetY)),pn(Z)&&(this.path(Z.path),this.ctx.clip()),this._activeEffects.push(Z)},qe.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},qe.prototype.renderStack=function(Z){return m(this,void 0,void 0,function(){var Me;return v(this,function(Je){switch(Je.label){case 0:return Me=Z.element.container.styles,Me.isVisible()?(this.ctx.globalAlpha=Me.opacity,[4,this.renderStackContent(Z)]):[3,2];case 1:Je.sent(),Je.label=2;case 2:return[2]}})})},qe.prototype.renderNode=function(Z){return m(this,void 0,void 0,function(){return v(this,function(Me){switch(Me.label){case 0:return Z.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Z)]:[3,3];case 1:return Me.sent(),[4,this.renderNodeContent(Z)];case 2:Me.sent(),Me.label=3;case 3:return[2]}})})},qe.prototype.renderTextWithLetterSpacing=function(Z,Me){var Je=this;if(Me===0)this.ctx.fillText(Z.text,Z.bounds.left,Z.bounds.top+Z.bounds.height);else{var Lt=i(Z.text).map(function(tr){return n(tr)});Lt.reduce(function(tr,vr){return Je.ctx.fillText(vr,tr,Z.bounds.top+Z.bounds.height),tr+Je.ctx.measureText(vr).width},Z.bounds.left)}},qe.prototype.createFontStyle=function(Z){var Me=Z.fontVariant.filter(function(tr){return tr==="normal"||tr==="small-caps"}).join(""),Je=Z.fontFamily.join(", "),Lt=tt(Z.fontSize)?""+Z.fontSize.number+Z.fontSize.unit:Z.fontSize.number+"px";return[[Z.fontStyle,Me,Z.fontWeight,Lt,Je].join(" "),Je,Lt]},qe.prototype.renderTextNode=function(Z,Me){return m(this,void 0,void 0,function(){var Je,Lt,tr,vr,_r=this;return v(this,function(Hr){return Je=this.createFontStyle(Me),Lt=Je[0],tr=Je[1],vr=Je[2],this.ctx.font=Lt,Z.textBounds.forEach(function(Kr){_r.ctx.fillStyle=_n(Me.color),_r.renderTextWithLetterSpacing(Kr,Me.letterSpacing);var cn=Me.textShadow;cn.length&&Kr.text.trim().length&&(cn.slice(0).reverse().forEach(function(sn){_r.ctx.shadowColor=_n(sn.color),_r.ctx.shadowOffsetX=sn.offsetX.number*_r.options.scale,_r.ctx.shadowOffsetY=sn.offsetY.number*_r.options.scale,_r.ctx.shadowBlur=sn.blur.number,_r.ctx.fillText(Kr.text,Kr.bounds.left,Kr.bounds.top+Kr.bounds.height)}),_r.ctx.shadowColor="",_r.ctx.shadowOffsetX=0,_r.ctx.shadowOffsetY=0,_r.ctx.shadowBlur=0),Me.textDecorationLine.length&&(_r.ctx.fillStyle=_n(Me.textDecorationColor||Me.color),Me.textDecorationLine.forEach(function(sn){switch(sn){case 1:var kn=_r.fontMetrics.getMetrics(tr,vr).baseline;_r.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top+kn),Kr.bounds.width,1);break;case 2:_r.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top),Kr.bounds.width,1);break;case 3:var si=_r.fontMetrics.getMetrics(tr,vr).middle;_r.ctx.fillRect(Kr.bounds.left,Math.ceil(Kr.bounds.top+si),Kr.bounds.width,1);break}}))}),[2]})})},qe.prototype.renderReplacedElement=function(Z,Me,Je){if(Je&&Z.intrinsicWidth>0&&Z.intrinsicHeight>0){var Lt=Ko(Z),tr=Br(Me);this.path(tr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Je,0,0,Z.intrinsicWidth,Z.intrinsicHeight,Lt.left,Lt.top,Lt.width,Lt.height),this.ctx.restore()}},qe.prototype.renderNodeContent=function(Z){return m(this,void 0,void 0,function(){var Me,Je,Lt,tr,vr,_r,Hr,Kr,Hr,cn,sn,kn,si,Kn,fi,da,Ti,Hr,na,Ia,Kn;return v(this,function(Pi){switch(Pi.label){case 0:this.applyEffects(Z.effects,4),Me=Z.container,Je=Z.curves,Lt=Me.styles,tr=0,vr=Me.textNodes,Pi.label=1;case 1:return tr<vr.length?(_r=vr[tr],[4,this.renderTextNode(_r,Lt)]):[3,4];case 2:Pi.sent(),Pi.label=3;case 3:return tr++,[3,1];case 4:if(!(Me instanceof Nl))return[3,8];Pi.label=5;case 5:return Pi.trys.push([5,7,,8]),[4,this.options.cache.match(Me.src)];case 6:return Hr=Pi.sent(),this.renderReplacedElement(Me,Je,Hr),[3,8];case 7:return Kr=Pi.sent(),la.getInstance(this.options.id).error("Error loading image "+Me.src),[3,8];case 8:if(Me instanceof _s&&this.renderReplacedElement(Me,Je,Me.canvas),!(Me instanceof Gs))return[3,12];Pi.label=9;case 9:return Pi.trys.push([9,11,,12]),[4,this.options.cache.match(Me.svg)];case 10:return Hr=Pi.sent(),this.renderReplacedElement(Me,Je,Hr),[3,12];case 11:return cn=Pi.sent(),la.getInstance(this.options.id).error("Error loading svg "+Me.svg.substring(0,255)),[3,12];case 12:return Me instanceof Wl&&Me.tree?(sn=new qe({id:this.options.id,scale:this.options.scale,backgroundColor:Me.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:Me.width,height:Me.height,cache:this.options.cache,windowWidth:Me.width,windowHeight:Me.height}),[4,sn.render(Me.tree)]):[3,14];case 13:kn=Pi.sent(),Me.width&&Me.height&&this.ctx.drawImage(kn,0,0,Me.width,Me.height,Me.bounds.left,Me.bounds.top,Me.bounds.width,Me.bounds.height),Pi.label=14;case 14:if(Me instanceof Ml&&(si=Math.min(Me.bounds.width,Me.bounds.height),Me.type===es?Me.checked&&(this.ctx.save(),this.path([new Ue(Me.bounds.left+si*.39363,Me.bounds.top+si*.79),new Ue(Me.bounds.left+si*.16,Me.bounds.top+si*.5549),new Ue(Me.bounds.left+si*.27347,Me.bounds.top+si*.44071),new Ue(Me.bounds.left+si*.39694,Me.bounds.top+si*.5649),new Ue(Me.bounds.left+si*.72983,Me.bounds.top+si*.23),new Ue(Me.bounds.left+si*.84,Me.bounds.top+si*.34085),new Ue(Me.bounds.left+si*.39363,Me.bounds.top+si*.79)]),this.ctx.fillStyle=_n(Rl),this.ctx.fill(),this.ctx.restore()):Me.type===tl&&(Me.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Me.bounds.left+si/2,Me.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=_n(Rl),this.ctx.fill(),this.ctx.restore()))),Ur(Me)&&Me.value.length){this.ctx.font=this.createFontStyle(Lt)[0],this.ctx.fillStyle=_n(Lt.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(Me.styles.textAlign),Kn=Ko(Me),fi=0;switch(Me.styles.textAlign){case Cn.CENTER:fi+=Kn.width/2;break;case Cn.RIGHT:fi+=Kn.width;break}da=Kn.add(fi,0,0,-Kn.height/2+1),this.ctx.save(),this.path([new Ue(Kn.left,Kn.top),new Ue(Kn.left+Kn.width,Kn.top),new Ue(Kn.left+Kn.width,Kn.top+Kn.height),new Ue(Kn.left,Kn.top+Kn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new qo(Me.value,da),Lt.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Do(Me.styles.display,2048))return[3,20];if(!(Me.styles.listStyleImage!==null))return[3,19];if(Ti=Me.styles.listStyleImage,!(Ti.type===Ca.URL))return[3,18];Hr=void 0,na=Ti.url,Pi.label=15;case 15:return Pi.trys.push([15,17,,18]),[4,this.options.cache.match(na)];case 16:return Hr=Pi.sent(),this.ctx.drawImage(Hr,Me.bounds.left-(Hr.width+10),Me.bounds.top),[3,18];case 17:return Ia=Pi.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:Z.listValue&&Me.styles.listStyleType!==Dn.NONE&&(this.ctx.font=this.createFontStyle(Lt)[0],this.ctx.fillStyle=_n(Lt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Kn=new h(Me.bounds.left,Me.bounds.top+Dr(Me.styles.paddingTop,Me.bounds.width),Me.bounds.width,as(Lt.lineHeight,Lt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new qo(Z.listValue,Kn),Lt.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Pi.label=20;case 20:return[2]}})})},qe.prototype.renderStackContent=function(Z){return m(this,void 0,void 0,function(){var Me,Je,Lt,tr,vr,Lt,_r,Hr,Lt,Kr,cn,Lt,sn,kn,Lt,si,Kn,Lt,fi,da,Lt;return v(this,function(Ti){switch(Ti.label){case 0:return[4,this.renderNodeBackgroundAndBorders(Z.element)];case 1:Ti.sent(),Me=0,Je=Z.negativeZIndex,Ti.label=2;case 2:return Me<Je.length?(Lt=Je[Me],[4,this.renderStack(Lt)]):[3,5];case 3:Ti.sent(),Ti.label=4;case 4:return Me++,[3,2];case 5:return[4,this.renderNodeContent(Z.element)];case 6:Ti.sent(),tr=0,vr=Z.nonInlineLevel,Ti.label=7;case 7:return tr<vr.length?(Lt=vr[tr],[4,this.renderNode(Lt)]):[3,10];case 8:Ti.sent(),Ti.label=9;case 9:return tr++,[3,7];case 10:_r=0,Hr=Z.nonPositionedFloats,Ti.label=11;case 11:return _r<Hr.length?(Lt=Hr[_r],[4,this.renderStack(Lt)]):[3,14];case 12:Ti.sent(),Ti.label=13;case 13:return _r++,[3,11];case 14:Kr=0,cn=Z.nonPositionedInlineLevel,Ti.label=15;case 15:return Kr<cn.length?(Lt=cn[Kr],[4,this.renderStack(Lt)]):[3,18];case 16:Ti.sent(),Ti.label=17;case 17:return Kr++,[3,15];case 18:sn=0,kn=Z.inlineLevel,Ti.label=19;case 19:return sn<kn.length?(Lt=kn[sn],[4,this.renderNode(Lt)]):[3,22];case 20:Ti.sent(),Ti.label=21;case 21:return sn++,[3,19];case 22:si=0,Kn=Z.zeroOrAutoZIndexOrTransformedOrOpacity,Ti.label=23;case 23:return si<Kn.length?(Lt=Kn[si],[4,this.renderStack(Lt)]):[3,26];case 24:Ti.sent(),Ti.label=25;case 25:return si++,[3,23];case 26:fi=0,da=Z.positiveZIndex,Ti.label=27;case 27:return fi<da.length?(Lt=da[fi],[4,this.renderStack(Lt)]):[3,30];case 28:Ti.sent(),Ti.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},qe.prototype.mask=function(Z){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(Z.slice(0).reverse()),this.ctx.closePath()},qe.prototype.path=function(Z){this.ctx.beginPath(),this.formatPath(Z),this.ctx.closePath()},qe.prototype.formatPath=function(Z){var Me=this;Z.forEach(function(Je,Lt){var tr=qt(Je)?Je.start:Je;Lt===0?Me.ctx.moveTo(tr.x,tr.y):Me.ctx.lineTo(tr.x,tr.y),qt(Je)&&Me.ctx.bezierCurveTo(Je.startControl.x,Je.startControl.y,Je.endControl.x,Je.endControl.y,Je.end.x,Je.end.y)})},qe.prototype.renderRepeat=function(Z,Me,Je,Lt){this.path(Z),this.ctx.fillStyle=Me,this.ctx.translate(Je,Lt),this.ctx.fill(),this.ctx.translate(-Je,-Lt)},qe.prototype.resizeImage=function(Z,Me,Je){if(Z.width===Me&&Z.height===Je)return Z;var Lt=this.canvas.ownerDocument.createElement("canvas");Lt.width=Me,Lt.height=Je;var tr=Lt.getContext("2d");return tr.drawImage(Z,0,0,Z.width,Z.height,0,0,Me,Je),Lt},qe.prototype.renderBackgroundImage=function(Z){return m(this,void 0,void 0,function(){var Me,Je,Lt,tr,vr,_r;return v(this,function(Hr){switch(Hr.label){case 0:Me=Z.styles.backgroundImage.length-1,Je=function(cn){var sn,kn,si,Kn,fi,da,Ti,na,Ia,Pi,Io,fi,da,Ti,na,Ia,no,zo,Po,Fa,Wo,fs,vs,Es,vc,Pi,tc,fi,pc,mc,na,Ia,gc,da,Ti,yc,Ul,Ac,bc,wc,hc,Sc,xc;return v(this,function(rc){switch(rc.label){case 0:if(!(cn.type===Ca.URL))return[3,5];sn=void 0,kn=cn.url,rc.label=1;case 1:return rc.trys.push([1,3,,4]),[4,Lt.options.cache.match(kn)];case 2:return sn=rc.sent(),[3,4];case 3:return si=rc.sent(),la.getInstance(Lt.options.id).error("Error loading background-image "+kn),[3,4];case 4:return sn&&(Kn=I(Z,Me,[sn.width,sn.height,sn.width/sn.height]),fi=Kn[0],da=Kn[1],Ti=Kn[2],na=Kn[3],Ia=Kn[4],Pi=Lt.ctx.createPattern(Lt.resizeImage(sn,na,Ia),"repeat"),Lt.renderRepeat(fi,Pi,da,Ti)),[3,6];case 5:to(cn)?(Io=I(Z,Me,[null,null,null]),fi=Io[0],da=Io[1],Ti=Io[2],na=Io[3],Ia=Io[4],no=qi(cn.angle,na,Ia),zo=no[0],Po=no[1],Fa=no[2],Wo=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=Ia,Es=vs.getContext("2d"),vc=Es.createLinearGradient(Po,Wo,Fa,fs),mi(cn.stops,zo).forEach(function(fc){return vc.addColorStop(fc.stop,_n(fc.color))}),Es.fillStyle=vc,Es.fillRect(0,0,na,Ia),na>0&&Ia>0&&(Pi=Lt.ctx.createPattern(vs,"repeat"),Lt.renderRepeat(fi,Pi,da,Ti))):Lo(cn)&&(tc=I(Z,Me,[null,null,null]),fi=tc[0],pc=tc[1],mc=tc[2],na=tc[3],Ia=tc[4],gc=cn.position.length===0?[sr]:cn.position,da=Dr(gc[0],na),Ti=Dr(gc[gc.length-1],Ia),yc=ya(cn,da,Ti,na,Ia),Ul=yc[0],Ac=yc[1],Ul>0&&Ul>0&&(bc=Lt.ctx.createRadialGradient(pc+da,mc+Ti,0,pc+da,mc+Ti,Ul),mi(cn.stops,Ul*2).forEach(function(fc){return bc.addColorStop(fc.stop,_n(fc.color))}),Lt.path(fi),Lt.ctx.fillStyle=bc,Ul!==Ac?(wc=Z.bounds.left+.5*Z.bounds.width,hc=Z.bounds.top+.5*Z.bounds.height,Sc=Ac/Ul,xc=1/Sc,Lt.ctx.save(),Lt.ctx.translate(wc,hc),Lt.ctx.transform(1,0,0,Sc,0,0),Lt.ctx.translate(-wc,-hc),Lt.ctx.fillRect(pc,xc*(mc-hc)+hc,na,Ia*xc),Lt.ctx.restore()):Lt.ctx.fill())),rc.label=6;case 6:return Me--,[2]}})},Lt=this,tr=0,vr=Z.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return tr<vr.length?(_r=vr[tr],[5,Je(_r)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return tr++,[3,1];case 4:return[2]}})})},qe.prototype.renderBorder=function(Z,Me,Je){return m(this,void 0,void 0,function(){return v(this,function(Lt){return this.path(Va(Je,Me)),this.ctx.fillStyle=_n(Z),this.ctx.fill(),[2]})})},qe.prototype.renderNodeBackgroundAndBorders=function(Z){return m(this,void 0,void 0,function(){var Me,Je,Lt,tr,vr,_r,Hr,Kr,cn=this;return v(this,function(sn){switch(sn.label){case 0:return this.applyEffects(Z.effects,2),Me=Z.container.styles,Je=!En(Me.backgroundColor)||Me.backgroundImage.length,Lt=[{style:Me.borderTopStyle,color:Me.borderTopColor},{style:Me.borderRightStyle,color:Me.borderRightColor},{style:Me.borderBottomStyle,color:Me.borderBottomColor},{style:Me.borderLeftStyle,color:Me.borderLeftColor}],tr=en(re(Me.backgroundClip,0),Z.curves),Je||Me.boxShadow.length?(this.ctx.save(),this.path(tr),this.ctx.clip(),En(Me.backgroundColor)||(this.ctx.fillStyle=_n(Me.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Z.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),Me.boxShadow.slice(0).reverse().forEach(function(kn){cn.ctx.save();var si=Vr(Z.curves),Kn=kn.inset?0:Yt,fi=de(si,-Kn+(kn.inset?1:-1)*kn.spread.number,(kn.inset?1:-1)*kn.spread.number,kn.spread.number*(kn.inset?-2:2),kn.spread.number*(kn.inset?-2:2));kn.inset?(cn.path(si),cn.ctx.clip(),cn.mask(fi)):(cn.mask(si),cn.ctx.clip(),cn.path(fi)),cn.ctx.shadowOffsetX=kn.offsetX.number+Kn,cn.ctx.shadowOffsetY=kn.offsetY.number,cn.ctx.shadowColor=_n(kn.color),cn.ctx.shadowBlur=kn.blur.number,cn.ctx.fillStyle=kn.inset?_n(kn.color):"rgba(0,0,0,1)",cn.ctx.fill(),cn.ctx.restore()}),sn.label=2;case 2:vr=0,_r=0,Hr=Lt,sn.label=3;case 3:return _r<Hr.length?(Kr=Hr[_r],Kr.style!==bo.NONE&&!En(Kr.color)?[4,this.renderBorder(Kr.color,vr,Z.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:vr++,sn.label=6;case 6:return _r++,[3,3];case 7:return[2]}})})},qe.prototype.render=function(Z){return m(this,void 0,void 0,function(){var Me;return v(this,function(Je){switch(Je.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=_n(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),Me=Si(Z),[4,this.renderStack(Me)];case 1:return Je.sent(),this.applyEffects([],2),[2,this.canvas]}})})},qe}(),Ur=function(Z){return Z instanceof zl||Z instanceof bl?!0:Z instanceof Ml&&Z.type!==tl&&Z.type!==es},en=function(Z,Me){switch(Z){case Ri.BORDER_BOX:return Vr(Me);case Ri.CONTENT_BOX:return Xr(Me);case Ri.PADDING_BOX:default:return Br(Me)}},nn=function(Z){switch(Z){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function qe(Z){this.canvas=Z.canvas?Z.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=Z,this.canvas.width=Math.floor(Z.width*Z.scale),this.canvas.height=Math.floor(Z.height*Z.scale),this.canvas.style.width=Z.width+"px",this.canvas.style.height=Z.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-Z.x+Z.scrollX,-Z.y+Z.scrollY),la.getInstance(Z.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+Z.width+"x"+Z.height+" at "+Z.x+","+Z.y+") with scale "+Z.scale)}return qe.prototype.render=function(Z){return m(this,void 0,void 0,function(){var Me,Je;return v(this,function(Lt){switch(Lt.label){case 0:return Me=bi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,Z),[4,Bn(Me)];case 1:return Je=Lt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=_n(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Je,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},qe}(),Bn=function(Z){return new Promise(function(Me,Je){var Lt=new Image;Lt.onload=function(){Me(Lt)},Lt.onerror=Je,Lt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Z))})},Zn=void 0,Jn=function(Z){return Rn.parse(hn.create(Z).parseComponentValue())},oi=function(Z,Me){return Me===void 0&&(Me={}),li(Z,Me)};typeof window!="undefined"&&gi.setContext(window);var li=function(Z,Me){return m(Zn,void 0,void 0,function(){var Je,Lt,tr,vr,_r,Hr,Kr,cn,sn,kn,si,Kn,fi,da,Ti,na,Ia,Pi,Io,no,zo,Po,Fa,Wo,fs,Wo;return v(this,function(vs){switch(vs.label){case 0:if(Je=Z.ownerDocument,!Je)throw new Error("Element is not attached to a Document");if(Lt=Je.defaultView,!Lt)throw new Error("Document is not attached to a Window");return tr=(Math.round(Math.random()*1e3)+Date.now()).toString(16),vr=hl(Z)||xl(Z)?o(Je):c(Z),_r=vr.width,Hr=vr.height,Kr=vr.left,cn=vr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},kn=A({},sn,Me),si={backgroundColor:"#ffffff",cache:Me.cache?Me.cache:gi.create(tr,kn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:Lt.devicePixelRatio||1,windowWidth:Lt.innerWidth,windowHeight:Lt.innerHeight,scrollX:Lt.pageXOffset,scrollY:Lt.pageYOffset,x:Kr,y:cn,width:Math.ceil(_r),height:Math.ceil(Hr),id:tr},Kn=A({},si,kn,Me),fi=new h(Kn.scrollX,Kn.scrollY,Kn.windowWidth,Kn.windowHeight),la.create({id:tr,enabled:Kn.logging}),la.getInstance(tr).debug("Starting document clone"),da=new Bl(Z,{id:tr,onclone:Kn.onclone,ignoreElements:Kn.ignoreElements,inlineImages:Kn.foreignObjectRendering,copyStyles:Kn.foreignObjectRendering}),Ti=da.clonedReferenceElement,Ti?[4,da.toIFrame(Je,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),Ia=Je.documentElement?Jn(getComputedStyle(Je.documentElement).backgroundColor):Li.TRANSPARENT,Pi=Je.body?Jn(getComputedStyle(Je.body).backgroundColor):Li.TRANSPARENT,Io=Me.backgroundColor,no=typeof Io=="string"?Jn(Io):Io===null?Li.TRANSPARENT:4294967295,zo=Z===Je.documentElement?En(Ia)?En(Pi)?no:Pi:Ia:no,Po={id:tr,cache:Kn.cache,canvas:Kn.canvas,backgroundColor:zo,scale:Kn.scale,x:Kn.x,y:Kn.y,scrollX:Kn.scrollX,scrollY:Kn.scrollY,width:Kn.width,height:Kn.height,windowWidth:Kn.windowWidth,windowHeight:Kn.windowHeight},Kn.foreignObjectRendering?(la.getInstance(tr).debug("Document cloned, using foreign object rendering"),Wo=new xn(Po),[4,Wo.render(Ti)]):[3,3];case 2:return Fa=vs.sent(),[3,5];case 3:return la.getInstance(tr).debug("Document cloned, using computed rendering"),gi.attachInstance(Kn.cache),la.getInstance(tr).debug("Starting DOM parsing"),fs=rl(Ti),gi.detachInstance(),zo===fs.styles.backgroundColor&&(fs.styles.backgroundColor=Li.TRANSPARENT),la.getInstance(tr).debug("Starting renderer"),Wo=new Cr(Po),[4,Wo.render(fs)];case 4:Fa=vs.sent(),vs.label=5;case 5:return Kn.removeContainer===!0&&(Bl.destroy(na)||la.getInstance(tr).error("Cannot detach cloned iframe as it is not in the DOM anymore")),la.getInstance(tr).debug("Finished rendering"),la.destroy(tr),gi.destroy(tr),[2,Fa]}})})};return oi})},wPlo:function(D,_,e){"use strict";e.d(_,"a",function(){return g});var g="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("ygfH")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="CheckOutlined";var c=A.forwardRef(h);_.default=c},wYyv:function(D,_,e){"use strict";var g=e("R5yR"),f=e("5wUe"),A=function(h,c,o){var i=c<0?h.length+c:c;if(i>=0&&i<h.length){var n=o<0?h.length+o:o,a=h.splice(c,1),u=f(a,1),r=u[0];h.splice(n,0,r)}},m=function(h,c,o){return h=g(h),A(h,c,o),h};D.exports=m,D.exports.mutate=A},wgJM:function(D,_,e){"use strict";e.d(_,"a",function(){return A});var g=function(v){return+setTimeout(v,16)},f=function(v){return clearTimeout(v)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(g=function(v){return window.requestAnimationFrame(v)},f=function(v){return window.cancelAnimationFrame(v)});function A(m){return g(m)}A.cancel=f},wgjA:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};_.default=g},whVF:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("lNSK"),f=A(e("1q3G"));function A(o){return o&&o.__esModule?o:{default:o}}function m(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function v(o,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,a.key,a)}}function h(o,i,n){return i&&v(o.prototype,i),n&&v(o,n),o}var c=function(){function o(){m(this,o),this.strm=new f.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.deflateInit)(this.strm,this.windowBits)}return h(o,[{key:"deflate",value:function(n){this.strm.input=n,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 a=(0,g.deflate)(this.strm,g.Z_FULL_FLUSH),u=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(a<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var r=[u],l=u.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,a=(0,g.deflate)(this.strm,g.Z_FULL_FLUSH),a<0)throw new Error("zlib deflate failed");var t=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=t.length,r.push(t)}while(this.strm.avail_in>0);for(var s=new Uint8Array(l),d=0,p=0;p<r.length;p++)s.set(r[p],d),d+=r[p].length;u=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,u}}]),o}();_.default=c},wlus:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="MinusCircleOutlined";var h=_.a=g.forwardRef(v)},wr5s:function(D,_,e){var g=e("IwbS"),f=g.extendShape,A=f({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,v){var h=v.cx,c=v.cy,o=Math.max(v.r0||0,0),i=Math.max(v.r,0),n=(i-o)*.5,a=o+n,u=v.startAngle,r=v.endAngle,l=v.clockwise,t=Math.cos(u),s=Math.sin(u),d=Math.cos(r),p=Math.sin(r),b=l?r-u<Math.PI*2:u-r<Math.PI*2;b&&(m.moveTo(t*o+h,s*o+c),m.arc(t*a+h,s*a+c,n,-Math.PI+u,u,!l)),m.arc(h,c,i,u,r,!l),m.moveTo(d*i+h,p*i+c),m.arc(d*a+h,p*a+c,n,r-Math.PI*2,r-Math.PI,!l),o!==0&&(m.arc(h,c,o,r,u,l),m.moveTo(t*o+h,p*o+c)),m.closePath()}});D.exports=A},wt3j:function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("/IIm"),m=e("EMyp"),v=m.layoutCovers,h=g.extendComponentView({type:"brush",init:function(o,i){this.ecModel=o,this.api=i,this.model,(this._brushController=new A(i.getZr())).on("brush",f.bind(this._onBrush,this)).mount()},render:function(o){return this.model=o,c.apply(this,arguments)},updateTransform:function(o,i){return v(i),c.apply(this,arguments)},updateView:c,dispose:function(){this._brushController.dispose()},_onBrush:function(o,i){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(o,this.ecModel),(!i.isEnd||i.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:f.clone(o),$from:n}),i.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:f.clone(o),$from:n})}});function c(o,i,n,a){(!a||a.$from!==o.id)&&this._brushController.setPanels(o.brushTargetManager.makePanelOpts(n)).enableBrush(o.brushOption).updateCovers(o.areas.slice())}D.exports=h},wy8a:function(D,_,e){var g=e("KxBF");function f(A,m,v){var h=A.length;return v=v===void 0?h:v,!m&&v>=h?A:g(A,m,v)}D.exports=f},x3X8:function(D,_,e){var g=e("KxfA"),f=g.retrieveRawValue;function A(m,v){var h=m.mapDimension("defaultedLabel",!0),c=h.length;if(c===1)return f(m,v,h[0]);if(c){for(var o=[],i=0;i<h.length;i++){var n=f(m,v,h[i]);o.push(n)}return o.join(" ")}}_.getDefaultLabel=A},x54q:function(D,_,e){},x6Kt:function(D,_,e){var g=e("y+Vt"),f=e("VpOo"),A=e("nPnh"),m=A.subPixelOptimizeRect,v={},h=g.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(o,i){var n,a,u,r;this.subPixelOptimize?(m(v,i,this.style),n=v.x,a=v.y,u=v.width,r=v.height,v.r=i.r,i=v):(n=i.x,a=i.y,u=i.width,r=i.height),i.r?f.buildPath(o,i):o.rect(n,a,u,r),o.closePath();return}});D.exports=h},xGfz:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="PlusSquareOutlined";var h=_.a=g.forwardRef(v)},xKMd:function(D,_){function e(f,A){this.getAllNames=function(){var m=A();return m.mapArray(m.getName)},this.containName=function(m){var v=A();return v.indexOfName(m)>=0},this.indexOfName=function(m){var v=f();return v.indexOfName(m)},this.getItemVisual=function(m,v){var h=f();return h.getItemVisual(m,v)}}var g=e;D.exports=g},xO64:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("8K/p"));function f(t){return t&&t.__esModule?t:{default:t}}function A(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(d){return typeof d}:A=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A(t)}function m(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function v(t,s){for(var d=0;d<s.length;d++){var p=s[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}function h(t,s,d){return s&&v(t.prototype,s),d&&v(t,d),t}function c(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),s&&o(t,s)}function o(t,s){return o=Object.setPrototypeOf||function(p,b){return p.__proto__=b,p},o(t,s)}function i(t){var s=u();return function(){var p=r(t),b;if(s){var w=r(this).constructor;b=Reflect.construct(p,arguments,w)}else b=p.apply(this,arguments);return n(this,b)}}function n(t,s){return s&&(A(s)==="object"||typeof s=="function")?s:a(t)}function a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},r(t)}var l=function(t){c(d,t);var s=i(d);function d(){return m(this,d),s.apply(this,arguments)}return h(d,[{key:"_pngRect",value:function(b,w,E,S,x,T,L){var y=this._readData(x);return y===null?!1:(T.imageRect(b,w,E,S,"image/png",y),!0)}},{key:"_basicRect",value:function(b,w,E,S,x,T,L,y){throw new Error("BasicCompression received in TightPNG rect")}}]),d}(g.default);_.default=l},xRUu:function(D,_,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSIq:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};_.default=g},xSat:function(D,_){var e={axisPointer:1,tooltip:1,brush:1};function g(f,A,m){var v=A.getComponentByElement(f.topTarget),h=v&&v.coordinateSystem;return v&&v!==m&&!e[v.mainType]&&h&&h.model!==m}_.onIrrelevantElement=g},xTNl:function(D,_){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],g={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};D.exports=g},xYSL:function(D,_){function e(g,f){return g.has(f)}D.exports=e},xb2K:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("5yev")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="RedoOutlined";var c=A.forwardRef(h);_.default=c},xiyX:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),A=e("nkfE"),m=e("ICMv"),v=f.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),h={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function c(i,n){return n.type||(n.data?"category":"value")}g.merge(v.prototype,m),A("single",v,c,h);var o=v;D.exports=o},xlC8:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(f,A,m,v){for(var h=f&65535|0,c=f>>>16&65535|0,o=0;m!==0;){o=m>2e3?2e3:m,m-=o;do h=h+A[v++]|0,c=c+h|0;while(--o);h%=65521,c%=65521}return h|c<<16|0}},xvlK:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="PlusOutlined";var h=_.a=g.forwardRef(v)},xzDV:function(D,_,e){},"y+Vt":function(D,_,e){var g=e("Gev7"),f=e("bYtY"),A=e("IMiH"),m=e("2DNl"),v=e("3C/r"),h=v.prototype.getCanvasPattern,c=Math.abs,o=new A(!0);function i(a){g.call(this,a),this.path=null}i.prototype={constructor:i,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(u,r){var l=this.style,t=this.path||o,s=l.hasStroke(),d=l.hasFill(),p=l.fill,b=l.stroke,w=d&&!!p.colorStops,E=s&&!!b.colorStops,S=d&&!!p.image,x=s&&!!b.image;if(l.bind(u,this,r),this.setTransform(u),this.__dirty){var T;w&&(T=T||this.getBoundingRect(),this._fillGradient=l.getGradient(u,p,T)),E&&(T=T||this.getBoundingRect(),this._strokeGradient=l.getGradient(u,b,T))}w?u.fillStyle=this._fillGradient:S&&(u.fillStyle=h.call(p,u)),E?u.strokeStyle=this._strokeGradient:x&&(u.strokeStyle=h.call(b,u));var L=l.lineDash,y=l.lineDashOffset,C=!!u.setLineDash,O=this.getGlobalScale();if(t.setScale(O[0],O[1],this.segmentIgnoreThreshold),this.__dirtyPath||L&&!C&&s?(t.beginPath(u),L&&!C&&(t.setLineDash(L),t.setLineDashOffset(y)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(u.beginPath(),this.path.rebuildPath(u)),d)if(l.fillOpacity!=null){var N=u.globalAlpha;u.globalAlpha=l.fillOpacity*l.opacity,t.fill(u),u.globalAlpha=N}else t.fill(u);if(L&&C&&(u.setLineDash(L),u.lineDashOffset=y),s)if(l.strokeOpacity!=null){var N=u.globalAlpha;u.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(u),u.globalAlpha=N}else t.stroke(u);L&&C&&u.setLineDash([]),l.text!=null&&(this.restoreTransform(u),this.drawRectText(u,this.getBoundingRect()))},buildPath:function(u,r,l){},createPathProxy:function(){this.path=new A},getBoundingRect:function(){var u=this._rect,r=this.style,l=!u;if(l){var t=this.path;t||(t=this.path=new A),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),u=t.getBoundingRect()}if(this._rect=u,r.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=u.clone());if(this.__dirty||l){s.copy(u);var d=r.lineWidth,p=r.strokeNoScale?this.getLineScale():1;r.hasFill()||(d=Math.max(d,this.strokeContainThreshold||4)),p>1e-10&&(s.width+=d/p,s.height+=d/p,s.x-=d/p/2,s.y-=d/p/2)}return s}return u},contain:function(u,r){var l=this.transformCoordToLocal(u,r),t=this.getBoundingRect(),s=this.style;if(u=l[0],r=l[1],t.contain(u,r)){var d=this.path.data;if(s.hasStroke()){var p=s.lineWidth,b=s.strokeNoScale?this.getLineScale():1;if(b>1e-10&&(s.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),m.containStroke(d,p/b,u,r)))return!0}if(s.hasFill())return m.contain(d,u,r)}return!1},dirty:function(u){u==null&&(u=!0),u&&(this.__dirtyPath=u,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(u){return this.animate("shape",u)},attrKV:function(u,r){u==="shape"?(this.setShape(r),this.__dirtyPath=!0,this._rect=null):g.prototype.attrKV.call(this,u,r)},setShape:function(u,r){var l=this.shape;if(l){if(f.isObject(u))for(var t in u)u.hasOwnProperty(t)&&(l[t]=u[t]);else l[u]=r;this.dirty(!0)}return this},getLineScale:function(){var u=this.transform;return u&&c(u[0]-1)>1e-10&&c(u[3]-1)>1e-10?Math.sqrt(c(u[0]*u[3]-u[2]*u[1])):1}},i.extend=function(a){var u=function(t){i.call(this,t),a.style&&this.style.extendFrom(a.style,!1);var s=a.shape;if(s){this.shape=this.shape||{};var d=this.shape;for(var p in s)!d.hasOwnProperty(p)&&s.hasOwnProperty(p)&&(d[p]=s[p])}a.init&&a.init.call(this,t)};f.inherits(u,i);for(var r in a)r!=="style"&&r!=="shape"&&(u.prototype[r]=a[r]);return u},f.inherits(i,g);var n=i;D.exports=n},"y+lR":function(D,_,e){var g=e("bYtY"),f=e("mFDi"),A=e("z35g");function m(h){A.call(this,h)}m.prototype={constructor:m,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(h){var c=this.getAxis("x"),o=this.getAxis("y");return c.contain(c.toLocalCoord(h[0]))&&o.contain(o.toLocalCoord(h[1]))},containData:function(h){return this.getAxis("x").containData(h[0])&&this.getAxis("y").containData(h[1])},dataToPoint:function(h,c,o){var i=this.getAxis("x"),n=this.getAxis("y");return o=o||[],o[0]=i.toGlobalCoord(i.dataToCoord(h[0])),o[1]=n.toGlobalCoord(n.dataToCoord(h[1])),o},clampData:function(h,c){var o=this.getAxis("x").scale,i=this.getAxis("y").scale,n=o.getExtent(),a=i.getExtent(),u=o.parse(h[0]),r=i.parse(h[1]);return c=c||[],c[0]=Math.min(Math.max(Math.min(n[0],n[1]),u),Math.max(n[0],n[1])),c[1]=Math.min(Math.max(Math.min(a[0],a[1]),r),Math.max(a[0],a[1])),c},pointToData:function(h,c){var o=this.getAxis("x"),i=this.getAxis("y");return c=c||[],c[0]=o.coordToData(o.toLocalCoord(h[0])),c[1]=i.coordToData(i.toLocalCoord(h[1])),c},getOtherAxis:function(h){return this.getAxis(h.dim==="x"?"y":"x")},getArea:function(){var h=this.getAxis("x").getGlobalExtent(),c=this.getAxis("y").getGlobalExtent(),o=Math.min(h[0],h[1]),i=Math.min(c[0],c[1]),n=Math.max(h[0],h[1])-o,a=Math.max(c[0],c[1])-i,u=new f(o,i,n,a);return u}},g.inherits(m,A);var v=m;D.exports=v},"y0+3":function(D,_,e){"use strict";e.d(_,"a",function(){return a}),e.d(_,"b",function(){return r});var g=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},A={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function v(l,t,s){if(t=t.toLowerCase(),s==="auto"){if(t==="height")return l.offsetHeight;if(t==="width")return l.offsetWidth}return t in f||(f[t]=g.test(t)),f[t]?parseFloat(s)||0:s}function h(l,t){var s=arguments.length,d=m(l);return t=A[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,s===1?d:v(l,t,d[t]||l.style[t])}function c(l,t,s){var d=arguments.length;if(t=A[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,d===3)return typeof s=="number"&&g.test(t)&&(s="".concat(s,"px")),l.style[t]=s,s;for(var p in t)t.hasOwnProperty(p)&&c(l,p,t[p]);return m(l)}function o(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function i(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function n(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:t}}function a(){var l=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:t}}function u(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(l){var t=l.getBoundingClientRect(),s=document.documentElement;return{left:t.left+(window.pageXOffset||s.scrollLeft)-(s.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||s.scrollTop)-(s.clientTop||document.body.clientTop||0)}}},y1pI:function(D,_,e){var g=e("ljhN");function f(A,m){for(var v=A.length;v--;)if(g(A[v][0],m))return v;return-1}D.exports=f},y23F:function(D,_){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_dragStart:function(m){for(var v=m.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(g(v,m),"dragstart",m.event))},_drag:function(m){var v=this._draggingTarget;if(v){var h=m.offsetX,c=m.offsetY,o=h-this._x,i=c-this._y;this._x=h,this._y=c,v.drift(o,i,m),this.dispatchToElement(g(v,m),"drag",m.event);var n=this.findHover(h,c,v).target,a=this._dropTarget;this._dropTarget=n,v!==n&&(a&&n!==a&&this.dispatchToElement(g(a,m),"dragleave",m.event),n&&n!==a&&this.dispatchToElement(g(n,m),"dragenter",m.event))}},_dragEnd:function(m){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(g(v,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(g(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function g(A,m){return{target:A,topTarget:m&&m.topTarget}}var f=e;D.exports=f},y2l5:function(D,_,e){var g=e("MwEJ"),f=e("T4UG"),A=f.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,v){return g(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});D.exports=A},y3Kf:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="UpOutlined";var h=_.a=g.forwardRef(v)},y3NT:function(D,_,e){var g=e("OELB"),f=g.parsePercent,A=e("bYtY"),m=Math.PI/180;function v(o,i,n,a){i.eachSeriesByType(o,function(u){var r=u.get("center"),l=u.get("radius");A.isArray(l)||(l=[0,l]),A.isArray(r)||(r=[r,r]);var t=n.getWidth(),s=n.getHeight(),d=Math.min(t,s),p=f(r[0],t),b=f(r[1],s),w=f(l[0],d/2),E=f(l[1],d/2),S=-u.get("startAngle")*m,x=u.get("minAngle")*m,T=u.getData().tree.root,L=u.getViewRoot(),y=L.depth,C=u.get("sort");C!=null&&h(L,C);var O=0;A.each(L.children,function(z){!isNaN(z.getValue())&&O++});var N=L.getValue(),k=Math.PI/(N||O)*2,F=L.depth>0,B=L.height-(F?-1:1),H=(E-w)/(B||1),W=u.get("clockwise"),R=u.get("stillShowZeroSum"),U=W?1:-1,j=function(z,X){if(!z)return;var G=X;if(z!==T){var le=z.getValue(),Y=N===0&&R?k:le*k;Y<x&&(Y=x),G=X+U*Y;var me=z.depth-y-(F?-1:1),we=w+H*me,pe=w+H*(me+1),Fe=z.getModel();Fe.get("r0")!=null&&(we=f(Fe.get("r0"),d/2)),Fe.get("r")!=null&&(pe=f(Fe.get("r"),d/2)),z.setLayout({angle:Y,startAngle:X,endAngle:G,clockwise:W,cx:p,cy:b,r0:we,r:pe})}if(z.children&&z.children.length){var Xe=0;A.each(z.children,function(dt){Xe+=j(dt,X+Xe)})}return G-X};if(F){var P=w,K=w+H,V=Math.PI*2;T.setLayout({angle:V,startAngle:S,endAngle:S+V,clockwise:W,cx:p,cy:b,r0:P,r:K})}j(L,S)})}function h(o,i){var n=o.children||[];o.children=c(n,i),n.length&&A.each(o.children,function(a){h(a,i)})}function c(o,i){if(typeof i=="function")return o.sort(i);var n=i==="asc";return o.sort(function(a,u){var r=(a.getValue()-u.getValue())*(n?1:-1);return r===0?(a.dataIndex-u.dataIndex)*(n?-1:1):r})}D.exports=v},y3Yb:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("HBhm")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="PaperClipOutlined";var c=A.forwardRef(h);_.default=c},"y4/Y":function(D,_,e){var g=e("ProS"),f=e("bYtY"),A=e("zTMp"),m=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),g.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var h=v.axisPointer.link;h&&!f.isArray(h)&&(v.axisPointer.link=[h])}}),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,function(v,h){v.getComponent("axisPointer").coordSysAxesInfo=A.collect(v,h)}),g.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(D,_,e){var g=e("bYtY"),f=e("+TT/"),A=f.getLayoutRect;function m(h,c,o){var i=h.option,n=i.align;if(n!=null&&n!=="auto")return n;for(var a={width:c.getWidth(),height:c.getHeight()},u=i.orient==="horizontal"?1:0,r=[["left","right","width"],["top","bottom","height"]],l=r[u],t=[0,null,10],s={},d=0;d<3;d++)s[r[1-u][d]]=t[d],s[l[d]]=d===2?o[0]:i[l[d]];var p=[["x","width",3],["y","height",0]][u],b=A(s,a,i.padding);return l[(b.margin[p[2]]||0)+b[p[0]]+b[p[1]]*.5<a[p[1]]*.5?0:1]}function v(h,c){return g.each(h||[],function(o){o.dataIndex!=null&&(o.dataIndexInside=o.dataIndex,o.dataIndex=null),o.highlightKey="visualMap"+(c?c.componentIndex:"")}),h}_.getItemAlign=m,_.makeHighDownBatch=v},y8nQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("gwTy"),m=e.n(A),v=e("1GLa")},yEEn:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="ArrowDownOutlined";var h=_.a=g.forwardRef(v)},yGk4:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"Set");D.exports=A},yO87:function(D,_,e){var g=e("bYtY"),f=e("oVpE"),A=f.createSymbol,m=e("IwbS"),v=m.Group,h=e("OELB"),c=h.parsePercent,o=e("FBjb"),i=3;function n(t){return g.isArray(t)||(t=[+t,+t]),t}function a(t,s){var d=s.rippleEffectColor||s.color;t.eachChild(function(p){p.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?d:null,fill:s.brushType==="fill"?d:null}})})}function u(t,s){v.call(this);var d=new o(t,s),p=new v;this.add(d),this.add(p),p.beforeUpdate=function(){this.attr(d.getScale())},this.updateData(t,s)}var r=u.prototype;r.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.startEffectAnimation=function(t){for(var s=t.symbolType,d=t.color,p=this.childAt(1),b=0;b<i;b++){var w=A(s,-1,-1,2,2,d);w.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var E=-b/i*t.period+t.effectOffset;w.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(E).start(),w.animateStyle(!0).when(t.period,{opacity:0}).delay(E).start(),p.add(w)}a(p,t)},r.updateEffectAnimation=function(t){for(var s=this._effectCfg,d=this.childAt(1),p=["symbolType","period","rippleScale"],b=0;b<p.length;b++){var w=p[b];if(s[w]!==t[w]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}a(d,t)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateData=function(t,s){var d=t.hostModel;this.childAt(0).updateData(t,s);var p=this.childAt(1),b=t.getItemModel(s),w=t.getItemVisual(s,"symbol"),E=n(t.getItemVisual(s,"symbolSize")),S=t.getItemVisual(s,"color");p.attr("scale",E),p.traverse(function(k){k.attr({fill:S})});var x=b.getShallow("symbolOffset");if(x){var T=p.position;T[0]=c(x[0],E[0]),T[1]=c(x[1],E[1])}var L=t.getItemVisual(s,"symbolRotate");p.rotation=(L||0)*Math.PI/180||0;var y={};if(y.showEffectOn=d.get("showEffectOn"),y.rippleScale=b.get("rippleEffect.scale"),y.brushType=b.get("rippleEffect.brushType"),y.period=b.get("rippleEffect.period")*1e3,y.effectOffset=s/t.count(),y.z=b.getShallow("z")||0,y.zlevel=b.getShallow("zlevel")||0,y.symbolType=w,y.color=S,y.rippleEffectColor=b.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 C=this.childAt(0),O=function(){C.highlight(),y.showEffectOn!=="render"&&this.startEffectAnimation(y)},N=function(){C.downplay(),y.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",O,this).on("mouseout",N,this).on("emphasis",O,this).on("normal",N,this)}this._effectCfg=y},r.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},g.inherits(u,v);var l=u;D.exports=l},yS9w:function(D,_,e){var g=e("MEGo"),f=g.parseSVG,A=g.makeViewBoxTransform,m=e("4fz+"),v=e("x6Kt"),h=e("bYtY"),c=h.assert,o=h.createHashMap,i=e("mFDi"),n=e("4NO4"),a=n.makeInner,u=a(),r={load:function(t,s){var d=u(s).originRoot;if(d)return{root:d,boundingRect:u(s).boundingRect};var p=l(s);return u(s).originRoot=p.root,u(s).boundingRect=p.boundingRect,p},makeGraphic:function(t,s,d){var p=u(s),b=p.rootMap||(p.rootMap=o()),w=b.get(d);if(w)return w;var E=p.originRoot,S=p.boundingRect;return p.originRootHostKey?w=l(s,S).root:(p.originRootHostKey=d,w=E),b.set(d,w)},removeGraphic:function(t,s,d){var p=u(s),b=p.rootMap;b&&b.removeKey(d),d===p.originRootHostKey&&(p.originRootHostKey=null)}};function l(t,s){var d=t.svgXML,p,b;try{p=d&&f(d,{ignoreViewBox:!0,ignoreRootClip:!0})||{},b=p.root,c(b!=null)}catch(L){throw new Error(`Invalid svg format
`+L.message)}var w=p.width,E=p.height,S=p.viewBoxRect;if(s||(s=w==null||E==null?b.getBoundingRect():new i(0,0,0,0),w!=null&&(s.width=w),E!=null&&(s.height=E)),S){var x=A(S,s.width,s.height),T=b;b=new m,b.add(T),T.scale=x.scale,T.position=x.position}return b.setClipPath(new v({shape:s.plain()})),{root:b,boundingRect:s}}D.exports=r},yWXo:function(D,_,e){var g=e("IwbS"),f=e("oVpE"),A=f.createSymbol,m=e("OS9S"),v=4,h=g.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(n,a){var u=a.points,r=a.size,l=this.symbolProxy,t=l.shape,s=n.getContext?n.getContext():n,d=s&&r[0]<v;if(d)return;for(var p=0;p<u.length;){var b=u[p++],w=u[p++];if(isNaN(b)||isNaN(w))continue;if(this.softClipShape&&!this.softClipShape.contain(b,w))continue;t.x=b-r[0]/2,t.y=w-r[1]/2,t.width=r[0],t.height=r[1],l.buildPath(n,t,!0)}},afterBrush:function(n){var a=this.shape,u=a.points,r=a.size,l=r[0]<v;if(!l)return;this.setTransform(n);for(var t=0;t<u.length;){var s=u[t++],d=u[t++];if(isNaN(s)||isNaN(d))continue;if(this.softClipShape&&!this.softClipShape.contain(s,d))continue;n.fillRect(s-r[0]/2,d-r[1]/2,r[0],r[1])}this.restoreTransform(n)},findDataIndex:function(n,a){for(var u=this.shape,r=u.points,l=u.size,t=Math.max(l[0],4),s=Math.max(l[1],4),d=r.length/2-1;d>=0;d--){var p=d*2,b=r[p]-t/2,w=r[p+1]-s/2;if(n>=b&&a>=w&&n<=b+t&&a<=w+s)return d}return-1}});function c(){this.group=new g.Group}var o=c.prototype;o.isPersistent=function(){return!this._incremental},o.updateData=function(n,a){this.group.removeAll();var u=new h({rectHover:!0,cursor:"default"});u.setShape({points:n.getLayout("symbolPoints")}),this._setCommon(u,n,!1,a),this.group.add(u),this._incremental=null},o.updateLayout=function(n){if(this._incremental)return;var a=n.getLayout("symbolPoints");this.group.eachChild(function(u){if(u.startIndex!=null){var r=(u.endIndex-u.startIndex)*2,l=u.startIndex*4*2;a=new Float32Array(a.buffer,l,r)}u.setShape("points",a)})},o.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clearIncremental(),n.count()>2e6?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},o.incrementalUpdate=function(n,a,u){var r;this._incremental?(r=new h,this._incremental.addDisplayable(r,!0)):(r=new h({rectHover:!0,cursor:"default",startIndex:n.start,endIndex:n.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(r,a,!!this._incremental,u)},o._setCommon=function(n,a,u,r){var l=a.hostModel;r=r||{};var t=a.getVisual("symbolSize");n.setShape("size",t instanceof Array?t:[t,t]),n.softClipShape=r.clipShape||null,n.symbolProxy=A(a.getVisual("symbol"),0,0,0,0),n.setColor=n.symbolProxy.setColor;var s=n.shape.size[0]<v;n.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var d=a.getVisual("color");d&&n.setColor(d),u||(n.seriesIndex=l.seriesIndex,n.on("mousemove",function(p){n.dataIndex=null;var b=n.findDataIndex(p.offsetX,p.offsetY);b>=0&&(n.dataIndex=b+(n.startIndex||0))}))},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var i=c;D.exports=i},ycre:function(D,_,e){var g=e("711d"),f=g("length");D.exports=f},ye1Q:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},A=f,m=e("6VBw"),v=function(o,i){return g.createElement(m.a,Object.assign({},o,{ref:i,icon:A}))};v.displayName="LoadingOutlined";var h=_.a=g.forwardRef(v)},ygfH:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};_.default=g},yik8:function(D,_,e){var g=e("bZqE"),f=g.eachAfter,A=g.eachBefore,m=e("Itpr"),v=m.init,h=m.firstWalk,c=m.secondWalk,o=m.separation,i=m.radialCoordinate,n=m.getViewRect;function a(r,l){r.eachSeriesByType("tree",function(t){u(t,l)})}function u(r,l){var t=n(r,l);r.layoutInfo=t;var s=r.get("layout"),d=0,p=0,b=null;s==="radial"?(d=2*Math.PI,p=Math.min(t.height,t.width)/2,b=o(function(B,H){return(B.parentNode===H.parentNode?1:2)/B.depth})):(d=t.width,p=t.height,b=o());var w=r.getData().tree.root,E=w.children[0];if(E){v(w),f(E,h,b),w.hierNode.modifier=-E.hierNode.prelim,A(E,c);var S=E,x=E,T=E;A(E,function(B){var H=B.getLayout().x;H<S.getLayout().x&&(S=B),H>x.getLayout().x&&(x=B),B.depth>T.depth&&(T=B)});var L=S===x?1:b(S,x)/2,y=L-S.getLayout().x,C=0,O=0,N=0,k=0;if(s==="radial")C=d/(x.getLayout().x+L+y),O=p/(T.depth-1||1),A(E,function(B){N=(B.getLayout().x+y)*C,k=(B.depth-1)*O;var H=i(N,k);B.setLayout({x:H.x,y:H.y,rawX:N,rawY:k},!0)});else{var F=r.getOrient();F==="RL"||F==="LR"?(O=p/(x.getLayout().x+L+y),C=d/(T.depth-1||1),A(E,function(B){k=(B.getLayout().x+y)*O,N=F==="LR"?(B.depth-1)*C:d-(B.depth-1)*C,B.setLayout({x:N,y:k},!0)})):(F==="TB"||F==="BT")&&(C=d/(x.getLayout().x+L+y),O=p/(T.depth-1||1),A(E,function(B){N=(B.getLayout().x+y)*C,k=F==="TB"?(B.depth-1)*O:p-(B.depth-1)*O,B.setLayout({x:N,y:k},!0)}))}}}D.exports=a},ynwM:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldFF-globalStorage",read:m,write:v,each:h,remove:c,clearAll:o};var A=f.globalStorage;function m(i){return A[i]}function v(i,n){A[i]=n}function h(i){for(var n=A.length-1;n>=0;n--){var a=A.key(n);i(A[a],a)}}function c(i){return A.removeItem(i)}function o(){h(function(i,n){delete A[i]})}},ypgQ:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),A=e("bLfw"),m=g.each,v=g.clone,h=g.map,c=g.merge,o=/^(min|max)?(.+)$/;function i(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}i.prototype={constructor:i,setOption:function(s,d){s&&g.each(f.normalizeToArray(s.series),function(w){w&&w.data&&g.isTypedArray(w.data)&&g.setAsPrimitive(w.data)}),s=v(s);var p=this._optionBackup,b=n.call(this,s,d,!p);this._newBaseOption=b.baseOption,p?(l(p.baseOption,b.baseOption),b.timelineOptions.length&&(p.timelineOptions=b.timelineOptions),b.mediaList.length&&(p.mediaList=b.mediaList),b.mediaDefault&&(p.mediaDefault=b.mediaDefault)):this._optionBackup=b},mountOption:function(s){var d=this._optionBackup;return this._timelineOptions=h(d.timelineOptions,v),this._mediaList=h(d.mediaList,v),this._mediaDefault=v(d.mediaDefault),this._currentMediaIndices=[],v(s?d.baseOption:this._newBaseOption)},getTimelineOption:function(s){var d,p=this._timelineOptions;if(p.length){var b=s.getComponent("timeline");b&&(d=v(p[b.getCurrentIndex()],!0))}return d},getMediaOption:function(s){var d=this._api.getWidth(),p=this._api.getHeight(),b=this._mediaList,w=this._mediaDefault,E=[],S=[];if(!b.length&&!w)return S;for(var x=0,T=b.length;x<T;x++)a(b[x].query,d,p)&&E.push(x);return!E.length&&w&&(E=[-1]),E.length&&!r(E,this._currentMediaIndices)&&(S=h(E,function(L){return v(L===-1?w.option:b[L].option)})),this._currentMediaIndices=E,S}};function n(s,d,p){var b=[],w=[],E,S,x=s.timeline;if(s.baseOption&&(S=s.baseOption),(x||s.options)&&(S=S||{},b=(s.options||[]).slice()),s.media){S=S||{};var T=s.media;m(T,function(L){L&&L.option&&(L.query?w.push(L):E||(E=L))})}return S||(S=s),S.timeline||(S.timeline=x),m([S].concat(b).concat(g.map(w,function(L){return L.option})),function(L){m(d,function(y){y(L,p)})}),{baseOption:S,timelineOptions:b,mediaDefault:E,mediaList:w}}function a(s,d,p){var b={width:d,height:p,aspectratio:d/p},w=!0;return g.each(s,function(E,S){var x=S.match(o);if(!x||!x[1]||!x[2])return;var T=x[1],L=x[2].toLowerCase();u(b[L],E,T)||(w=!1)}),w}function u(s,d,p){return p==="min"?s>=d:p==="max"?s<=d:s===d}function r(s,d){return s.join(",")===d.join(",")}function l(s,d){d=d||{},m(d,function(p,b){if(p==null)return;var w=s[b];if(!A.hasClass(b))s[b]=c(w,p,!0);else{p=f.normalizeToArray(p),w=f.normalizeToArray(w);var E=f.mappingToExists(w,p);s[b]=h(E,function(S){return S.option&&S.exist?c(S.exist,S.option,!0):S.exist||S.option})}})}var t=i;D.exports=t},yxFR:function(D,_,e){var g=e("y+Vt"),f=e("nPnh"),A=f.subPixelOptimizeLine,m={},v=g.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,o){var i,n,a,u;this.subPixelOptimize?(A(m,o,this.style),i=m.x1,n=m.y1,a=m.x2,u=m.y2):(i=o.x1,n=o.y1,a=o.x2,u=o.y2);var r=o.percent;if(r===0)return;c.moveTo(i,n),r<1&&(a=i*(1-r)+a*r,u=n*(1-r)+u*r),c.lineTo(a,u)},pointAt:function(c){var o=this.shape;return[o.x1*(1-c)+o.x2*c,o.y1*(1-c)+o.y2*c]}});D.exports=v},z35g:function(D,_,e){var g=e("bYtY");function f(v){return this._axes[v]}var A=function(v){this._axes={},this._dimList=[],this.name=v||""};A.prototype={constructor:A,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return g.map(this._dimList,f,this)},getAxesByScale:function(v){return v=v.toLowerCase(),g.filter(this.getAxes(),function(h){return h.scale.type===v})},addAxis:function(v){var h=v.dim;this._axes[h]=v,this._dimList.push(h)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,h){for(var c=this._dimList,o=v instanceof Array?[]:{},i=0;i<c.length;i++){var n=c[i],a=this._axes[n];o[n]=a[h](v[n])}return o}};var m=A;D.exports=m},zAh6:function(D,_,e){"use strict";e.d(_,"a",function(){return v});var g=e("xEkU"),f=e.n(g),A=e("i6bk");function m(h,c,o,i){var n=o-c;return h/=i/2,h<1?n/2*h*h*h+c:n/2*((h-=2)*h*h+2)+c}function v(h){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=c.getContainer,i=o===void 0?function(){return window}:o,n=c.callback,a=c.duration,u=a===void 0?450:a,r=i(),l=Object(A.a)(r,!0),t=Date.now(),s=function d(){var p=Date.now(),b=p-t,w=m(b>u?u:b,l,h,u);Object(A.b)(r)?r.scrollTo(window.pageXOffset,w):r instanceof HTMLDocument||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=w:r.scrollTop=w,b<u?f()(d):typeof n=="function"&&n()};f()(s)}},zDms:function(D,_,e){var g=e("bYtY"),f=e("OELB"),A=e("UOVi"),m=e("72pK"),v=g.each,h=f.asc,c=function(r,l,t,s){this._dimName=r,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=t};c.prototype={constructor:c,hostedBy:function(r){return this._dataZoomModel===r},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var r=[],l=this.ecModel;return l.eachSeries(function(t){if(A.isCoordSupported(t.get("coordinateSystem"))){var s=this._dimName,d=l.queryComponents({mainType:s+"Axis",index:t.get(s+"AxisIndex"),id:t.get(s+"AxisId")})[0];this._axisIndex===(d&&d.componentIndex)&&r.push(t)}},this),r},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var r=this._dimName,l=this.ecModel,t=this.getAxisModel(),s=r==="x"||r==="y",d,p;s?(p="gridIndex",d=r==="x"?"y":"x"):(p="polarIndex",d=r==="angle"?"radius":"angle");var b;return l.eachComponent(d+"Axis",function(w){(w.get(p)||0)===(t.get(p)||0)&&(b=w)}),b},getMinMaxSpan:function(){return g.clone(this._minMaxSpan)},calculateDataWindow:function(r){var l=this._dataExtent,t=this.getAxisModel(),s=t.axis.scale,d=this._dataZoomModel.getRangePropMode(),p=[0,100],b=[],w=[],E;v(["start","end"],function(T,L){var y=r[T],C=r[T+"Value"];d[L]==="percent"?(y==null&&(y=p[L]),C=s.parse(f.linearMap(y,p,l))):(E=!0,C=C==null?l[L]:s.parse(C),y=f.linearMap(C,l,p)),w[L]=C,b[L]=y}),h(w),h(b);var S=this._minMaxSpan;E?x(w,b,l,p,!1):x(b,w,p,l,!0);function x(T,L,y,C,O){var N=O?"Span":"ValueSpan";m(0,T,y,"all",S["min"+N],S["max"+N]);for(var k=0;k<2;k++)L[k]=f.linearMap(T[k],y,C,!0),O&&(L[k]=s.parse(L[k]))}return{valueWindow:w,percentWindow:b}},reset:function(r){if(r!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=o(this,this._dimName,l),a(this);var t=this.calculateDataWindow(r.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,n(this)},restore:function(r){if(r!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,n(this,!0)},filterData:function(r,l){if(r!==this._dataZoomModel)return;var t=this._dimName,s=this.getTargetSeriesModels(),d=r.get("filterMode"),p=this._valueWindow;if(d==="none")return;v(s,function(w){var E=w.getData(),S=E.mapDimension(t,!0);if(!S.length)return;d==="weakFilter"?E.filterSelf(function(x){for(var T,L,y,C=0;C<S.length;C++){var O=E.get(S[C],x),N=!isNaN(O),k=O<p[0],F=O>p[1];if(N&&!k&&!F)return!0;N&&(y=!0),k&&(T=!0),F&&(L=!0)}return y&&T&&L}):v(S,function(x){if(d==="empty")w.setData(E=E.map(x,function(L){return b(L)?L:NaN}));else{var T={};T[x]=p,E.selectRange(T)}}),v(S,function(x){E.setApproximateExtent(p,x)})});function b(w){return w>=p[0]&&w<=p[1]}}};function o(r,l,t){var s=[Infinity,-Infinity];return v(t,function(d){var p=d.getData();p&&v(p.mapDimension(l,!0),function(b){var w=p.getApproximateExtent(b);w[0]<s[0]&&(s[0]=w[0]),w[1]>s[1]&&(s[1]=w[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),i(r,s),s}function i(r,l){var t=r.getAxisModel(),s=t.getMin(!0),d=t.get("type")==="category",p=d&&t.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:d&&(l[0]=p>0?0:NaN);var b=t.getMax(!0);return b!=null&&b!=="dataMax"&&typeof b!="function"?l[1]=b:d&&(l[1]=p>0?p-1:NaN),t.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function n(r,l){var t=r.getAxisModel(),s=r._percentWindow,d=r._valueWindow;if(!s)return;var p=f.getPixelPrecision(d,[0,500]);p=Math.min(p,20);var b=l||s[0]===0&&s[1]===100;t.setRange(b?null:+d[0].toFixed(p),b?null:+d[1].toFixed(p))}function a(r){var l=r._minMaxSpan={},t=r._dataZoomModel,s=r._dataExtent;v(["min","max"],function(d){var p=t.get(d+"Span"),b=t.get(d+"ValueSpan");b!=null&&(b=r.getAxisModel().axis.scale.parse(b)),b!=null?p=f.linearMap(s[0]+b,s,[0,100],!0):p!=null&&(b=f.linearMap(p,[0,100],s,!0)-s[0]),l[d+"Span"]=p,l[d+"ValueSpan"]=b})}var u=c;D.exports=u},zM3Q:function(D,_,e){var g=e("4NO4"),f=g.makeInner;function A(){var m=f();return function(v){var h=m(v),c=v.pipelineContext,o=h.large,i=h.progressiveRender,n=h.large=c&&c.large,a=h.progressiveRender=c&&c.progressiveRender;return!!(o^n||i^a)&&"reset"}}D.exports=A},zRKj:function(D,_,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),A=g.each,m=g.curry;function v(s,d){var p={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return h(p,s,d),p.seriesInvolved&&o(p,s),p}function h(s,d,p){var b=d.getComponent("tooltip"),w=d.getComponent("axisPointer"),E=w.get("link",!0)||[],S=[];A(p.getCoordinateSystems(),function(x){if(!x.axisPointerEnabled)return;var T=t(x.model),L=s.coordSysAxesInfo[T]={};s.coordSysMap[T]=x;var y=x.model,C=y.getModel("tooltip",b);if(A(x.getAxes(),m(F,!1,null)),x.getTooltipAxes&&b&&C.get("show")){var O=C.get("trigger")==="axis",N=C.get("axisPointer.type")==="cross",k=x.getTooltipAxes(C.get("axisPointer.axis"));(O||N)&&A(k.baseAxes,m(F,N?"cross":!0,O)),N&&A(k.otherAxes,m(F,"cross",!1))}function F(B,H,W){var R=W.model.getModel("axisPointer",w),U=R.get("show");if(!U||U==="auto"&&!B&&!l(R))return;H==null&&(H=R.get("triggerTooltip")),R=B?c(W,C,w,d,B,H):R;var j=R.get("snap"),P=t(W.model),K=H||j||W.type==="category",V=s.axesInfo[P]={key:P,axis:W,coordSys:x,axisPointerModel:R,triggerTooltip:H,involveSeries:K,snap:j,useHandle:l(R),seriesModels:[]};L[P]=V,s.seriesInvolved|=K;var z=i(E,W);if(z!=null){var X=S[z]||(S[z]={axesInfo:{}});X.axesInfo[P]=V,X.mapper=E[z].mapper,V.linkGroup=X}}})}function c(s,d,p,b,w,E){var S=d.getModel("axisPointer"),x={};A(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){x[C]=g.clone(S.get(C))}),x.snap=s.type!=="category"&&!!E,S.get("type")==="cross"&&(x.type="line");var T=x.label||(x.label={});if(T.show==null&&(T.show=!1),w==="cross"){var L=S.get("label.show");if(T.show=L!=null?L:!0,!E){var y=x.lineStyle=S.get("crossStyle");y&&g.defaults(T,y.textStyle)}}return s.model.getModel("axisPointer",new f(x,p,b))}function o(s,d){d.eachSeries(function(p){var b=p.coordinateSystem,w=p.get("tooltip.trigger",!0),E=p.get("tooltip.show",!0);if(!b||w==="none"||w===!1||w==="item"||E===!1||p.get("axisPointer.show",!0)===!1)return;A(s.coordSysAxesInfo[t(b.model)],function(S){var x=S.axis;b.getAxis(x.dim)===x&&(S.seriesModels.push(p),S.seriesDataCount==null&&(S.seriesDataCount=0),S.seriesDataCount+=p.getData().count())})},this)}function i(s,d){for(var p=d.model,b=d.dim,w=0;w<s.length;w++){var E=s[w]||{};if(n(E[b+"AxisId"],p.id)||n(E[b+"AxisIndex"],p.componentIndex)||n(E[b+"AxisName"],p.name))return w}}function n(s,d){return s==="all"||g.isArray(s)&&g.indexOf(s,d)>=0||s===d}function a(s){var d=u(s);if(!d)return;var p=d.axisPointerModel,b=d.axis.scale,w=p.option,E=p.get("status"),S=p.get("value");S!=null&&(S=b.parse(S));var x=l(p);E==null&&(w.status=x?"show":"hide");var T=b.getExtent().slice();T[0]>T[1]&&T.reverse(),(S==null||S>T[1])&&(S=T[1]),S<T[0]&&(S=T[0]),w.value=S,x&&(w.status=d.axis.scale.isBlank()?"hide":"show")}function u(s){var d=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return d&&d.axesInfo[t(s)]}function r(s){var d=u(s);return d&&d.axisPointerModel}function l(s){return!!s.get("handle.show")}function t(s){return s.type+"||"+s.id}_.collect=v,_.fixValue=a,_.getAxisInfo=u,_.getAxisPointerModel=r,_.makeKey=t},zYTA:function(D,_,e){var g=e("bYtY"),f=256;function A(){var v=g.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}A.prototype={update:function(v,h,c,o,i,n){var a=this._getBrush(),u=this._getGradient(v,i,"inRange"),r=this._getGradient(v,i,"outOfRange"),l=this.pointSize+this.blurSize,t=this.canvas,s=t.getContext("2d"),d=v.length;t.width=h,t.height=c;for(var p=0;p<d;++p){var b=v[p],w=b[0],E=b[1],S=b[2],x=o(S);s.globalAlpha=x,s.drawImage(a,w-l,E-l)}if(!t.width||!t.height)return t;for(var T=s.getImageData(0,0,t.width,t.height),L=T.data,y=0,C=L.length,O=this.minOpacity,N=this.maxOpacity,k=N-O;y<C;){var x=L[y+3]/256,F=Math.floor(x*(f-1))*4;if(x>0){var B=n(x)?u:r;x>0&&(x=x*k+O),L[y++]=B[F],L[y++]=B[F+1],L[y++]=B[F+2],L[y++]=B[F+3]*x*256}else y+=4}return s.putImageData(T,0,0),t},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=g.createCanvas()),h=this.pointSize+this.blurSize,c=h*2;v.width=c,v.height=c;var o=v.getContext("2d");return o.clearRect(0,0,c,c),o.shadowOffsetX=c,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-h,h,this.pointSize,0,Math.PI*2,!0),o.closePath(),o.fill(),v},_getGradient:function(v,h,c){for(var o=this._gradientPixels,i=o[c]||(o[c]=new Uint8ClampedArray(256*4)),n=[0,0,0,0],a=0,u=0;u<256;u++)h[c](u/255,!0,n),i[a++]=n[0],i[a++]=n[1],i[a++]=n[2],i[a++]=n[3];return i}};var m=A;D.exports=m},zarK:function(D,_,e){var g=e("YH21"),f=g.addEventListener,A=g.removeEventListener,m=g.normalizeEvent,v=g.getNativeEvent,h=e("bYtY"),c=e("H6uX"),o=e("ItGF"),i=300,n=o.domSupported,a=function(){var B=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],H=["touchstart","touchend","touchmove"],W={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},R=h.map(B,function(U){var j=U.replace("mouse","pointer");return W.hasOwnProperty(j)?j:U});return{mouse:B,touch:H,pointer:R}}(),u={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function r(B){return B==="mousewheel"&&o.browser.firefox?"DOMMouseScroll":B}function l(B){var H=B.pointerType;return H==="pen"||H==="touch"}function t(B){B.touching=!0,B.touchTimer!=null&&(clearTimeout(B.touchTimer),B.touchTimer=null),B.touchTimer=setTimeout(function(){B.touching=!1,B.touchTimer=null},700)}function s(B){B&&(B.zrByTouch=!0)}function d(B,H){return m(B.dom,new b(B,H),!0)}function p(B,H){for(var W=H,R=!1;W&&W.nodeType!==9&&!(R=W.domBelongToZr||W!==H&&W===B.painterRoot);)W=W.parentNode;return R}function b(B,H){this.type=H.type,this.target=this.currentTarget=B.dom,this.pointerType=H.pointerType,this.clientX=H.clientX,this.clientY=H.clientY}var w=b.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=h.noop;var E={mousedown:function(H){H=m(this.dom,H),this._mayPointerCapture=[H.zrX,H.zrY],this.trigger("mousedown",H)},mousemove:function(H){H=m(this.dom,H);var W=this._mayPointerCapture;W&&(H.zrX!==W[0]||H.zrY!==W[1])&&C(this,!0),this.trigger("mousemove",H)},mouseup:function(H){H=m(this.dom,H),C(this,!1),this.trigger("mouseup",H)},mouseout:function(H){H=m(this.dom,H),this._pointerCapturing&&(H.zrEventControl="no_globalout");var W=H.toElement||H.relatedTarget;H.zrIsToLocalDOM=p(this,W),this.trigger("mouseout",H)},touchstart:function(H){H=m(this.dom,H),s(H),this._lastTouchMoment=new Date,this.handler.processGesture(H,"start"),E.mousemove.call(this,H),E.mousedown.call(this,H)},touchmove:function(H){H=m(this.dom,H),s(H),this.handler.processGesture(H,"change"),E.mousemove.call(this,H)},touchend:function(H){H=m(this.dom,H),s(H),this.handler.processGesture(H,"end"),E.mouseup.call(this,H),+new Date-this._lastTouchMoment<i&&E.click.call(this,H)},pointerdown:function(H){E.mousedown.call(this,H)},pointermove:function(H){l(H)||E.mousemove.call(this,H)},pointerup:function(H){E.mouseup.call(this,H)},pointerout:function(H){l(H)||E.mouseout.call(this,H)}};h.each(["click","mousewheel","dblclick","contextmenu"],function(B){E[B]=function(H){H=m(this.dom,H),this.trigger(B,H)}});var S={pointermove:function(H){l(H)||S.mousemove.call(this,H)},pointerup:function(H){S.mouseup.call(this,H)},mousemove:function(H){this.trigger("mousemove",H)},mouseup:function(H){var W=this._pointerCapturing;C(this,!1),this.trigger("mouseup",H),W&&(H.zrEventControl="only_globalout",this.trigger("mouseout",H))}};function x(B,H){var W=H.domHandlers;o.pointerEventsSupported?h.each(a.pointer,function(R){L(H,R,function(U){W[R].call(B,U)})}):(o.touchEventsSupported&&h.each(a.touch,function(R){L(H,R,function(U){W[R].call(B,U),t(H)})}),h.each(a.mouse,function(R){L(H,R,function(U){U=v(U),H.touching||W[R].call(B,U)})}))}function T(B,H){o.pointerEventsSupported?h.each(u.pointer,W):o.touchEventsSupported||h.each(u.mouse,W);function W(R){function U(j){j=v(j),p(B,j.target)||(j=d(B,j),H.domHandlers[R].call(B,j))}L(H,R,U,{capture:!0})}}function L(B,H,W,R){B.mounted[H]=W,B.listenerOpts[H]=R,f(B.domTarget,r(H),W,R)}function y(B){var H=B.mounted;for(var W in H)H.hasOwnProperty(W)&&A(B.domTarget,r(W),H[W],B.listenerOpts[W]);B.mounted={}}function C(B,H){if(B._mayPointerCapture=null,n&&B._pointerCapturing^H){B._pointerCapturing=H;var W=B._globalHandlerScope;H?T(B,W):y(W)}}function O(B,H){this.domTarget=B,this.domHandlers=H,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function N(B,H){c.call(this),this.dom=B,this.painterRoot=H,this._localHandlerScope=new O(B,E),n&&(this._globalHandlerScope=new O(document,S)),this._pointerCapturing=!1,this._mayPointerCapture=null,x(this,this._localHandlerScope)}var k=N.prototype;k.dispose=function(){y(this._localHandlerScope),n&&y(this._globalHandlerScope)},k.setCursor=function(B){this.dom.style&&(this.dom.style.cursor=B||"default")},h.mixin(N,c);var F=N;D.exports=F},zdCA:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var A=f(e("q1tI")),m=g(e("PSzr")),v=g(e("KQxl")),h=function(i,n){return A.createElement(v.default,Object.assign({},i,{ref:n,icon:m.default}))};h.displayName="BarsOutlined";var c=A.forwardRef(h);_.default=c},zeV3:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),o=e.n(c),i=e("H84U"),n=function(r,l){var t={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&l.indexOf(s)<0&&(t[s]=r[s]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,s=Object.getOwnPropertySymbols(r);d<s.length;d++)l.indexOf(s[d])<0&&Object.prototype.propertyIsEnumerable.call(r,s[d])&&(t[s[d]]=r[s[d]]);return t},a={small:8,middle:16,large:24},u=function(l){var t,s=v.useContext(i.b),d=s.getPrefixCls,p=s.space,b=s.direction,w=l.size,E=w===void 0?(p==null?void 0:p.size)||"small":w,S=l.align,x=l.className,T=l.children,L=l.direction,y=L===void 0?"horizontal":L,C=l.prefixCls,O=n(l,["size","align","className","children","direction","prefixCls"]),N=v.Children.count(T);if(N===0)return null;var k=S===void 0&&y==="horizontal"?"center":S,F=d("space",C),B=o()(F,"".concat(F,"-").concat(y),(t={},m()(t,"".concat(F,"-rtl"),b==="rtl"),m()(t,"".concat(F,"-align-").concat(k),k),t),x),H="".concat(F,"-item"),W=b==="rtl"?"marginLeft":"marginRight";return v.createElement("div",f()({className:B},O),v.Children.map(T,function(R,U){return v.createElement("div",{className:H,key:"".concat(H,"-").concat(U),style:U===N-1||R===null||R===void 0?{}:m()({},y==="vertical"?"marginBottom":W,typeof E=="string"?a[E]:E)},R)}))};_.a=u},zoYe:function(D,_,e){var g=e("nmnc"),f=e("eUgh"),A=e("Z0cm"),m=e("/9aa"),v=1/0,h=g?g.prototype:void 0,c=h?h.toString:void 0;function o(i){if(typeof i=="string")return i;if(A(i))return f(i,o)+"";if(m(i))return c?c.call(i):"";var n=i+"";return n=="0"&&1/i==-v?"-0":n}D.exports=o},zuHt:function(D,_,e){var g=e("bYtY");function f(A){var m={};A.eachSeriesByType("map",function(v){var h=v.getMapType();if(v.getHostGeoModel()||m[h])return;var c={};g.each(v.seriesGroup,function(i){var n=i.coordinateSystem,a=i.originalData;i.get("showLegendSymbol")&&A.getComponent("legend")&&a.each(a.mapDimension("value"),function(u,r){var l=a.getName(r),t=n.getRegion(l);if(!t||isNaN(u))return;var s=c[l]||0,d=n.dataToPoint(t.center);c[l]=s+1,a.setItemLayout(r,{point:d,offset:s})})});var o=v.getData();o.each(function(i){var n=o.getName(i),a=o.getItemLayout(i)||{};a.showLabel=!c[n],o.setItemLayout(i,a)}),m[h]=!0})}D.exports=f}}]);